diff --git a/src/GUI_StringTable/CN.ts b/src/GUI_StringTable/CN.ts index 4b2a363..797acd3 100644 --- a/src/GUI_StringTable/CN.ts +++ b/src/GUI_StringTable/CN.ts @@ -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: '移除当前选择的已穿戴物', diff --git a/src/GUI_StringTable/EN.ts b/src/GUI_StringTable/EN.ts index 96ee160..c2fec9b 100644 --- a/src/GUI_StringTable/EN.ts +++ b/src/GUI_StringTable/EN.ts @@ -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', diff --git a/src/GUI_StringTable/StringTable.ts b/src/GUI_StringTable/StringTable.ts index 5c135ae..6398574 100644 --- a/src/GUI_StringTable/StringTable.ts +++ b/src/GUI_StringTable/StringTable.ts @@ -118,9 +118,9 @@ const StringTableKeys = [ 'WearRestraints Section', 'LockSelect', 'FactionSelect', + 'AllRestraintItemSection', 'AllRestraintItemSelect', - 'NowWearRestraintItemSelect', - 'WearTheSelectedRestrain', + 'AllRestraintItemFilterSection', 'AllRestraintItemFilterInput', 'AllRestraintItemFilterSelect', 'AllRestraintItemFilterWearIt', @@ -128,6 +128,9 @@ const StringTableKeys = [ 'ShadowVariantSelect', 'ShadowEnchantmentBuffSelect', 'CurseWearIt', + 'NowWearRestraintItemSection', + 'NowWearRestraintItemSelect', + 'WearTheSelectedRestrain', 'LockNowWearRestraintItem', 'UnlockNowWearRestraintItem', 'RemoveNowWearRestraintItem', diff --git a/src/GreasemonkeyScript/CreateGui.ts b/src/GreasemonkeyScript/CreateGui.ts index 6bf5dac..13caaad 100644 --- a/src/GreasemonkeyScript/CreateGui.ts +++ b/src/GreasemonkeyScript/CreateGui.ts @@ -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': { @@ -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': { @@ -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': {