summaryrefslogtreecommitdiff
path: root/lib/localename-unsafe.c
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff.email>2024-10-20 15:21:43 +0200
committerJörg Frings-Fürst <debian@jff.email>2024-10-20 15:21:43 +0200
commit4682deeb62247d34de87f8e777f99e2d337fd377 (patch)
tree5bd5b5605b5f3a4b3c8ea7468c34c23094afdef4 /lib/localename-unsafe.c
parent00893e79fc62966067af1a106567db96bd170338 (diff)
New upstream version 1.3upstream/1.3upstream
Diffstat (limited to 'lib/localename-unsafe.c')
-rw-r--r--lib/localename-unsafe.c13
1 files changed, 4 insertions, 9 deletions
diff --git a/lib/localename-unsafe.c b/lib/localename-unsafe.c
index 845ee92c..0a2654d8 100644
--- a/lib/localename-unsafe.c
+++ b/lib/localename-unsafe.c
@@ -1597,9 +1597,8 @@ gl_locale_name_from_win32_LANGID (LANGID langid)
case LANG_AZERI:
switch (sub)
{
- /* FIXME: Adjust this when Azerbaijani locales appear on Unix. */
- case 0x1e: return "az@latin";
- case SUBLANG_AZERI_LATIN: return "az_AZ@latin";
+ case 0x1e: return "az";
+ case SUBLANG_AZERI_LATIN: return "az_AZ";
case 0x1d: return "az@cyrillic";
case SUBLANG_AZERI_CYRILLIC: return "az_AZ@cyrillic";
}
@@ -2011,7 +2010,6 @@ gl_locale_name_from_win32_LANGID (LANGID langid)
}
return "rw";
case LANG_KONKANI:
- /* FIXME: Adjust this when such locales appear on Unix. */
switch (sub)
{
case SUBLANG_KONKANI_INDIA: return "kok_IN";
@@ -2085,7 +2083,6 @@ gl_locale_name_from_win32_LANGID (LANGID langid)
}
return "mt";
case LANG_MANIPURI:
- /* FIXME: Adjust this when such locales appear on Unix. */
switch (sub)
{
case SUBLANG_DEFAULT: return "mni_IN";
@@ -2288,7 +2285,6 @@ gl_locale_name_from_win32_LANGID (LANGID langid)
}
return "so";
case LANG_SORBIAN:
- /* FIXME: Adjust this when such locales appear on Unix. */
switch (sub)
{
/* Upper Sorbian */
@@ -2379,10 +2375,9 @@ gl_locale_name_from_win32_LANGID (LANGID langid)
/* Note: Microsoft uses the non-ISO language code "tmz". */
switch (sub)
{
- /* FIXME: Adjust this when Tamazight locales appear on Unix. */
- case SUBLANG_TAMAZIGHT_ARABIC: return "ber_MA@arabic";
+ case SUBLANG_TAMAZIGHT_ARABIC: return "ber_MA";
case 0x1f: return "ber@latin";
- case SUBLANG_TAMAZIGHT_ALGERIA_LATIN: return "ber_DZ@latin";
+ case SUBLANG_TAMAZIGHT_ALGERIA_LATIN: return "ber_DZ";
}
return "ber";
case LANG_TAMIL: