mirror of
https://github.com/an-anime-team/an-anime-game-launcher.git
synced 2025-03-08 09:07:57 +03:00
Merge branch 'main' of https://notabug.org/nobody/an-anime-game-launcher
This commit is contained in:
commit
6d40c6d455
3 changed files with 3 additions and 5 deletions
|
@ -33,5 +33,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!"
|
||||
}
|
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue