Commit dda81fe4 authored by Matthew Finkel's avatar Matthew Finkel
Browse files

Bug 40071: Show only supported locales

parent 5df83600
......@@ -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)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment