!8 Modify some trans error

From: @si-gui
Reviewed-by: @small_leek
Signed-off-by: @small_leek
This commit is contained in:
openeuler-ci-bot 2021-08-28 09:58:04 +00:00 committed by Gitee
commit a2354fa441
2 changed files with 56 additions and 1 deletions

View File

@ -0,0 +1,51 @@
From 8cef5bef12bbd8c9c2ccf6a3c727cbf4cfac34c9 Mon Sep 17 00:00:00 2001
From: si-gui <245140120@qq.com>
Date: Sun, 29 Aug 2021 06:11:13 +0800
Subject: [PATCH] modify some trans error
---
data/dictionary/STPhrases.txt | 4 ++++
data/dictionary/TSPhrases.txt | 6 +++---
2 files changed, 7 insertions(+), 3 deletions(-)
diff --git a/data/dictionary/STPhrases.txt b/data/dictionary/STPhrases.txt
index 28f14fd..abfe26c 100644
--- a/data/dictionary/STPhrases.txt
+++ b/data/dictionary/STPhrases.txt
@@ -48931,3 +48931,7 @@
龚胜 龔勝
龟卜 龜卜
龟鉴 龜鑑
+芯片面积 芯片面積
+正則表達式 正則表示式
+衍生发行版 衍生發行版
+可是只有他才能完成这个任务 可是只有他才能完成這個任務
diff --git a/data/dictionary/TSPhrases.txt b/data/dictionary/TSPhrases.txt
index 03da389..6013ce3 100644
--- a/data/dictionary/TSPhrases.txt
+++ b/data/dictionary/TSPhrases.txt
@@ -30,10 +30,10 @@
乾隆年間 乾隆年间
乾隆皇帝 乾隆皇帝
以免藉口 以免借口
-以功覆過 以功复过
+以功覆過 以功覆过
侔德覆載 侔德复载
傢俱 家具
-傷亡枕藉 伤亡枕借
+傷亡枕藉 伤亡枕藉
八濛山 八濛山
凌藉 凌借
出醜狼藉 出丑狼借
@@ -121,7 +121,7 @@
滑藉 滑借
牴牾 抵牾
牴觸 抵触
-狐藉虎威 狐借虎威
+狐藉虎威 狐藉虎威
珍珠項鍊 珍珠项链
甚鉅 甚钜
申覆 申复
--
2.30.0

View File

@ -1,6 +1,6 @@
Name: opencc Name: opencc
Version: 1.0.5 Version: 1.0.5
Release: 5 Release: 6
Summary: Simplified Chinese Traditional Conversion Library Summary: Simplified Chinese Traditional Conversion Library
License: ASL 2.0 License: ASL 2.0
URL: https://github.com/BYVoid/OpenCC URL: https://github.com/BYVoid/OpenCC
@ -8,6 +8,7 @@ Source0: https://github.com/BYVoid/OpenCC/archive/ver.%{version}.tar.gz#/
Patch0001: opencc-fixes-cmake.patch Patch0001: opencc-fixes-cmake.patch
Patch0002: opencc-check-bounds.patch Patch0002: opencc-check-bounds.patch
Patch0003: opencc-stop-copy.patch Patch0003: opencc-stop-copy.patch
Patch0004: modify-some-trans-error.patch
Provides: %{name}-tools = %{version}-%{release} Provides: %{name}-tools = %{version}-%{release}
Obsoletes: %{name}-tools < %{version}-%{release} Obsoletes: %{name}-tools < %{version}-%{release}
@ -68,6 +69,9 @@ ctest
%{_datadir}/opencc/doc %{_datadir}/opencc/doc
%changelog %changelog
* Sat Aug 28 2021 sunguoshuai <sunguoshuai@huawei.com> - 1.0.5-6
- Modify some trans error
* Mon Jun 29 2020 huanghaitao <huanghaitao8@huawei.com> - 1.0.5-5 * Mon Jun 29 2020 huanghaitao <huanghaitao8@huawei.com> - 1.0.5-5
- Fix build error - Fix build error