From patchwork Thu Apr 14 21:18:53 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mike Frysinger X-Patchwork-Id: 11745 X-Patchwork-Delegate: vapier@gentoo.org Received: (qmail 47207 invoked by alias); 14 Apr 2016 21:18:57 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Delivered-To: mailing list libc-alpha@sourceware.org Received: (qmail 47198 invoked by uid 89); 14 Apr 2016 21:18:56 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.9 required=5.0 tests=BAYES_00, RP_MATCHES_RCVD, SPF_PASS autolearn=ham version=3.3.2 spammy= X-HELO: smtp.gentoo.org Date: Thu, 14 Apr 2016 17:18:53 -0400 From: Mike Frysinger To: libc-alpha@sourceware.org Subject: [PATCH v2] localedata: LC_IDENTIFICATION.category: set to ISO 30112 2014 standard Message-ID: <20160414211738.GI6588@vapier.lan> Mail-Followup-To: libc-alpha@sourceware.org References: <20160413163945.GK6588@vapier.lan> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20160413163945.GK6588@vapier.lan> 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