Skip to content
This repository
Browse code

[LangCodeExpander] Fix German and Portuguese ISO 639-1 language code …

…and add "Abkhaz".
  • Loading branch information...
commit 2e91e5a2a48b83908dbf1733ecaf7ec1ff427cb5 1 parent 95f612e
Andreas Zelend authored April 24, 2013

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

  1. 9  xbmc/utils/LangCodeExpander.cpp
9  xbmc/utils/LangCodeExpander.cpp
@@ -32,7 +32,7 @@ typedef struct LCENTRY
32 32
   const char *name;
33 33
 } LCENTRY;
34 34
 
35  
-extern const struct LCENTRY g_iso639_1[143];
  35
+extern const struct LCENTRY g_iso639_1[144];
36 36
 extern const struct LCENTRY g_iso639_2[537];
37 37
 
38 38
 struct CharCodeConvertionWithHack
@@ -312,10 +312,11 @@ bool CLangCodeExpander::LookupInDb(CStdString& desc, const CStdString& code)
312 312
   return false;
313 313
 }
314 314
 
315  
-extern const LCENTRY g_iso639_1[143] =
  315
+extern const LCENTRY g_iso639_1[144] =
316 316
 {
317 317
   { MAKECODE('\0','\0','c','c'), "Closed Caption" },
318 318
   { MAKECODE('\0','\0','a','a'), "Afar" },
  319
+  { MAKECODE('\0','\0','a','b'), "Abkhaz" },
319 320
   { MAKECODE('\0','\0','a','b'), "Abkhazian" },
320 321
   { MAKECODE('\0','\0','a','f'), "Afrikaans" },
321 322
   { MAKECODE('\0','\0','a','m'), "Amharic" },
@@ -336,7 +337,7 @@ extern const LCENTRY g_iso639_1[143] =
336 337
   { MAKECODE('\0','\0','c','s'), "Czech" },
337 338
   { MAKECODE('\0','\0','c','y'), "Welsh" },
338 339
   { MAKECODE('\0','\0','d','a'), "Dansk" },
339  
-  { MAKECODE('\0','\0','d','e'), "Deutsch" },
  340
+  { MAKECODE('\0','\0','d','e'), "German" },
340 341
   { MAKECODE('\0','\0','d','z'), "Bhutani" },
341 342
   { MAKECODE('\0','\0','e','l'), "Greek" },
342 343
   { MAKECODE('\0','\0','e','n'), "English" },
@@ -407,7 +408,7 @@ extern const LCENTRY g_iso639_1[143] =
407 408
   { MAKECODE('\0','\0','p','a'), "Punjabi" },
408 409
   { MAKECODE('\0','\0','p','l'), "Polish" },
409 410
   { MAKECODE('\0','\0','p','s'), "Pashto, Pushto" },
410  
-  { MAKECODE('\0','\0','p','t'), "Portugues" },
  411
+  { MAKECODE('\0','\0','p','t'), "Portuguese" },
411 412
   { MAKECODE('\0','\0','q','u'), "Quechua" },
412 413
   { MAKECODE('\0','\0','r','m'), "Rhaeto-Romance" },
413 414
   { MAKECODE('\0','\0','r','n'), "Kirundi" },

0 notes on commit 2e91e5a

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