Modify some trans error

(cherry picked from commit 5f0da1d8fa135766801371b09437cc4d396065d1)
This commit is contained in:
wu-leilei 2023-08-29 19:46:21 +08:00 committed by openeuler-sync-bot
parent 08ee1caebc
commit a4ce8e367b
2 changed files with 37 additions and 1 deletions

View File

@ -0,0 +1,32 @@
diff -Nur a/data/dictionary/STPhrases.txt b/data/dictionary/STPhrases.txt
--- a/data/dictionary/STPhrases.txt 2021-09-03 22:26:10.000000000 +0800
+++ b/data/dictionary/STPhrases.txt 2022-11-28 16:36:39.216286051 +0800
@@ -49042,3 +49042,7 @@
龚胜 龔勝
龟卜 龜卜
龟鉴 龜鑑
+芯片面积 芯片面積
+正則表達式 正則表示式
+衍生发行版 衍生發行版
+可是只有他才能完成这个任务 可是只有他才能完成這個任務
diff -Nur a/data/dictionary/TSPhrases.txt b/data/dictionary/TSPhrases.txt
--- a/data/dictionary/TSPhrases.txt 2021-09-03 22:26:10.000000000 +0800
+++ b/data/dictionary/TSPhrases.txt 2022-11-28 16:43:32.650279186 +0800
@@ -30,7 +30,7 @@
乾隆年間 乾隆年间
乾隆皇帝 乾隆皇帝
以免藉口 以免借口
-以功覆過 以功复过
+以功覆過 以功覆过
侔德覆載 侔德复载
傢俱 家具
傷亡枕藉 伤亡枕藉
@@ -125,7 +125,7 @@
無序 无序
牴牾 抵牾
牴觸 抵触
-狐藉虎威 狐借虎威
+狐藉虎威 狐藉虎威
珍珠項鍊 珍珠项链
甚鉅 甚钜
申覆 申复

View File

@ -1,10 +1,11 @@
Name: opencc
Version: 1.1.3
Release: 1
Release: 2
Summary: Simplified Chinese Traditional Conversion Library
License: ASL 2.0
URL: https://github.com/BYVoid/OpenCC
Source0: https://github.com/BYVoid/OpenCC/archive/ver.%{version}.tar.gz#/OpenCC-ver.%{version}.tar.gz
Patch0001: modify-some-trans-error.patch
Provides: %{name}-tools = %{version}-%{release}
Obsoletes: %{name}-tools < %{version}-%{release}
@ -65,6 +66,9 @@ ctest
%{_datadir}/opencc/doc
%changelog
* Tue Aug 29 2023 wulei <wu_lei@hoperun.com> - 1.1.3-2
- Modify some trans error
* Fri Dec 31 2021 houyingchao <houyingchao@huawei.com> - 1.1.3-1
- Upgrade to 1.1.3 version