Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Support for android regions #107

Closed
wants to merge 2 commits into from
Closed

Add Support for android regions #107

wants to merge 2 commits into from

Conversation

beloso
Copy link

@beloso beloso commented May 29, 2018

As described in #101

@filippodelfra
Copy link

Hi,
Can we have this pull request merged, please? Would be usefull to have it.

Thanks

Copy link
Owner

@netbe netbe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you add a test case too?

@@ -13,7 +13,8 @@ def language_filepaths(language)
require 'pathname'
output_name = "strings.xml"
output_name = "#{@output_basename}.xml" unless @output_basename.empty?
filepath = Pathname.new(@file_path) + "values-#{language.code}" + output_name
region = language.region.to_s.empty? ? "" : "-#{language.region}"
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@beloso isn't it region = language.region.to_s.empty? ? "" : "-r#{language.region}" ?
missing r

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants