[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

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



Title: GitLab

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

Commits:

1 changed file:

Changes:

  • app/build.gradle
    ... ... @@ -589,7 +589,7 @@ task buildTranslationArray {
    589 589
         foundLocales.append("new String[]{")
    
    590 590
     
    
    591 591
         fileTree("src/main/res").visit { FileVisitDetails details ->
    
    592
    -        if(details.file.path.endsWith("/strings.xml")){
    
    592
    +        if(details.file.path.endsWith("/torbrowser_strings.xml")){
    
    593 593
                 def languageCode = details.file.parent.tokenize('/').last().replaceAll('values-','').replaceAll('-r','-')
    
    594 594
                 languageCode = (languageCode == "values") ? "en-US" : languageCode
    
    595 595
                 languageCodes.add(languageCode)
    

  • _______________________________________________
    tor-commits mailing list
    tor-commits@xxxxxxxxxxxxxxxxxxxx
    https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits