Skip to content
Snippets Groups Projects
Commit 93e095c9 authored by Richard Pospesel's avatar Richard Pospesel
Browse files

fixup! Bug 31286: Implementation of bridge, proxy, and firewall settings in...

fixup! Bug 31286: Implementation of bridge, proxy, and firewall settings in about:preferences#connection

fixed substring calculation to get short name of locale for bridge emojii names
parent f54deb3a
Branches
No related tags found
1 merge request!572Bug 41669: Rebase tor-browser stable to 102.9.0esr
......@@ -741,7 +741,7 @@ const gConnectionPane = (function() {
const annotations = await res.json();
const bcp47 = Services.locale.appLocaleAsBCP47;
const dash = bcp47.indexOf("-");
const lang = dash !== -1 ? bcp47.substring(dash) : bcp47;
const lang = dash !== -1 ? bcp47.substring(0, dash) : bcp47;
if (bcp47 in annotations) {
emojiAnnotations = annotations[bcp47];
} else if (lang in annotations) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment