Skip to content
Snippets Groups Projects
Unverified Commit 460d5891 authored by Matthew Finkel's avatar Matthew Finkel
Browse files

Bug 40071: Show only supported locales

parent 4a7a5f7b
No related branches found
No related tags found
1 merge request!42Bug 40071: Show only supported locales
......@@ -589,7 +589,7 @@ task buildTranslationArray {
foundLocales.append("new String[]{")
fileTree("src/main/res").visit { FileVisitDetails details ->
if(details.file.path.endsWith("/strings.xml")){
if(details.file.path.endsWith("/torbrowser_strings.xml")){
def languageCode = details.file.parent.tokenize('/').last().replaceAll('values-','').replaceAll('-r','-')
languageCode = (languageCode == "values") ? "en-US" : languageCode
languageCodes.add(languageCode)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment