Add new lines

This commit is contained in:
Maroxy 2021-10-23 02:02:41 +02:00
parent 5d57296467
commit c63556e4c2
4 changed files with 19 additions and 7 deletions

View file

@ -8,5 +8,9 @@
"GeneralSettings": "Generell",
"Downloading": "wird Heruntergeladen...",
"GameDownloaded": "Spiel würde erfolgreich heruntergeladen",
"ApplyPatch": "Patch wird angewendet"
"ApplyPatch": "Patch wird angewendet",
"PatchRequired": "Patch required",
"PatchRequiredHint": "This game version doesn't have an anti-cheat patch. Please, wait a few days and try again.",
"TestPatch": "Apply test patch",
"TestPatchHint": "This game version has an anti-cheat patch, but it is in the testing phase. You can wait a few days until it is stable or apply it at your own risk."
}

View file

@ -8,5 +8,9 @@
"GeneralSettings": "General",
"Downloading": "Downloading...",
"GameDownloaded": "Game was successfully installed",
"ApplyPatch": "Applying patch..."
"ApplyPatch": "Applying patch...",
"PatchRequired": "Patch required",
"PatchRequiredHint": "This game version doesn't have an anti-cheat patch. Please, wait a few days and try again.",
"TestPatch": "Apply test patch",
"TestPatchHint": "This game version has an anti-cheat patch, but it is in the testing phase. You can wait a few days until it is stable or apply it at your own risk."
}

View file

@ -8,5 +8,9 @@
"GeneralSettings": "General",
"Downloading": "Downloading...",
"GameDownloaded": "Game was successfully installed",
"ApplyPatch": "Applying patch..."
"ApplyPatch": "Applying patch...",
"PatchRequired": "Patch required",
"PatchRequiredHint": "This game version doesn't have an anti-cheat patch. Please, wait a few days and try again.",
"TestPatch": "Apply test patch",
"TestPatchHint": "This game version has an anti-cheat patch, but it is in the testing phase. You can wait a few days until it is stable or apply it at your own risk."
}

View file

@ -26,24 +26,24 @@ export class LauncherUI
switch (state)
{
case 'patch-unavailable':
$('#launch').text('Patch required');
$('#launch').text(i18n.translate('PatchRequired'));
$('#launch').attr('disabled', 'disabled');
$('#launch').addClass('hint--top')
.addClass('hint--medium');
$('#launch').attr('data-hint', 'This game version doesn\'t have the anti-cheat patch. Please, wait a few days before it will be created');
$('#launch').attr('data-hint', i18n.translate('PatchRequiredHint'));
break;
case 'test-patch-available':
$('#launch').text('Apply test patch');
$('#launch').text(i18n.translate('TestPatch'));
$('#launch').addClass('button-blue')
.addClass('hint--top')
.addClass('hint--large');
$('#launch').attr('data-hint', 'This game version has the anti-cheat patch, but it is in the test phase. You can wait a few days until it will become stable or apply it on your own risc');
$('#launch').attr('data-hint', i18n.translate('TestPatchHint'));
break;