Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Disable translations below 80%.

Closes #3136.
  • Loading branch information...
commit a39f61281c2703a6d952da27b750b60c6706f6be 1 parent 5f6323a
@cybersphinx cybersphinx authored
Showing with 27 additions and 27 deletions.
  1. +27 −27 lib/framework/i18n.cpp
View
54 lib/framework/i18n.cpp
@@ -92,15 +92,15 @@ static const struct
{ "", N_("System locale"), LANG_NEUTRAL, SUBLANG_DEFAULT },
# if defined(ENABLE_NLS)
{ "ca", LANG_NAME_CATALAN, LANG_CATALAN, SUBLANG_DEFAULT },
- { "cs", LANG_NAME_CZECH, LANG_CZECH, SUBLANG_DEFAULT },
- { "da", LANG_NAME_DANISH, LANG_DANISH, SUBLANG_DEFAULT },
+// { "cs", LANG_NAME_CZECH, LANG_CZECH, SUBLANG_DEFAULT },
+// { "da", LANG_NAME_DANISH, LANG_DANISH, SUBLANG_DEFAULT },
{ "de", LANG_NAME_GERMAN, LANG_GERMAN, SUBLANG_GERMAN },
{ "en", LANG_NAME_ENGLISH, LANG_ENGLISH, SUBLANG_DEFAULT },
{ "en_GB", LANG_NAME_ENGLISH_UK, LANG_ENGLISH, SUBLANG_ENGLISH_UK },
{ "es", LANG_NAME_SPANISH, LANG_SPANISH, SUBLANG_SPANISH },
{ "et_EE", LANG_NAME_ESTONIAN, LANG_ESTONIAN, SUBLANG_DEFAULT },
// { "eu", LANG_NAME_BASQUE, LANG_BASQUE, SUBLANG_DEFAULT },
- { "fi", LANG_NAME_FINNISH, LANG_FINNISH, SUBLANG_DEFAULT },
+// { "fi", LANG_NAME_FINNISH, LANG_FINNISH, SUBLANG_DEFAULT },
{ "fr", LANG_NAME_FRENCH, LANG_FRENCH, SUBLANG_FRENCH },
/* Our Frisian translation is the "West Frisian" variation of it. This
* variation is mostly spoken in the Dutch province Friesland (Fryslân
@@ -109,26 +109,26 @@ static const struct
* FIXME: We should really use a sub-language code for this. E.g.
* fy_XX.
*/
- { "fy", LANG_NAME_FRISIAN_NETHERLANDS, LANG_FRISIAN, SUBLANG_FRISIAN_NETHERLANDS },
- { "ga", LANG_NAME_IRISH, LANG_IRISH, SUBLANG_IRISH_IRELAND },
- { "hr", LANG_NAME_CROATIAN, LANG_CROATIAN, SUBLANG_DEFAULT },
+// { "fy", LANG_NAME_FRISIAN_NETHERLANDS, LANG_FRISIAN, SUBLANG_FRISIAN_NETHERLANDS },
+// { "ga", LANG_NAME_IRISH, LANG_IRISH, SUBLANG_IRISH_IRELAND },
+// { "hr", LANG_NAME_CROATIAN, LANG_CROATIAN, SUBLANG_DEFAULT },
{ "hu", LANG_NAME_HUNGARIAN, LANG_HUNGARIAN, SUBLANG_DEFAULT },
{ "it", LANG_NAME_ITALIAN, LANG_ITALIAN, SUBLANG_ITALIAN },
{ "ko_KR", LANG_NAME_KOREAN, LANG_KOREAN, SUBLANG_DEFAULT },
// { "la", LANG_NAME_LATIN, LANG_LATIN, SUBLANG_DEFAULT },
- { "lt", LANG_NAME_LITHUANIAN, LANG_LITHUANIAN, SUBLANG_DEFAULT },
+// { "lt", LANG_NAME_LITHUANIAN, LANG_LITHUANIAN, SUBLANG_DEFAULT },
// { "lv", LANG_NAME_LATVIAN, LANG_LATVIAN, SUBLANG_DEFAULT },
// MSDN uses "no"...
- { "nb", LANG_NAME_NORWEGIAN, LANG_NORWEGIAN, SUBLANG_DEFAULT },
+// { "nb", LANG_NAME_NORWEGIAN, LANG_NORWEGIAN, SUBLANG_DEFAULT },
// { "nn", LANG_NAME_NORWEGIAN_NYNORSK, LANG_NORWEGIAN, SUBLANG_NORWEGIAN_NYNORSK },
{ "nl", LANG_NAME_DUTCH, LANG_DUTCH, SUBLANG_DUTCH },
{ "pl", LANG_NAME_POLISH, LANG_POLISH, SUBLANG_DEFAULT },
{ "pt_BR", LANG_NAME_PORTUGUESE_BRAZILIAN, LANG_PORTUGUESE, SUBLANG_PORTUGUESE_BRAZILIAN },
{ "pt", LANG_NAME_PORTUGUESE, LANG_PORTUGUESE, SUBLANG_DEFAULT },
- { "ro", LANG_NAME_ROMANIAN, LANG_ROMANIAN, SUBLANG_DEFAULT },
+// { "ro", LANG_NAME_ROMANIAN, LANG_ROMANIAN, SUBLANG_DEFAULT },
{ "ru", LANG_NAME_RUSSIAN, LANG_RUSSIAN, SUBLANG_DEFAULT },
- { "sk", LANG_NAME_SLOVAK, LANG_SLOVAK, SUBLANG_DEFAULT },
- { "sl", LANG_NAME_SLOVENIAN, LANG_SLOVENIAN, SUBLANG_DEFAULT },
+// { "sk", LANG_NAME_SLOVAK, LANG_SLOVAK, SUBLANG_DEFAULT },
+// { "sl", LANG_NAME_SLOVENIAN, LANG_SLOVENIAN, SUBLANG_DEFAULT },
#if (WINVER >= 0x0600)
// { "sv_SE", LANG_NAME_SWEDISH_SWEDEN, LANG_SWEDISH, SUBLANG_SWEDISH_SWEDEN },
#else
@@ -138,8 +138,8 @@ static const struct
{ "tr", LANG_NAME_TURKISH, LANG_TURKISH, SUBLANG_DEFAULT },
// { "uz", LANG_NAME_UZBEK_CYRILLIC, LANG_UZBEK, SUBLANG_UZBEK_CYRILLIC },
{ "uk_UA", LANG_NAME_UKRAINIAN, LANG_UKRAINIAN, SUBLANG_DEFAULT },
- { "zh_CN", LANG_NAME_CHINESE_SIMPLIFIED, LANG_CHINESE, SUBLANG_CHINESE_SIMPLIFIED },
- { "zh_TW", LANG_NAME_CHINESE_TRADITIONAL, LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL },
+// { "zh_CN", LANG_NAME_CHINESE_SIMPLIFIED, LANG_CHINESE, SUBLANG_CHINESE_SIMPLIFIED },
+// { "zh_TW", LANG_NAME_CHINESE_TRADITIONAL, LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL },
# endif
};
#else
@@ -153,46 +153,46 @@ static const struct
{ "", N_("System locale"), "", "" },
# if defined(ENABLE_NLS)
{ "ca_ES", LANG_NAME_CATALAN, "ca_ES.UTF-8", "ca" },
- { "cs_CZ", LANG_NAME_CZECH, "cs_CZ.UTF-8", "cs" },
- { "da", LANG_NAME_DANISH, "da_DK.UTF-8", "da_DK" },
+// { "cs_CZ", LANG_NAME_CZECH, "cs_CZ.UTF-8", "cs" },
+// { "da", LANG_NAME_DANISH, "da_DK.UTF-8", "da_DK" },
{ "de", LANG_NAME_GERMAN, "de_DE.UTF-8", "de_DE" },
{ "en", LANG_NAME_ENGLISH, "en_US.UTF-8", "en_US" },
{ "en_GB", LANG_NAME_ENGLISH_UK, "en_GB.UTF-8", "en_GB" },
{ "es", LANG_NAME_SPANISH, "es_ES.UTF-8", "es_ES" },
{ "et_EE", LANG_NAME_ESTONIAN, "et_EE.UTF-8", "et" },
// { "eu_ES", LANG_NAME_BASQUE, "eu_ES.UTF-8", "eu" },
- { "fi", LANG_NAME_FINNISH, "fi_FI.UTF-8", "fi_FI" },
+// { "fi", LANG_NAME_FINNISH, "fi_FI.UTF-8", "fi_FI" },
{ "fr", LANG_NAME_FRENCH, "fr_FR.UTF-8", "fr_FR" },
/* Our Frisian translation is the "West Frisian" variation of it. This
* variation is mostly spoken in the Dutch province Friesland (Fryslân
* in Frisian) and has ISO 639-3 code "fry".
*/
- { "fy_NL", LANG_NAME_FRISIAN_NETHERLANDS, "fy_NL.UTF-8", "fy" },
- { "ga_IE", LANG_NAME_IRISH, "ga_IE.UTF-8", "ga" },
- { "hr", LANG_NAME_CROATIAN, "hr_HR.UTF-8", "hr_HR" },
+// { "fy_NL", LANG_NAME_FRISIAN_NETHERLANDS, "fy_NL.UTF-8", "fy" },
+// { "ga_IE", LANG_NAME_IRISH, "ga_IE.UTF-8", "ga" },
+// { "hr", LANG_NAME_CROATIAN, "hr_HR.UTF-8", "hr_HR" },
{ "hu", LANG_NAME_HUNGARIAN, "hu_HU.UTF-8", "hu_HU" },
{ "it", LANG_NAME_ITALIAN, "it_IT.UTF-8", "it_IT" },
{ "ko_KR", LANG_NAME_KOREAN, "ko_KR.UTF-8", "ko" },
- { "la", LANG_NAME_LATIN, "la.UTF-8", "la" },
- { "lt", LANG_NAME_LITHUANIAN, "lt_LT.UTF-8", "lt_LT" },
+// { "la", LANG_NAME_LATIN, "la.UTF-8", "la" },
+// { "lt", LANG_NAME_LITHUANIAN, "lt_LT.UTF-8", "lt_LT" },
// { "lv", LANG_NAME_LATVIAN, "lv_LV.UTF-8", "lv_LV" },
- { "nb_NO", LANG_NAME_NORWEGIAN, "nb_NO.UTF-8", "nb" },
+// { "nb_NO", LANG_NAME_NORWEGIAN, "nb_NO.UTF-8", "nb" },
// { "nn_NO", LANG_NAME_NORWEGIAN_NYNORSK, "nn_NO.UTF-8", "nn" },
{ "nl", LANG_NAME_DUTCH, "nl_NL.UTF-8", "nl_NL" },
{ "pl", LANG_NAME_POLISH, "pl_PL.UTF-8", "pl_PL" },
{ "pt_BR", LANG_NAME_PORTUGUESE_BRAZILIAN, "pt_BR.UTF-8", "pt_BR" },
{ "pt", LANG_NAME_PORTUGUESE, "pt_PT.UTF-8", "pt_PT" },
- { "ro", LANG_NAME_ROMANIAN, "ro_RO.UTF-8", "ro_RO" },
+// { "ro", LANG_NAME_ROMANIAN, "ro_RO.UTF-8", "ro_RO" },
{ "ru", LANG_NAME_RUSSIAN, "ru_RU.UTF-8", "ru_RU" },
- { "sk", LANG_NAME_SLOVAK, "sk_SK.UTF-8", "sk_SK" },
- { "sl_SI", LANG_NAME_SLOVENIAN, "sl_SI.UTF-8", "sl" },
+// { "sk", LANG_NAME_SLOVAK, "sk_SK.UTF-8", "sk_SK" },
+// { "sl_SI", LANG_NAME_SLOVENIAN, "sl_SI.UTF-8", "sl" },
// { "sv_SE", LANG_NAME_SWEDISH_SWEDEN, "sv_SE.UTF-8", "sv" },
// { "sv", LANG_NAME_SWEDISH, "sv.UTF-8", "sv" },
{ "tr", LANG_NAME_TURKISH, "tr_TR.UTF-8", "tr_TR" },
// { "uz", LANG_NAME_UZBEK_CYRILLIC, "uz_UZ.UTF-8", "uz_UZ" },
{ "uk_UA", LANG_NAME_UKRAINIAN, "uk_UA.UTF-8", "uk" },
- { "zh_CN", LANG_NAME_CHINESE_SIMPLIFIED, "zh_CN.UTF-8", "zh_CN" },
- { "zh_TW", LANG_NAME_CHINESE_TRADITIONAL, "zh_TW.UTF-8", "zh_TW" },
+// { "zh_CN", LANG_NAME_CHINESE_SIMPLIFIED, "zh_CN.UTF-8", "zh_CN" },
+// { "zh_TW", LANG_NAME_CHINESE_TRADITIONAL, "zh_TW.UTF-8", "zh_TW" },
# endif
};
#endif
Please sign in to comment.
Something went wrong with that request. Please try again.