diff mbox series

[v4] Add verbose comments to 'era' in ja_JP locale.

Message ID ce73e6c9-9709-caf3-a4cc-0c6b66e79421@redhat.com
State New
Headers show
Series [v4] Add verbose comments to 'era' in ja_JP locale. | expand

Commit Message

Carlos O'Donell March 31, 2019, 3:17 a.m. UTC
On 3/30/19 8:52 AM, TAMUKI Shoichi wrote:
> Hello Carlos-san,

v4
- Added Reviewed-by attribution and Changelog for final version.

OK for master?

8< --- 8< --- 8<
Reviewed-by: Rafal Luzynski <digitalfreak@lingonborough.com>
Reviewed-by: TAMUKI Shoichi <tamuki@linet.gr.jp>
---
  ChangeLog                |  4 ++++
  localedata/locales/ja_JP | 18 ++++++++++++++++++
  2 files changed, 22 insertions(+)

Comments

TAMUKI Shoichi March 31, 2019, 4:54 a.m. UTC | #1
Hello Carlos-san,

From: Carlos O'Donell <codonell@redhat.com>
Subject: [PATCH v4] Add verbose comments to 'era' in ja_JP locale.
Date: Sat, 30 Mar 2019 23:17:51 -0400

> v4
> - Added Reviewed-by attribution and Changelog for final version.
> 
> OK for master?

I think it is OK for master.  Thank you.

Regards,
TAMUKI Shoichi
diff mbox series

Patch

diff --git a/ChangeLog b/ChangeLog
index 19d3e9079c..78418471b0 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@ 
+2019-03-30  Carlos O'Donell  <carlos@redhat.com>
+
+	* localedata/locales/ja_JP: Add comments to era entries.
+
  2019-03-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
  
  	* math/math.h (fpclassify, isfinite, isnormal, isnan): Use builtin for
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	"<U5348><U524D>";"<U5348><U5F8C>"
  
  t_fmt_ampm "%p%I<U6642>%M<U5206>%S<U79D2>"
  
+% 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
+% <U5143> or <GAN> as the first era year.
+%
+% The following dates and their names are recorded below in descending
+% date order (note that <U5E74> or <NEN> follows each date).
+% <HEISEI> -> <SHOWA> -> <TAISHO> -> <MEIJI> -> <AD> -> <BC>
+%
+% 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 <U7D00><U5143><U524D> in era_name means BC.
+% - The second-to-last entry <U897F><U66A6> in era_name means AD.
+%
  era	"+:2:1990//01//01:+*:<U5E73><U6210>:%EC%Ey<U5E74>";/
  	"+:1:1989//01//08:1989//12//31:<U5E73><U6210>:%EC<U5143><U5E74>";/
  	"+:2:1927//01//01:1989//01//07:<U662D><U548C>:%EC%Ey<U5E74>";/