summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <Arfrever@Apache.Org>2019-08-15 18:32:47 +0000
committerMike Gilbert <floppym@gentoo.org>2019-08-16 13:02:27 -0400
commitc4eebe84bd56d0a695538ecdc0f4d319bfd26942 (patch)
tree01287153b8493ecf5828bf1c8cb9227dd218247e /app-i18n/mozc/files
parentapp-i18n/mozc: Set RESTRICT="!test? ( test )". (diff)
downloadgentoo-c4eebe84bd56d0a695538ecdc0f4d319bfd26942.tar.gz
gentoo-c4eebe84bd56d0a695538ecdc0f4d319bfd26942.tar.bz2
gentoo-c4eebe84bd56d0a695538ecdc0f4d319bfd26942.zip
app-i18n/mozc: Add some support for 令和 (Reiwa).
Signed-off-by: Arfrever Frehtes Taifersar Arahesis <Arfrever@Apache.Org> Signed-off-by: Mike Gilbert <floppym@gentoo.org>
Diffstat (limited to 'app-i18n/mozc/files')
-rw-r--r--app-i18n/mozc/files/mozc-2.23.2815.102-reiwa.patch35
1 files changed, 35 insertions, 0 deletions
diff --git a/app-i18n/mozc/files/mozc-2.23.2815.102-reiwa.patch b/app-i18n/mozc/files/mozc-2.23.2815.102-reiwa.patch
new file mode 100644
index 00000000000..561a989a41d
--- /dev/null
+++ b/app-i18n/mozc/files/mozc-2.23.2815.102-reiwa.patch
@@ -0,0 +1,35 @@
+https://github.com/google/mozc/issues/461
+
+--- /src/data/symbol/categorized.tsv
++++ /src/data/symbol/categorized.tsv
+@@ -405,6 +405,7 @@
+ ㍽ MATH たいしょう ねんごう
+ ㍼ MATH しょうわ ねんごう
+ ㍻ MATH へいせい ねんごう
++㋿ MATH れいわ ねんごう
+
+ ㌣ MATH せんと たんい
+ ㌦ MATH どる たんい
+--- /src/data/symbol/symbol.tsv
++++ /src/data/symbol/symbol.tsv
+@@ -528,6 +528,7 @@
+ 記号 ㊦ した げ 丸下
+ 記号 ㊧ ひだり 丸左
+ 記号 ㊨ みぎ 丸右
++記号 ㋿ れいわ ねんごう 年号 OTHER
+ 記号 ㍻ へいせい ねんごう 年号 OTHER
+ 記号 ㍼ しょうわ ねんごう 年号 OTHER
+ 記号 ㍽ たいしょう ねんごう 年号 OTHER
+--- /src/rewriter/date_rewriter.cc
++++ /src/rewriter/date_rewriter.cc
+@@ -1239,6 +1239,10 @@
+ 1989,
+ "平成",
+ "へいせい",
++ }, {
++ 2019,
++ "令和",
++ "れいわ",
+ }
+ };
+