Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package fcitx5-anthy for openSUSE:Factory 
checked in at 2023-05-23 14:53:58
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/fcitx5-anthy (Old)
 and      /work/SRC/openSUSE:Factory/.fcitx5-anthy.new.1533 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "fcitx5-anthy"

Tue May 23 14:53:58 2023 rev:6 rq:1088362 version:5.0.14

Changes:
--------
--- /work/SRC/openSUSE:Factory/fcitx5-anthy/fcitx5-anthy.changes        
2022-11-27 12:53:22.351326485 +0100
+++ /work/SRC/openSUSE:Factory/.fcitx5-anthy.new.1533/fcitx5-anthy.changes      
2023-05-23 14:54:24.446434866 +0200
@@ -1,0 +2,8 @@
+Mon May 22 11:39:12 UTC 2023 - Marguerite Su <i...@marguerite.su>
+
+- Update to 5.0.14
+  * Add all size of icon for anthy
+  * replace uint with unsigned int
+  * Fix custom kana/nicola table loading
+
+-------------------------------------------------------------------

Old:
----
  fcitx5-anthy-5.0.13.tar.xz

New:
----
  fcitx5-anthy-5.0.14.tar.xz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ fcitx5-anthy.spec ++++++
--- /var/tmp/diff_new_pack.JiawJV/_old  2023-05-23 14:54:24.950437849 +0200
+++ /var/tmp/diff_new_pack.JiawJV/_new  2023-05-23 14:54:24.958437896 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package fcitx5-anthy
 #
-# Copyright (c) 2022 SUSE LLC
+# Copyright (c) 2023 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,7 +17,7 @@
 
 
 Name:           fcitx5-anthy
-Version:        5.0.13
+Version:        5.0.14
 Release:        0
 Summary:        Anthy Wrapper for Fcitx5
 License:        GPL-2.0-or-later
@@ -60,7 +60,9 @@
 %{_fcitx5_imconfdir}/anthy.conf
 %{_fcitx5_datadir}/anthy
 %{_datadir}/icons/hicolor/*/status/org.fcitx.Fcitx5.fcitx-anthy*
+%{_datadir}/icons/hicolor/*/apps/org.fcitx.Fcitx5.fcitx-anthy*
 %{_datadir}/icons/hicolor/*/status/fcitx-anthy*
+%{_datadir}/icons/hicolor/*/apps/fcitx-anthy*
 %{_datadir}/metainfo/org.fcitx.Fcitx5.Addon.Anthy.metainfo.xml
 
 %changelog

++++++ fcitx5-anthy-5.0.13.tar.xz -> fcitx5-anthy-5.0.14.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/fcitx5-anthy-5.0.13/CMakeLists.txt 
new/fcitx5-anthy-5.0.14/CMakeLists.txt
--- old/fcitx5-anthy-5.0.13/CMakeLists.txt      2022-11-20 08:07:51.285252600 
+0100
+++ new/fcitx5-anthy-5.0.14/CMakeLists.txt      2023-03-11 05:01:45.095683800 
+0100
@@ -1,6 +1,6 @@
 cmake_minimum_required(VERSION 3.6)
 
