Differential D1684 Diff 9364 ps/trunk/binaries/data/mods/public/gui/locale_advanced/locale_advanced.js
Changeset View
Changeset View
Standalone View
Standalone View
ps/trunk/binaries/data/mods/public/gui/locale_advanced/locale_advanced.js
Show First 20 Lines • Show All 108 Lines • ▼ Show 20 Lines | function autoDetectLocale() | ||||
languageList.selected = languageList.list_data.indexOf(Engine.GetLocaleLanguage(locale)); | languageList.selected = languageList.list_data.indexOf(Engine.GetLocaleLanguage(locale)); | ||||
countryList.selected = countryList.list_data.indexOf(Engine.GetLocaleCountry(locale)); | countryList.selected = countryList.list_data.indexOf(Engine.GetLocaleCountry(locale)); | ||||
scriptInput.caption = Engine.GetLocaleScript(locale); | scriptInput.caption = Engine.GetLocaleScript(locale); | ||||
} | } | ||||
function applySelectedLocale() | function applySelectedLocale() | ||||
{ | { | ||||
var resultingLocaleText = Engine.GetGUIObjectByName("resultingLocale"); | var resultingLocaleText = Engine.GetGUIObjectByName("resultingLocale"); | ||||
Engine.PopGuiPageCB(resultingLocaleText.caption); | Engine.PopGuiPage(resultingLocaleText.caption); | ||||
} | } |
Wildfire Games · Phabricator