1.8.0 preparations (2)

- updated readme
- added locales pattern to prefix dir buttons
This commit is contained in:
Observer KRypt0n_ 2021-11-29 18:30:35 +02:00
parent c4d7e33262
commit 22e26634d3
No known key found for this signature in database
GPG key ID: DC5D4EC1303465DA
18 changed files with 37 additions and 11 deletions

View file

@ -30,11 +30,11 @@ This launcher is also available as the [an-anime-game-launcher](https://aur.arch
## Usage statistics
### 2.2.0
### 2.2.0 — 29 total
<img src="repository-pics/stats/2.2.0.png">
### 2.3.0
### 2.3.0 — 27 total
<img src="repository-pics/stats/2.3.0.png">
@ -133,8 +133,8 @@ npm start
* <s>Add dark theme support for settings menu</s> *(1.7.0)*
* Add winetricks and winecfg buttons to settings ([notabug issue 35](https://notabug.org/nobody/an-anime-game-launcher/issues/35))
* Use `LauncherLib.getGameVersion` function instead of the `config.json`'s `version` property
* Fix button flickering at start when the launcher's state updates
* Wine prefix folder selection *(symlinks?)* ([notabug issue 37](https://notabug.org/nobody/an-anime-game-launcher/issues/37))
* Fix button flickering at start when the launcher's state updates
* Game's update pre-installation
* Screenshots explorer
* Make force launch button when the launcher's repository is unavailable *(waiting for the repository's unavailability lmao)*

View file

@ -138,11 +138,11 @@
<input readonly>
<div>
<button class="button hint--top hint--small" data-hint="Select dir" id="choose-location">
<button class="button hint--top hint--small" id="choose-location">
<svg width="21px" height="21px" viewBox="0 0 21 21" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" transform="translate(3 4)"><path d="m.5 1.5v9c0 1.1045695.8954305 2 2 2h10c1.1045695 0 2-.8954305 2-2v-6.00280762c.0007656-1.05436179-.8150774-1.91816512-1.8499357-1.99451426l-.1500643-.00468356-5 .00200544-2-2h-4c-.55228475 0-1 .44771525-1 1z"/><path d="m.5 2.5h7"/></g></svg>
</button>
<button class="button hint--top hint--small" data-hint="Reset dir" id="reset-location">
<button class="button hint--top hint--small" id="reset-location">
<svg width="15px" height="15px" viewBox="0 0 15 15" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M4.85355 2.14645C5.04882 2.34171 5.04882 2.65829 4.85355 2.85355L3.70711 4H9C11.4853 4 13.5 6.01472 13.5 8.5C13.5 10.9853 11.4853 13 9 13H5C4.72386 13 4.5 12.7761 4.5 12.5C4.5 12.2239 4.72386 12 5 12H9C10.933 12 12.5 10.433 12.5 8.5C12.5 6.567 10.933 5 9 5H3.70711L4.85355 6.14645C5.04882 6.34171 5.04882 6.65829 4.85355 6.85355C4.65829 7.04882 4.34171 7.04882 4.14645 6.85355L2.14645 4.85355C1.95118 4.65829 1.95118 4.34171 2.14645 4.14645L4.14645 2.14645C4.34171 1.95118 4.65829 1.95118 4.85355 2.14645Z" fill="currentColor"/></svg>
</button>
</div>

View file

@ -22,6 +22,8 @@
"RecommendableOnly": "Show recommendable versions",
"LauncherFolder": "launcher folder",
"Prefix": "Prefix",
"SelectDir": "Select dir",
"ResetDir": "Reset dir",
"Author": "Autor",
"NoImages": "Bilder sind nicht verfügbar",
"SettingsTitle": "Einstellungen",

View file

@ -22,6 +22,8 @@
"RecommendableOnly": "Show recommendable versions",
"LauncherFolder": "launcher folder",
"Prefix": "Prefix",
"SelectDir": "Select dir",
"ResetDir": "Reset dir",
"Author": "Author",
"NoImages": "No images added",
"SettingsTitle": "Settings",

View file

@ -22,6 +22,8 @@
"RecommendableOnly": "Show recommendable versions",
"LauncherFolder": "launcher folder",
"Prefix": "Prefix",
"SelectDir": "Select dir",
"ResetDir": "Reset dir",
"Author": "Author",
"NoImages": "No images added",
"SettingsTitle": "Settings",

View file

@ -22,6 +22,8 @@
"RecommendableOnly": "Show recommendable versions",
"LauncherFolder": "launcher folder",
"Prefix": "Prefix",
"SelectDir": "Select dir",
"ResetDir": "Reset dir",
"Author": "Author",
"NoImages": "No images added",
"SettingsTitle": "Settings",

View file

@ -22,6 +22,8 @@
"RecommendableOnly": "Show recommendable versions",
"LauncherFolder": "launcher folder",
"Prefix": "Prefix",
"SelectDir": "Select dir",
"ResetDir": "Reset dir",
"Author": "Author",
"NoImages": "No images added",
"SettingsTitle": "Settings",

View file

@ -22,6 +22,8 @@
"RecommendableOnly": "Show recommendable versions",
"LauncherFolder": "launcher folder",
"Prefix": "Prefix",
"SelectDir": "Select dir",
"ResetDir": "Reset dir",
"Author": "Pembuat",
"NoImages": "Tidak ada gambar ditambahkan",
"SettingsTitle": "Pengaturan",

View file

@ -22,6 +22,8 @@
"RecommendableOnly": "Show recommendable versions",
"LauncherFolder": "launcher folder",
"Prefix": "Prefix",
"SelectDir": "Select dir",
"ResetDir": "Reset dir",
"Author": "著者",
"NoImages": "画像は追加されていません",
"SettingsTitle": "設定",

View file

@ -22,6 +22,8 @@
"RecommendableOnly": "Show recommendable versions",
"LauncherFolder": "launcher folder",
"Prefix": "Prefix",
"SelectDir": "Select dir",
"ResetDir": "Reset dir",
"Author": "저자",
"NoImages": "추가 된 이미지 없음",
"SettingsTitle": "설정",

View file

@ -22,6 +22,8 @@
"RecommendableOnly": "Show recommendable versions",
"LauncherFolder": "launcher folder",
"Prefix": "Prefix",
"SelectDir": "Select dir",
"ResetDir": "Reset dir",
"Author": "Author",
"NoImages": "No images added",
"SettingsTitle": "Settings",

View file

@ -22,6 +22,8 @@
"RecommendableOnly": "Отображать только рекомендуемые",
"LauncherFolder": "Папка лаунчера",
"Prefix": "Префикс",
"SelectDir": "Выбрать папку",
"ResetDir": "Восстановить по умолчанию",
"Author": "Автор",
"NoImages": "Изображения не добавлены",
"SettingsTitle": "Настройки",

View file

@ -22,6 +22,8 @@
"RecommendableOnly": "Show recommendable versions",
"LauncherFolder": "launcher folder",
"Prefix": "Prefix",
"SelectDir": "Select dir",
"ResetDir": "Reset dir",
"Author": "Author",
"NoImages": "No images added",
"SettingsTitle": "Settings",

View file

@ -22,6 +22,8 @@
"RecommendableOnly": "Show recommendable versions",
"LauncherFolder": "launcher folder",
"Prefix": "Prefix",
"SelectDir": "Select dir",
"ResetDir": "Reset dir",
"Author": "Author",
"NoImages": "No images added",
"SettingsTitle": "Settings",

View file

@ -22,6 +22,8 @@
"RecommendableOnly": "Show recommendable versions",
"LauncherFolder": "launcher folder",
"Prefix": "Prefix",
"SelectDir": "Select dir",
"ResetDir": "Reset dir",
"Author": "Author",
"NoImages": "No images added",
"SettingsTitle": "设置",

View file

@ -22,6 +22,8 @@
"RecommendableOnly": "Show recommendable versions",
"LauncherFolder": "launcher folder",
"Prefix": "Prefix",
"SelectDir": "Select dir",
"ResetDir": "Reset dir",
"Author": "Author",
"NoImages": "No images added",
"SettingsTitle": "設定",

Binary file not shown.

Before

Width:  |  Height:  |  Size: 62 KiB

After

Width:  |  Height:  |  Size: 60 KiB

View file

@ -64,13 +64,11 @@ $(() => {
$('#prefix input').val(constants.prefixDir.get());
});
$('#prefix #choose-location').on('click', () => {
ipcRenderer.send('prefix-select');
});
$('#prefix #choose-location').on('click', () => ipcRenderer.send('prefix-select'));
$('#prefix #reset-location').on('click', () => ipcRenderer.send('prefix-reset'));
$('#prefix #reset-location').on('click', () => {
ipcRenderer.send('prefix-reset');
});
$('#prefix #choose-location').attr('data-hint', LauncherUI.i18n.translate('SelectDir'));
$('#prefix #reset-location').attr('data-hint', LauncherUI.i18n.translate('ResetDir'));
/**
* Game voice language