From patchwork Sun Mar 31 03:13:20 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Carlos O'Donell X-Patchwork-Id: 1071307 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=sourceware.org (client-ip=209.132.180.131; helo=sourceware.org; envelope-from=libc-alpha-return-101049-incoming=patchwork.ozlabs.org@sourceware.org; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=redhat.com Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.b="Bb65PVLv"; dkim-atps=neutral Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 44X0tB5k50z9sQm for ; Sun, 31 Mar 2019 14:13:38 +1100 (AEDT) DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:subject:to:cc:references:from:message-id:date :mime-version:in-reply-to:content-type :content-transfer-encoding; q=dns; s=default; b=jGrmtG9oWt9WFcH2 hIyMQKurXRnKp0NPQlQr0YgLyNq9Opp5BLRxYr7kvh23yPWRnspeWcRQJhHdk5AE waucXyiLgxVz31hPhcdnmISyOAwcXL4Aa8ufY3tpqTgTaT0F7oL7Ie1s65F1TTvr HndKcFMepJRLVTVkOq/PuQUXZOw= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:subject:to:cc:references:from:message-id:date :mime-version:in-reply-to:content-type :content-transfer-encoding; s=default; bh=tsyQdpGVGGq54QEYC4ey48 S105g=; b=Bb65PVLvHb+xlJ354C33XionnnucjBcs/3eqCnh91LMujIW48STUsg r39jbuGk50WqGAlTeWm1iwynv3+hShe8QwNVJuvHXKI3iOVtG0jbzndEwjFNaNB/ iFIJljJxpLYR42P5pW51drWWn+zftOyqzLpMO9Ul46qL+q3Kov8I8= Received: (qmail 91283 invoked by alias); 31 Mar 2019 03:13:29 -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 91251 invoked by uid 89); 31 Mar 2019 03:13:27 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-18.5 required=5.0 tests=AWL, BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 spammy= X-HELO: mail-qk1-f173.google.com Subject: [PATCH v3] Add verbose comments to 'era' in ja_JP locale. To: TAMUKI Shoichi , Rafal Luzynski Cc: DJ Delorie , libc-alpha@sourceware.org References: <6e1ded1e-41e5-cca7-2646-9dcebcfeba61@redhat.com> <201903301252.AA04310@tamuki.linet.gr.jp> From: Carlos O'Donell Message-ID: Date: Sat, 30 Mar 2019 23:13:20 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.5.3 MIME-Version: 1.0 In-Reply-To: <201903301252.AA04310@tamuki.linet.gr.jp> On 3/30/19 8:52 AM, TAMUKI Shoichi wrote: > % The era names are laid out in groups of 2 to account for the desire > % to avoid using '1' for the first era year. Instead of '1' we use > % or as the first era year. > % > % The following dates and their names are recorded below in descending > % date order (note that or follows each date). > % -> -> -> -> -> > % > % Each string is an era description segment with the format: > % "direction:offset:start_date:end_date:era_name:era_format" > % > % Note: > % - The '+*' entry in end_date means "forever going forward" > % - The '-*' entry in end_date means "forever going backwards" count up. > % - Negative year number in start_date is prior to AD 1 (BC) counting up. > % - The last entry in era_name means BC. > % - The second-to-last entry in era_name means AD. > % I like this. Thank you for your review. Here is v3 for review. OK for master? From ef207dedc89c3c06c09eecd20465a96f768392b2 Mon Sep 17 00:00:00 2001 From: Carlos O'Donell Date: Thu, 28 Mar 2019 14:02:20 -0400 Subject: [PATCH v3] Add verbose comments to 'era' in ja_JP locale. --- localedata/locales/ja_JP | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/localedata/locales/ja_JP b/localedata/locales/ja_JP index 9bfbb2bb9b..cb51e6d69d 100644 --- a/localedata/locales/ja_JP +++ b/localedata/locales/ja_JP @@ -14946,6 +14946,24 @@ am_pm "";"" t_fmt_ampm "%p%I%M%S" +% The era names are laid out in groups of 2 to account for the desire +% to avoid using '1' for the first era year. Instead of '1' we use +% or as the first era year. +% +% The following dates and their names are recorded below in descending +% date order (note that or follows each date). +% -> -> -> -> -> +% +% Each string is an era description segment with the format: +% "direction:offset:start_date:end_date:era_name:era_format" +% +% Note: +% - The '+*' entry in end_date means "forever going forward" +% - The '-*' entry in end_date means "forever going backwards" counting up. +% - Negative year number in start_date is prior to AD 1 (BC) counting up. +% - The last entry in era_name means BC. +% - The second-to-last entry in era_name means AD. +% era "+:2:1990//01//01:+*::%EC%Ey";/ "+:1:1989//01//08:1989//12//31::%EC";/ "+:2:1927//01//01:1989//01//07::%EC%Ey";/