-project(fcitx5-anthy VERSION 5.0.13)
+project(fcitx5-anthy VERSION 5.0.14)
 
 find_package(ECM 1.0.0 REQUIRED)
 set(CMAKE_MODULE_PATH ${ECM_MODULE_PATH} "${CMAKE_CURRENT_SOURCE_DIR}/cmake" 
${CMAKE_MODULE_PATH})
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/fcitx5-anthy-5.0.13/icon/16x16/apps/fcitx-anthy.png 
new/fcitx5-anthy-5.0.14/icon/16x16/apps/fcitx-anthy.png
--- old/fcitx5-anthy-5.0.13/icon/16x16/apps/fcitx-anthy.png     1970-01-01 
01:00:00.000000000 +0100
+++ new/fcitx5-anthy-5.0.14/icon/16x16/apps/fcitx-anthy.png     2023-05-23 
14:54:25.250439623 +0200
@@ -0,0 +1 @@
+symbolic link to org.fcitx.Fcitx5.fcitx-anthy.png
Binary files 
old/fcitx5-anthy-5.0.13/icon/16x16/apps/org.fcitx.Fcitx5.fcitx-anthy.png and 
new/fcitx5-anthy-5.0.14/icon/16x16/apps/org.fcitx.Fcitx5.fcitx-anthy.png differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/fcitx5-anthy-5.0.13/icon/22x22/apps/fcitx-anthy.png 
new/fcitx5-anthy-5.0.14/icon/22x22/apps/fcitx-anthy.png
--- old/fcitx5-anthy-5.0.13/icon/22x22/apps/fcitx-anthy.png     1970-01-01 
01:00:00.000000000 +0100
+++ new/fcitx5-anthy-5.0.14/icon/22x22/apps/fcitx-anthy.png     2023-05-23 
14:54:25.310439979 +0200
@@ -0,0 +1 @@
+symbolic link to org.fcitx.Fcitx5.fcitx-anthy.png
Binary files 
old/fcitx5-anthy-5.0.13/icon/22x22/apps/org.fcitx.Fcitx5.fcitx-anthy.png and 
new/fcitx5-anthy-5.0.14/icon/22x22/apps/org.fcitx.Fcitx5.fcitx-anthy.png differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/fcitx5-anthy-5.0.13/icon/24x24/apps/fcitx-anthy.png 
new/fcitx5-anthy-5.0.14/icon/24x24/apps/fcitx-anthy.png
--- old/fcitx5-anthy-5.0.13/icon/24x24/apps/fcitx-anthy.png     1970-01-01 
01:00:00.000000000 +0100
+++ new/fcitx5-anthy-5.0.14/icon/24x24/apps/fcitx-anthy.png     2023-05-23 
14:54:25.278439790 +0200
@@ -0,0 +1 @@
+symbolic link to org.fcitx.Fcitx5.fcitx-anthy.png
Binary files 
old/fcitx5-anthy-5.0.13/icon/24x24/apps/org.fcitx.Fcitx5.fcitx-anthy.png and 
new/fcitx5-anthy-5.0.14/icon/24x24/apps/org.fcitx.Fcitx5.fcitx-anthy.png differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/fcitx5-anthy-5.0.13/icon/48x48/apps/fcitx-anthy.png 
new/fcitx5-anthy-5.0.14/icon/48x48/apps/fcitx-anthy.png
--- old/fcitx5-anthy-5.0.13/icon/48x48/apps/fcitx-anthy.png     1970-01-01 
01:00:00.000000000 +0100
+++ new/fcitx5-anthy-5.0.14/icon/48x48/apps/fcitx-anthy.png     2023-05-23 
14:54:25.290439861 +0200
@@ -0,0 +1 @@
+symbolic link to org.fcitx.Fcitx5.fcitx-anthy.png
Binary files 
old/fcitx5-anthy-5.0.13/icon/48x48/apps/org.fcitx.Fcitx5.fcitx-anthy.png and 
new/fcitx5-anthy-5.0.14/icon/48x48/apps/org.fcitx.Fcitx5.fcitx-anthy.png differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/fcitx5-anthy-5.0.13/icon/48x48/status/fcitx-anthy.png 
new/fcitx5-anthy-5.0.14/icon/48x48/status/fcitx-anthy.png
--- old/fcitx5-anthy-5.0.13/icon/48x48/status/fcitx-anthy.png   2023-05-23 
14:54:25.178439198 +0200
+++ new/fcitx5-anthy-5.0.14/icon/48x48/status/fcitx-anthy.png   1970-01-01 
01:00:00.000000000 +0100
@@ -1 +0,0 @@
-symbolic link to org.fcitx.Fcitx5.fcitx-anthy.png
Binary files 
old/fcitx5-anthy-5.0.13/icon/48x48/status/org.fcitx.Fcitx5.fcitx-anthy.png and 
new/fcitx5-anthy-5.0.14/icon/48x48/status/org.fcitx.Fcitx5.fcitx-anthy.png 
differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/fcitx5-anthy-5.0.13/icon/CMakeLists.txt 
new/fcitx5-anthy-5.0.14/icon/CMakeLists.txt
--- old/fcitx5-anthy-5.0.13/icon/CMakeLists.txt 2019-11-11 07:38:55.519890500 
+0100
+++ new/fcitx5-anthy-5.0.14/icon/CMakeLists.txt 2022-12-23 03:45:12.813946200 
+0100
@@ -1,4 +1,4 @@
-install(DIRECTORY 48x48 22x22 scalable DESTINATION 
"${CMAKE_INSTALL_DATADIR}/icons/hicolor"
+install(DIRECTORY 48x48 22x22 16x16 24x24 scalable DESTINATION 
"${CMAKE_INSTALL_DATADIR}/icons/hicolor"
          PATTERN ".*" EXCLUDE
          PATTERN "*~" EXCLUDE)
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/fcitx5-anthy-5.0.13/org.fcitx.Fcitx5.Addon.Anthy.metainfo.xml.in 
new/fcitx5-anthy-5.0.14/org.fcitx.Fcitx5.Addon.Anthy.metainfo.xml.in
--- old/fcitx5-anthy-5.0.13/org.fcitx.Fcitx5.Addon.Anthy.metainfo.xml.in        
2022-11-20 08:07:51.348586300 +0100
+++ new/fcitx5-anthy-5.0.14/org.fcitx.Fcitx5.Addon.Anthy.metainfo.xml.in        
2023-03-11 05:01:45.165684200 +0100
@@ -10,6 +10,7 @@
   <url type="bugtracker">https://github.com/fcitx/fcitx5-anthy/issues</url>
   <project_group>Fcitx</project_group>
   <releases>
+    <release version="5.0.14" date="2023-03-10"/>
     <release version="5.0.13" date="2022-11-19"/>
     <release version="5.0.12" date="2022-07-03"/>
     <release version="5.0.11" date="2022-05-22"/>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/fcitx5-anthy-5.0.13/po/zh_TW.po 
new/fcitx5-anthy-5.0.14/po/zh_TW.po
--- old/fcitx5-anthy-5.0.13/po/zh_TW.po 2021-12-04 16:31:51.088696500 +0100
+++ new/fcitx5-anthy-5.0.14/po/zh_TW.po 2022-12-23 03:45:12.810613000 +0100
@@ -5,14 +5,15 @@
 # Translators:
 # csslayer <wen...@gmail.com>, 2017
 # 黃柏諺 <s8321...@gmail.com>, 2017
+# Neko ◣ 0xFF, 2022
 #
 msgid ""
 msgstr ""
 "Project-Id-Version: fcitx5-anthy\n"
 "Report-Msgid-Bugs-To: fcitx-...@googlegroups.com\n"
-"POT-Creation-Date: 2021-11-25 20:24+0000\n"
+"POT-Creation-Date: 2022-12-16 20:25+0000\n"
 "PO-Revision-Date: 2017-12-26 07:08+0000\n"
-"Last-Translator: 黃柏諺 <s8321...@gmail.com>, 2017\n"
+"Last-Translator: Neko ◣ 0xFF, 2022\n"
 "Language-Team: Chinese (Taiwan) (https://www.transifex.com/fcitx/teams/12005/";
 "zh_TW/)\n"
 "Language: zh_TW\n"
@@ -21,7 +22,7 @@
 "Content-Transfer-Encoding: 8bit\n"
 "Plural-Forms: nplurals=1; plural=0;\n"
 
-#: src/state.cpp:315
+#: src/state.cpp:307
 #, c-format
 msgid "(%d / %d)"
 msgstr "(%d / %d)"
@@ -30,11 +31,11 @@
 msgid "101kana"
 msgstr "101kana"
 
-#: src/config.h:626
+#: src/config.h:629
 msgid "Add Word"
 msgstr "新增單字"
 
-#: src/config.h:647
+#: src/config.h:650
 msgid "Add word"
 msgstr "新增單字"
 
@@ -48,7 +49,7 @@
 
 #: org.fcitx.Fcitx5.Addon.Anthy.metainfo.xml.in:7
 msgid "Anthy for Fcitx 5"
-msgstr ""
+msgstr "Fcitx 5 的 Anthy 支持"
 
 #: src/config.h:237 src/config.h:252
 msgid "Atok"
@@ -62,11 +63,11 @@
 msgid "BackSpace"
 msgstr "倒退鍵"
 
-#: src/config.h:433
+#: src/config.h:435
 msgid "Cancel"
 msgstr "取消"
 
-#: src/config.h:439
+#: src/config.h:441
 msgid "Cancel all"
 msgstr "取消全部"
 
@@ -78,11 +79,11 @@
 msgid "Candidate List Layout"
 msgstr "候選詞清單配置"
 
-#: src/config.h:560
+#: src/config.h:563
 msgid "Candidates Page Down"
 msgstr "候選字下一頁"
 
-#: src/config.h:554
+#: src/config.h:557
 msgid "Candidates Page Up"
 msgstr "候選字上一頁"
 
@@ -106,7 +107,7 @@
 msgid "Circle typing method"
 msgstr "循環輸入方案"
 
-#: src/config.h:659
+#: src/config.h:662
 msgid "Command"
 msgstr "指令"
 
@@ -114,23 +115,23 @@
 msgid "Commit"
 msgstr "提交"
 
-#: src/config.h:415
+#: src/config.h:416
 msgid "Commit Reverse Learn"
 msgstr "提交逆向學習"
 
-#: src/config.h:517
+#: src/config.h:519
 msgid "Commit first segement reverse learn"
 msgstr "提交第一段逆向學習"
 
-#: src/config.h:505
+#: src/config.h:507
 msgid "Commit first segment"
 msgstr "提交第一段"
 
-#: src/config.h:523
+#: src/config.h:525
 msgid "Commit selected segement reverse learn"
 msgstr "提交選中段逆向學習"
 
-#: src/config.h:511
+#: src/config.h:513
 msgid "Commit selected segment"
 msgstr "提交選中段"
 
@@ -138,31 +139,31 @@
 msgid "Conversion mode"
 msgstr "轉換模式"
 
-#: src/config.h:421
+#: src/config.h:422
 msgid "Convert"
 msgstr "轉換"
 
-#: src/config.h:590
+#: src/config.h:593
 msgid "Convert To Half"
 msgstr "轉換到半形"
 
-#: src/config.h:596
+#: src/config.h:599
 msgid "Convert To Half Katakana"
 msgstr "轉換到半形片假名"
 
-#: src/config.h:578
+#: src/config.h:581
 msgid "Convert To Hiragana"
 msgstr "轉換到平假名"
 
-#: src/config.h:584
+#: src/config.h:587
 msgid "Convert To Katakana"
 msgstr "轉換到片假名"
 
-#: src/config.h:608
+#: src/config.h:611
 msgid "Convert To Latin"
 msgstr "轉換到英文"
 
-#: src/config.h:602
+#: src/config.h:605
 msgid "Convert To Wide Latin"
 msgstr "轉換到全形英文"
 
@@ -174,21 +175,21 @@
 msgid "Convert as you type (Single segment)"
 msgstr "輸入時轉換(單段)"
 
-#: src/config.h:572
+#: src/config.h:575
 msgid "Convert char type backward"
 msgstr "向後轉換字元類型"
 
-#: src/config.h:566
+#: src/config.h:569
 msgid "Convert char type forward"
 msgstr "向前轉換字元類型"
 
 #: src/config.h:43
 msgid "Corner bracket and Middle Dot"
-msgstr ""
+msgstr "角括號和間隔號"
 
 #: src/config.h:44
 msgid "Corner bracket and wide slash"
-msgstr ""
+msgstr "書名號與寬斜線"
 
 #: src/config.h:239 src/config.h:254 src/config.h:267 src/config.h:283
 msgid "Custom"
@@ -218,7 +219,7 @@
 msgid "Delete"
 msgstr "刪除"
 
-#: src/config.h:620 src/config.h:649
+#: src/config.h:623 src/config.h:652
 msgid "Dict admin"
 msgstr "詞典管理"
 
@@ -228,23 +229,23 @@
 
 #: src/config.h:177
 msgid "Entering the pseudo ASCII input mode with capital letters"
-msgstr ""
+msgstr "進入大寫字母偽ASCII輸入模式"
 
-#: src/config.h:499
+#: src/config.h:501
 msgid "Expand segment"
 msgstr "展開段落"
 
 #: src/config.h:71 src/config.h:80
 msgid "Follow mode"
-msgstr ""
+msgstr "跟随模式"
 
-#: src/config.h:653
+#: src/config.h:656
 msgid "General"
 msgstr "一般"
 
 #: src/config.h:79
 msgid "Half"
-msgstr ""
+msgstr "半形"
 
 #: src/config.h:30
 msgid "Half Katakana"
@@ -284,7 +285,7 @@
 
 #: src/config.h:174
 msgid "Insert a blank with a blank key"
-msgstr ""
+msgstr "使用空白键插入空格"
 
 #: src/config.h:373
 msgid "Insert space"
@@ -294,7 +295,7 @@
 msgid "Insert wide space"
 msgstr "插入全形空格"
 
-#: src/config.h:655
+#: src/config.h:658
 msgid "Interface"
 msgstr "介面"
 
@@ -304,7 +305,7 @@
 
 #: org.fcitx.Fcitx5.Addon.Anthy.metainfo.xml.in:8
 msgid "Japanese input method based on Anthy"
-msgstr ""
+msgstr "基於  Anthy 的日文輸入法"
 
 #: src/config.h:66 src/engine.cpp:57
 msgid "Kana"
@@ -322,13 +323,13 @@
 msgid "Katakana mode"
 msgstr "片假名模式"
 
-#: src/config.h:658
+#: src/config.h:661
 msgid "Key"
 msgstr "按鍵"
 
-#: src/config.h:657
+#: src/config.h:660
 msgid "Key Profile"
-msgstr ""
+msgstr "按鍵設定"
 
 #: src/config.h:289
 msgid "Key binding profile"
@@ -350,7 +351,7 @@
 msgid "Learn on manual commit"
 msgstr "手動提交時記錄輸入歷史"
 
-#: src/config.h:632
+#: src/config.h:635
 msgid "Left thumb key"
 msgstr "左拇指鍵"
 
@@ -358,19 +359,19 @@
 msgid "MS IME"
 msgstr "微軟輸入法引擎"
 
-#: src/config.h:463
+#: src/config.h:465
 msgid "Move caret backward"
-msgstr ""
+msgstr "向後移動插入符號"
 
-#: src/config.h:445
+#: src/config.h:447
 msgid "Move caret first"
-msgstr ""
+msgstr "移動插入符號到開頭"
 
-#: src/config.h:457
+#: src/config.h:459
 msgid "Move caret forward"
 msgstr "向前移動插入符號"
 
-#: src/config.h:451
+#: src/config.h:453
 msgid "Move caret last"
 msgstr "移動插入符號到結尾"
 
@@ -380,7 +381,7 @@
 
 #: src/config.h:61
 msgid "Multi segment immediate"
-msgstr ""
+msgstr "立即多段"
 
 #: src/config.h:67 src/engine.cpp:58
 msgid "Nicola"
@@ -390,25 +391,25 @@
 msgid "Nicola Table"
 msgstr "尼古拉表"
 
-#: src/config.h:643
+#: src/config.h:646
 msgid "Nicola time"
 msgstr "尼古拉時間"
 
 #: src/config.h:280
 msgid "Nicola-A"
-msgstr ""
+msgstr "Nicola-A"
 
 #: src/config.h:281
 msgid "Nicola-F"
-msgstr ""
+msgstr "Nicola-F"
 
 #: src/config.h:281
 msgid "Nicola-J"
-msgstr ""
+msgstr "Nicola-J"
 
 #: src/config.h:16
 msgid "Not Set"
-msgstr ""
+msgstr "尚未設置"
 
 #: src/config.h:168
 msgid "Number candidate of Triggers To Show Candidate Window"
@@ -416,7 +417,7 @@
 
 #: src/config.h:282
 msgid "Oasys100J"
-msgstr ""
+msgstr "Oasys100J"
 
 #: src/config.h:161
 msgid "Page size"
@@ -426,27 +427,27 @@
 msgid "Period style"
 msgstr "逗號風格"
 
-#: src/config.h:427
+#: src/config.h:429
 msgid "Predict"
 msgstr "預測"
 
 #: src/config.h:171
 msgid "Predict on input"
-msgstr ""
+msgstr "預測輸入"
 
 #: src/config.h:267
 msgid "Quick Kana"
-msgstr ""
+msgstr "速成假名"
 
-#: src/config.h:614
+#: src/config.h:617
 msgid "Reconvert"
 msgstr "重新轉換"
 
-#: src/config.h:638
+#: src/config.h:641
 msgid "Right thumb key"
 msgstr "右拇指鍵"
 
-#: src/config.h:642
+#: src/config.h:645
 msgid "Ro key for kana layout"
 msgstr "假名佈局的 ロ 鍵"
 
@@ -458,59 +459,59 @@
 msgid "Romaji Table"
 msgstr "羅馬字表"
 
-#: src/config.h:529
+#: src/config.h:531
 msgid "Select first candidate"
 msgstr "選擇第一個候選詞"
 
-#: src/config.h:469
+#: src/config.h:471
 msgid "Select first segment"
 msgstr "選擇第一段"
 
-#: src/config.h:535
+#: src/config.h:537
 msgid "Select last candidate"
 msgstr "選擇最後一個候選詞"
 
-#: src/config.h:475
+#: src/config.h:477
 msgid "Select last segment"
 msgstr "選擇最後一段"
 
-#: src/config.h:541
+#: src/config.h:543
 msgid "Select next candidate"
 msgstr "選擇下一個候選詞"
 
-#: src/config.h:481
+#: src/config.h:483
 msgid "Select next segment"
 msgstr "選擇下一段"
 
-#: src/config.h:548
+#: src/config.h:551
 msgid "Select prev candidate"
 msgstr "選擇前一個候選詞"
 
-#: src/config.h:487
+#: src/config.h:489
 msgid "Select prev segment"
-msgstr ""
+msgstr "選擇上一段"
 
 #: src/config.h:213 src/config.h:226
 msgid "Show candidates label"
-msgstr ""
+msgstr "顯示候選詞標籤"
 
 #: src/config.h:222
 msgid "Show conversion mode"
-msgstr ""
+msgstr "顯示轉換模式"
 
 #: src/config.h:218
 msgid "Show input mode"
-msgstr ""
+msgstr "顯示輸入模式"
 
 #: src/config.h:224
 msgid "Show period style"
-msgstr ""
+msgstr "顯示逗號樣式"
 
 #: src/config.h:220
 msgid "Show typing method"
-msgstr ""
+msgstr "顯示輸入方式"
 
-#: src/config.h:493
+#: src/config.h:495
 msgid "Shrink segment"
 msgstr "收起段落"
 
@@ -520,11 +521,11 @@
 
 #: src/config.h:62
 msgid "Single segment immediate"
-msgstr ""
+msgstr "立即單段"
 
 #: src/config.h:200
 msgid "Space type"
-msgstr ""
+msgstr "空格輸入"
 
 #: src/config.h:197
 msgid "Symbol style"
@@ -532,7 +533,7 @@
 
 #: src/config.h:202
 msgid "Ten key type"
-msgstr ""
+msgstr "十鍵輸入"
 
 #: src/engine.cpp:58
 msgid "Thumb shift"
@@ -540,11 +541,11 @@
 
 #: src/config.h:282
 msgid "Tron Dvorak"
-msgstr ""
+msgstr "Tron Dvorak"
 
 #: src/config.h:283
 msgid "Tron Qwerty JP"
-msgstr ""
+msgstr "Tron Qwerty JP"
 
 #: src/config.h:187
 msgid "Typing method"
@@ -556,15 +557,15 @@
 
 #: src/config.h:182
 msgid "Use half-width characters for numbers"
-msgstr ""
+msgstr "為數字使用半形字符"
 
 #: src/config.h:179
 msgid "Use half-width characters for symbols"
-msgstr ""
+msgstr "為符號使用半形字符"
 
 #: src/config.h:17
 msgid "Vertical"
-msgstr ""
+msgstr "縱向"
 
 #: src/config.h:238 src/config.h:254
 msgid "Vje Delta"
@@ -576,7 +577,7 @@
 
 #: src/config.h:71 src/config.h:79
 msgid "Wide"
-msgstr ""
+msgstr "全形"
 
 #: src/config.h:31
 msgid "Wide Latin"
@@ -600,8 +601,8 @@
 
 #: src/config.h:266
 msgid "tsuki-2-203-101"
-msgstr ""
+msgstr "tsuki-2-203-101"
 
 #: src/config.h:266
 msgid "tsuki-2-203-106"
-msgstr ""
+msgstr "tsuki-2-203-106"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/fcitx5-anthy-5.0.13/src/engine.cpp 
new/fcitx5-anthy-5.0.14/src/engine.cpp
--- old/fcitx5-anthy-5.0.13/src/engine.cpp      2021-03-16 04:14:56.919726400 
+0100
+++ new/fcitx5-anthy-5.0.14/src/engine.cpp      2023-02-20 05:31:37.219011500 
+0100
@@ -381,6 +381,8 @@
         "msime.sty", "vje-delta.sty",
         "wnn.sty",   *config().keyProfile->romajiFundamentalTable};
 
