mirror of
https://github.com/an-anime-team/an-anime-game-launcher.git
synced 2024-12-20 08:51:47 +03:00
Patch settings changes
- patch section was moved under the general and now is a subsection like in wine/launcher settings in enhancements - updated locales; added related French translations
This commit is contained in:
parent
e4caf6839d
commit
8a29d4a5b7
14 changed files with 208 additions and 208 deletions
|
@ -135,6 +135,17 @@ settings:
|
|||
game: Spiel Ordner öffnen
|
||||
repair_game: spiel-dateien reparieren
|
||||
|
||||
# Patch-related settings
|
||||
patch:
|
||||
title: Patch
|
||||
items:
|
||||
patch_version: 'Patch version:'
|
||||
updating_info: 'Aktualisiere Patch-Informationen...'
|
||||
buttons:
|
||||
revert_patch: Patch rückgängig machen
|
||||
apply_patch: Patch anwenden
|
||||
reapply_patch: Patch erneut anwenden
|
||||
|
||||
# Verberssungen
|
||||
enhancements:
|
||||
title: Verbesserungen
|
||||
|
@ -274,17 +285,6 @@ settings:
|
|||
add: Hinzufügen
|
||||
delete: Löschen
|
||||
|
||||
# Patch-related settings
|
||||
patch:
|
||||
title: Patch
|
||||
items:
|
||||
patch_version: 'Patch version:'
|
||||
updating_info: 'Aktualisiere Patch-Informationen...'
|
||||
buttons:
|
||||
revert_patch: Patch rückgängig machen
|
||||
apply_patch: Patch anwenden
|
||||
reapply_patch: Patch erneut anwenden
|
||||
|
||||
# Notifications
|
||||
notifications:
|
||||
# Launcher update
|
||||
|
|
|
@ -135,6 +135,17 @@ settings:
|
|||
game: game folder
|
||||
repair_game: repair game files
|
||||
|
||||
# Patch-related settings
|
||||
patch:
|
||||
title: Patch
|
||||
items:
|
||||
patch_version: 'Patch version:'
|
||||
updating_info: 'Updating patch info...'
|
||||
buttons:
|
||||
revert_patch: revert patch
|
||||
apply_patch: apply patch
|
||||
reapply_patch: re-apply patch
|
||||
|
||||
# Enhancements
|
||||
enhancements:
|
||||
title: Enhancements
|
||||
|
@ -273,17 +284,6 @@ settings:
|
|||
add: Add
|
||||
delete: Delete
|
||||
|
||||
# Patch-related settings
|
||||
patch:
|
||||
title: Patch
|
||||
items:
|
||||
patch_version: 'Patch version:'
|
||||
updating_info: 'Updating patch info...'
|
||||
buttons:
|
||||
revert_patch: revert patch
|
||||
apply_patch: apply patch
|
||||
reapply_patch: re-apply patch
|
||||
|
||||
# Notifications
|
||||
notifications:
|
||||
# Launcher update
|
||||
|
|
|
@ -135,6 +135,17 @@ settings:
|
|||
game: carpeta del juego
|
||||
repair_game: reparar archivos del juego
|
||||
|
||||
# Patch-related settings
|
||||
patch:
|
||||
title: Patch
|
||||
items:
|
||||
patch_version: 'Patch version:'
|
||||
updating_info: 'Updating patch info...'
|
||||
buttons:
|
||||
revert_patch: revert patch
|
||||
apply_patch: apply patch
|
||||
reapply_patch: re-apply patch
|
||||
|
||||
# Mejoras
|
||||
enhancements:
|
||||
title: Mejoras
|
||||
|
@ -272,17 +283,6 @@ settings:
|
|||
add: Añadir
|
||||
delete: Borrar
|
||||
|
||||
# Patch-related settings
|
||||
patch:
|
||||
title: Patch
|
||||
items:
|
||||
patch_version: 'Patch version:'
|
||||
updating_info: 'Updating patch info...'
|
||||
buttons:
|
||||
revert_patch: revert patch
|
||||
apply_patch: apply patch
|
||||
reapply_patch: re-apply patch
|
||||
|
||||
# Notifications
|
||||
notifications:
|
||||
# Actualización del Launcher
|
||||
|
|
|
@ -139,6 +139,17 @@ settings:
|
|||
game: Dossier du jeu
|
||||
repair_game: Corriger les fichiers du jeu
|
||||
|
||||
# Patch-related settings
|
||||
patch:
|
||||
title: Patch
|
||||
items:
|
||||
patch_version: 'Version du patch:'
|
||||
updating_info: 'Mise à jour des informations du patch...'
|
||||
buttons:
|
||||
revert_patch: Désinstaller
|
||||
apply_patch: Installer
|
||||
reapply_patch: Réinstaller
|
||||
|
||||
# Enhancements
|
||||
enhancements:
|
||||
title: Améliorations
|
||||
|
@ -283,17 +294,6 @@ settings:
|
|||
add: Ajouter
|
||||
delete: Supprimer
|
||||
|
||||
# Patch-related settings
|
||||
patch:
|
||||
title: Patch
|
||||
items:
|
||||
patch_version: 'Patch version:'
|
||||
updating_info: 'Updating patch info...'
|
||||
buttons:
|
||||
revert_patch: revert patch
|
||||
apply_patch: apply patch
|
||||
reapply_patch: re-apply patch
|
||||
|
||||
# Notifications
|
||||
notifications:
|
||||
# Launcher update
|
||||
|
|
|
@ -135,6 +135,17 @@ settings:
|
|||
game: játékmappa
|
||||
repair_game: Játékfájlok javítása
|
||||
|
||||
# Patch-related settings
|
||||
patch:
|
||||
title: Patch
|
||||
items:
|
||||
patch_version: 'Patch version:'
|
||||
updating_info: 'Updating patch info...'
|
||||
buttons:
|
||||
revert_patch: revert patch
|
||||
apply_patch: apply patch
|
||||
reapply_patch: re-apply patch
|
||||
|
||||
# Enhancements
|
||||
enhancements:
|
||||
title: Fejlesztések
|
||||
|
@ -273,17 +284,6 @@ settings:
|
|||
add: Hozzáadás
|
||||
delete: Törlés
|
||||
|
||||
# Patch-related settings
|
||||
patch:
|
||||
title: Patch
|
||||
items:
|
||||
patch_version: 'Patch version:'
|
||||
updating_info: 'Updating patch info...'
|
||||
buttons:
|
||||
revert_patch: revert patch
|
||||
apply_patch: apply patch
|
||||
reapply_patch: re-apply patch
|
||||
|
||||
# Notifications
|
||||
notifications:
|
||||
# Launcher update
|
||||
|
|
|
@ -135,6 +135,17 @@ settings:
|
|||
game: folder game
|
||||
repair_game: repair game files
|
||||
|
||||
# Patch-related settings
|
||||
patch:
|
||||
title: Patch
|
||||
items:
|
||||
patch_version: 'Patch version:'
|
||||
updating_info: 'Updating patch info...'
|
||||
buttons:
|
||||
revert_patch: revert patch
|
||||
apply_patch: apply patch
|
||||
reapply_patch: re-apply patch
|
||||
|
||||
# Enhancements
|
||||
enhancements:
|
||||
title: Peningkatan
|
||||
|
@ -273,17 +284,6 @@ settings:
|
|||
add: Tambah
|
||||
delete: Hapus
|
||||
|
||||
# Patch-related settings
|
||||
patch:
|
||||
title: Patch
|
||||
items:
|
||||
patch_version: 'Patch version:'
|
||||
updating_info: 'Updating patch info...'
|
||||
buttons:
|
||||
revert_patch: revert patch
|
||||
apply_patch: apply patch
|
||||
reapply_patch: re-apply patch
|
||||
|
||||
# Notifications
|
||||
notifications:
|
||||
# Launcher update
|
||||
|
|
|
@ -134,6 +134,17 @@ settings:
|
|||
game: Cartella del gioco
|
||||
repair_game: Ripara file di gioco
|
||||
|
||||
# Patch-related settings
|
||||
patch:
|
||||
title: Patch
|
||||
items:
|
||||
patch_version: 'Patch version:'
|
||||
updating_info: 'Updating patch info...'
|
||||
buttons:
|
||||
revert_patch: revert patch
|
||||
apply_patch: apply patch
|
||||
reapply_patch: re-apply patch
|
||||
|
||||
# Enhancements
|
||||
enhancements:
|
||||
title: Miglioramenti
|
||||
|
@ -271,17 +282,6 @@ settings:
|
|||
add: Aggiungi
|
||||
delete: Rimuovi
|
||||
|
||||
# Patch-related settings
|
||||
patch:
|
||||
title: Patch
|
||||
items:
|
||||
patch_version: 'Patch version:'
|
||||
updating_info: 'Updating patch info...'
|
||||
buttons:
|
||||
revert_patch: revert patch
|
||||
apply_patch: apply patch
|
||||
reapply_patch: re-apply patch
|
||||
|
||||
# Notifications
|
||||
notifications:
|
||||
# Launcher update
|
||||
|
|
|
@ -135,6 +135,17 @@ settings:
|
|||
game: ゲームディレクトリ
|
||||
repair_game: ゲームファイルを修復
|
||||
|
||||
# Patch-related settings
|
||||
patch:
|
||||
title: Patch
|
||||
items:
|
||||
patch_version: 'Patch version:'
|
||||
updating_info: 'Updating patch info...'
|
||||
buttons:
|
||||
revert_patch: revert patch
|
||||
apply_patch: apply patch
|
||||
reapply_patch: re-apply patch
|
||||
|
||||
# Enhancements
|
||||
enhancements:
|
||||
title: 詳細設定
|
||||
|
@ -273,17 +284,6 @@ settings:
|
|||
add: 追加
|
||||
delete: 削除
|
||||
|
||||
# Patch-related settings
|
||||
patch:
|
||||
title: Patch
|
||||
items:
|
||||
patch_version: 'Patch version:'
|
||||
updating_info: 'Updating patch info...'
|
||||
buttons:
|
||||
revert_patch: revert patch
|
||||
apply_patch: apply patch
|
||||
reapply_patch: re-apply patch
|
||||
|
||||
# Notifications
|
||||
notifications:
|
||||
# Launcher update
|
||||
|
|
|
@ -135,6 +135,17 @@ settings:
|
|||
game: spill mappe
|
||||
repair_game: reparer spillfiler
|
||||
|
||||
# Patch-related settings
|
||||
patch:
|
||||
title: Patch
|
||||
items:
|
||||
patch_version: 'Patch version:'
|
||||
updating_info: 'Updating patch info...'
|
||||
buttons:
|
||||
revert_patch: revert patch
|
||||
apply_patch: apply patch
|
||||
reapply_patch: re-apply patch
|
||||
|
||||
# Enhancements
|
||||
enhancements:
|
||||
title: Forbedringer
|
||||
|
@ -273,17 +284,6 @@ settings:
|
|||
add: Legg til
|
||||
delete: Fjern
|
||||
|
||||
# Patch-related settings
|
||||
patch:
|
||||
title: Patch
|
||||
items:
|
||||
patch_version: 'Patch version:'
|
||||
updating_info: 'Updating patch info...'
|
||||
buttons:
|
||||
revert_patch: revert patch
|
||||
apply_patch: apply patch
|
||||
reapply_patch: re-apply patch
|
||||
|
||||
# Notifications
|
||||
notifications:
|
||||
# Launcher update
|
||||
|
|
|
@ -34,7 +34,7 @@ launcher:
|
|||
downloading: Скачивание звукового пакета {voice}...
|
||||
unpacking: Распаковка звукового пакета {voice}...
|
||||
|
||||
# Launcher states
|
||||
# Состояния лаунчера
|
||||
states:
|
||||
# Когда игра должна быть установлена или обновлена
|
||||
installation:
|
||||
|
@ -127,7 +127,7 @@ settings:
|
|||
in-game: Текст в игре
|
||||
selectIcon: Выберите иконку
|
||||
|
||||
# Some buttons
|
||||
# Всякие кнопки
|
||||
buttons:
|
||||
winetricks: winetricks
|
||||
winecfg: winecfg
|
||||
|
@ -135,11 +135,22 @@ settings:
|
|||
game: папка игры
|
||||
repair_game: исправить файлы игры
|
||||
|
||||
# Настроки патча
|
||||
patch:
|
||||
title: Патч
|
||||
items:
|
||||
patch_version: 'Версия патча:'
|
||||
updating_info: 'Обновление информации о патче...'
|
||||
buttons:
|
||||
revert_patch: отменить патч
|
||||
apply_patch: применить патч
|
||||
reapply_patch: переприменить патч
|
||||
|
||||
# Улучшения
|
||||
enhancements:
|
||||
title: Улучшения
|
||||
|
||||
# Enhancements related to the wine
|
||||
# Улучшения, связанные с Wine
|
||||
wine:
|
||||
title: Wine
|
||||
items:
|
||||
|
@ -177,7 +188,7 @@ settings:
|
|||
width: Ширина
|
||||
height: Высота
|
||||
|
||||
# Enhancements related to the game
|
||||
# Улучшения, связанные с игрой
|
||||
game:
|
||||
title: Игра
|
||||
items:
|
||||
|
@ -204,7 +215,7 @@ settings:
|
|||
title: Использовать терминал
|
||||
tooltip: С этой опцией лаунчер будет запускать команду wine в отдельном окне терминала
|
||||
|
||||
# Enhancements related to the launcher
|
||||
# Улучшения, связанные с лаунчером
|
||||
launcher:
|
||||
title: Лаунчер
|
||||
items:
|
||||
|
@ -272,17 +283,6 @@ settings:
|
|||
add: Добавить
|
||||
delete: Удалить
|
||||
|
||||
# Настроки патча
|
||||
patch:
|
||||
title: Патч
|
||||
items:
|
||||
patch_version: 'Версия патча:'
|
||||
updating_info: 'Обновление информации о патче...'
|
||||
buttons:
|
||||
revert_patch: отменить патч
|
||||
apply_patch: применить патч
|
||||
reapply_patch: переприменить патч
|
||||
|
||||
# Уведомления
|
||||
notifications:
|
||||
# Обновление лаунчера
|
||||
|
@ -339,7 +339,7 @@ tos_violation:
|
|||
cancel: Отменить
|
||||
discord: Наш Discord сервер
|
||||
|
||||
# Analytics window
|
||||
# Окно аналитики
|
||||
analytics:
|
||||
title: Просьба Янь Фэй...
|
||||
header: Примите участие в анонимном сборе данных
|
||||
|
|
|
@ -135,6 +135,17 @@ settings:
|
|||
game: game f-fowdew
|
||||
repair_game: wepaiw game fiwes
|
||||
|
||||
# Patch-related settings
|
||||
patch:
|
||||
title: patch
|
||||
items:
|
||||
patch_version: 'patch vewsion:'
|
||||
updating_info: 'updating patch info...'
|
||||
buttons:
|
||||
revert_patch: wevewt patch
|
||||
apply_patch: appwy patch
|
||||
reapply_patch: we-appwy patch
|
||||
|
||||
# Enhancements
|
||||
enhancements:
|
||||
title: enhancements
|
||||
|
@ -272,17 +283,6 @@ settings:
|
|||
add: add
|
||||
delete: dewete
|
||||
|
||||
# Patch-related settings
|
||||
patch:
|
||||
title: patch
|
||||
items:
|
||||
patch_version: 'patch vewsion:'
|
||||
updating_info: 'updating patch info...'
|
||||
buttons:
|
||||
revert_patch: wevewt patch
|
||||
apply_patch: appwy patch
|
||||
reapply_patch: we-appwy patch
|
||||
|
||||
# Notifications
|
||||
notifications:
|
||||
# Launcher update
|
||||
|
|
|
@ -135,6 +135,17 @@ settings:
|
|||
game: 游戏文件夹
|
||||
repair_game: 修复游戏文件
|
||||
|
||||
# Patch-related settings
|
||||
patch:
|
||||
title: Patch
|
||||
items:
|
||||
patch_version: 'Patch version:'
|
||||
updating_info: 'Updating patch info...'
|
||||
buttons:
|
||||
revert_patch: revert patch
|
||||
apply_patch: apply patch
|
||||
reapply_patch: re-apply patch
|
||||
|
||||
# Enhancements
|
||||
enhancements:
|
||||
title: 增强功能
|
||||
|
@ -273,17 +284,6 @@ settings:
|
|||
add: 添加
|
||||
delete: 删除
|
||||
|
||||
# Patch-related settings
|
||||
patch:
|
||||
title: Patch
|
||||
items:
|
||||
patch_version: 'Patch version:'
|
||||
updating_info: 'Updating patch info...'
|
||||
buttons:
|
||||
revert_patch: revert patch
|
||||
apply_patch: apply patch
|
||||
reapply_patch: re-apply patch
|
||||
|
||||
# Notifications
|
||||
notifications:
|
||||
# Launcher update
|
||||
|
|
|
@ -89,7 +89,7 @@
|
|||
&:hover
|
||||
background: #e5e9f0
|
||||
|
||||
.settings-item#patch
|
||||
.settings-item#general > .patch
|
||||
.patch-version
|
||||
font-size: 18px
|
||||
|
||||
|
|
|
@ -204,7 +204,7 @@
|
|||
{#if typeof $locale === 'string'}
|
||||
<main>
|
||||
<div class="menu">
|
||||
{#each ['general', 'enhancements', 'runners', 'dxvks', 'shaders', 'environment', 'patch'] as item}
|
||||
{#each ['general', 'enhancements', 'runners', 'dxvks', 'shaders', 'environment'] as item}
|
||||
<div
|
||||
class="menu-item"
|
||||
class:menu-item-active={selectedItem === item}
|
||||
|
@ -318,6 +318,74 @@
|
|||
}}
|
||||
/>
|
||||
</div>
|
||||
|
||||
<div class="patch">
|
||||
<h3>{$_('settings.general.items.patch.title')}</h3>
|
||||
|
||||
{#if patchInfo !== null}
|
||||
<div class="patch-version">
|
||||
{$_('settings.general.items.patch.items.patch_version')}
|
||||
|
||||
<span class:warning={!patchInfo.applied}>
|
||||
{ `${patchInfo.version} ${patchInfo.state}` }
|
||||
</span>
|
||||
</div>
|
||||
|
||||
<div style="margin-top: 24px">
|
||||
{#if patchInfo.applied}
|
||||
<!-- svelte-ignore missing-declaration -->
|
||||
<Button
|
||||
lang="settings.general.items.patch.items.buttons.revert_patch"
|
||||
click={async () => {
|
||||
if (patchInfo)
|
||||
{
|
||||
const prevPatchInfo = patchInfo;
|
||||
|
||||
patchInfo = null;
|
||||
|
||||
patchInfo = await Patch.revert(prevPatchInfo) ?
|
||||
await Patch.latest : prevPatchInfo;
|
||||
}
|
||||
}}
|
||||
/>
|
||||
|
||||
<!-- svelte-ignore missing-declaration -->
|
||||
<Button
|
||||
lang="settings.general.items.patch.items.buttons.reapply_patch"
|
||||
click={async () => {
|
||||
if (patchInfo)
|
||||
{
|
||||
const prevPatchInfo = patchInfo;
|
||||
|
||||
patchInfo = null;
|
||||
|
||||
if (await Patch.revert(prevPatchInfo))
|
||||
{
|
||||
await IPC.write('update-state');
|
||||
|
||||
Neutralino.app.exit();
|
||||
}
|
||||
|
||||
else patchInfo = prevPatchInfo;
|
||||
}
|
||||
}}
|
||||
/>
|
||||
{:else}
|
||||
<!-- svelte-ignore missing-declaration -->
|
||||
<Button
|
||||
lang="settings.general.items.patch.items.buttons.apply_patch"
|
||||
click={async () => {
|
||||
await IPC.write('update-state');
|
||||
|
||||
Neutralino.app.exit();
|
||||
}}
|
||||
/>
|
||||
{/if}
|
||||
</div>
|
||||
{:else}
|
||||
<p>{$_('settings.general.items.patch.items.updating_info')}</p>
|
||||
{/if}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="settings-item" id="enhancements">
|
||||
|
@ -477,74 +545,6 @@
|
|||
<EnvironmentManager />
|
||||
</div>
|
||||
|
||||
<div class="settings-item" id="patch">
|
||||
<h1>{$_('settings.patch.title')}</h1>
|
||||
|
||||
{#if patchInfo !== null}
|
||||
<div class="patch-version">
|
||||
{$_('settings.patch.items.patch_version')}
|
||||
|
||||
<span class:warning={!patchInfo.applied}>
|
||||
{ `${patchInfo.version} ${patchInfo.state}` }
|
||||
</span>
|
||||
</div>
|
||||
|
||||
<div style="margin-top: 24px">
|
||||
{#if patchInfo.applied}
|
||||
<!-- svelte-ignore missing-declaration -->
|
||||
<Button
|
||||
lang="settings.patch.items.buttons.revert_patch"
|
||||
click={async () => {
|
||||
if (patchInfo)
|
||||
{
|
||||
const prevPatchInfo = patchInfo;
|
||||
|
||||
patchInfo = null;
|
||||
|
||||
patchInfo = await Patch.revert(prevPatchInfo) ?
|
||||
await Patch.latest : prevPatchInfo;
|
||||
}
|
||||
}}
|
||||
/>
|
||||
|
||||
<!-- svelte-ignore missing-declaration -->
|
||||
<Button
|
||||
lang="settings.patch.items.buttons.reapply_patch"
|
||||
click={async () => {
|
||||
if (patchInfo)
|
||||
{
|
||||
const prevPatchInfo = patchInfo;
|
||||
|
||||
patchInfo = null;
|
||||
|
||||
if (await Patch.revert(prevPatchInfo))
|
||||
{
|
||||
await IPC.write('update-state');
|
||||
|
||||
Neutralino.app.exit();
|
||||
}
|
||||
|
||||
else patchInfo = prevPatchInfo;
|
||||
}
|
||||
}}
|
||||
/>
|
||||
{:else}
|
||||
<!-- svelte-ignore missing-declaration -->
|
||||
<Button
|
||||
lang="settings.patch.items.buttons.apply_patch"
|
||||
click={async () => {
|
||||
await IPC.write('update-state');
|
||||
|
||||
Neutralino.app.exit();
|
||||
}}
|
||||
/>
|
||||
{/if}
|
||||
</div>
|
||||
{:else}
|
||||
<p>Updating patch info...</p>
|
||||
{/if}
|
||||
</div>
|
||||
|
||||
<div class="settings-footer">
|
||||
<span>An Anime Game Launcher {Launcher.version}</span>
|
||||
|
||||
|
|
Loading…
Reference in a new issue