Changeset 25282
- Timestamp:
- Apr 17, 2021, 9:47:30 AM (3 years ago)
- Location:
- ps/trunk/binaries/data/mods/public/gui
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
ps/trunk/binaries/data/mods/public/gui/hotkeys/HotkeyMetadata.js
r25023 r25282 19 19 let categories = { 20 20 [this.DEFAULT_CATEGORY]: { 21 "name": markForTranslation("Other Hotkeys"),22 "desc": markForTranslation("Other Hotkeys"),21 "name": ), 22 "desc": ), 23 23 } 24 24 }; … … 66 66 } 67 67 } 68 69 -
ps/trunk/binaries/data/mods/public/gui/hotkeys/HotkeysPage.js
r25175 r25282 122 122 hotkeyList.tooltip = this.metadata.hotkeys[hotkey]?.desc ? 123 123 translateWithContext("hotkey metadata", this.metadata.hotkeys[hotkey]?.desc) : 124 translate( markForTranslation("No tooltip available"));124 translate(); 125 125 } 126 126 } … … 195 195 let hotkeyPage = new HotkeysPage(new HotkeyMetadata()); 196 196 } 197 198 -
ps/trunk/binaries/data/mods/public/gui/hotkeys/spec/selection.json
r25097 r25282 47 47 "name": "Select next idle unit", 48 48 "desc": "Select next idle unit." 49 50 51 52 49 53 }, 50 54 "selection.offscreen": { -
ps/trunk/binaries/data/mods/public/gui/session/trade/BarterButton.js
r23072 r25282 23 23 let resourceName = { "resource": resourceNameWithinSentence(resourceCode) }; 24 24 25 this.sellButton.tooltip = sprintf(t his.SellTooltip, resourceName);25 this.sellButton.tooltip = sprintf(t, resourceName); 26 26 this.sellButton.onPress = () => { barterButtonManager.setSelectedResource(this.resourceCode); }; 27 27 this.sellButton.hidden = false; 28 28 29 this.buyButton.tooltip = sprintf(t his.BuyTooltip, resourceName);29 this.buyButton.tooltip = sprintf(t, resourceName); 30 30 this.buyButton.onPress = () => { this.buy(); }; 31 31
Note:
See TracChangeset
for help on using the changeset viewer.