mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-30 12:27:29 +09:00
Issue #991 Part 2: Basilisk
This commit is contained in:
parent
74e02af5af
commit
5d978c380c
13 changed files with 30 additions and 126 deletions
|
|
@ -189,11 +189,7 @@ var DirectoryLinksProvider = {
|
|||
* @return the selected locale or "en-US" if none is selected
|
||||
*/
|
||||
get locale() {
|
||||
let matchOS;
|
||||
try {
|
||||
matchOS = Services.prefs.getBoolPref(PREF_MATCH_OS_LOCALE);
|
||||
}
|
||||
catch (e) {}
|
||||
let matchOS = Services.prefs.getBoolPref(PREF_MATCH_OS_LOCALE, false);
|
||||
|
||||
if (matchOS) {
|
||||
return Services.locale.getLocaleComponentForUserAgent();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue