Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Disable translations below 80%.

Closes #3136.
  • Loading branch information...
commit a39f61281c2703a6d952da27b750b60c6706f6be 1 parent 5f6323a
cybersphinx authored August 18, 2012

Showing 1 changed file with 27 additions and 27 deletions. Show diff stats Hide diff stats

  1. 54  lib/framework/i18n.cpp
54  lib/framework/i18n.cpp
@@ -92,15 +92,15 @@ static const struct
92 92
 	{ "", N_("System locale"), LANG_NEUTRAL, SUBLANG_DEFAULT },
93 93
 #  if defined(ENABLE_NLS)
94 94
 	{ "ca", LANG_NAME_CATALAN, LANG_CATALAN, SUBLANG_DEFAULT },
95  
-	{ "cs", LANG_NAME_CZECH, LANG_CZECH, SUBLANG_DEFAULT },
96  
-	{ "da", LANG_NAME_DANISH, LANG_DANISH, SUBLANG_DEFAULT },
  95
+//	{ "cs", LANG_NAME_CZECH, LANG_CZECH, SUBLANG_DEFAULT },
  96
+//	{ "da", LANG_NAME_DANISH, LANG_DANISH, SUBLANG_DEFAULT },
97 97
 	{ "de", LANG_NAME_GERMAN, LANG_GERMAN, SUBLANG_GERMAN },
98 98
 	{ "en", LANG_NAME_ENGLISH, LANG_ENGLISH, SUBLANG_DEFAULT },
99 99
 	{ "en_GB", LANG_NAME_ENGLISH_UK, LANG_ENGLISH, SUBLANG_ENGLISH_UK },
100 100
 	{ "es", LANG_NAME_SPANISH, LANG_SPANISH, SUBLANG_SPANISH },
101 101
 	{ "et_EE", LANG_NAME_ESTONIAN, LANG_ESTONIAN, SUBLANG_DEFAULT },
102 102
 //	{ "eu", LANG_NAME_BASQUE, LANG_BASQUE, SUBLANG_DEFAULT },
103  
-	{ "fi", LANG_NAME_FINNISH, LANG_FINNISH, SUBLANG_DEFAULT },
  103
+//	{ "fi", LANG_NAME_FINNISH, LANG_FINNISH, SUBLANG_DEFAULT },
104 104
 	{ "fr", LANG_NAME_FRENCH, LANG_FRENCH, SUBLANG_FRENCH },
105 105
 	/* Our Frisian translation is the "West Frisian" variation of it. This
106 106
 	 * variation is mostly spoken in the Dutch province Friesland (Fryslân
@@ -109,26 +109,26 @@ static const struct
109 109
 	 * FIXME: We should really use a sub-language code for this. E.g.
110 110
 	 *        fy_XX.
111 111
 	 */
112  
-	{ "fy", LANG_NAME_FRISIAN_NETHERLANDS, LANG_FRISIAN, SUBLANG_FRISIAN_NETHERLANDS },
113  
-	{ "ga", LANG_NAME_IRISH, LANG_IRISH, SUBLANG_IRISH_IRELAND },
114  
-	{ "hr", LANG_NAME_CROATIAN, LANG_CROATIAN, SUBLANG_DEFAULT },
  112
+//	{ "fy", LANG_NAME_FRISIAN_NETHERLANDS, LANG_FRISIAN, SUBLANG_FRISIAN_NETHERLANDS },
  113
+//	{ "ga", LANG_NAME_IRISH, LANG_IRISH, SUBLANG_IRISH_IRELAND },
  114
+//	{ "hr", LANG_NAME_CROATIAN, LANG_CROATIAN, SUBLANG_DEFAULT },
115 115
 	{ "hu", LANG_NAME_HUNGARIAN, LANG_HUNGARIAN, SUBLANG_DEFAULT },
116 116
 	{ "it", LANG_NAME_ITALIAN, LANG_ITALIAN, SUBLANG_ITALIAN },
117 117
 	{ "ko_KR", LANG_NAME_KOREAN, LANG_KOREAN, SUBLANG_DEFAULT },
118 118
 //	{ "la", LANG_NAME_LATIN, LANG_LATIN, SUBLANG_DEFAULT },
119  
-	{ "lt", LANG_NAME_LITHUANIAN, LANG_LITHUANIAN, SUBLANG_DEFAULT },
  119
+//	{ "lt", LANG_NAME_LITHUANIAN, LANG_LITHUANIAN, SUBLANG_DEFAULT },
120 120
 //	{ "lv", LANG_NAME_LATVIAN, LANG_LATVIAN, SUBLANG_DEFAULT },
121 121
 	// MSDN uses "no"...
122  
-	{ "nb", LANG_NAME_NORWEGIAN, LANG_NORWEGIAN, SUBLANG_DEFAULT },
  122
+//	{ "nb", LANG_NAME_NORWEGIAN, LANG_NORWEGIAN, SUBLANG_DEFAULT },
123 123
 //	{ "nn", LANG_NAME_NORWEGIAN_NYNORSK, LANG_NORWEGIAN, SUBLANG_NORWEGIAN_NYNORSK },
