Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

…and add "Abkhaz".
  • Loading branch information...
commit 2e91e5a2a48b83908dbf1733ecaf7ec1ff427cb5 1 parent 95f612e
Andreas Zelend ace20022 authored
Showing with 5 additions and 4 deletions.
  1. +5 −4 xbmc/utils/LangCodeExpander.cpp
9 xbmc/utils/LangCodeExpander.cpp
View
@@ -32,7 +32,7 @@ typedef struct LCENTRY
const char *name;
} LCENTRY;
-extern const struct LCENTRY g_iso639_1[143];
+extern const struct LCENTRY g_iso639_1[144];
extern const struct LCENTRY g_iso639_2[537];
struct CharCodeConvertionWithHack
@@ -312,10 +312,11 @@ bool CLangCodeExpander::LookupInDb(CStdString& desc, const CStdString& code)
return false;
}
-extern const LCENTRY g_iso639_1[143] =
+extern const LCENTRY g_iso639_1[144] =
{
{ MAKECODE('\0','\0','c','c'), "Closed Caption" },
{ MAKECODE('\0','\0','a','a'), "Afar" },
+ { MAKECODE('\0','\0','a','b'), "Abkhaz" },
{ MAKECODE('\0','\0','a','b'), "Abkhazian" },
{ MAKECODE('\0','\0','a','f'), "Afrikaans" },
{ MAKECODE('\0','\0','a','m'), "Amharic" },
@@ -336,7 +337,7 @@ extern const LCENTRY g_iso639_1[143] =
{ MAKECODE('\0','\0','c','s'), "Czech" },
{ MAKECODE('\0','\0','c','y'), "Welsh" },
{ MAKECODE('\0','\0','d','a'), "Dansk" },
- { MAKECODE('\0','\0','d','e'), "Deutsch" },
+ { MAKECODE('\0','\0','d','e'), "German" },
{ MAKECODE('\0','\0','d','z'), "Bhutani" },
{ MAKECODE('\0','\0','e','l'), "Greek" },
{ MAKECODE('\0','\0','e','n'), "English" },
@@ -407,7 +408,7 @@ extern const LCENTRY g_iso639_1[143] =
{ MAKECODE('\0','\0','p','a'), "Punjabi" },
{ MAKECODE('\0','\0','p','l'), "Polish" },
{ MAKECODE('\0','\0','p','s'), "Pashto, Pushto" },
- { MAKECODE('\0','\0','p','t'), "Portugues" },
+ { MAKECODE('\0','\0','p','t'), "Portuguese" },
{ MAKECODE('\0','\0','q','u'), "Quechua" },
{ MAKECODE('\0','\0','r','m'), "Rhaeto-Romance" },
{ MAKECODE('\0','\0','r','n'), "Kirundi" },
Please sign in to comment.
Something went wrong with that request. Please try again.