Skip to content

Commit

Permalink
fix(i18n): match two__letters code to crowdin (#2289)
Browse files Browse the repository at this point in the history
  • Loading branch information
ReenigneArcher committed Mar 23, 2024
1 parent 8777433 commit 934f811
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions docs/source/about/advanced_usage.rst
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,8 @@ editing the `conf` file in a text editor. Use the examples as reference.
======= ===========
de German
en English
en-GB English (UK)
en-US English (United States)
en_GB English (UK)
en_US English (United States)
es Spanish
fr French
it Italian
Expand Down
4 changes: 2 additions & 2 deletions src/config.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1105,8 +1105,8 @@ namespace config {
string_restricted_f(vars, "locale", config::sunshine.locale, {
"de"sv, // German
"en"sv, // English
"en-GB"sv, // English (UK)
"en-US"sv, // English (US)
"en_GB"sv, // English (UK)
"en_US"sv, // English (US)
"es"sv, // Spanish
"fr"sv, // French
"it"sv, // Italian
Expand Down
4 changes: 2 additions & 2 deletions src_assets/common/assets/web/config.html
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ <h1 class="my-4">{{ $t('config.configuration') }}</h1>
<select id="locale" class="form-select" v-model="config.locale">
<option value="de">Deutsch (German)</option>
<option value="en">English</option>
<option value="en-GB">English, UK</option>
<option value="en-US">English, US</option>
<option value="en_GB">English, UK</option>
<option value="en_US">English, US</option>
<option value="es">Español (Spanish)</option>
<option value="fr">Français (French)</option>
<option value="it">Italiano (Italian)</option>
Expand Down

0 comments on commit 934f811

Please sign in to comment.