Skip to content

Commit

Permalink
libhb: update iso639 language codes
Browse files Browse the repository at this point in the history
  • Loading branch information
jstebbins committed Apr 20, 2024
1 parent d83331f commit db2f992
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions libhb/lang.c
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,12 @@ static const iso639_lang_t languages[] =
{ "Cornish", "kernewek", "kw", "cor" },
{ "Corsican", "Corsu", "co", "cos" },
{ "Cree", "", "cr", "cre" },
{ "Croatian", "hrvatski", "hr", "hrv", "scr" },
{ "Croatian", "hrvatski", "hr", "hrv" },
// Deprecated version of Croatian code 'scr'
// When used, HB will record the latest iso639_2 'hrv' as the code in titles
// and write the correct code to the output since the line above that has
// no 2b variant will be used when generating output.
{ "Croatian", "hrvatski", NULL, "hrv", "scr" },
{ "Czech", "čeština", "cs", "ces", "cze" },
{ "Danish", "dansk", "da", "dan" },
{ "Divehi", "ދިވެހިބަސް", "dv", "div" },
Expand All @@ -65,6 +70,7 @@ static const iso639_lang_t languages[] =
{ "Fijian", "Na Vosa Vakaviti", "fj", "fij" },
{ "Finnish", "suomi", "fi", "fin" },
{ "French", "Francais", "fr", "fra", "fre" },
{ "Filipino", "Wikang Filipino", NULL, "fil" },
{ "Western Frisian", "Frysk", "fy", "fry" },
{ "Fulah", "Fulah", "ff", "ful" },
{ "Georgian", "ქართული", "ka", "kat", "geo" },
Expand Down Expand Up @@ -122,7 +128,7 @@ static const iso639_lang_t languages[] =
{ "Malayalam", "മലയാളം", "ml", "mal" },
{ "Maori", "Reo Māori", "mi", "mri", "mao" },
{ "Marathi", "मराठी", "mr", "mar" },
{ "Malay", "Bahasa Melayu", "ms", "msa", "msa" },
{ "Malay", "Bahasa Melayu", "ms", "msa", "may" },
{ "Malagasy", "Malagasy", "mg", "mlg" },
{ "Maltese", "Malti", "mt", "mlt" },
{ "Moldavian", "limba moldovenească", "mo", "mol" },
Expand Down

0 comments on commit db2f992

Please sign in to comment.