From bf250eff3a9cb15ea4b013c983c4750eb77b7b50 Mon Sep 17 00:00:00 2001 From: mtkennerly Date: Wed, 31 Aug 2022 16:29:07 +0800 Subject: [PATCH] Release v0.12.1 --- CHANGELOG.md | 2 +- CONTRIBUTING.md | 10 +++++++++- Cargo.lock | 2 +- Cargo.toml | 2 +- ...com.github.mtkennerly.ludusavi.metainfo.xml | 3 ++- lang/ar-SA.ftl | 2 ++ lang/de-DE.ftl | 2 ++ lang/eo-UY.ftl | 2 ++ lang/es-ES.ftl | 2 ++ lang/fil-PH.ftl | 2 ++ lang/it-IT.ftl | 2 ++ lang/ko-KR.ftl | 2 ++ lang/pl-PL.ftl | 2 ++ lang/pt-BR.ftl | 6 ++++-- lang/zh-CN.ftl | 2 ++ src/lang.rs | 18 +++++++++--------- 16 files changed, 45 insertions(+), 16 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8251c0be..a46c7663 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,4 @@ -## Unreleased +## v0.12.1 (2022-08-31) * Fixed: * Updated translations, including new ones for Esperanto and (experimentally) Korean. diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index b4cde382..4402b2e7 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -60,9 +60,17 @@ pip install aiohttp toml Also install the Crowdin CLI manually. -#### Prepare +#### Automated Run: ```bash invoke prerelease ``` + +#### Manual +* Update version in CHANGELOG.md +* Update version in Cargo.toml +* Update version in assets/com.github.mtkennerly.ludusavi.metainfo.xml + including the `releases` section and the screenshot URL. +* Update the translation percentages in src/lang.rs +* Run `cargo build` to update the version in Cargo.lock diff --git a/Cargo.lock b/Cargo.lock index 5e6687ff..61104b31 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1888,7 +1888,7 @@ dependencies = [ [[package]] name = "ludusavi" -version = "0.12.0" +version = "0.12.1" dependencies = [ "base64", "byte-unit", diff --git a/Cargo.toml b/Cargo.toml index d9a7b0e9..b9d023f8 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ludusavi" -version = "0.12.0" +version = "0.12.1" authors = ["mtkennerly "] edition = "2021" description = "Game save backup tool" diff --git a/assets/com.github.mtkennerly.ludusavi.metainfo.xml b/assets/com.github.mtkennerly.ludusavi.metainfo.xml index f7e44e8a..8d0612d7 100644 --- a/assets/com.github.mtkennerly.ludusavi.metainfo.xml +++ b/assets/com.github.mtkennerly.ludusavi.metainfo.xml @@ -23,13 +23,14 @@ - https://raw.githubusercontent.com/mtkennerly/ludusavi/v0.12.0/docs/sample-gui-linux.png + https://raw.githubusercontent.com/mtkennerly/ludusavi/v0.12.1/docs/sample-gui-linux.png Graphical user interface com.github.mtkennerly.ludusavi.desktop + diff --git a/lang/ar-SA.ftl b/lang/ar-SA.ftl index 9bd22625..cf792b89 100644 --- a/lang/ar-SA.ftl +++ b/lang/ar-SA.ftl @@ -11,6 +11,8 @@ cli-unrecognized-games = لا توجد معلومات عن هذه الألعاب cli-confirm-restoration = هل تريد الاستعادة من { $path }؟ cli-unable-to-request-confirmation = تعذر طلب التأكيد. .winpty-workaround = إذا كنت تستخدم محاكي Bash (مثل Git Bash)، فحاول تشغيل winpty. +cli-backup-id-with-multiple-games = Cannot specify backup ID when restoring multiple games. +cli-invalid-backup-id = Invalid backup ID. badge-failed = فشل badge-duplicates = النسخ المكررة badge-duplicated = النسخ المكررة diff --git a/lang/de-DE.ftl b/lang/de-DE.ftl index 380d0aaa..afbb463b 100644 --- a/lang/de-DE.ftl +++ b/lang/de-DE.ftl @@ -11,6 +11,8 @@ cli-unrecognized-games = Keine Informationen für diese Spiele: cli-confirm-restoration = Wollen Sie von { $path } wiederherstellen? cli-unable-to-request-confirmation = Bestätigung konnte nicht angefordert werden. .winpty-workaround = Wenn du einen Bash Emulator (wie Git Bash) verwendest, versuche winpty auszuführen. +cli-backup-id-with-multiple-games = Cannot specify backup ID when restoring multiple games. +cli-invalid-backup-id = Invalid backup ID. badge-failed = FEHLGESCHLAGEN badge-duplicates = DUPLIKATE badge-duplicated = DUPLIZIERT diff --git a/lang/eo-UY.ftl b/lang/eo-UY.ftl index 8a76e46a..2dc65a73 100644 --- a/lang/eo-UY.ftl +++ b/lang/eo-UY.ftl @@ -11,6 +11,8 @@ cli-unrecognized-games = Neniuj informoj pri ĉi tiuj ludoj: cli-confirm-restoration = Ĉu vi volas restarigi de { $path }? cli-unable-to-request-confirmation = Ne eblas peti konfirmon. .winpty-workaround = Se vi uzas Bash-emulilon (kiel Git Bash), provu ruli winpty. +cli-backup-id-with-multiple-games = Cannot specify backup ID when restoring multiple games. +cli-invalid-backup-id = Invalid backup ID. badge-failed = MALSUKCESIS badge-duplicates = DUPLIKAĴOJ badge-duplicated = DUPLIKITA diff --git a/lang/es-ES.ftl b/lang/es-ES.ftl index 39968e7f..f855e0d8 100644 --- a/lang/es-ES.ftl +++ b/lang/es-ES.ftl @@ -11,6 +11,8 @@ cli-unrecognized-games = No hay información para estos juegos: cli-confirm-restoration = ¿Quieres restaurar desde { $path }? cli-unable-to-request-confirmation = No se pudo solicitar confirmación. .winpty-workaround = Si estás usando un emulador de Bash (como Git Bash), intenta ejecutar winpty. +cli-backup-id-with-multiple-games = Cannot specify backup ID when restoring multiple games. +cli-invalid-backup-id = Invalid backup ID. badge-failed = FALLADO badge-duplicates = DUPLICADOS badge-duplicated = DUPLICADO diff --git a/lang/fil-PH.ftl b/lang/fil-PH.ftl index c304021a..29b87908 100644 --- a/lang/fil-PH.ftl +++ b/lang/fil-PH.ftl @@ -11,6 +11,8 @@ cli-unrecognized-games = Wala pang impormasyon para sa mga games na ito: cli-confirm-restoration = Gusto mo bang i-restore sa { $path }? cli-unable-to-request-confirmation = Hindi makahiling ng kumpirmasyon. .winpty-workaround = Pag ginagamit mo ng Bash emulator (halimbawa Git Bash), subukin mo gamitin ng winpty. +cli-backup-id-with-multiple-games = Cannot specify backup ID when restoring multiple games. +cli-invalid-backup-id = Invalid backup ID. badge-failed = BUMAGSAK badge-duplicates = KAPAREHO badge-duplicated = KINOPYA diff --git a/lang/it-IT.ftl b/lang/it-IT.ftl index 7102bd6e..cff69ab7 100644 --- a/lang/it-IT.ftl +++ b/lang/it-IT.ftl @@ -11,6 +11,8 @@ cli-unrecognized-games = Nessuna informazione per questi giochi: cli-confirm-restoration = Vuoi ripristinare da { $path }? cli-unable-to-request-confirmation = Impossibile richiedere conferma. .winpty-workaround = Se stai usando un emulatore Bash (come Git Bash), prova ad eseguire winpty. +cli-backup-id-with-multiple-games = Cannot specify backup ID when restoring multiple games. +cli-invalid-backup-id = Invalid backup ID. badge-failed = FALLITO badge-duplicates = DUPLICATI badge-duplicated = DUPLICATO diff --git a/lang/ko-KR.ftl b/lang/ko-KR.ftl index 3d1b30ac..69c7eb7f 100644 --- a/lang/ko-KR.ftl +++ b/lang/ko-KR.ftl @@ -11,6 +11,8 @@ cli-unrecognized-games = 다음 게임에 대한 정보가 없습니다: cli-confirm-restoration = { $path } 에서 복원을 시작할까요? cli-unable-to-request-confirmation = 확인을 요청할 수 없습니다. .winpty-workaround = Git Bash와 같은 Bash 에뮬레이터를 사용 중이라면, winpty를 사용해보세요. +cli-backup-id-with-multiple-games = Cannot specify backup ID when restoring multiple games. +cli-invalid-backup-id = Invalid backup ID. badge-failed = 실패 badge-duplicates = 중복됨 badge-duplicated = 복사됨 diff --git a/lang/pl-PL.ftl b/lang/pl-PL.ftl index 4052d5c8..ef4814aa 100644 --- a/lang/pl-PL.ftl +++ b/lang/pl-PL.ftl @@ -11,6 +11,8 @@ cli-unrecognized-games = Brak informacji dla tych gier: cli-confirm-restoration = Czy chcesz przywrócić z { $path }? cli-unable-to-request-confirmation = Błąd żądania potwierdzenia. .winpty-workaround = Jeśli korzystasz z emulatora Bash (takiego jak Git Bash), spróbuj uruchomić winpty. +cli-backup-id-with-multiple-games = Cannot specify backup ID when restoring multiple games. +cli-invalid-backup-id = Invalid backup ID. badge-failed = NIEPOWODZENIE badge-duplicates = DUPLIKATY badge-duplicated = ZDUPLIKOWANE diff --git a/lang/pt-BR.ftl b/lang/pt-BR.ftl index 7b571882..2592f94a 100644 --- a/lang/pt-BR.ftl +++ b/lang/pt-BR.ftl @@ -11,6 +11,8 @@ cli-unrecognized-games = Sem informações para estes jogos: cli-confirm-restoration = Você deseja restaurar a partir de { $path }? cli-unable-to-request-confirmation = Não foi possível solicitar confirmação. .winpty-workaround = Se você estiver usando um emulador Bash (como Git Bash), tente executar a winpty. +cli-backup-id-with-multiple-games = Cannot specify backup ID when restoring multiple games. +cli-invalid-backup-id = Invalid backup ID. badge-failed = FALHOU badge-duplicates = DUPLICADOS badge-duplicated = DUPLICADO @@ -26,7 +28,7 @@ button-nav-restore = MODO DE RESTAURAÇÃO button-nav-custom-games = JOGOS PERSONALIZADOS button-nav-other = OUTRO button-add-root = Adicionar raiz -button-find-roots = Find roots +button-find-roots = Encontrar origens button-add-redirect = Adicionar redirecionamento button-add-game = Adicionar jogo button-continue = Continuar @@ -65,7 +67,7 @@ field-restore-source = Restaurar de: field-custom-files = Caminhos: field-custom-registry = Registro: field-search = Pesquisar: -field-sort = Sort: +field-sort = Organizar: field-redirect-source = .placeholder = Fonte (local original) field-redirect-target = diff --git a/lang/zh-CN.ftl b/lang/zh-CN.ftl index 191ab486..bd136536 100644 --- a/lang/zh-CN.ftl +++ b/lang/zh-CN.ftl @@ -11,6 +11,8 @@ cli-unrecognized-games = 没有这些游戏的信息: cli-confirm-restoration = 您想从 { $path } 恢复吗? cli-unable-to-request-confirmation = 无法请求确认。 .winpty-workaround = 若您正在使用 Bash 模拟器(例如 Git Bash),请尝试运行 winpty。 +cli-backup-id-with-multiple-games = Cannot specify backup ID when restoring multiple games. +cli-invalid-backup-id = Invalid backup ID. badge-failed = 已失败 badge-duplicates = 复制为副本 badge-duplicated = 已复制为副本 diff --git a/src/lang.rs b/src/lang.rs index cd332a0b..6fdabdfe 100644 --- a/src/lang.rs +++ b/src/lang.rs @@ -83,17 +83,17 @@ impl Language { impl ToString for Language { fn to_string(&self) -> String { match self { - Self::Arabic => "العربية (41%)", - Self::ChineseSimplified => "中文(简体) (58%)", + Self::Arabic => "العربية (40%)", + Self::ChineseSimplified => "中文(简体) (57%)", Self::English => "English", Self::Esperanto => "Esperanto (22%)", - Self::Filipino => "Filipino (70%)", - Self::German => "Deutsch (99%)", - Self::Italian => "Italiano (99%)", - Self::Korean => "한국어 (46%)", - Self::Polish => "Polski (95%)", - Self::PortugueseBrazilian => "Português brasileiro (99%)", - Self::Spanish => "Español (93%)", + Self::Filipino => "Filipino (68%)", + Self::German => "Deutsch (96%)", + Self::Italian => "Italiano (97%)", + Self::Korean => "한국어 (45%)", + Self::Polish => "Polski (93%)", + Self::PortugueseBrazilian => "Português brasileiro (97%)", + Self::Spanish => "Español (91%)", } .to_string() }