Mercurial > mplayer.hg
comparison gui/dialog/menu.c @ 36702:fb14d0cfc36d
Use native names of languages instead of English ones.
(This is a compromise between localization and the effort to translate
every language name into every language we are supporting.)
It should easily allow anyone who understands a certain language to find
the corresponding menu entry.
Additionally, remove languages (almost) ceased to be a living language,
remove collective language codes and arrange all language codes
alphabetically.
author | ib |
---|---|
date | Fri, 07 Feb 2014 18:17:05 +0000 |
parents | eb1a6a0b268f |
children | 712751eb3ad6 |
comparison
equal
deleted
inserted
replaced
36701:eb1a6a0b268f | 36702:fb14d0cfc36d |
---|---|
219 | 219 |
220 #ifdef CONFIG_DVDREAD | 220 #ifdef CONFIG_DVDREAD |
221 #define lng( a,b ) ( (int)(a) * 256 + b ) | 221 #define lng( a,b ) ( (int)(a) * 256 + b ) |
222 static Languages_t Languages[] = | 222 static Languages_t Languages[] = |
223 { | 223 { |
224 { lng( 'a','b' ), "Abkhazian" }, | 224 { lng( 'a','a' ), "ʿAfár af" }, |
225 { lng( 'a','a' ), "Afar" }, | 225 { lng( 'a','b' ), "аҧсуа бызшәа" }, |
226 { lng( 'a','f' ), "Afrikaans" }, | 226 { lng( 'a','f' ), "Afrikaans" }, |
227 { lng( 's','q' ), "Albanian" }, | 227 { lng( 'a','m' ), "ኣማርኛ" }, |
228 { lng( 'a','m' ), "Amharic" }, | 228 { lng( 'a','r' ), "العربية" }, |
229 { lng( 'a','r' ), "Arabic" }, | 229 { lng( 'a','s' ), "অসমীয়া" }, |
230 { lng( 'h','y' ), "Armenian" }, | 230 { lng( 'a','y' ), "Aymar Aru" }, |
231 { lng( 'a','s' ), "Assamese" }, | 231 { lng( 'a','z' ), "Azərbaycanca" }, |
232 { lng( 'a','e' ), "Avestan" }, | 232 { lng( 'b','a' ), "Башҡорт теле" }, |
233 { lng( 'a','y' ), "Aymara" }, | 233 { lng( 'b','e' ), "беларуская мова" }, |
234 { lng( 'a','z' ), "Azerbaijani" }, | 234 { lng( 'b','g' ), "български език" }, |
235 { lng( 'b','a' ), "Bashkir" }, | 235 { lng( 'b','i' ), "Bislama" }, |
236 { lng( 'e','u' ), "Basque" }, | 236 { lng( 'b','n' ), "বাংলা" }, |
237 { lng( 'b','e' ), "Belarusian" }, | 237 { lng( 'b','o' ), "བོད་སྐད" }, |
238 { lng( 'b','n' ), "Bengali" }, | 238 { lng( 'b','r' ), "Brezhoneg" }, |
239 { lng( 'b','h' ), "Bihari" }, | 239 { lng( 'b','s' ), "Bosanski" }, |
240 { lng( 'b','i' ), "Bislama" }, | 240 { lng( 'c','a' ), "Català" }, |
241 { lng( 'b','s' ), "Bosnian" }, | 241 { lng( 'c','e' ), "Нохчийн мотт" }, |
242 { lng( 'b','r' ), "Breton" }, | 242 { lng( 'c','h' ), "Chamoru" }, |
243 { lng( 'b','g' ), "Bulgarian" }, | 243 { lng( 'c','o' ), "Corsu" }, |
244 { lng( 'm','y' ), "Burmese" }, | 244 { lng( 'c','s' ), "Čeština" }, |
245 { lng( 'c','a' ), "Catalan" }, | 245 { lng( 'c','v' ), "Чӑвашла" }, |
246 { lng( 'c','h' ), "Chamorro" }, | 246 { lng( 'c','y' ), "Cymraeg" }, |
247 { lng( 'c','e' ), "Chechen" }, | 247 { lng( 'd','a' ), "Dansk" }, |
248 { lng( 'n','y' ), "Chichewa;Nyanja" }, | 248 { lng( 'd','e' ), "Deutsch" }, |
249 { lng( 'z','h' ), "Chinese" }, | 249 { lng( 'd','z' ), "ཇོང་ཁ" }, |
250 { lng( 'c','u' ), "ChurchSlavic" }, | 250 { lng( 'e','l' ), "Ελληνικά" }, |
251 { lng( 'c','v' ), "Chuvash" }, | 251 { lng( 'e','n' ), "English" }, |
252 { lng( 'k','w' ), "Cornish" }, | 252 { lng( 'e','o' ), "Esperanto" }, |
253 { lng( 'c','o' ), "Corsican" }, | 253 { lng( 'e','s' ), "Español" }, |
254 { lng( 'h','r' ), "Croatian" }, | 254 { lng( 'e','t' ), "Eesti keel" }, |
255 { lng( 'c','s' ), "Czech" }, | 255 { lng( 'e','u' ), "Euskara" }, |
256 { lng( 'd','a' ), "Danish" }, | 256 { lng( 'f','a' ), "فارسی" }, |
257 { lng( 'n','l' ), "Dutch" }, | 257 { lng( 'f','i' ), "Suomi" }, |
258 { lng( 'd','z' ), "Dzongkha" }, | 258 { lng( 'f','j' ), "Vakaviti" }, |
259 { lng( 'e','n' ), "English" }, | 259 { lng( 'f','o' ), "Føroyskt" }, |
260 { lng( 'e','o' ), "Esperanto" }, | 260 { lng( 'f','r' ), "Français" }, |
261 { lng( 'e','t' ), "Estonian" }, | 261 { lng( 'f','y' ), "Frysk" }, |
262 { lng( 'f','o' ), "Faroese" }, | 262 { lng( 'g','a' ), "Gaeilge" }, |
263 { lng( 'f','j' ), "Fijian" }, | 263 { lng( 'g','d' ), "Gàidhlig" }, |
264 { lng( 'f','i' ), "Finnish" }, | 264 { lng( 'g','l' ), "Galego" }, |
265 { lng( 'f','r' ), "French" }, | 265 { lng( 'g','n' ), "Avañe'ẽ" }, |
266 { lng( 'f','y' ), "Frisian" }, | 266 { lng( 'g','u' ), "ગુજરાતી" }, |
267 { lng( 'g','d' ), "Gaelic(Scots" }, | 267 { lng( 'h','a' ), "هَوُسَ" }, |
268 { lng( 'g','l' ), "Gallegan" }, | 268 { lng( 'h','e' ), "עִבְרִית" }, |
269 { lng( 'k','a' ), "Georgian" }, | 269 { lng( 'h','i' ), "हिन्दी" }, |
270 { lng( 'd','e' ), "German" }, | 270 { lng( 'h','r' ), "Hrvatska" }, |
271 { lng( 'e','l' ), "Greek" }, | 271 { lng( 'h','u' ), "Magyar" }, |
272 { lng( 'g','n' ), "Guarani" }, | 272 { lng( 'h','y' ), "Հայերեն" }, |
273 { lng( 'g','u' ), "Gujarati" }, | 273 { lng( 'h','z' ), "Otjiherero" }, |
274 { lng( 'h','a' ), "Hausa" }, | 274 { lng( 'i','d' ), "Bahasa Indonesia" }, |
275 { lng( 'h','e' ), "Hebrew" }, | 275 { lng( 'i','s' ), "Íslenska" }, |
276 { lng( 'i','w' ), "Hebrew" }, | 276 { lng( 'i','t' ), "Italiano" }, |
277 { lng( 'h','z' ), "Herero" }, | 277 { lng( 'i','u' ), "ᐃᓄᒃᑎᑐᑦ" }, |
278 { lng( 'h','i' ), "Hindi" }, | 278 { lng( 'j','a' ), "日本語" }, |
279 { lng( 'h','o' ), "HiriMotu" }, | 279 { lng( 'j','i' ), "יידיש" }, |
280 { lng( 'h','u' ), "Hungarian" }, | 280 { lng( 'j','v' ), "Basa Jawa" }, |
281 { lng( 'i','s' ), "Icelandic" }, | 281 { lng( 'k','a' ), "ქართული" }, |
282 { lng( 'i','d' ), "Indonesian" }, | 282 { lng( 'k','i' ), "Gĩkũyũ" }, |
283 { lng( 'i','n' ), "Indonesian" }, | 283 { lng( 'k','j' ), "Kuanyama" }, |
284 { lng( 'i','a' ), "Interlingua" }, | 284 { lng( 'k','k' ), "Қазақ тілі" }, |
285 { lng( 'i','e' ), "Interlingue" }, | 285 { lng( 'k','l' ), "Kalaallisut" }, |
286 { lng( 'i','u' ), "Inuktitut" }, | 286 { lng( 'k','m' ), "ភាសាខ្មែរ" }, |
287 { lng( 'i','k' ), "Inupiaq" }, | 287 { lng( 'k','n' ), "ಕನ್ನಡ" }, |
288 { lng( 'g','a' ), "Irish" }, | 288 { lng( 'k','o' ), "한국어" }, |
289 { lng( 'i','t' ), "Italian" }, | 289 { lng( 'k','s' ), "कॉशुर" }, |
290 { lng( 'j','a' ), "Japanese" }, | 290 { lng( 'k','u' ), "کوردی" }, |
291 { lng( 'j','v' ), "Javanese" }, | 291 { lng( 'k','v' ), "коми кыв" }, |
292 { lng( 'j','w' ), "Javanese" }, | 292 { lng( 'k','y' ), "Кыргызча" }, |
293 { lng( 'k','l' ), "Kalaallisut" }, | 293 { lng( 'l','a' ), "Lingua latina" }, |
294 { lng( 'k','n' ), "Kannada" }, | 294 { lng( 'l','b' ), "Lëtzebuergesch" }, |
295 { lng( 'k','s' ), "Kashmiri" }, | 295 { lng( 'l','n' ), "Lingála" }, |
296 { lng( 'k','k' ), "Kazakh" }, | 296 { lng( 'l','o' ), "ພາສາລາວ" }, |
297 { lng( 'k','m' ), "Khmer" }, | 297 { lng( 'l','t' ), "Lietuvių kalba" }, |
298 { lng( 'k','i' ), "Kikuyu" }, | 298 { lng( 'l','v' ), "Latviešu" }, |
299 { lng( 'r','w' ), "Kinyarwanda" }, | 299 { lng( 'm','g' ), "Malagasy" }, |
300 { lng( 'k','y' ), "Kirghiz" }, | 300 { lng( 'm','h' ), "Kajin M̧ajeļ" }, |
301 { lng( 'k','v' ), "Komi" }, | 301 { lng( 'm','i' ), "Te Reo Māori" }, |
302 { lng( 'k','o' ), "Korean" }, | 302 { lng( 'm','k' ), "Македонски јазик" }, |
303 { lng( 'k','j' ), "Kuanyama" }, | 303 { lng( 'm','l' ), "മലയാളം" }, |
304 { lng( 'k','u' ), "Kurdish" }, | 304 { lng( 'm','n' ), "ᠮᠣᠨᠭᠭᠣᠯ" }, |
305 { lng( 'l','o' ), "Lao" }, | 305 { lng( 'm','r' ), "मराठी" }, |
306 { lng( 'l','a' ), "Latin" }, | 306 { lng( 'm','s' ), "Bahasa Melayu" }, |
307 { lng( 'l','v' ), "Latvian" }, | 307 { lng( 'm','t' ), "Malti" }, |
308 { lng( 'l','b' ), "Letzeburgesch" }, | 308 { lng( 'm','y' ), "မြန်မာစကား" }, |
309 { lng( 'l','n' ), "Lingala" }, | 309 { lng( 'n','b' ), "Bokmål" }, |
310 { lng( 'l','t' ), "Lithuanian" }, | 310 { lng( 'n','d' ), "isiNdebele" }, |
311 { lng( 'm','k' ), "Macedonian" }, | 311 { lng( 'n','e' ), "नेपाली" }, |
312 { lng( 'm','g' ), "Malagasy" }, | 312 { lng( 'n','l' ), "Nederlands" }, |
313 { lng( 'm','s' ), "Malay" }, | 313 { lng( 'n','n' ), "Nynorsk" }, |
314 { lng( 'm','l' ), "Malayalam" }, | 314 { lng( 'n','r' ), "isiNdebele" }, |
315 { lng( 'm','t' ), "Maltese" }, | 315 { lng( 'n','v' ), "Diné bizaad" }, |
316 { lng( 'g','v' ), "Manx" }, | 316 { lng( 'n','y' ), "Chichewa" }, |
317 { lng( 'm','i' ), "Maori" }, | 317 { lng( 'o','c' ), "Occitan" }, |
318 { lng( 'm','r' ), "Marathi" }, | 318 { lng( 'o','m' ), "Afaan Oromoo" }, |
319 { lng( 'm','h' ), "Marshall" }, | 319 { lng( 'o','r' ), "ଓଡ଼ିଆ" }, |
320 { lng( 'm','o' ), "Moldavian" }, | 320 { lng( 'o','s' ), "Ирон ӕвзаг" }, |
321 { lng( 'm','n' ), "Mongolian" }, | 321 { lng( 'p','a' ), "ਪੰਜਾਬੀ" }, |
322 { lng( 'n','a' ), "Nauru" }, | 322 { lng( 'p','l' ), "Język polski" }, |
323 { lng( 'n','v' ), "Navajo" }, | 323 { lng( 'p','s' ), "پښتو" }, |
324 { lng( 'n','d' ), "North Ndebele" }, | 324 { lng( 'p','t' ), "Português" }, |
325 { lng( 'n','r' ), "South Ndebele" }, | 325 { lng( 'q','u' ), "Runa Simi" }, |
326 { lng( 'n','g' ), "Ndonga" }, | 326 { lng( 'r','m' ), "Rätoromanisch" }, |
327 { lng( 'n','e' ), "Nepali" }, | 327 { lng( 'r','n' ), "íkiRǔndi" }, |
328 { lng( 's','e' ), "NorthernSami" }, | 328 { lng( 'r','o' ), "Română)" }, |
329 { lng( 'n','o' ), "Norwegian" }, | 329 { lng( 'r','u' ), "Русский" }, |
330 { lng( 'n','b' ), "NorwegianBokmål" }, | 330 { lng( 'r','w' ), "Ikinyarwanda" }, |
331 { lng( 'n','n' ), "NorwegianNynorsk" }, | 331 { lng( 's','c' ), "Sardu" }, |
332 { lng( 'n','y' ), "Nyanja;Chichewa" }, | 332 { lng( 's','d' ), "سنڌي" }, |
333 { lng( 'o','c' ), "Occitan(post1500;Provençal" }, | 333 { lng( 's','g' ), "Sängö" }, |
334 { lng( 'o','r' ), "Oriya" }, | 334 { lng( 's','i' ), "සිංහල" }, |
335 { lng( 'o','m' ), "Oromo" }, | 335 { lng( 's','k' ), "Slovenčina" }, |
336 { lng( 'o','s' ), "Ossetian;Ossetic" }, | 336 { lng( 's','l' ), "Slovenščina" }, |
337 { lng( 'p','i' ), "Pali" }, | 337 { lng( 's','m' ), "Gagana Sāmoa" }, |
338 { lng( 'p','a' ), "Panjabi" }, | 338 { lng( 's','n' ), "chiShona" }, |
339 { lng( 'f','a' ), "Persian" }, | 339 { lng( 's','o' ), "Af-ka Soomaali-ga" }, |
340 { lng( 'p','l' ), "Polish" }, | 340 { lng( 's','q' ), "Shqip" }, |
341 { lng( 'p','t' ), "Portuguese" }, | 341 { lng( 's','r' ), "Српски" }, |
342 { lng( 'o','c' ), "Provençal;Occitan(post1500" }, | 342 { lng( 's','s' ), "siSwati" }, |
343 { lng( 'p','s' ), "Pushto" }, | 343 { lng( 's','t' ), "seSotho" }, |
344 { lng( 'q','u' ), "Quechua" }, | 344 { lng( 's','u' ), "Basa Sunda" }, |
345 { lng( 'r','m' ), "Raeto-Romance" }, | 345 { lng( 's','v' ), "Svenska" }, |
346 { lng( 'r','o' ), "Romanian" }, | 346 { lng( 's','w' ), "Kiswahili" }, |
347 { lng( 'r','n' ), "Rundi" }, | 347 { lng( 't','a' ), "தமிழ்" }, |
348 { lng( 'r','u' ), "Russian" }, | 348 { lng( 't','e' ), "తెలుగు" }, |
349 { lng( 's','m' ), "Samoan" }, | 349 { lng( 't','g' ), "тоҷикӣ" }, |
350 { lng( 's','g' ), "Sango" }, | 350 { lng( 't','h' ), "ภาษาไทย" }, |
351 { lng( 's','a' ), "Sanskrit" }, | 351 { lng( 't','i' ), "ትግርኛ" }, |
352 { lng( 's','c' ), "Sardinian" }, | 352 { lng( 't','k' ), "Türkmençe" }, |
353 { lng( 's','r' ), "Serbian" }, | 353 { lng( 't','l' ), "Tagalog" }, |
354 { lng( 's','n' ), "Shona" }, | 354 { lng( 't','n' ), "Setswana" }, |
355 { lng( 's','d' ), "Sindhi" }, | 355 { lng( 't','o' ), "Lea fakatonga" }, |
356 { lng( 's','i' ), "Sinhalese" }, | 356 { lng( 't','r' ), "Türkçe" }, |
357 { lng( 's','k' ), "Slovak" }, | 357 { lng( 't','s' ), "Xitsonga" }, |
358 { lng( 's','l' ), "Slovenian" }, | 358 { lng( 't','t' ), "татарча" }, |
359 { lng( 's','o' ), "Somali" }, | 359 { lng( 't','w' ), "Twi" }, |
360 { lng( 's','t' ), "Sotho" }, | 360 { lng( 't','y' ), "Reo Tahiti" }, |
361 { lng( 'e','s' ), "Spanish" }, | 361 { lng( 'u','g' ), "ئۇيغۇرچە" }, |
362 { lng( 's','u' ), "Sundanese" }, | 362 { lng( 'u','k' ), "Українська" }, |
363 { lng( 's','w' ), "Swahili" }, | 363 { lng( 'u','r' ), "اردو" }, |
364 { lng( 's','s' ), "Swati" }, | 364 { lng( 'u','z' ), "Oʻzbek tili" }, |
365 { lng( 's','v' ), "Swedish" }, | 365 { lng( 'v','i' ), "Tiếng Việt" }, |
366 { lng( 't','l' ), "Tagalog" }, | 366 { lng( 'w','o' ), "Wolof" }, |
367 { lng( 't','y' ), "Tahitian" }, | 367 { lng( 'x','h' ), "isiXhosa" }, |
368 { lng( 't','g' ), "Tajik" }, | 368 { lng( 'y','i' ), "ייִדיש" }, |
369 { lng( 't','a' ), "Tamil" }, | 369 { lng( 'y','o' ), "Yorùbá" }, |
370 { lng( 't','t' ), "Tatar" }, | 370 { lng( 'z','a' ), "壮语" }, |
371 { lng( 't','e' ), "Telugu" }, | 371 { lng( 'z','h' ), "漢語" }, |
372 { lng( 't','h' ), "Thai" }, | 372 { lng( 'z','u' ), "isiZulu" }, |
373 { lng( 'b','o' ), "Tibetan" }, | |
374 { lng( 't','i' ), "Tigrinya" }, | |
375 { lng( 't','o' ), "Tonga" }, | |
376 { lng( 't','s' ), "Tsonga" }, | |
377 { lng( 't','n' ), "Tswana" }, | |
378 { lng( 't','r' ), "Turkish" }, | |
379 { lng( 't','k' ), "Turkmen" }, | |
380 { lng( 't','w' ), "Twi" }, | |
381 { lng( 'u','g' ), "Uighur" }, | |
382 { lng( 'u','k' ), "Ukrainian" }, | |
383 { lng( 'u','r' ), "Urdu" }, | |
384 { lng( 'u','z' ), "Uzbek" }, | |
385 { lng( 'v','i' ), "Vietnamese" }, | |
386 { lng( 'v','o' ), "Volapük" }, | |
387 { lng( 'c','y' ), "Welsh" }, | |
388 { lng( 'w','o' ), "Wolof" }, | |
389 { lng( 'x','h' ), "Xhosa" }, | |
390 { lng( 'y','i' ), "Yiddish" }, | |
391 { lng( 'j','i' ), "Yiddish" }, | |
392 { lng( 'y','o' ), "Yoruba" }, | |
393 { lng( 'z','a' ), "Zhuang" }, | |
394 { lng( 'z','u' ), "Zulu" }, | |
395 }; | 373 }; |
396 #undef lng | 374 #undef lng |
397 | 375 |
398 static char * ChannelTypes[] = | 376 static char * ChannelTypes[] = |
399 { "Dolby Digital","","Mpeg1","Mpeg2","PCM","","Digital Theatre System" }; | 377 { "Dolby Digital","","Mpeg1","Mpeg2","PCM","","Digital Theatre System" }; |