Skip to content

Commit

Permalink
Update browser-startup.js
Browse files Browse the repository at this point in the history
  • Loading branch information
surapunoyousei authored Jun 29, 2022
1 parent b5c2cbf commit 46fca1d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions browser/base/content/browser-startup.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ function getSystemLocale() {
}
}

//OS の言語設定への自動追従
//OS の言語設定への自動追従(この if に使用される pref は初回起動時のみ操作されます。この中にコードを書くと初回起動時のみ動作します)
if (!Services.prefs.prefHasUserValue("intl.locale.requested")) {
const systemlocale = getSystemLocale()
Services.prefs.setStringPref("intl.locale.requested", systemlocale)
Expand Down Expand Up @@ -101,4 +101,4 @@ function getSystemLocale() {
valOpen.close()
});

}
}

0 comments on commit 46fca1d

Please sign in to comment.