[tbb-commits] [tor-browser] 01/02: fixup! Bug 41369: Improve Firefox language settings for multi-lingual packages

gitolite role git at cupani.torproject.org
Tue Nov 15 15:56:13 UTC 2022


This is an automated email from the git hooks/post-receive script.

pierov pushed a commit to branch tor-browser-102.4.0esr-12.0-2
in repository tor-browser.

commit 71f1cec6a9ea94f311cc3eb0a749e5e9623798ba
Author: Pier Angelo Vendrame <pierov at torproject.org>
AuthorDate: Mon Nov 14 17:00:53 2022 +0100

    fixup! Bug 41369: Improve Firefox language settings for multi-lingual packages
---
 browser/components/preferences/main.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/browser/components/preferences/main.js b/browser/components/preferences/main.js
index af53fa0403f7..5bc5b720f3f2 100644
--- a/browser/components/preferences/main.js
+++ b/browser/components/preferences/main.js
@@ -1042,7 +1042,7 @@ var gMainPane = {
         name =
           Services.intl.getLocaleDisplayNames(undefined, ["ja"], {
             preferNative: true,
-          }) + " (ja)";
+          })[0] + " (ja)";
       } else {
         name += ` (${code})`;
       }

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the tbb-commits mailing list