]> git.ipfire.org Git - thirdparty/gnulib.git/commitdiff
setlocale: Update regarding ISO 3166.
authorBruno Haible <bruno@clisp.org>
Fri, 26 Dec 2025 21:49:00 +0000 (22:49 +0100)
committerBruno Haible <bruno@clisp.org>
Fri, 26 Dec 2025 21:49:00 +0000 (22:49 +0100)
* lib/setlocale.c (locales_with_principal_territory,
locales_with_principal_language): Update comments to match
<https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2>.

ChangeLog
lib/setlocale.c

index bdb8bff697f5727d68919421fb4336b36765b124..a3ae5b9a4ffdcb793adcd325103458c1de12ccfe 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2025-12-26  Bruno Haible  <bruno@clisp.org>
+
+       setlocale: Update regarding ISO 3166.
+       * lib/setlocale.c (locales_with_principal_territory,
+       locales_with_principal_language): Update comments to match
+       <https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2>.
+
 2025-12-25  Pádraig Brady  <P@draigBrady.com>
 
        strftime: avoid false failure with empty strings
index 11648cd9d81337dd730770b9380dcaf8f62eca1f..4bf447de120db9098c487a1a1c89db8d253a3e27 100644 (file)
@@ -941,7 +941,7 @@ static char const locales_with_principal_territory[][6 + 1] =
     "cr_CA",    /* Cree         Canada */
     /* Don't put "crh_UZ" or "crh_UA" here.  That would be asking for fruitless
        political discussion.  */
-    "cs_CZ",    /* Czech        Czech Republic */
+    "cs_CZ",    /* Czech        Czechia */
     "csb_PL",   /* Kashubian    Poland */
     "cy_GB",    /* Welsh        Britain */
     "da_DK",    /* Danish       Denmark */
@@ -1247,7 +1247,7 @@ static char const locales_with_principal_language[][6 + 1] =
     "es_CU",    /* Spanish      Cuba */
     /* Curaçao has three official languages: "nl_CW", "pap_CW", "en_CW".  */
     "el_CY",    /* Greek        Cyprus */
-    "cs_CZ",    /* Czech        Czech Republic */
+    "cs_CZ",    /* Czech        Czechia */
     "de_DE",    /* German       Germany */
     /* Djibouti has two official languages: "ar_DJ" and "fr_DJ".  */
     "da_DK",    /* Danish       Denmark */