Browse Source

Merge pull request #14073 from Chocobo1/locale

Capitalize locale names
adaptive-webui-19844
Mike Tzou 4 years ago committed by GitHub
parent
commit
cc9b1ea8a1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 10
      src/base/unicodestrings.h
  2. 10
      src/webui/www/private/views/preferences.html

10
src/base/unicodestrings.h

@ -58,8 +58,8 @@ const char C_LOCALE_CZECH[] = "Čeština";
const char C_LOCALE_DANISH[] = "Dansk"; const char C_LOCALE_DANISH[] = "Dansk";
const char C_LOCALE_DUTCH[] = "Nederlands"; const char C_LOCALE_DUTCH[] = "Nederlands";
const char C_LOCALE_ENGLISH[] = "English"; const char C_LOCALE_ENGLISH[] = "English";
const char C_LOCALE_ENGLISH_AUSTRALIA[] = "English(Australia)"; const char C_LOCALE_ENGLISH_AUSTRALIA[] = "English (Australia)";
const char C_LOCALE_ENGLISH_UNITEDKINGDOM[] = "English(United Kingdom)"; const char C_LOCALE_ENGLISH_UNITEDKINGDOM[] = "English (United Kingdom)";
const char C_LOCALE_ESPERANTO[] = "Esperanto"; const char C_LOCALE_ESPERANTO[] = "Esperanto";
const char C_LOCALE_FINNISH[] = "Suomi"; const char C_LOCALE_FINNISH[] = "Suomi";
const char C_LOCALE_FRENCH[] = "Français"; const char C_LOCALE_FRENCH[] = "Français";
@ -75,8 +75,8 @@ const char C_LOCALE_INDONESIAN[] = "Bahasa Indonesia";
const char C_LOCALE_ITALIAN[] = "Italiano"; const char C_LOCALE_ITALIAN[] = "Italiano";
const char C_LOCALE_JAPANESE[] = "日本語"; const char C_LOCALE_JAPANESE[] = "日本語";
const char C_LOCALE_KOREAN[] = "한글"; const char C_LOCALE_KOREAN[] = "한글";
const char C_LOCALE_LATGALIAN[] = "latgalīšu volūda"; const char C_LOCALE_LATGALIAN[] = "Latgalīšu volūda";
const char C_LOCALE_LATVIAN[] = "latviešu valoda"; const char C_LOCALE_LATVIAN[] = "Latviešu valoda";
const char C_LOCALE_LITHUANIAN[] = "Lietuvių"; const char C_LOCALE_LITHUANIAN[] = "Lietuvių";
const char C_LOCALE_MALAY[] = "بهاس ملايو"; const char C_LOCALE_MALAY[] = "بهاس ملايو";
const char C_LOCALE_NORWEGIAN[] = "Norsk"; const char C_LOCALE_NORWEGIAN[] = "Norsk";
@ -94,4 +94,4 @@ const char C_LOCALE_SWEDISH[] = "Svenska";
const char C_LOCALE_TURKISH[] = "Türkçe"; const char C_LOCALE_TURKISH[] = "Türkçe";
const char C_LOCALE_UKRAINIAN[] = "Українська"; const char C_LOCALE_UKRAINIAN[] = "Українська";
const char C_LOCALE_UZBEK[] = "أۇزبېك"; const char C_LOCALE_UZBEK[] = "أۇزبېك";
const char C_LOCALE_VIETNAMESE[] = "tiếng Việt"; const char C_LOCALE_VIETNAMESE[] = "Tiếng Việt";

10
src/webui/www/private/views/preferences.html

@ -649,8 +649,8 @@
<label for="locale_select">QBT_TR(User Interface Language:)QBT_TR[CONTEXT=OptionsDialog]</label> <label for="locale_select">QBT_TR(User Interface Language:)QBT_TR[CONTEXT=OptionsDialog]</label>
<select id="locale_select"> <select id="locale_select">
<option value="en">English</option> <option value="en">English</option>
<option value="en_AU">English(Australia)</option> <option value="en_AU">English (Australia)</option>
<option value="en_GB">English(United Kingdom)</option> <option value="en_GB">English (United Kingdom)</option>
<option value="eo_EO">Esperanto</option> <option value="eo_EO">Esperanto</option>
<option value="fr_FR">Français</option> <option value="fr_FR">Français</option>
<option value="de_DE">Deutsch</option> <option value="de_DE">Deutsch</option>
@ -666,9 +666,9 @@
<option value="pt_BR">Português brasileiro</option> <option value="pt_BR">Português brasileiro</option>
<option value="pt_PT">Português</option> <option value="pt_PT">Português</option>
<option value="pl_PL">Polski</option> <option value="pl_PL">Polski</option>
<option value="lv_LV">latviešu valoda</option> <option value="lv_LV">Latviešu valoda</option>
<option value="lt_LT">Lietuvių</option> <option value="lt_LT">Lietuvių</option>
<option value="ltg">latgalīšu volūda</option> <option value="ltg">Latgalīšu volūda</option>
<option value="ms_MY">بهاس ملايو</option> <option value="ms_MY">بهاس ملايو</option>
<option value="cs_CZ">Čeština</option> <option value="cs_CZ">Čeština</option>
<option value="sk_SK">Slovenčina</option> <option value="sk_SK">Slovenčina</option>
@ -694,7 +694,7 @@
<option value="ka_GE">ქართული</option> <option value="ka_GE">ქართული</option>
<option value="be_BY">Беларуская</option> <option value="be_BY">Беларуская</option>
<option value="eu_ES">Euskara</option> <option value="eu_ES">Euskara</option>
<option value="vi_VN">tiếng Việt</option> <option value="vi_VN">Tiếng Việt</option>
<option value="zh">简体中文</option> <option value="zh">简体中文</option>
<option value="zh_TW">正體中文</option> <option value="zh_TW">正體中文</option>
<option value="zh_HK">香港正體字</option> <option value="zh_HK">香港正體字</option>

Loading…
Cancel
Save