File tree Expand file tree Collapse file tree
components/editor/operator Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -33,6 +33,13 @@ export const EditorOperatorSkill = ({
3333
3434 const items = useMemo < EditorOperatorSkillChoice [ ] > (
3535 ( ) => [
36+ {
37+ icon : 'cog' ,
38+ title : t . components . editor . operator . EditorOperatorSkill . skill_number ( {
39+ count : 0 ,
40+ } ) ,
41+ value : 0 ,
42+ } ,
3643 {
3744 icon : 'cog' ,
3845 title : t . components . editor . operator . EditorOperatorSkill . skill_number ( {
@@ -58,7 +65,7 @@ export const EditorOperatorSkill = ({
5865 [ t ] ,
5966 )
6067
61- const selected = items . find ( ( item ) => item . value === ( value ?? 1 ) )
68+ const selected = items . find ( ( item ) => item . value === ( value ?? 0 ) )
6269
6370 return (
6471 < Select2 < EditorOperatorSkillChoice >
Original file line number Diff line number Diff line change 16831683 "en" : " Confirm"
16841684 },
16851685 "default_settings_tooltip" : {
1686- "cn" : " 若不进行任何设置, 将使用默认值 (一技能 · 不自动使用 · 技能使用次数: 1次)" ,
1687- "en" : " If no settings are applied, default values will be used (Skill 1 · Don't use automatically · Usage count: 1)"
1686+ "cn" : " 若不进行任何设置, 将使用默认值 (不指定技能 · 不自动使用 · 技能使用次数: 1次)" ,
1687+ "en" : " If no settings are applied, default values will be used (Unspecified Skill · Don't use automatically · Usage count: 1)"
16881688 },
16891689 "not_set" : {
16901690 "cn" : " 未设置技能" ,
17411741 "EditorOperatorItem" : {
17421742 "skill_number" : {
17431743 "cn" : {
1744+ "0" : " 不指定技能" ,
17441745 "1" : " 一技能" ,
17451746 "2" : " 二技能" ,
17461747 "3" : " 三技能" ,
17471748 "other" : " 未知技能"
17481749 },
17491750 "en" : {
1751+ "0" : " Unspecified Skill" ,
17501752 "1" : " S1" ,
17511753 "2" : " S2" ,
17521754 "3" : " S3" ,
18471849 "EditorOperatorSkill" : {
18481850 "skill_number" : {
18491851 "cn" : {
1852+ "0" : " 不指定技能" ,
18501853 "1" : " 一技能" ,
18511854 "2" : " 二技能" ,
18521855 "3" : " 三技能" ,
18531856 "other" : " 未知技能"
18541857 },
18551858 "en" : {
1859+ "0" : " Unspecified Skill" ,
18561860 "1" : " Skill 1" ,
18571861 "2" : " Skill 2" ,
18581862 "3" : " Skill 3" ,
34673471 },
34683472 "skill_number" : {
34693473 "cn" : {
3474+ "0" : " 不指定技能" ,
34703475 "1" : " 一技能" ,
34713476 "2" : " 二技能" ,
34723477 "3" : " 三技能" ,
34733478 "other" : " 未知技能"
34743479 },
34753480 "en" : {
3481+ "0" : " Unspecified Skill" ,
34763482 "1" : " S1" ,
34773483 "2" : " S2" ,
34783484 "3" : " S3" ,
You can’t perform that action at this time.
0 commit comments