From 8cf6f283ff35ecde63261861b7918cb1cab9214e Mon Sep 17 00:00:00 2001 From: ShikiSuen Date: Sun, 22 May 2022 10:29:17 +0800 Subject: [PATCH] PrefWindow // Bind mgrPrefs.useScoreBalancing option, etc. --- .../WindowNIBs/Base.lproj/frmPrefWindow.xib | 48 +++++++++++++------ .../WindowNIBs/en.lproj/frmPrefWindow.strings | 3 ++ .../WindowNIBs/ja.lproj/frmPrefWindow.strings | 3 ++ .../zh-Hans.lproj/frmPrefWindow.strings | 3 ++ .../zh-Hant.lproj/frmPrefWindow.strings | 3 ++ 5 files changed, 45 insertions(+), 15 deletions(-) diff --git a/Source/WindowNIBs/Base.lproj/frmPrefWindow.xib b/Source/WindowNIBs/Base.lproj/frmPrefWindow.xib index 1dc1d24c..5ae27bfc 100644 --- a/Source/WindowNIBs/Base.lproj/frmPrefWindow.xib +++ b/Source/WindowNIBs/Base.lproj/frmPrefWindow.xib @@ -623,9 +623,9 @@ + - + + - + - + + + - - + - - - - + + + + + @@ -789,6 +806,7 @@ + diff --git a/Source/WindowNIBs/en.lproj/frmPrefWindow.strings b/Source/WindowNIBs/en.lproj/frmPrefWindow.strings index f7c834dc..bedd40a6 100644 --- a/Source/WindowNIBs/en.lproj/frmPrefWindow.strings +++ b/Source/WindowNIBs/en.lproj/frmPrefWindow.strings @@ -247,3 +247,6 @@ /* Class = "NSMenuItem"; title = "Universal Pinyin with Numeral Intonation"; ObjectID = "Parser14"; */ "Parser14.title" = "Universal Pinyin with Numeral Intonation"; + +/* Class = "NSButtonCell"; title = "Balance the score according to candidate length"; ObjectID = "Wh1-iz-pwM"; */ +"Wh1-iz-pwM.title" = "Balance the score according to candidate length"; diff --git a/Source/WindowNIBs/ja.lproj/frmPrefWindow.strings b/Source/WindowNIBs/ja.lproj/frmPrefWindow.strings index ae3a0e98..3e03d3f2 100644 --- a/Source/WindowNIBs/ja.lproj/frmPrefWindow.strings +++ b/Source/WindowNIBs/ja.lproj/frmPrefWindow.strings @@ -247,3 +247,6 @@ /* Class = "NSMenuItem"; title = "Universal Pinyin with Numeral Intonation"; ObjectID = "Parser14"; */ "Parser14.title" = "汎用弁音 (ローマ字+数字音調)"; + +/* Class = "NSButtonCell"; title = "Balance the score according to candidate length"; ObjectID = "Wh1-iz-pwM"; */ +"Wh1-iz-pwM.title" = "候補文字の長さによる重みの調整"; diff --git a/Source/WindowNIBs/zh-Hans.lproj/frmPrefWindow.strings b/Source/WindowNIBs/zh-Hans.lproj/frmPrefWindow.strings index 6a282458..b18b0a94 100644 --- a/Source/WindowNIBs/zh-Hans.lproj/frmPrefWindow.strings +++ b/Source/WindowNIBs/zh-Hans.lproj/frmPrefWindow.strings @@ -247,3 +247,6 @@ /* Class = "NSMenuItem"; title = "Universal Pinyin with Numeral Intonation"; ObjectID = "Parser14"; */ "Parser14.title" = "通用拼音+数字标调"; + +/* Class = "NSButtonCell"; title = "Balance the score according to candidate length"; ObjectID = "Wh1-iz-pwM"; */ +"Wh1-iz-pwM.title" = "按候选字词的长度调整权重"; diff --git a/Source/WindowNIBs/zh-Hant.lproj/frmPrefWindow.strings b/Source/WindowNIBs/zh-Hant.lproj/frmPrefWindow.strings index fb1bc669..db47c17e 100644 --- a/Source/WindowNIBs/zh-Hant.lproj/frmPrefWindow.strings +++ b/Source/WindowNIBs/zh-Hant.lproj/frmPrefWindow.strings @@ -247,3 +247,6 @@ /* Class = "NSMenuItem"; title = "Universal Pinyin with Numeral Intonation"; ObjectID = "Parser14"; */ "Parser14.title" = "通用拼音+數字標調"; + +/* Class = "NSButtonCell"; title = "Balance the score according to candidate length"; ObjectID = "Wh1-iz-pwM"; */ +"Wh1-iz-pwM.title" = "按候選字詞的長度調整權重";