Skip to content

Commit

Permalink
ICU-12973 CLDR Japanese Era data and tentative Japanese new era suppo…
Browse files Browse the repository at this point in the history
…rt (unicode-org#111)

* Updated era data format in supplementalData.

* Include tentative era names in data. Implemented Japanese era loaded from CLDR data in ICU4J.

* ICU4C implementation, ICU4C refactoring. WIP.

* VS project updates and some bug fixes

Also added API comments.

* Review feedback and bug fixes

- NULL to nullptr
- use of LocalUResourceBundlePointer
- TYPO "name" to "named"
- env var checking stricmp() == 0

* API comment correction based on feedback

* Duplicate the comment in ucal.h to calendar.h

* Fixed spelling errors in API comment
  • Loading branch information
yumaoka authored and sffc committed Sep 27, 2018
1 parent b8db24d commit fad88cb
Show file tree
Hide file tree
Showing 52 changed files with 2,091 additions and 1,249 deletions.
1 change: 1 addition & 0 deletions icu4c/source/data/locales/ar.txt
Expand Up @@ -1635,6 +1635,7 @@ ar{
"تيشو",
"شووا",
"هيسي",
"Qqqq",
}
}
}
Expand Down
3 changes: 3 additions & 0 deletions icu4c/source/data/locales/ast.txt
Expand Up @@ -2304,6 +2304,7 @@ ast{
"Taishō",
"e. Shōwa",
"Heisei",
"Qqqq",
}
narrow{
"Taika",
Expand Down Expand Up @@ -2542,6 +2543,7 @@ ast{
"T",
"S",
"H",
"Q",
}
wide{
"Taika (645–650)",
Expand Down Expand Up @@ -2780,6 +2782,7 @@ ast{
"Taishō",
"era Shōwa",
"Heisei",
"Qqqq",
}
}
intervalFormats{
Expand Down
3 changes: 3 additions & 0 deletions icu4c/source/data/locales/br.txt
Expand Up @@ -4105,6 +4105,7 @@ br{
"Taishō",
"Shōwa",
"Heisei",
"Qqqq",
}
narrow{
"Taika (645–650)",
Expand Down Expand Up @@ -4343,6 +4344,7 @@ br{
"T",
"S",
"H",
"Q",
}
wide{
"Taika (645–650)",
Expand Down Expand Up @@ -4581,6 +4583,7 @@ br{
"Taishō",
"Shōwa",
"Heisei",
"Qqqq",
}
}
intervalFormats{
Expand Down
1 change: 1 addition & 0 deletions icu4c/source/data/locales/bs_Cyrl.txt
Expand Up @@ -1035,6 +1035,7 @@ bs_Cyrl{
"Таишо",
"Шова",
"Хаисеи",
"Qqqq",
}
}
}
Expand Down
3 changes: 3 additions & 0 deletions icu4c/source/data/locales/cs.txt
Expand Up @@ -3697,6 +3697,7 @@ cs{
"Taishō",
"Shōwa",
"Heisei",
"Qqqq",
}
narrow{
"Taika (645–650)",
Expand Down Expand Up @@ -3935,6 +3936,7 @@ cs{
"T",
"S",
"H",
"Q",
}
wide{
"Taika (645–650)",
Expand Down Expand Up @@ -4173,6 +4175,7 @@ cs{
"Taishō",
"Shōwa",
"Heisei",
"Qqqq",
}
}
intervalFormats{
Expand Down
1 change: 1 addition & 0 deletions icu4c/source/data/locales/de.txt
Expand Up @@ -1601,6 +1601,7 @@ de{
"Taishō",
"Shōwa",
"Heisei",
"Qqqq",
}
}
}
Expand Down
1 change: 1 addition & 0 deletions icu4c/source/data/locales/he.txt
Expand Up @@ -1837,6 +1837,7 @@ he{
"Taishō",
"Shōwa",
"Heisei",
"Qqqq",
}
}
}
Expand Down
1 change: 1 addition & 0 deletions icu4c/source/data/locales/hi.txt
Expand Up @@ -1239,6 +1239,7 @@ hi{
"ताईशो",
"शोवा",
"हेईसेई",
"Qqqq",
}
}
}
Expand Down
1 change: 1 addition & 0 deletions icu4c/source/data/locales/hr.txt
Expand Up @@ -1577,6 +1577,7 @@ hr{
"Taishō",
"Shōwa",
"Heisei",
"Qqqq",
}
}
}
Expand Down
1 change: 1 addition & 0 deletions icu4c/source/data/locales/id.txt
Expand Up @@ -2217,6 +2217,7 @@ id{
"Taishō",
"Shōwa",
"Heisei",
"Qqqq",
}
}
}
Expand Down
2 changes: 2 additions & 0 deletions icu4c/source/data/locales/ja.txt
Expand Up @@ -2464,6 +2464,7 @@ ja{
"大正",
"昭和",
"平成",
"QQ",
}
narrow{
"大化",
Expand Down Expand Up @@ -2702,6 +2703,7 @@ ja{
"T",
"S",
"H",
"Q",
}
}
}
Expand Down
1 change: 1 addition & 0 deletions icu4c/source/data/locales/ko.txt
Expand Up @@ -1909,6 +1909,7 @@ ko{
"다이쇼",
"쇼와",
"헤이세이",
"Qqqq",
}
}
}
Expand Down
1 change: 1 addition & 0 deletions icu4c/source/data/locales/lo.txt
Expand Up @@ -1845,6 +1845,7 @@ lo{
"ໄຕໂຊ",
"ໂຊວາ",
"ຮີຊີ",
"Qqqq",
}
}
}
Expand Down
1 change: 1 addition & 0 deletions icu4c/source/data/locales/lt.txt
Expand Up @@ -2466,6 +2466,7 @@ lt{
"Taišo",
"Šova",
"Heisei",
"Qqqq",
}
}
}
Expand Down
3 changes: 3 additions & 0 deletions icu4c/source/data/locales/nb.txt
Expand Up @@ -5483,6 +5483,7 @@ nb{
"Taishō",
"Shōwa",
"Heisei",
"Qqqq",
}
narrow{
"Taika (645–650)",
Expand Down Expand Up @@ -5721,6 +5722,7 @@ nb{
"T",
"S",
"H",
"Q",
}
wide{
"Taika (645–650)",
Expand Down Expand Up @@ -5959,6 +5961,7 @@ nb{
"Taishō",
"Shōwa",
"Heisei",
"Qqqq",
}
}
intervalFormats{
Expand Down
3 changes: 3 additions & 0 deletions icu4c/source/data/locales/nl.txt
Expand Up @@ -4894,6 +4894,7 @@ nl{
"Taishō",
"Shōwa",
"Heisei",
"Qqqq",
}
narrow{
"Taika (645–650)",
Expand Down Expand Up @@ -5132,6 +5133,7 @@ nl{
"T",
"S",
"H",
"Q",
}
wide{
"Taika (645–650)",
Expand Down Expand Up @@ -5370,6 +5372,7 @@ nl{
"Taishō",
"Shōwa",
"Heisei",
"Qqqq",
}
}
}
Expand Down
2 changes: 2 additions & 0 deletions icu4c/source/data/locales/root.txt
Expand Up @@ -1713,6 +1713,7 @@ root{
"Taishō",
"Shōwa",
"Heisei",
"QQ",
}
narrow{
"Taika (645–650)",
Expand Down Expand Up @@ -1951,6 +1952,7 @@ root{
"T",
"S",
"H",
"Q",
}
wide:alias{"/LOCALE/calendar/japanese/eras/abbreviated"}
}
Expand Down
1 change: 1 addition & 0 deletions icu4c/source/data/locales/ru.txt
Expand Up @@ -1837,6 +1837,7 @@ ru{
"Эпоха Тайсьо",
"Сьова",
"Эпоха Хэйсэй",
"Qqqq",
}
}
}
Expand Down
1 change: 1 addition & 0 deletions icu4c/source/data/locales/sr.txt
Expand Up @@ -1256,6 +1256,7 @@ sr{
"Таишо",
"Шова",
"Хаисеи",
"Qqqq",
}
}
}
Expand Down
1 change: 1 addition & 0 deletions icu4c/source/data/locales/sr_Latn.txt
Expand Up @@ -1257,6 +1257,7 @@ sr_Latn{
"Taišo",
"Šova",
"Haisei",
"Qqqq",
}
}
}
Expand Down
1 change: 1 addition & 0 deletions icu4c/source/data/locales/sv.txt
Expand Up @@ -1630,6 +1630,7 @@ sv{
"Taishō",
"Shōwa",
"Heisei",
"Qqqq",
}
}
}
Expand Down
1 change: 1 addition & 0 deletions icu4c/source/data/locales/th.txt
Expand Up @@ -2332,6 +2332,7 @@ th{
"ทะอิโช",
"โชวะ",
"เฮเซ",
"Qqqq",
}
}
}
Expand Down
1 change: 1 addition & 0 deletions icu4c/source/data/locales/yue.txt
Expand Up @@ -2394,6 +2394,7 @@ yue{
"大正",
"昭和",
"平成",
"Qqqq",
}
}
}
Expand Down
1 change: 1 addition & 0 deletions icu4c/source/data/locales/yue_Hans.txt
Expand Up @@ -2392,6 +2392,7 @@ yue_Hans{
"大正",
"昭和",
"平成",
"Qqqq",
}
}
}
Expand Down
3 changes: 3 additions & 0 deletions icu4c/source/data/locales/zh.txt
Expand Up @@ -3403,6 +3403,7 @@ zh{
"大正",
"昭和",
"平成",
"Qqqq",
}
narrow{
"大化(645–650)",
Expand Down Expand Up @@ -3641,6 +3642,7 @@ zh{
"T",
"S",
"H",
"Q",
}
wide{
"大化 (645–650)",
Expand Down Expand Up @@ -3879,6 +3881,7 @@ zh{
"大正",
"昭和",
"平成",
"Qqqq",
}
}
}
Expand Down
3 changes: 3 additions & 0 deletions icu4c/source/data/locales/zh_Hant.txt
Expand Up @@ -5737,6 +5737,7 @@ zh_Hant{
"大正",
"昭和",
"平成",
"Qqqq",
}
narrow{
"大化",
Expand Down Expand Up @@ -5975,6 +5976,7 @@ zh_Hant{
"大正",
"昭和",
"平成",
"Q",
}
wide{
"大化",
Expand Down Expand Up @@ -6213,6 +6215,7 @@ zh_Hant{
"大正",
"昭和",
"平成",
"Qqqq",
}
}
intervalFormats{
Expand Down

0 comments on commit fad88cb

Please sign in to comment.