kopia lustrzana https://gitlab.com/gridtracker.org/gridtracker
more tweaks trying to make it work
rodzic
f2f71c94db
commit
edc0d40256
|
@ -13573,7 +13573,7 @@ function startupVersionInit()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
function loadi18n()
|
function loadI18n()
|
||||||
{
|
{
|
||||||
$.i18n().load(
|
$.i18n().load(
|
||||||
{
|
{
|
||||||
|
@ -13681,6 +13681,7 @@ function postInit()
|
||||||
|
|
||||||
function renderI18n()
|
function renderI18n()
|
||||||
{
|
{
|
||||||
|
console.log(g_appSettings.locale);
|
||||||
$("body").i18n();
|
$("body").i18n();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -13688,7 +13689,7 @@ function changeLocale()
|
||||||
{
|
{
|
||||||
// set locale and then re-render if needed
|
// set locale and then re-render if needed
|
||||||
g_appSettings.locale = languageLocale.value;
|
g_appSettings.locale = languageLocale.value;
|
||||||
loadi18n();
|
loadI18n();
|
||||||
renderI18n();
|
renderI18n();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -13705,7 +13706,7 @@ document.addEventListener("drop", function (event)
|
||||||
|
|
||||||
var g_startupTable = [
|
var g_startupTable = [
|
||||||
[startupVersionInit, "Completed Version Check"],
|
[startupVersionInit, "Completed Version Check"],
|
||||||
[loadi18n, "Loading Locales"],
|
[loadI18n, "Loading Locales"],
|
||||||
[qsoBackupFileInit, "QSO Backup Initialized"],
|
[qsoBackupFileInit, "QSO Backup Initialized"],
|
||||||
[callsignServicesInit, "Callsign Services Initialized"],
|
[callsignServicesInit, "Callsign Services Initialized"],
|
||||||
[loadMapSettings, "Map Settings Initialized"],
|
[loadMapSettings, "Map Settings Initialized"],
|
||||||
|
|
Ładowanie…
Reference in New Issue