From 10b11a8df22090e23a10314219f838d6dbc3f4f0 Mon Sep 17 00:00:00 2001 From: Daiki Ueno Date: Mon, 29 Jun 2015 11:44:52 +0900 Subject: msginit: Remove obsolete country codes * gettext-tools/src/msginit.c (catalogname_for_locale): Remove sr_YU, which were removed from ISO 3166-1:1997. Add comment saying that pap_AN, which were removed from ISO 3166-1:2006, can be removed in the future. Reported by Jakub Wilk in: . --- gettext-tools/src/ChangeLog | 9 +++++++++ gettext-tools/src/msginit.c | 3 +-- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/gettext-tools/src/ChangeLog b/gettext-tools/src/ChangeLog index ad56f27..85c7f61 100644 --- a/gettext-tools/src/ChangeLog +++ b/gettext-tools/src/ChangeLog @@ -1,3 +1,12 @@ +2015-06-29 Daiki Ueno + + * msginit.c (catalogname_for_locale): Remove sr_YU, which were + removed from ISO 3166-1:1997. Add comment saying that pap_AN, + which were removed from ISO 3166-1:2006, can be removed in the + future. + Reported by Jakub Wilk in: + . + 2015-06-25 Daiki Ueno * x-c.c (literalstring_parse): Bail out if C == NUL. Also adjust diff --git a/gettext-tools/src/msginit.c b/gettext-tools/src/msginit.c index c5a3ce1..f85b83c 100644 --- a/gettext-tools/src/msginit.c +++ b/gettext-tools/src/msginit.c @@ -649,7 +649,7 @@ catalogname_for_locale (const char *locale) "pa_IN", /* Punjabi India */ "pag_PH", /* Pangasinan Philippines */ "pam_PH", /* Pampanga Philippines */ - "pap_AN", /* Papiamento Netherlands Antilles */ + "pap_AN", /* Papiamento Netherlands Antilles - this line can be removed in 2018 */ "pbb_CO", /* Páez Colombia */ "pl_PL", /* Polish Poland */ "ps_AF", /* Pashto Afghanistan */ @@ -676,7 +676,6 @@ catalogname_for_locale (const char *locale) "so_SO", /* Somali Somalia */ "sq_AL", /* Albanian Albania */ "sr_RS", /* Serbian Serbia */ - "sr_YU", /* Serbian Yugoslavia - this line can be removed in 2010 */ "srr_SN", /* Serer Senegal */ "suk_TZ", /* Sukuma Tanzania */ "sus_GN", /* Susu Guinea */ -- cgit v1.1