+    static_assert(FCITX_ARRAY_SIZE(key_profile) ==
+                  static_cast<int>(RomajiTable::Custom) + 1);
     auto profile = static_cast<int>(*config().keyProfile->romajiTableEnum);
 
     return key_profile[profile];
@@ -395,6 +397,8 @@
         "qkana.sty",
         *config().keyProfile->kanaFundamentalTable};
 
+    static_assert(FCITX_ARRAY_SIZE(key_profile) ==
+                  static_cast<int>(KanaTable::Custom) + 1);
     auto profile = static_cast<int>(*config().keyProfile->kanaTableEnum);
 
     return key_profile[profile];
@@ -406,11 +410,13 @@
         "nicola-a.sty",
         "nicola-f.sty",
         "nicola-j.sty",
-        "oasys100j.sty"
+        "oasys100j.sty",
         "tron-dvorak.sty",
         "tron-qwerty-jp.sty",
         *config().keyProfile->nicolaFundamentalTable};
 
+    static_assert(FCITX_ARRAY_SIZE(key_profile) ==
+                  static_cast<int>(NicolaTable::Custom) + 1);
     auto profile = static_cast<int>(*config().keyProfile->nicolaTableEnum);
 
     return key_profile[profile];
@@ -451,10 +457,12 @@
     customRomajiTable_.clear();
     const char *section_romaji = "RomajiTable/FundamentalTable";
     filename = fullFileName(romajiTableName());
