Differential D4097 Diff 18048 binaries/data/mods/public/gui/gamesetup/Pages/GameSetupPage/GameSettings/Single/Sliders/Ceasefire.js
Changeset View
Changeset View
Standalone View
Standalone View
binaries/data/mods/public/gui/gamesetup/Pages/GameSetupPage/GameSettings/Single/Sliders/Ceasefire.js
Show All 29 Lines | onValueChange(value) | ||||
this.gameSettingsController.setNetworkInitAttributes(); | this.gameSettingsController.setNetworkInitAttributes(); | ||||
} | } | ||||
}; | }; | ||||
GameSettingControls.Ceasefire.prototype.TitleCaption = | GameSettingControls.Ceasefire.prototype.TitleCaption = | ||||
translate("Ceasefire"); | translate("Ceasefire"); | ||||
GameSettingControls.Ceasefire.prototype.Tooltip = | GameSettingControls.Ceasefire.prototype.Tooltip = | ||||
translate("Set time where no attacks are possible."); | translate("Time during which no attacks are possible."); | ||||
GameSettingControls.Ceasefire.prototype.NoCeasefireCaption = | GameSettingControls.Ceasefire.prototype.NoCeasefireCaption = | ||||
translateWithContext("ceasefire", "No ceasefire"); | translateWithContext("ceasefire", "No ceasefire"); | ||||
GameSettingControls.Ceasefire.prototype.CeasefireCaption = | GameSettingControls.Ceasefire.prototype.CeasefireCaption = | ||||
minutes => translatePluralWithContext("ceasefire", "%(minutes)s minute", "%(minutes)s minutes", minutes); | minutes => translatePluralWithContext("ceasefire", "%(minutes)s minute", "%(minutes)s minutes", minutes); | ||||
GameSettingControls.Ceasefire.prototype.DefaultValue = 0; | GameSettingControls.Ceasefire.prototype.DefaultValue = 0; | ||||
GameSettingControls.Ceasefire.prototype.MinValue = 0; | GameSettingControls.Ceasefire.prototype.MinValue = 0; | ||||
GameSettingControls.Ceasefire.prototype.MaxValue = 45; | GameSettingControls.Ceasefire.prototype.MaxValue = 45; |
Wildfire Games · Phabricator