[PATCH v2] localedata: LC_IDENTIFICATION.category: set to ISO 30112 2014 standard
Mike Frysinger
vapier@gentoo.org
Thu Apr 14 21:18:00 GMT 2016
The ISO 30112 standard defines the valid values for the category
keyword as only a few options:
posix:1993
i18n:2004
i18n:2012
The vast majority of locales had changed the "i18n" string to the
name of its own locale (e.g. "ak_GH:2013") as well as tweaking the
date (presumably thinking it should be the date of submission).
Convert all of them to "i18n:2012" for consistency. A follow up
change will update localedef to actually check/validate the field.
Compressed for size. Sample change:
--- a/localedata/locales/kk_KZ
+++ b/localedata/locales/kk_KZ
@@ -35,19 +35,19 @@ language "Kazakh"
territory "Kazakhstan"
revision "1.0"
date "2003-06-06"
-%
-category "kk_KZ:2000";LC_IDENTIFICATION
-category "kk_KZ:2000";LC_CTYPE
-category "kk_KZ:2000";LC_COLLATE
-category "kk_KZ:2000";LC_TIME
-category "kk_KZ:2000";LC_NUMERIC
-category "kk_KZ:2000";LC_MONETARY
-category "kk_KZ:2000";LC_MESSAGES
-category "kk_KZ:2000";LC_PAPER
-category "kk_KZ:2000";LC_NAME
-category "kk_KZ:2000";LC_ADDRESS
-category "kk_KZ:2000";LC_TELEPHONE
-category "kk_KZ:2000";LC_MEASUREMENT
+
+category "i18n:2012";LC_IDENTIFICATION
+category "i18n:2012";LC_CTYPE
+category "i18n:2012";LC_COLLATE
+category "i18n:2012";LC_TIME
+category "i18n:2012";LC_NUMERIC
+category "i18n:2012";LC_MONETARY
+category "i18n:2012";LC_MESSAGES
+category "i18n:2012";LC_PAPER
+category "i18n:2012";LC_NAME
+category "i18n:2012";LC_ADDRESS
+category "i18n:2012";LC_TELEPHONE
+category "i18n:2012";LC_MEASUREMENT
END LC_IDENTIFICATION
LC_COLLATE
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-localedata-LC_IDENTIFICATION.category-set-to-ISO-301.patch.xz
Type: application/x-xz
Size: 21312 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20160414/fc5bb059/attachment.xz>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20160414/fc5bb059/attachment.sig>
More information about the Libc-alpha
mailing list