tag: add license to generated backup language name table and update

It's LGPL same as iso-codes
This commit is contained in:
Tim-Philipp Müller 2018-08-12 13:19:44 +01:00
parent 6eb6140969
commit 4b68e3e658
2 changed files with 108 additions and 107 deletions

View file

@ -1,4 +1,5 @@
/* generated by mklangtables.c iso-codes 3.15 */
/* generated by mklangtables from iso-codes 3.79 */
/* License: LGPL-2.1+ */
#include <glib.h>
@ -239,171 +240,169 @@ static const struct
{ "ml", "mal", ISO_639_FLAG_2T | ISO_639_FLAG_2B, 1174 },
/* Mongolian */
{ "mn", "mon", ISO_639_FLAG_2T | ISO_639_FLAG_2B, 1184 },
/* Moldavian; Moldovan */
{ "mo", "mol", ISO_639_FLAG_2T | ISO_639_FLAG_2B, 1194 },
/* Marathi */
{ "mr", "mar", ISO_639_FLAG_2T | ISO_639_FLAG_2B, 1214 },
{ "mr", "mar", ISO_639_FLAG_2T | ISO_639_FLAG_2B, 1194 },
/* Malay */
{ "ms", "msa", ISO_639_FLAG_2T, 1222 },
{ "ms", "may", ISO_639_FLAG_2B, 1222 },
{ "ms", "msa", ISO_639_FLAG_2T, 1202 },
{ "ms", "may", ISO_639_FLAG_2B, 1202 },
/* Maltese */
{ "mt", "mlt", ISO_639_FLAG_2T | ISO_639_FLAG_2B, 1228 },
{ "mt", "mlt", ISO_639_FLAG_2T | ISO_639_FLAG_2B, 1208 },
/* Burmese */
{ "my", "mya", ISO_639_FLAG_2T, 1236 },
{ "my", "bur", ISO_639_FLAG_2B, 1236 },
{ "my", "mya", ISO_639_FLAG_2T, 1216 },
{ "my", "bur", ISO_639_FLAG_2B, 1216 },
/* Nauru */
{ "na", "nau", ISO_639_FLAG_2T | ISO_639_FLAG_2B, 1244 },
{ "na", "nau", ISO_639_FLAG_2T | ISO_639_FLAG_2B, 1224 },
/* Bokm?l, Norwegian; Norwegian Bokm?l */
{ "nb", "nob", ISO_639_FLAG_2T | ISO_639_FLAG_2B, 1250 },
{ "nb", "nob", ISO_639_FLAG_2T | ISO_639_FLAG_2B, 1230 },
/* Ndebele, North; North Ndebele */
{ "nd", "nde", ISO_639_FLAG_2T | ISO_639_FLAG_2B, 1288 },
{ "nd", "nde", ISO_639_FLAG_2T | ISO_639_FLAG_2B, 1268 },
/* Nepali */
{ "ne", "nep", ISO_639_FLAG_2T | ISO_639_FLAG_2B, 1318 },
{ "ne", "nep", ISO_639_FLAG_2T | ISO_639_FLAG_2B, 1298 },
/* Ndonga */
{ "ng", "ndo", ISO_639_FLAG_2T | ISO_639_FLAG_2B, 1325 },
{ "ng", "ndo", ISO_639_FLAG_2T | ISO_639_FLAG_2B, 1305 },
/* Dutch; Flemish */
{ "nl", "nld", ISO_639_FLAG_2T, 1332 },
{ "nl", "dut", ISO_639_FLAG_2B, 1332 },
{ "nl", "nld", ISO_639_FLAG_2T, 1312 },
{ "nl", "dut", ISO_639_FLAG_2B, 1312 },
/* Norwegian Nynorsk; Nynorsk, Norwegian */
{ "nn", "nno", ISO_639_FLAG_2T | ISO_639_FLAG_2B, 1347 },
{ "nn", "nno", ISO_639_FLAG_2T | ISO_639_FLAG_2B, 1327 },
/* Norwegian */
{ "no", "nor", ISO_639_FLAG_2T | ISO_639_FLAG_2B, 1385 },
{ "no", "nor", ISO_639_FLAG_2T | ISO_639_FLAG_2B, 1365 },
/* Ndebele, South; South Ndebele */
{ "nr", "nbl", ISO_639_FLAG_2T | ISO_639_FLAG_2B, 1395 },
{ "nr", "nbl", ISO_639_FLAG_2T | ISO_639_FLAG_2B, 1375 },
/* Navajo; Navaho */
{ "nv", "nav", ISO_639_FLAG_2T | ISO_639_FLAG_2B, 1425 },
{ "nv", "nav", ISO_639_FLAG_2T | ISO_639_FLAG_2B, 1405 },
/* Chichewa; Chewa; Nyanja */
{ "ny", "nya", ISO_639_FLAG_2T | ISO_639_FLAG_2B, 1440 },
/* Occitan (post 1500) */
{ "oc", "oci", ISO_639_FLAG_2T | ISO_639_FLAG_2B, 1464 },
{ "ny", "nya", ISO_639_FLAG_2T | ISO_639_FLAG_2B, 1420 },
/* Occitan (post 1500); Proven?al */
{ "oc", "oci", ISO_639_FLAG_2T | ISO_639_FLAG_2B, 1444 },
/* Ojibwa */
{ "oj", "oji", ISO_639_FLAG_2T | ISO_639_FLAG_2B, 1484 },
{ "oj", "oji", ISO_639_FLAG_2T | ISO_639_FLAG_2B, 1476 },
/* Oromo */
{ "om", "orm", ISO_639_FLAG_2T | ISO_639_FLAG_2B, 1491 },
{ "om", "orm", ISO_639_FLAG_2T | ISO_639_FLAG_2B, 1483 },
/* Oriya */
{ "or", "ori", ISO_639_FLAG_2T | ISO_639_FLAG_2B, 1497 },
{ "or", "ori", ISO_639_FLAG_2T | ISO_639_FLAG_2B, 1489 },
/* Ossetian; Ossetic */
{ "os", "oss", ISO_639_FLAG_2T | ISO_639_FLAG_2B, 1503 },
{ "os", "oss", ISO_639_FLAG_2T | ISO_639_FLAG_2B, 1495 },
/* Panjabi; Punjabi */
{ "pa", "pan", ISO_639_FLAG_2T | ISO_639_FLAG_2B, 1521 },
{ "pa", "pan", ISO_639_FLAG_2T | ISO_639_FLAG_2B, 1513 },
/* Pali */
{ "pi", "pli", ISO_639_FLAG_2T | ISO_639_FLAG_2B, 1538 },
{ "pi", "pli", ISO_639_FLAG_2T | ISO_639_FLAG_2B, 1530 },
/* Polish */
{ "pl", "pol", ISO_639_FLAG_2T | ISO_639_FLAG_2B, 1543 },
{ "pl", "pol", ISO_639_FLAG_2T | ISO_639_FLAG_2B, 1535 },
/* Pushto; Pashto */
{ "ps", "pus", ISO_639_FLAG_2T | ISO_639_FLAG_2B, 1550 },
{ "ps", "pus", ISO_639_FLAG_2T | ISO_639_FLAG_2B, 1542 },
/* Portuguese */
{ "pt", "por", ISO_639_FLAG_2T | ISO_639_FLAG_2B, 1565 },
{ "pt", "por", ISO_639_FLAG_2T | ISO_639_FLAG_2B, 1557 },
/* Quechua */
{ "qu", "que", ISO_639_FLAG_2T | ISO_639_FLAG_2B, 1576 },
{ "qu", "que", ISO_639_FLAG_2T | ISO_639_FLAG_2B, 1568 },
/* Romansh */
{ "rm", "roh", ISO_639_FLAG_2T | ISO_639_FLAG_2B, 1584 },
{ "rm", "roh", ISO_639_FLAG_2T | ISO_639_FLAG_2B, 1576 },
/* Rundi */
{ "rn", "run", ISO_639_FLAG_2T | ISO_639_FLAG_2B, 1592 },
/* Romanian */
{ "ro", "ron", ISO_639_FLAG_2T, 1598 },
{ "ro", "rum", ISO_639_FLAG_2B, 1598 },
{ "rn", "run", ISO_639_FLAG_2T | ISO_639_FLAG_2B, 1584 },
/* Romanian; Moldavian; Moldovan */
{ "ro", "ron", ISO_639_FLAG_2T, 1590 },
{ "ro", "rum", ISO_639_FLAG_2B, 1590 },
/* Russian */
{ "ru", "rus", ISO_639_FLAG_2T | ISO_639_FLAG_2B, 1607 },
{ "ru", "rus", ISO_639_FLAG_2T | ISO_639_FLAG_2B, 1620 },
/* Kinyarwanda */
{ "rw", "kin", ISO_639_FLAG_2T | ISO_639_FLAG_2B, 1615 },
{ "rw", "kin", ISO_639_FLAG_2T | ISO_639_FLAG_2B, 1628 },
/* Sanskrit */
{ "sa", "san", ISO_639_FLAG_2T | ISO_639_FLAG_2B, 1627 },
{ "sa", "san", ISO_639_FLAG_2T | ISO_639_FLAG_2B, 1640 },
/* Sardinian */
{ "sc", "srd", ISO_639_FLAG_2T | ISO_639_FLAG_2B, 1636 },
{ "sc", "srd", ISO_639_FLAG_2T | ISO_639_FLAG_2B, 1649 },
/* Sindhi */
{ "sd", "snd", ISO_639_FLAG_2T | ISO_639_FLAG_2B, 1646 },
{ "sd", "snd", ISO_639_FLAG_2T | ISO_639_FLAG_2B, 1659 },
/* Northern Sami */
{ "se", "sme", ISO_639_FLAG_2T | ISO_639_FLAG_2B, 1653 },
{ "se", "sme", ISO_639_FLAG_2T | ISO_639_FLAG_2B, 1666 },
/* Sango */
{ "sg", "sag", ISO_639_FLAG_2T | ISO_639_FLAG_2B, 1667 },
{ "sg", "sag", ISO_639_FLAG_2T | ISO_639_FLAG_2B, 1680 },
/* Sinhala; Sinhalese */
{ "si", "sin", ISO_639_FLAG_2T | ISO_639_FLAG_2B, 1673 },
{ "si", "sin", ISO_639_FLAG_2T | ISO_639_FLAG_2B, 1686 },
/* Slovak */
{ "sk", "slk", ISO_639_FLAG_2T, 1692 },
{ "sk", "slo", ISO_639_FLAG_2B, 1692 },
{ "sk", "slk", ISO_639_FLAG_2T, 1705 },
{ "sk", "slo", ISO_639_FLAG_2B, 1705 },
/* Slovenian */
{ "sl", "slv", ISO_639_FLAG_2T | ISO_639_FLAG_2B, 1699 },
{ "sl", "slv", ISO_639_FLAG_2T | ISO_639_FLAG_2B, 1712 },
/* Samoan */
{ "sm", "smo", ISO_639_FLAG_2T | ISO_639_FLAG_2B, 1709 },
{ "sm", "smo", ISO_639_FLAG_2T | ISO_639_FLAG_2B, 1722 },
/* Shona */
{ "sn", "sna", ISO_639_FLAG_2T | ISO_639_FLAG_2B, 1716 },
{ "sn", "sna", ISO_639_FLAG_2T | ISO_639_FLAG_2B, 1729 },
/* Somali */
{ "so", "som", ISO_639_FLAG_2T | ISO_639_FLAG_2B, 1722 },
{ "so", "som", ISO_639_FLAG_2T | ISO_639_FLAG_2B, 1735 },
/* Albanian */
{ "sq", "sqi", ISO_639_FLAG_2T, 1729 },
{ "sq", "alb", ISO_639_FLAG_2B, 1729 },
{ "sq", "sqi", ISO_639_FLAG_2T, 1742 },
{ "sq", "alb", ISO_639_FLAG_2B, 1742 },
/* Serbian */
{ "sr", "srp", ISO_639_FLAG_2T | ISO_639_FLAG_2B, 1738 },
{ "sr", "srp", ISO_639_FLAG_2T | ISO_639_FLAG_2B, 1751 },
/* Swati */
{ "ss", "ssw", ISO_639_FLAG_2T | ISO_639_FLAG_2B, 1746 },
{ "ss", "ssw", ISO_639_FLAG_2T | ISO_639_FLAG_2B, 1759 },
/* Sotho, Southern */
{ "st", "sot", ISO_639_FLAG_2T | ISO_639_FLAG_2B, 1752 },
{ "st", "sot", ISO_639_FLAG_2T | ISO_639_FLAG_2B, 1765 },
/* Sundanese */
{ "su", "sun", ISO_639_FLAG_2T | ISO_639_FLAG_2B, 1768 },
{ "su", "sun", ISO_639_FLAG_2T | ISO_639_FLAG_2B, 1781 },
/* Swedish */
{ "sv", "swe", ISO_639_FLAG_2T | ISO_639_FLAG_2B, 1778 },
{ "sv", "swe", ISO_639_FLAG_2T | ISO_639_FLAG_2B, 1791 },
/* Swahili */
{ "sw", "swa", ISO_639_FLAG_2T | ISO_639_FLAG_2B, 1786 },
{ "sw", "swa", ISO_639_FLAG_2T | ISO_639_FLAG_2B, 1799 },
/* Tamil */
{ "ta", "tam", ISO_639_FLAG_2T | ISO_639_FLAG_2B, 1794 },
{ "ta", "tam", ISO_639_FLAG_2T | ISO_639_FLAG_2B, 1807 },
/* Telugu */
{ "te", "tel", ISO_639_FLAG_2T | ISO_639_FLAG_2B, 1800 },
{ "te", "tel", ISO_639_FLAG_2T | ISO_639_FLAG_2B, 1813 },
/* Tajik */
{ "tg", "tgk", ISO_639_FLAG_2T | ISO_639_FLAG_2B, 1807 },
{ "tg", "tgk", ISO_639_FLAG_2T | ISO_639_FLAG_2B, 1820 },
/* Thai */
{ "th", "tha", ISO_639_FLAG_2T | ISO_639_FLAG_2B, 1813 },
{ "th", "tha", ISO_639_FLAG_2T | ISO_639_FLAG_2B, 1826 },
/* Tigrinya */
{ "ti", "tir", ISO_639_FLAG_2T | ISO_639_FLAG_2B, 1818 },
{ "ti", "tir", ISO_639_FLAG_2T | ISO_639_FLAG_2B, 1831 },
/* Turkmen */
{ "tk", "tuk", ISO_639_FLAG_2T | ISO_639_FLAG_2B, 1827 },
{ "tk", "tuk", ISO_639_FLAG_2T | ISO_639_FLAG_2B, 1840 },
/* Tagalog */
{ "tl", "tgl", ISO_639_FLAG_2T | ISO_639_FLAG_2B, 1835 },
{ "tl", "tgl", ISO_639_FLAG_2T | ISO_639_FLAG_2B, 1848 },
/* Tswana */
{ "tn", "tsn", ISO_639_FLAG_2T | ISO_639_FLAG_2B, 1843 },
{ "tn", "tsn", ISO_639_FLAG_2T | ISO_639_FLAG_2B, 1856 },
/* Tonga (Tonga Islands) */
{ "to", "ton", ISO_639_FLAG_2T | ISO_639_FLAG_2B, 1850 },
{ "to", "ton", ISO_639_FLAG_2T | ISO_639_FLAG_2B, 1863 },
/* Turkish */
{ "tr", "tur", ISO_639_FLAG_2T | ISO_639_FLAG_2B, 1872 },
{ "tr", "tur", ISO_639_FLAG_2T | ISO_639_FLAG_2B, 1885 },
/* Tsonga */
{ "ts", "tso", ISO_639_FLAG_2T | ISO_639_FLAG_2B, 1880 },
{ "ts", "tso", ISO_639_FLAG_2T | ISO_639_FLAG_2B, 1893 },
/* Tatar */
{ "tt", "tat", ISO_639_FLAG_2T | ISO_639_FLAG_2B, 1887 },
{ "tt", "tat", ISO_639_FLAG_2T | ISO_639_FLAG_2B, 1900 },
/* Twi */
{ "tw", "twi", ISO_639_FLAG_2T | ISO_639_FLAG_2B, 1893 },
{ "tw", "twi", ISO_639_FLAG_2T | ISO_639_FLAG_2B, 1906 },
/* Tahitian */
{ "ty", "tah", ISO_639_FLAG_2T | ISO_639_FLAG_2B, 1897 },
{ "ty", "tah", ISO_639_FLAG_2T | ISO_639_FLAG_2B, 1910 },
/* Uighur; Uyghur */
{ "ug", "uig", ISO_639_FLAG_2T | ISO_639_FLAG_2B, 1906 },
{ "ug", "uig", ISO_639_FLAG_2T | ISO_639_FLAG_2B, 1919 },
/* Ukrainian */
{ "uk", "ukr", ISO_639_FLAG_2T | ISO_639_FLAG_2B, 1921 },
{ "uk", "ukr", ISO_639_FLAG_2T | ISO_639_FLAG_2B, 1934 },
/* Urdu */
{ "ur", "urd", ISO_639_FLAG_2T | ISO_639_FLAG_2B, 1931 },
{ "ur", "urd", ISO_639_FLAG_2T | ISO_639_FLAG_2B, 1944 },
/* Uzbek */
{ "uz", "uzb", ISO_639_FLAG_2T | ISO_639_FLAG_2B, 1936 },
{ "uz", "uzb", ISO_639_FLAG_2T | ISO_639_FLAG_2B, 1949 },
/* Venda */
{ "ve", "ven", ISO_639_FLAG_2T | ISO_639_FLAG_2B, 1942 },
{ "ve", "ven", ISO_639_FLAG_2T | ISO_639_FLAG_2B, 1955 },
/* Vietnamese */
{ "vi", "vie", ISO_639_FLAG_2T | ISO_639_FLAG_2B, 1948 },
{ "vi", "vie", ISO_639_FLAG_2T | ISO_639_FLAG_2B, 1961 },
/* Volap?k */
{ "vo", "vol", ISO_639_FLAG_2T | ISO_639_FLAG_2B, 1959 },
{ "vo", "vol", ISO_639_FLAG_2T | ISO_639_FLAG_2B, 1972 },
/* Walloon */
{ "wa", "wln", ISO_639_FLAG_2T | ISO_639_FLAG_2B, 1968 },
{ "wa", "wln", ISO_639_FLAG_2T | ISO_639_FLAG_2B, 1981 },
/* Wolof */
{ "wo", "wol", ISO_639_FLAG_2T | ISO_639_FLAG_2B, 1976 },
{ "wo", "wol", ISO_639_FLAG_2T | ISO_639_FLAG_2B, 1989 },
/* Xhosa */
{ "xh", "xho", ISO_639_FLAG_2T | ISO_639_FLAG_2B, 1982 },
{ "xh", "xho", ISO_639_FLAG_2T | ISO_639_FLAG_2B, 1995 },
/* Yiddish */
{ "yi", "yid", ISO_639_FLAG_2T | ISO_639_FLAG_2B, 1988 },
{ "yi", "yid", ISO_639_FLAG_2T | ISO_639_FLAG_2B, 2001 },
/* Yoruba */
{ "yo", "yor", ISO_639_FLAG_2T | ISO_639_FLAG_2B, 1996 },
{ "yo", "yor", ISO_639_FLAG_2T | ISO_639_FLAG_2B, 2009 },
/* Zhuang; Chuang */
{ "za", "zha", ISO_639_FLAG_2T | ISO_639_FLAG_2B, 2003 },
{ "za", "zha", ISO_639_FLAG_2T | ISO_639_FLAG_2B, 2016 },
/* Chinese */
{ "zh", "zho", ISO_639_FLAG_2T, 2018 },
{ "zh", "chi", ISO_639_FLAG_2B, 2018 },
{ "zh", "zho", ISO_639_FLAG_2T, 2031 },
{ "zh", "chi", ISO_639_FLAG_2B, 2031 },
/* Zulu */
{ "zu", "zul", ISO_639_FLAG_2T | ISO_639_FLAG_2B, 2026 },
{ "zu", "zul", ISO_639_FLAG_2T | ISO_639_FLAG_2B, 2039 },
};
static const gchar iso_639_names[] =
@ -427,21 +426,21 @@ static const gchar iso_639_names[] =
"ri\000Kurdish\000Komi\000Cornish\000Kirghiz; Kyrgyz\000Latin\000Luxembour"
"gish; Letzeburgesch\000Ganda\000Limburgan; Limburger; Limburgish\000Linga"
"la\000Lao\000Lithuanian\000Luba-Katanga\000Latvian\000Malagasy\000Marshal"
"lese\000Maori\000Macedonian\000Malayalam\000Mongolian\000Moldavian; Moldo"
"van\000Marathi\000Malay\000Maltese\000Burmese\000Nauru\000Bokm\303\245l, "
"Norwegian; Norwegian Bokm\303\245l\000Ndebele, North; North Ndebele\000Ne"
"pali\000Ndonga\000Dutch; Flemish\000Norwegian Nynorsk; Nynorsk, Norwegian"
"\000Norwegian\000Ndebele, South; South Ndebele\000Navajo; Navaho\000Chich"
"ewa; Chewa; Nyanja\000Occitan (post 1500)\000Ojibwa\000Oromo\000Oriya\000"
"Ossetian; Ossetic\000Panjabi; Punjabi\000Pali\000Polish\000Pushto; Pashto"
"\000Portuguese\000Quechua\000Romansh\000Rundi\000Romanian\000Russian\000K"
"inyarwanda\000Sanskrit\000Sardinian\000Sindhi\000Northern Sami\000Sango"
"\000Sinhala; Sinhalese\000Slovak\000Slovenian\000Samoan\000Shona\000Somal"
"i\000Albanian\000Serbian\000Swati\000Sotho, Southern\000Sundanese\000Swed"
"ish\000Swahili\000Tamil\000Telugu\000Tajik\000Thai\000Tigrinya\000Turkmen"
"\000Tagalog\000Tswana\000Tonga (Tonga Islands)\000Turkish\000Tsonga\000Ta"
"tar\000Twi\000Tahitian\000Uighur; Uyghur\000Ukrainian\000Urdu\000Uzbek"
"\000Venda\000Vietnamese\000Volap\303\274k\000Walloon\000Wolof\000Xhosa"
"\000Yiddish\000Yoruba\000Zhuang; Chuang\000Chinese\000Zulu";
"lese\000Maori\000Macedonian\000Malayalam\000Mongolian\000Marathi\000Malay"
"\000Maltese\000Burmese\000Nauru\000Bokm\303\245l, Norwegian; Norwegian Bo"
"km\303\245l\000Ndebele, North; North Ndebele\000Nepali\000Ndonga\000Dutch"
"; Flemish\000Norwegian Nynorsk; Nynorsk, Norwegian\000Norwegian\000Ndebel"
"e, South; South Ndebele\000Navajo; Navaho\000Chichewa; Chewa; Nyanja\000O"
"ccitan (post 1500); Proven\303\247al\000Ojibwa\000Oromo\000Oriya\000Osset"
"ian; Ossetic\000Panjabi; Punjabi\000Pali\000Polish\000Pushto; Pashto\000P"
"ortuguese\000Quechua\000Romansh\000Rundi\000Romanian; Moldavian; Moldovan"
"\000Russian\000Kinyarwanda\000Sanskrit\000Sardinian\000Sindhi\000Northern"
" Sami\000Sango\000Sinhala; Sinhalese\000Slovak\000Slovenian\000Samoan\000"
"Shona\000Somali\000Albanian\000Serbian\000Swati\000Sotho, Southern\000Sun"
"danese\000Swedish\000Swahili\000Tamil\000Telugu\000Tajik\000Thai\000Tigri"
"nya\000Turkmen\000Tagalog\000Tswana\000Tonga (Tonga Islands)\000Turkish"
"\000Tsonga\000Tatar\000Twi\000Tahitian\000Uighur; Uyghur\000Ukrainian\000"
"Urdu\000Uzbek\000Venda\000Vietnamese\000Volap\303\274k\000Walloon\000Wolo"
"f\000Xhosa\000Yiddish\000Yoruba\000Zhuang; Chuang\000Chinese\000Zulu";
/* *INDENT-ON* */

View file

@ -54,7 +54,9 @@ dump_languages (void)
names = g_string_new ("");
g_print ("/* generated by " __FILE__ " iso-codes " ISO_CODES_VERSION " */\n");
g_print ("/* generated by mklangtables from iso-codes " ISO_CODES_VERSION
" */\n");
g_print ("/* License: LGPL-2.1+ */\n");
g_print ("\n");
g_print ("#include <glib.h>\n");
g_print ("\n");