mirror of
https://gitea.wildfiregames.com/0ad/0ad
synced 2026-06-18 06:13:55 -07:00
Fix some untranslated strings, fixes #5155.
Patch By: Stan Differential Revision: https://code.wildfiregames.com/D1560 This was SVN commit r21960.
This commit is contained in:
parent
60092048e1
commit
5561327d3f
2 changed files with 7 additions and 1 deletions
|
|
@ -367,7 +367,7 @@ function selectedMod(listObjectName)
|
|||
otherListObject.selected = -1;
|
||||
Engine.GetGUIObjectByName("visitWebButton").enabled = true;
|
||||
let toggleModButton = Engine.GetGUIObjectByName("toggleModButton");
|
||||
toggleModButton.caption = listObjectName == "modsDisabledList" ? "Enable" : "Disable";
|
||||
toggleModButton.caption = listObjectName == "modsDisabledList" ? translate("Enable") : translate("Disable");
|
||||
toggleModButton.enabled = true;
|
||||
toggleModButton.onPress = listObjectName == "modsDisabledList" ? enableMod : disableMod;
|
||||
Engine.GetGUIObjectByName("enabledModUp").enabled = listObjectName == "modsEnabledList";
|
||||
|
|
|
|||
|
|
@ -76,6 +76,7 @@
|
|||
"filemasks": [
|
||||
"gui/aiconfig/**.js",
|
||||
"gui/gamesetup/**.js",
|
||||
"gui/gamesetup_mp/**.js",
|
||||
"gui/loading/**.js"
|
||||
],
|
||||
"options": {
|
||||
|
|
@ -99,6 +100,7 @@
|
|||
"filemasks": [
|
||||
"gui/aiconfig/**.xml",
|
||||
"gui/gamesetup/**.xml",
|
||||
"gui/gamesetup_mp/**.xml",
|
||||
"gui/loading/**.xml"
|
||||
],
|
||||
"options": {
|
||||
|
|
@ -253,6 +255,7 @@
|
|||
"gui/civinfo/**.js",
|
||||
"gui/common/**.js",
|
||||
"gui/credits/**.js",
|
||||
"gui/loadgame/**.js",
|
||||
"gui/locale/**.js",
|
||||
"gui/options/**.js",
|
||||
"gui/pregame/**.js",
|
||||
|
|
@ -261,6 +264,7 @@
|
|||
"gui/reference/viewer/**.js",
|
||||
"gui/replaymenu/**.js",
|
||||
"gui/savedgames/**.js",
|
||||
"gui/savegame/**.js",
|
||||
"gui/splashscreen/**.js",
|
||||
"gui/summary/**.js"
|
||||
],
|
||||
|
|
@ -288,6 +292,7 @@
|
|||
"gui/civinfo/**.xml",
|
||||
"gui/common/**.xml",
|
||||
"gui/credits/**.xml",
|
||||
"gui/loadgame/**.xml",
|
||||
"gui/locale/**.xml",
|
||||
"gui/options/**.xml",
|
||||
"gui/pregame/**.xml",
|
||||
|
|
@ -295,6 +300,7 @@
|
|||
"gui/reference/viewer/**.xml",
|
||||
"gui/replaymenu/**.xml",
|
||||
"gui/savedgames/**.xml",
|
||||
"gui/savegame/**.xml",
|
||||
"gui/splashscreen/**.xml",
|
||||
"gui/summary/**.xml"
|
||||
],
|
||||
|
|
|
|||
Loading…
Reference in a new issue