124 124
 	{ "nl", LANG_NAME_DUTCH, LANG_DUTCH, SUBLANG_DUTCH },
125 125
 	{ "pl", LANG_NAME_POLISH, LANG_POLISH, SUBLANG_DEFAULT },
126 126
 	{ "pt_BR", LANG_NAME_PORTUGUESE_BRAZILIAN, LANG_PORTUGUESE, SUBLANG_PORTUGUESE_BRAZILIAN },
127 127
 	{ "pt", LANG_NAME_PORTUGUESE, LANG_PORTUGUESE, SUBLANG_DEFAULT },
128  
-	{ "ro", LANG_NAME_ROMANIAN, LANG_ROMANIAN, SUBLANG_DEFAULT },
  128
+//	{ "ro", LANG_NAME_ROMANIAN, LANG_ROMANIAN, SUBLANG_DEFAULT },
129 129
 	{ "ru", LANG_NAME_RUSSIAN, LANG_RUSSIAN, SUBLANG_DEFAULT },
130  
-	{ "sk", LANG_NAME_SLOVAK, LANG_SLOVAK, SUBLANG_DEFAULT },
131  
-	{ "sl", LANG_NAME_SLOVENIAN, LANG_SLOVENIAN, SUBLANG_DEFAULT },
  130
+//	{ "sk", LANG_NAME_SLOVAK, LANG_SLOVAK, SUBLANG_DEFAULT },
  131
+//	{ "sl", LANG_NAME_SLOVENIAN, LANG_SLOVENIAN, SUBLANG_DEFAULT },
132 132
 #if (WINVER >= 0x0600)
133 133
 //	{ "sv_SE", LANG_NAME_SWEDISH_SWEDEN, LANG_SWEDISH, SUBLANG_SWEDISH_SWEDEN },
134 134
 #else
@@ -138,8 +138,8 @@ static const struct
138 138
 	{ "tr", LANG_NAME_TURKISH, LANG_TURKISH, SUBLANG_DEFAULT },
139 139
 //	{ "uz", LANG_NAME_UZBEK_CYRILLIC, LANG_UZBEK, SUBLANG_UZBEK_CYRILLIC },
140 140
 	{ "uk_UA", LANG_NAME_UKRAINIAN, LANG_UKRAINIAN, SUBLANG_DEFAULT },
141  
-	{ "zh_CN", LANG_NAME_CHINESE_SIMPLIFIED, LANG_CHINESE, SUBLANG_CHINESE_SIMPLIFIED },
142  
-	{ "zh_TW", LANG_NAME_CHINESE_TRADITIONAL, LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL },
  141
+//	{ "zh_CN", LANG_NAME_CHINESE_SIMPLIFIED, LANG_CHINESE, SUBLANG_CHINESE_SIMPLIFIED },
  142
+//	{ "zh_TW", LANG_NAME_CHINESE_TRADITIONAL, LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL },
143 143
 #  endif
144 144
 };
145 145
 #else
@@ -153,46 +153,46 @@ static const struct
153 153
 	{ "",   N_("System locale"), "", "" },
154 154
 #  if defined(ENABLE_NLS)
155 155
 	{ "ca_ES", LANG_NAME_CATALAN, "ca_ES.UTF-8", "ca" },
156  
-	{ "cs_CZ", LANG_NAME_CZECH, "cs_CZ.UTF-8", "cs" },
157  
-	{ "da", LANG_NAME_DANISH, "da_DK.UTF-8", "da_DK" },
  156
+//	{ "cs_CZ", LANG_NAME_CZECH, "cs_CZ.UTF-8", "cs" },
  157
+//	{ "da", LANG_NAME_DANISH, "da_DK.UTF-8", "da_DK" },
158 158
 	{ "de", LANG_NAME_GERMAN, "de_DE.UTF-8", "de_DE" },
159 159
 	{ "en", LANG_NAME_ENGLISH, "en_US.UTF-8", "en_US" },
160 160
 	{ "en_GB", LANG_NAME_ENGLISH_UK, "en_GB.UTF-8", "en_GB" },
161 161
 	{ "es", LANG_NAME_SPANISH, "es_ES.UTF-8", "es_ES" },
162 162
 	{ "et_EE", LANG_NAME_ESTONIAN, "et_EE.UTF-8", "et" },
163 163
 //	{ "eu_ES", LANG_NAME_BASQUE, "eu_ES.UTF-8", "eu" },
164  
-	{ "fi", LANG_NAME_FINNISH, "fi_FI.UTF-8", "fi_FI" },
  164
+//	{ "fi", LANG_NAME_FINNISH, "fi_FI.UTF-8", "fi_FI" },
165 165
 	{ "fr", LANG_NAME_FRENCH, "fr_FR.UTF-8", "fr_FR" },
166 166
 	/* Our Frisian translation is the "West Frisian" variation of it. This
167 167
 	 * variation is mostly spoken in the Dutch province Friesland (Fryslân
168 168
 	 * in Frisian) and has ISO 639-3 code "fry".
169 169
 	 */