-    FCITX_ANTHY_DEBUG() << "Romaji: " << filename;
-    if (!filename.empty() && style.load(filename)) {
-        customRomajiTableLoaded_ = true;
-        customRomajiTable_ = style.key2kanaTable(section_romaji);
+    if (!filename.empty()) {
+        FCITX_ANTHY_DEBUG() << "Try loading romaji table: " << filename;
+        if (style.load(filename)) {
+            customRomajiTableLoaded_ = true;
+            customRomajiTable_ = style.key2kanaTable(section_romaji);
+        }
     }
 
     // load custom kana table
@@ -463,17 +471,23 @@
     const char *section_kana = "KanaTable/FundamentalTable";
     filename = fullFileName(kanaTableName());
     if (!filename.empty() && style.load(filename)) {
-        customKanaTableLoaded_ = true;
-        customRomajiTable_ = style.key2kanaTable(section_kana);
+        FCITX_ANTHY_DEBUG() << "Try loading kana table: " << filename;
+        if (style.load(filename)) {
+            customKanaTableLoaded_ = true;
+            customKanaTable_ = style.key2kanaTable(section_kana);
+        }
     }
 
     customNicolaTableLoaded_ = false;
     customNicolaTable_.clear();
     const char *section_nicola = "NICOLATable/FundamentalTable";
     filename = fullFileName(nicolaTableName());
-    if (!filename.empty() && style.load(filename)) {
-        customNicolaTableLoaded_ = true;
-        customNicolaTable_ = style.key2kanaTable(section_nicola);
+    if (!filename.empty()) {
+        FCITX_ANTHY_DEBUG() << "Try loading nicola table: " << filename;
+        if (style.load(filename)) {
+            customNicolaTableLoaded_ = true;
+            customNicolaTable_ = style.key2kanaTable(section_nicola);
+        }
     }
 
     if (factory_.registered()) {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/fcitx5-anthy-5.0.13/src/utils.h 
new/fcitx5-anthy-5.0.14/src/utils.h
--- old/fcitx5-anthy-5.0.13/src/utils.h 2020-05-08 23:56:29.370422100 +0200
+++ new/fcitx5-anthy-5.0.14/src/utils.h 2023-03-11 05:01:45.932354000 +0100
@@ -28,11 +28,12 @@
 std::string keypad_to_string(const fcitx::KeyEvent &key);
 void launch_program(std::string command);
 
-bool surrounding_get_safe_delta(uint from, uint to, int32_t *delta);
+bool surrounding_get_safe_delta(unsigned int from, unsigned int to,
+                                int32_t *delta);
 
 bool surrounding_get_anchor_pos_from_selection(
     const std::string &surrounding_text, const std::string &selected_text,
-    uint cursor_pos, uint *anchor_pos);
+    unsigned int cursor_pos, unsigned int *anchor_pos);
 
 inline char get_ascii_code(const fcitx::Key &key) {
     auto chr = fcitx::Key::keySymToUnicode(key.sym());

Reply via email to