Differential D4097 Diff 18048 binaries/data/mods/public/gui/gamesetup/Pages/GameSetupPage/GameSettings/Single/Dropdowns/WorldPopulationCap.js
Changeset View
Changeset View
Standalone View
Standalone View
binaries/data/mods/public/gui/gamesetup/Pages/GameSetupPage/GameSettings/Single/Dropdowns/WorldPopulationCap.js
Show First 20 Lines • Show All 41 Lines • ▼ Show 20 Lines | onSelectionChange(itemIdx) | ||||
this.gameSettingsController.setNetworkInitAttributes(); | this.gameSettingsController.setNetworkInitAttributes(); | ||||
} | } | ||||
}; | }; | ||||
GameSettingControls.WorldPopulationCap.prototype.TitleCaption = | GameSettingControls.WorldPopulationCap.prototype.TitleCaption = | ||||
translate("World Population Cap"); | translate("World Population Cap"); | ||||
GameSettingControls.WorldPopulationCap.prototype.Tooltip = | GameSettingControls.WorldPopulationCap.prototype.Tooltip = | ||||
translate("Select world population limit."); | translate("World population limit."); | ||||
GameSettingControls.WorldPopulationCap.prototype.HoverTooltip = | GameSettingControls.WorldPopulationCap.prototype.HoverTooltip = | ||||
translate("Warning: There might be performance issues if %(popCap)s population is reached."); | translate("Warning: There might be performance issues if %(popCap)s population is reached."); | ||||
GameSettingControls.WorldPopulationCap.prototype.HoverTags = { | GameSettingControls.WorldPopulationCap.prototype.HoverTags = { | ||||
"color": "orange" | "color": "orange" | ||||
}; | }; | ||||
/** | /** | ||||
* Total number of units that the engine can run with smoothly. | * Total number of units that the engine can run with smoothly. | ||||
*/ | */ | ||||
GameSettingControls.WorldPopulationCap.prototype.WorldPopulationCapacityRecommendation = 1200; | GameSettingControls.WorldPopulationCap.prototype.WorldPopulationCapacityRecommendation = 1200; |
Wildfire Games · Phabricator