Merge branch 'main' of Maroxy/an-ordinary-launcher into main

This commit is contained in:
Observer KRypt0n_ 2021-11-03 20:17:42 +00:00 committed by Gogs
commit 73691b9ad9
3 changed files with 3 additions and 5 deletions

View file

@ -32,5 +32,5 @@
"SkipAndDontAsk": "Überspingen und nicht noch mal fragen",
"LauncherUpdateTitle": "Launcher update verfügbar: ",
"LauncherUpdateBody": "Sie können eine neue Version des Launchers aus dem Repository des Projekts unter {uri.launcher} herunterladen.",
"TelemetryNotDisabled": "{placeholders.uppercase.company}'s telemetry servers don't disabled!"
"TelemetryNotDisabled": "{placeholders.uppercase.company} Telemetrieserver sind nicht deaktiviert!"
}

View file

@ -99,8 +99,7 @@ $(() => {
});
}
// @ts-expect-error
td.find('span').text(item.val());
td.find('span').text(item.val() as string);
};
$('.properties-list input').on('change', propsInputsOnChange);

View file

@ -19,9 +19,8 @@ export class i18n
while ((item = /\{([a-zA-Z\.]+)\}/g.exec(translation)) !== null)
{
let value = constants;
let value: any = constants;
// @ts-expect-error
item[1].split('.').forEach(ref => value = value[ref]);
translation = translation.replace(item[0], value);