Skip to content

Commit

Permalink
Section
Browse files Browse the repository at this point in the history
  • Loading branch information
Lyoko-Jeremie committed Nov 26, 2024
1 parent 2854067 commit c00234d
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 7 deletions.
5 changes: 4 additions & 1 deletion src/GUI_StringTable/CN.ts
Original file line number Diff line number Diff line change
Expand Up @@ -154,16 +154,19 @@ export const StringTable_CN: StringTableType = {
'WearRestraints Section': '穿戴 Section',
LockSelect: '选择要穿戴的锁',
FactionSelect: '选择是谁给你穿上的',
AllRestraintItemSection: '所有可用的穿戴 Section',
AllRestraintItemSelect: '所有可用的穿戴',
NowWearRestraintItemSection: '已经穿戴的物品 Section',
NowWearRestraintItemSelect: '已经穿戴的物品',
WearTheSelectedRestrain: '穿上选择的物品',
AllRestraintItemFilterSection: '所有可用的穿戴搜索及诅咒穿戴 Section',
AllRestraintItemFilterInput: '搜索所有可用的穿戴',
AllRestraintItemFilterSelect: '选择可用的穿戴',
AllRestraintItemFilterWearIt: '穿上选择的物品',
ShadowCurseSelect: '选择诅咒分类(必选)',
ShadowVariantSelect: '选择特定诅咒(可选,覆盖分类)',
ShadowEnchantmentBuffSelect: '选择特定增益(可选,强制生成0~2N个指定类型的增益)',
CurseWearIt: '穿诅咒服装(从上一行选择服装,不选则随机)',
CurseWearIt: '穿诅咒服装(选择服装,不选则随机)',
LockNowWearRestraintItem: '锁定当前选择的已穿戴物',
UnlockNowWearRestraintItem: '解锁当前选择的已穿戴物',
RemoveNowWearRestraintItem: '移除当前选择的已穿戴物',
Expand Down
5 changes: 4 additions & 1 deletion src/GUI_StringTable/EN.ts
Original file line number Diff line number Diff line change
Expand Up @@ -111,16 +111,19 @@ export const StringTable_EN: StringTableType = {
'WearRestraints Section': 'WearRestraints Section',
LockSelect: 'LockSelect',
FactionSelect: 'FactionSelect',
AllRestraintItemSection: 'AllRestraintItem Section',
AllRestraintItemSelect: 'AllRestraintItemSelect',
NowWearRestraintItemSection: 'NowWearRestraintItem Section',
NowWearRestraintItemSelect: 'NowWearRestraintItemSelect',
WearTheSelectedRestrain: 'WearTheSelectedRestrain',
AllRestraintItemFilterSection: 'AllRestraintItem and Curse Section',
AllRestraintItemFilterInput: 'SearchAllRestraintItem',
AllRestraintItemFilterSelect: 'AllRestraintItemSelect',
AllRestraintItemFilterWearIt: 'WearIt',
ShadowCurseSelect: 'ShadowCurseClassSelect(Required)',
ShadowVariantSelect: 'ShadowVariantSpecialSelect(Optional, Overwrite ShadowCurseClass)',
ShadowEnchantmentBuffSelect: 'ShadowEnchantmentBuffSelect(Optional, Force Generate 0~2N EnchantmentBuff)',
CurseWearIt: 'CurseWearIt(SelectWearsFromAbove OR RandomWears)',
CurseWearIt: 'CurseWearIt(SelectWears OR RandomWears)',
LockNowWearRestraintItem: 'LockNowWearRestraintItem',
UnlockNowWearRestraintItem: 'UnlockNowWearRestraintItem',
RemoveNowWearRestraintItem: 'RemoveNowWearRestraintItem',
Expand Down
7 changes: 5 additions & 2 deletions src/GUI_StringTable/StringTable.ts
Original file line number Diff line number Diff line change
Expand Up @@ -118,16 +118,19 @@ const StringTableKeys = [
'WearRestraints Section',
'LockSelect',
'FactionSelect',
'AllRestraintItemSection',
'AllRestraintItemSelect',
'NowWearRestraintItemSelect',
'WearTheSelectedRestrain',
'AllRestraintItemFilterSection',
'AllRestraintItemFilterInput',
'AllRestraintItemFilterSelect',
'AllRestraintItemFilterWearIt',
'ShadowCurseSelect',
'ShadowVariantSelect',
'ShadowEnchantmentBuffSelect',
'CurseWearIt',
'NowWearRestraintItemSection',
'NowWearRestraintItemSelect',
'WearTheSelectedRestrain',
'LockNowWearRestraintItem',
'UnlockNowWearRestraintItem',
'RemoveNowWearRestraintItem',
Expand Down
6 changes: 3 additions & 3 deletions src/GreasemonkeyScript/CreateGui.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1373,7 +1373,7 @@ export class CreateGui {
xgmExtendField: {bootstrap: {btnType: thisRef.btnType}},
},
[thisRef.rId()]: {
section: GM_config.create('AllRestraintItemSelect'),
section: GM_config.create(StringTable['AllRestraintItemSection']),
type: 'br',
},
'AllRestraintItemSelect': {
Expand Down Expand Up @@ -1418,7 +1418,7 @@ export class CreateGui {
xgmExtendField: {bootstrap: {btnType: thisRef.btnType}},
},
[thisRef.rId()]: {
section: GM_config.create('AllRestraintItemFilterSelect'),
section: GM_config.create(StringTable['AllRestraintItemFilterSection']),
type: 'br',
},
'AllRestraintItemFilterInput': {
Expand Down Expand Up @@ -1662,7 +1662,7 @@ export class CreateGui {
xgmExtendField: {bootstrap: {btnType: thisRef.btnType}},
},
[thisRef.rId()]: {
section: GM_config.create('NowWearRestraintItemSelect'),
section: GM_config.create(StringTable['NowWearRestraintItemSection']),
type: 'br',
},
'NowWearRestraintItemSelect': {
Expand Down

0 comments on commit c00234d

Please sign in to comment.