Skip to content

Commit e60e159

Browse files
committed
Update strings in Chinese addons
fcitx/fcitx5#1383
1 parent 20bf998 commit e60e159

File tree

2 files changed

+24
-19
lines changed

2 files changed

+24
-19
lines changed

im/pinyin/pinyin.h

Lines changed: 21 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -145,12 +145,14 @@ FCITX_CONFIGURATION(
145145
ShuangpinProfileEnum::Ziranma};
146146
OptionWithAnnotation<bool, OptionalHideInDescription> showShuangpinMode{
147147
this, "ShowShuangpinMode", _("Show current shuangpin mode"), true};
148-
Option<int, IntConstrain> pageSize{this, "PageSize", _("Page size"), 7,
149-
IntConstrain(3, 10)};
150-
Option<bool> spellEnabled{this, "SpellEnabled", _("Enable Spell"), true};
151-
Option<bool> symbolsEnabled{this, "SymbolsEnabled", _("Enable Symbols"),
152-
true};
153-
Option<bool> chaiziEnabled{this, "ChaiziEnabled", _("Enable Chaizi"), true};
148+
Option<int, IntConstrain> pageSize{
149+
this, "PageSize", _("Candidates Per Page"), 7, IntConstrain(3, 10)};
150+
Option<bool> spellEnabled{this, "SpellEnabled",
151+
_("Show English Candidates"), true};
152+
Option<bool> symbolsEnabled{this, "SymbolsEnabled",
153+
_("Show symbol candidates"), true};
154+
Option<bool> chaiziEnabled{this, "ChaiziEnabled",
155+
_("Show Chaizi candidates"), true};
154156
Option<bool> extBEnabled{
155157
this, "ExtBEnabled",
156158
_("Enable more Characters after Unicode CJK Extension B"),
@@ -160,13 +162,14 @@ FCITX_CONFIGURATION(
160162
_("Show stroke candidates when typing with h(一), s(丨), p(丿), n(㇏), "
161163
"z(𠃍)"),
162164
true};
163-
OptionalHiddenSubConfigOption cloudpinyin{
164-
this, "CloudPinyin", _("Cloud Pinyin"),
165-
"fcitx://config/addon/cloudpinyin"};
166165
OptionWithAnnotation<bool, OptionalHideInDescription> cloudPinyinEnabled{
167166
this, "CloudPinyinEnabled", _("Enable Cloud Pinyin"), false};
167+
OptionalHiddenSubConfigOption cloudpinyin{
168+
this, "CloudPinyin", _("Configure Cloud Pinyin"),
169+
"fcitx://config/addon/cloudpinyin"};
168170
Option<int, IntConstrain, DefaultMarshaller<int>, OptionalHideInDescription>
169-
cloudPinyinIndex{this, "CloudPinyinIndex", _("Cloud Pinyin Index"), 2,
171+
cloudPinyinIndex{this, "CloudPinyinIndex",
172+
_("Cloud Pinyin Candidate Order"), 2,
170173
IntConstrain(1, 10)};
171174
OptionWithAnnotation<bool, OptionalHideInDescription> cloudPinyinAnimation{
172175
this, "CloudPinyinAnimation",
@@ -186,8 +189,9 @@ FCITX_CONFIGURATION(
186189
this, "PinyinInPreedit", _("Show complete pinyin in preedit"), false};
187190
Option<bool> predictionEnabled{this, "Prediction", _("Enable Prediction"),
188191
isAndroid()};
189-
Option<int, IntConstrain> predictionSize{
190-
this, "PredictionSize", _("Prediction Size"), 49, IntConstrain(3, 100)};
192+
Option<int, IntConstrain> predictionSize{this, "PredictionSize",
193+
_("Number of Predictions"), 49,
194+
IntConstrain(3, 100)};
191195
OptionWithAnnotation<SwitchInputMethodBehavior,
192196
SwitchInputMethodBehaviorI18NAnnotation>
193197
switchInputMethodBehavior{this, "SwitchInputMethodBehavior",
@@ -241,14 +245,14 @@ FCITX_CONFIGURATION(
241245
KeyListOption secondCandidate{
242246
this,
243247
"SecondCandidate",
244-
_("Select 2nd Candidate"),
248+
_("Select Second Candidate"),
245249
{},
246250
KeyListConstrain({KeyConstrainFlag::AllowModifierLess,
247251
KeyConstrainFlag::AllowModifierOnly})};
248252
KeyListOption thirdCandidate{
249253
this,
250254
"ThirdCandidate",
251-
_("Select 3rd Candidate"),
255+
_("Select Third Candidate"),
252256
{},
253257
KeyListConstrain({KeyConstrainFlag::AllowModifierLess,
254258
KeyConstrainFlag::AllowModifierOnly})};
@@ -292,7 +296,8 @@ FCITX_CONFIGURATION(
292296
this, "Punctuation", _("Punctuation"),
293297
"fcitx://config/addon/punctuation/punctuationmap/zh_CN"};
294298
SubConfigOption chttrans{
295-
this, "Chttrans", _("Simplified and Traditional Chinese Translation"),
299+
this, "Chttrans",
300+
_("Configure Simplified/Traditional Chinese Conversion"),
296301
"fcitx://config/addon/chttrans"};
297302
Option<Key, KeyConstrain> quickphraseKey{
298303
this,
@@ -315,7 +320,7 @@ FCITX_CONFIGURATION(
315320
{},
316321
{_("Enter quickphrase mode when current input matches any regular "
317322
"expression from the list.")}};
318-
Option<FuzzyConfig> fuzzyConfig{this, "Fuzzy", _("Fuzzy Pinyin Settings")};
323+
Option<FuzzyConfig> fuzzyConfig{this, "Fuzzy", _("Fuzzy Pinyin")};
319324
HiddenOption<bool> firstRun{this, "FirstRun", "FirstRun", true};)
320325

321326
struct EventSourceTime;

im/table/ime.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ FCITX_CONFIGURATION(
5050
KeyListOption prevPage{
5151
this,
5252
"PrevPage",
53-
_("Prev page"),
53+
_("Previous page"),
5454
{Key(FcitxKey_Up)},
5555
KeyListConstrain(KeyConstrainFlag::AllowModifierLess)};
5656
KeyListOption nextPage{
@@ -62,7 +62,7 @@ FCITX_CONFIGURATION(
6262
KeyListOption prevCandidate{
6363
this,
6464
"PrevCandidate",
65-
_("Prev Candidate"),
65+
_("Previous Candidate"),
6666
{Key("Left")},
6767
KeyListConstrain(KeyConstrainFlag::AllowModifierLess)};
6868
KeyListOption nextCandidate{
@@ -102,7 +102,7 @@ FCITX_CONFIGURATION(
102102
pageSize{
103103
this,
104104
"PageSize",
105-
_("Page size"),
105+
_("Candidates Per Page"),
106106
5,
107107
IntConstrain(0, 10),
108108
{},

0 commit comments

Comments
 (0)