Closed zelitomas closed 7 years ago
That's weird. Firefox should never be cs_CZ. Can you please open about:debugging
, enable add-ons debugging, click debugging link for Pontoon Tools and check what chrome.i18n.getUILanguage()
returns?
Also what is value do you see for general.useragent.locale
preference in about:config
?
This will be probably solved by #24 in the future, but still I wonder, how cs_CZ could get there.
getUILanguage()
returns cs_CZ
, and in general.useragent.locale
is cs-CZ
(notice the hyphen instead of underscore). According to about:config
the preference in default state:
Here is log from JS console: (not sure if everything is related to your addon though)
Funkci getElementById() předán prázdný řetězec. github-32444a99dc2bd60e06b9dd497b0e5fd2ffd6f85165e93c589c165f75bedcf718.js:7:28475
Zdroj na „https://www.google-analytics.com/r/collect“ byl zablokován, protože je povolena ochrana proti sledování.[Learn More] 28
Content Security Policy: Ignorování „x-frame-options“ pro direktivu „frame-ancestors“. (unknown)
Funkci getElementById() předán prázdný řetězec. github-32444a99dc2bd60e06b9dd497b0e5fd2ffd6f85165e93c589c165f75bedcf718.js:7:28475
Zdroj na „https://www.google-analytics.com/collect“ byl zablokován, protože je povolena ochrana proti sledování.[Learn More] MikkCZ
Funkci getElementById() předán prázdný řetězec. github-32444a99dc2bd60e06b9dd497b0e5fd2ffd6f85165e93c589c165f75bedcf718.js:7:28475
Zdroj na „https://www.google-analytics.com/collect“ byl zablokován, protože je povolena ochrana proti sledování.[Learn More] pontoon-tools
this._recipeManager is null LoginManagerParent.jsm:102
Žádost Cross-Origin zablokována: zásada stejného původu neumožňuje načtení vzdáleného zdroje na ‘https://collector.githubapp.com/collect’. (Důvod: Ověření není podporováno, pokud CORS header ‘Access-Control-Allow-Origin’ je ‘*’). (unknown)
TypeError: this.keysList is null[Learn More] masterpasswordplusCore.jsm:912:7
can't convert undefined to object TeamInfoPopup.js:69
TypeError: this.keysList is null[Learn More] masterpasswordplusCore.jsm:912:7
TypeError: this.keysList is null[Learn More] masterpasswordplusCore.jsm:912:7
TypeError: this.keysList is null[Learn More] masterpasswordplusCore.jsm:912:7
TypeError: this.keysList is null[Learn More] masterpasswordplusCore.jsm:912:7
TypeError: this.keysList is null[Learn More] masterpasswordplusCore.jsm:912:7
TypeError: this.keysList is null[Learn More] masterpasswordplusCore.jsm:912:7
chrome.i18n.getUILanguage()
"cs_CZ"
Thank you. That sounds like the locale detection will be a serious problem here... :( I will try to workaround this in #24 soon.
Link cz_CS on screenshot leads to URL https://pontoon.mozilla.org/cs_CZ/, which throws 404.
Fedora 26, Firefox 55, in Czech