[tbb-commits] [Git][tpo/applications/fenix][tor-browser-82.0.0b4-10.0-1] Bug 40071: Show only supported locales

Georg Koppen gitlab at torproject.org
Wed Oct 14 10:54:11 UTC 2020



Georg Koppen pushed to branch tor-browser-82.0.0b4-10.0-1 at The Tor Project / Applications / fenix


Commits:
460d5891 by Matthew Finkel at 2020-10-13T14:05:35+00:00
Bug 40071: Show only supported locales

- - - - -


1 changed file:

- app/build.gradle


Changes:

=====================================
app/build.gradle
=====================================
@@ -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)



View it on GitLab: https://gitlab.torproject.org/tpo/applications/fenix/-/commit/460d5891f2788448088540e63f9f9c56958ece67

-- 
View it on GitLab: https://gitlab.torproject.org/tpo/applications/fenix/-/commit/460d5891f2788448088540e63f9f9c56958ece67
You're receiving this email because of your account on gitlab.torproject.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.torproject.org/pipermail/tbb-commits/attachments/20201014/66bf85d5/attachment.htm>


More information about the tbb-commits mailing list