170  
-	{ "fy_NL", LANG_NAME_FRISIAN_NETHERLANDS, "fy_NL.UTF-8", "fy" },
171  
-	{ "ga_IE", LANG_NAME_IRISH, "ga_IE.UTF-8", "ga" },
172  
-	{ "hr", LANG_NAME_CROATIAN, "hr_HR.UTF-8", "hr_HR" },
  170
+//	{ "fy_NL", LANG_NAME_FRISIAN_NETHERLANDS, "fy_NL.UTF-8", "fy" },
  171
+//	{ "ga_IE", LANG_NAME_IRISH, "ga_IE.UTF-8", "ga" },
  172
+//	{ "hr", LANG_NAME_CROATIAN, "hr_HR.UTF-8", "hr_HR" },
173 173
 	{ "hu", LANG_NAME_HUNGARIAN, "hu_HU.UTF-8", "hu_HU" },
174 174
 	{ "it", LANG_NAME_ITALIAN, "it_IT.UTF-8", "it_IT" },
175 175
 	{ "ko_KR", LANG_NAME_KOREAN, "ko_KR.UTF-8", "ko" },
176  
-	{ "la", LANG_NAME_LATIN, "la.UTF-8", "la" },
177  
-	{ "lt", LANG_NAME_LITHUANIAN, "lt_LT.UTF-8", "lt_LT" },
  176
+//	{ "la", LANG_NAME_LATIN, "la.UTF-8", "la" },
  177
+//	{ "lt", LANG_NAME_LITHUANIAN, "lt_LT.UTF-8", "lt_LT" },
178 178
 //	{ "lv", LANG_NAME_LATVIAN, "lv_LV.UTF-8", "lv_LV" },
179  
-	{ "nb_NO", LANG_NAME_NORWEGIAN, "nb_NO.UTF-8", "nb" },
  179
+//	{ "nb_NO", LANG_NAME_NORWEGIAN, "nb_NO.UTF-8", "nb" },
180 180
 //	{ "nn_NO", LANG_NAME_NORWEGIAN_NYNORSK, "nn_NO.UTF-8", "nn" },
181 181
 	{ "nl", LANG_NAME_DUTCH, "nl_NL.UTF-8", "nl_NL" },
182 182
 	{ "pl", LANG_NAME_POLISH, "pl_PL.UTF-8", "pl_PL" },
183 183
 	{ "pt_BR", LANG_NAME_PORTUGUESE_BRAZILIAN, "pt_BR.UTF-8", "pt_BR" },
184 184
 	{ "pt", LANG_NAME_PORTUGUESE, "pt_PT.UTF-8", "pt_PT" },
185  
-	{ "ro", LANG_NAME_ROMANIAN, "ro_RO.UTF-8", "ro_RO" },
  185
+//	{ "ro", LANG_NAME_ROMANIAN, "ro_RO.UTF-8", "ro_RO" },
186 186
 	{ "ru", LANG_NAME_RUSSIAN, "ru_RU.UTF-8", "ru_RU" },
187  
-	{ "sk", LANG_NAME_SLOVAK, "sk_SK.UTF-8", "sk_SK" },
188  
-	{ "sl_SI", LANG_NAME_SLOVENIAN, "sl_SI.UTF-8", "sl" },
  187
+//	{ "sk", LANG_NAME_SLOVAK, "sk_SK.UTF-8", "sk_SK" },
  188
+//	{ "sl_SI", LANG_NAME_SLOVENIAN, "sl_SI.UTF-8", "sl" },
189 189
 //	{ "sv_SE", LANG_NAME_SWEDISH_SWEDEN, "sv_SE.UTF-8", "sv" },
190 190
 //	{ "sv", LANG_NAME_SWEDISH, "sv.UTF-8", "sv" },
191 191
 	{ "tr", LANG_NAME_TURKISH, "tr_TR.UTF-8", "tr_TR" },
192 192
 //	{ "uz", LANG_NAME_UZBEK_CYRILLIC, "uz_UZ.UTF-8", "uz_UZ" },
193 193
 	{ "uk_UA", LANG_NAME_UKRAINIAN, "uk_UA.UTF-8", "uk" },
194  
-	{ "zh_CN", LANG_NAME_CHINESE_SIMPLIFIED, "zh_CN.UTF-8", "zh_CN" },
195  
-	{ "zh_TW", LANG_NAME_CHINESE_TRADITIONAL, "zh_TW.UTF-8", "zh_TW" },
  194
+//	{ "zh_CN", LANG_NAME_CHINESE_SIMPLIFIED, "zh_CN.UTF-8", "zh_CN" },
  195
+//	{ "zh_TW", LANG_NAME_CHINESE_TRADITIONAL, "zh_TW.UTF-8", "zh_TW" },
196 196
 #  endif
197 197
 };
198 198
 #endif

0 notes on commit a39f612

Please sign in to comment.
Something went wrong with that request. Please try again.