From af226090077dac61a50658bf623e775818e52bac Mon Sep 17 00:00:00 2001 From: Observer KRypt0n_ Date: Sun, 18 Jun 2023 11:07:36 +0200 Subject: [PATCH] feat(i18n): added base English localization for new features --- assets/locales/de/general.ftl | 6 ++---- assets/locales/de/main.ftl | 1 + assets/locales/en/general.ftl | 6 ++---- assets/locales/en/main.ftl | 1 + assets/locales/es/general.ftl | 6 ++---- assets/locales/es/main.ftl | 1 + assets/locales/fr/general.ftl | 6 ++---- assets/locales/fr/main.ftl | 1 + assets/locales/hu/general.ftl | 6 ++---- assets/locales/hu/main.ftl | 1 + assets/locales/id/general.ftl | 6 ++---- assets/locales/id/main.ftl | 1 + assets/locales/it/general.ftl | 6 ++---- assets/locales/it/main.ftl | 1 + assets/locales/ja/general.ftl | 6 ++---- assets/locales/ja/main.ftl | 1 + assets/locales/ru/general.ftl | 6 ++---- assets/locales/ru/main.ftl | 1 + assets/locales/tr/general.ftl | 6 ++---- assets/locales/tr/main.ftl | 1 + assets/locales/zh-cn/general.ftl | 6 ++---- assets/locales/zh-cn/main.ftl | 1 + src/ui/main/mod.rs | 3 +-- src/ui/preferences/general/mod.rs | 4 ++-- 24 files changed, 36 insertions(+), 48 deletions(-) diff --git a/assets/locales/de/general.ftl b/assets/locales/de/general.ftl index 418d805..af273ba 100644 --- a/assets/locales/de/general.ftl +++ b/assets/locales/de/general.ftl @@ -37,9 +37,6 @@ game-outdated = Das Spiel ist zu veraltet und kann nicht mehr aktualisiert werde player-patch-version = Hauptpatch-Version player-patch-version-description = Hauptpatch, mit dem Sie das Spiel unter Linux spielen können -xlua-patch-version = zusätzliche Patch-Version -xlua-patch-version-description = Zusätzlicher Patch, der einige Probleme behebt und die Leistung auf Low-End-PCs verbessert - patch-not-available = nicht verfügbar patch-not-available-tooltip = Patch-Server sind unerreichbar @@ -55,7 +52,8 @@ patch-not-applied-tooltip = Patch ist nicht angewendet apply-main-patch = Hauptpatch Anwenden apply-main-patch-description = Experimentell. Wenn Sie diese Option deaktivieren, können Sie das Spiel ausführen, ohne den Patch anzuwenden. Dies könnte möglicherweise nicht funktionieren oder erfordert manuelle Änderungen an den Dateien. Verwenden Sie dies nur wenn Sie wissen was Sie tun. -apply-xlua-patch = Zusätzlichen Patch anwenden +disable-mhypbase = Disable mhypbase +disable-mhypbase-description = Experimental. If enabled, launcher will disable mhypbase.dll during the main patch applying, which is currently an equivalent to the xlua patch. Improves performance and reduces CPU usage ask-superuser-permissions = Superuser-Berechtigungen anfordern ask-superuser-permissions-description = Launcher benötigt Superuser-Zugriff, um Ihre Hosts-Datei automatisch zu aktualisieren. Dies ist in der Flatpak-Edition nicht erforderlich diff --git a/assets/locales/de/main.ftl b/assets/locales/de/main.ftl index c211243..65b76f5 100644 --- a/assets/locales/de/main.ftl +++ b/assets/locales/de/main.ftl @@ -55,6 +55,7 @@ launch = Starten migrate-folders = Ordner migrieren migrate-folders-tooltip = Spielordnerstruktur aktualisieren apply-patch = Patch anwenden +disable-telemetry = Disable telemetry download-wine = Wine Herunterladen create-prefix = Prefix erstellen update = Updaten diff --git a/assets/locales/en/general.ftl b/assets/locales/en/general.ftl index 1e50d80..eb27de3 100644 --- a/assets/locales/en/general.ftl +++ b/assets/locales/en/general.ftl @@ -37,9 +37,6 @@ game-outdated = Game is too outdated and can't be updated. Latest version: {$lat player-patch-version = Player patch version player-patch-version-description = Main patch that lets you play the game on Linux -xlua-patch-version = Xlua patch version -xlua-patch-version-description = Additional patch that fixes some issues and improves performance on low-end PCs - patch-not-available = not available patch-not-available-tooltip = Patch servers are unreachable @@ -55,7 +52,8 @@ patch-not-applied-tooltip = Patch is not applied apply-main-patch = Apply main patch apply-main-patch-description = Experimental. Disabling this allows you to run the game without applying the patch. This may not work, or require manual files modifications. Use if you know what you're doing -apply-xlua-patch = Apply xlua patch +disable-mhypbase = Disable mhypbase +disable-mhypbase-description = Experimental. If enabled, launcher will disable mhypbase.dll during the main patch applying, which is currently an equivalent to the xlua patch. Improves performance and reduces CPU usage ask-superuser-permissions = Ask superuser permissions ask-superuser-permissions-description = Launcher will use them to automatically update your hosts file. This is not needed in flatpak edition diff --git a/assets/locales/en/main.ftl b/assets/locales/en/main.ftl index 3d1df60..b8f89e6 100644 --- a/assets/locales/en/main.ftl +++ b/assets/locales/en/main.ftl @@ -55,6 +55,7 @@ launch = Launch migrate-folders = Migrate folders migrate-folders-tooltip = Update game folders structure apply-patch = Apply patch +disable-telemetry = Disable telemetry download-wine = Download wine create-prefix = Create prefix update = Update diff --git a/assets/locales/es/general.ftl b/assets/locales/es/general.ftl index ab3d509..df581e5 100644 --- a/assets/locales/es/general.ftl +++ b/assets/locales/es/general.ftl @@ -37,9 +37,6 @@ game-outdated = El juego está demasiado desactualizado y no puede actualizarse. player-patch-version = Versión del parche del jugador player-patch-version-description = El parche principal que te permite jugar al juego en Linux -xlua-patch-version = Versión del parche Xlua -xlua-patch-version-description = Parche adicional que arregla algunos problemas y mejora el rendimiento en PCs de gama baja - patch-not-available = No disponible patch-not-available-tooltip = Los servidores del parche no pudieron contactarse @@ -55,7 +52,8 @@ patch-not-applied-tooltip = El parche no está aplicado apply-main-patch = Aplicar parche principal apply-main-patch-description = Experimental. Deshabilitar esta opción te permitirá correr el juego sin aplicar el parche. Esto podría no funcionar, o requerir modificaciones manuales a los archivos. Úsalo sólo si sabes lo que estás haciendo -apply-xlua-patch = Aplicar parche Xlua +disable-mhypbase = Disable mhypbase +disable-mhypbase-description = Experimental. If enabled, launcher will disable mhypbase.dll during the main patch applying, which is currently an equivalent to the xlua patch. Improves performance and reduces CPU usage ask-superuser-permissions = Pedir permisos de superusuario ask-superuser-permissions-description = El launcher usará los permisos para actualizar automáticamente tu archivo hosts. Esto no es necesario en la versión de Flatpak diff --git a/assets/locales/es/main.ftl b/assets/locales/es/main.ftl index 9bdf1f5..c117f1c 100644 --- a/assets/locales/es/main.ftl +++ b/assets/locales/es/main.ftl @@ -55,6 +55,7 @@ launch = Iniciar migrate-folders = Migrar carpetas migrate-folders-tooltip = Actualizar estructura de carpetas del juego apply-patch = Aplicar parche +disable-telemetry = Disable telemetry download-wine = Descargar wine create-prefix = Crear prefijo update = Actualizar diff --git a/assets/locales/fr/general.ftl b/assets/locales/fr/general.ftl index b0c542b..482f7d0 100644 --- a/assets/locales/fr/general.ftl +++ b/assets/locales/fr/general.ftl @@ -37,9 +37,6 @@ game-outdated = La version du jeu installée est trop ancienne et ne peut pas ê player-patch-version = Player patch version player-patch-version-description = Main patch that lets you play the game on Linux -xlua-patch-version = Xlua patch version -xlua-patch-version-description = Additional patch that fixes some issues and improves performance on low-end PCs - patch-not-available = patch non disponible patch-not-available-tooltip = Impossible d'accéder aux serveurs de patch @@ -55,7 +52,8 @@ patch-not-applied-tooltip = Patch is not applied apply-main-patch = Appliquer le patch principal apply-main-patch-description = Expériment. Désactiver cette option permet de lancer le jeu sans le patch. Il n'est pas garanti que cette option marche, et des modifications manuelles seront potentiellement nécessaires. À n'utiliser que si vous savez ce que vous faites -apply-xlua-patch = Apply xlua patch +disable-mhypbase = Disable mhypbase +disable-mhypbase-description = Experimental. If enabled, launcher will disable mhypbase.dll during the main patch applying, which is currently an equivalent to the xlua patch. Improves performance and reduces CPU usage ask-superuser-permissions = Ask superuser permissions ask-superuser-permissions-description = Launcher will use them to automatically update your hosts file. This is not needed in flatpak edition diff --git a/assets/locales/fr/main.ftl b/assets/locales/fr/main.ftl index 84b3ff1..82b85b7 100644 --- a/assets/locales/fr/main.ftl +++ b/assets/locales/fr/main.ftl @@ -55,6 +55,7 @@ launch = Lancer migrate-folders = Migrate folders migrate-folders-tooltip = Update game folders structure apply-patch = Appliquer le patch +disable-telemetry = Disable telemetry download-wine = Télécharger wine create-prefix = Créer le préfix wine update = Mettre à jour diff --git a/assets/locales/hu/general.ftl b/assets/locales/hu/general.ftl index 7301bf8..ce19cb9 100644 --- a/assets/locales/hu/general.ftl +++ b/assets/locales/hu/general.ftl @@ -37,9 +37,6 @@ game-outdated = A játékverzió túl régi és nem frissíthető. Legfrissebb: player-patch-version = Játékos patch verzió player-patch-version-description = A fő patch amivel játszhatsz Linuxon -xlua-patch-version = Xlua patch verzió -xlua-patch-version-description = Extra patch ami javít pár problémán és jobb teljesítményt nyújt gyenge gépeken - patch-not-available = nem elérhető patch-not-available-tooltip = A patch szerverek nem elérhetőek @@ -55,7 +52,8 @@ patch-not-applied-tooltip = A patch nincs alkalmazva apply-main-patch = Fő patch alkalmazása apply-main-patch-description = Kísérleti opció, a kikapcsolásával futtathatod a játékot patch nélkül. Lehet hogy nem fog működni, vagy a fájlokat manuálisan kell szerkesztened, akkor kapcsold ki ha tudod mit csinálsz. -apply-xlua-patch = Xlua patch alkalmazása +disable-mhypbase = Disable mhypbase +disable-mhypbase-description = Experimental. If enabled, launcher will disable mhypbase.dll during the main patch applying, which is currently an equivalent to the xlua patch. Improves performance and reduces CPU usage ask-superuser-permissions = Superuser engedély kérése ask-superuser-permissions-description = A Launcher autómatikusan használni fogja hogy frissítse a hosts fájlodat. A Flatpak verzióhoz nem kell diff --git a/assets/locales/hu/main.ftl b/assets/locales/hu/main.ftl index a52cb36..b51f369 100644 --- a/assets/locales/hu/main.ftl +++ b/assets/locales/hu/main.ftl @@ -55,6 +55,7 @@ launch = Indítás migrate-folders = Mappák migrálása migrate-folders-tooltip = Játékmappa struktúra frissítése apply-patch = Patch alkalmazása +disable-telemetry = Disable telemetry download-wine = Wine letöltése create-prefix = Prefix létrehozása update = Frissítés diff --git a/assets/locales/id/general.ftl b/assets/locales/id/general.ftl index cf8d578..bb49cf2 100644 --- a/assets/locales/id/general.ftl +++ b/assets/locales/id/general.ftl @@ -37,9 +37,6 @@ game-outdated = Versi game terlalu lama dan tidak dapat diperbarui. Versi terbar player-patch-version = Versi patch player-patch-version-description = Patch utama yang membuat game bisa dimainkan di Linux -xlua-patch-version = Versi patch Xlua -xlua-patch-version-description = Patch tambahan yang memperbaiki beberapa isu dan meningkatkan performa di PC low-end - patch-not-available = Tidak tersedia patch-not-available-tooltip = Server patch tidak bisa dijangkau @@ -55,7 +52,8 @@ patch-not-applied-tooltip = Patch tidak diterapkan apply-main-patch = Terapkan patch utama apply-main-patch-description = Eksperimental. Menonaktifkan opsi ini akan menginzinkan Anda menjalankan game tanpa menerapkan patch. Hal ini mungkin tidak bekerja, atau membutuhkan modifikasi file secara manual. Gunakan jika Anda tahu apa yang Anda lakukan -apply-xlua-patch = Terapkan patch xlua +disable-mhypbase = Disable mhypbase +disable-mhypbase-description = Experimental. If enabled, launcher will disable mhypbase.dll during the main patch applying, which is currently an equivalent to the xlua patch. Improves performance and reduces CPU usage ask-superuser-permissions = Minta izin dari admin ask-superuser-permissions-description = Launcher akan otomatis memperbarui file hosts Anda. Opsi ini tidak diperlukan jika Anda memakai edisi flatpak diff --git a/assets/locales/id/main.ftl b/assets/locales/id/main.ftl index c875b8e..c76665a 100644 --- a/assets/locales/id/main.ftl +++ b/assets/locales/id/main.ftl @@ -55,6 +55,7 @@ launch = Luncurkan migrate-folders = Pindahkan folder migrate-folders-tooltip = Perbarui struktur folder game apply-patch = Terapkan patch +disable-telemetry = Disable telemetry download-wine = Unduh wine create-prefix = Buat prefix update = Perbarui diff --git a/assets/locales/it/general.ftl b/assets/locales/it/general.ftl index ba9ac77..37b0597 100644 --- a/assets/locales/it/general.ftl +++ b/assets/locales/it/general.ftl @@ -37,9 +37,6 @@ game-outdated = La versione del gioco è troppo vecchia e non può essere aggior player-patch-version = Versione della patch player player-patch-version-description = Patch principale che ti permette di giocare al gioco su Linux -xlua-patch-version = Versione dell patch Xlua -xlua-patch-version-description = Ulteriore patch che sistema alcuni problemi e migliora le prestazioni su PC di fascia bassa - patch-not-available = non disponibile patch-not-available-tooltip = I server delle patch sono irraggiungibili @@ -55,7 +52,8 @@ patch-not-applied-tooltip = La patch non è applicata apply-main-patch = Applica la patch principale apply-main-patch-description = Sperimentale. Disabilitandola ti permette di eseguite il gioco senza applicare la patch. Ciò potrebbe non funzionare o richiedere modifiche manuali ai file. Usala se sai cosa stai facendo -apply-xlua-patch = Applica la patch xlua +disable-mhypbase = Disable mhypbase +disable-mhypbase-description = Experimental. If enabled, launcher will disable mhypbase.dll during the main patch applying, which is currently an equivalent to the xlua patch. Improves performance and reduces CPU usage ask-superuser-permissions = Chiedi permessi di amministratore ask-superuser-permissions-description = Il launcher li userà per aggiornare automaticamente il tuo file hosts. Questo non è necessario nell'edizione flatpak diff --git a/assets/locales/it/main.ftl b/assets/locales/it/main.ftl index f5328db..27ff722 100644 --- a/assets/locales/it/main.ftl +++ b/assets/locales/it/main.ftl @@ -55,6 +55,7 @@ launch = Lancia migrate-folders = Migra cartelle migrate-folders-tooltip = Aggiorna la struttura delle cartelle del gioco apply-patch = Applica patch +disable-telemetry = Disable telemetry download-wine = Scarica wine create-prefix = Crea prefisso update = Aggiorna diff --git a/assets/locales/ja/general.ftl b/assets/locales/ja/general.ftl index c937d09..8b641ab 100644 --- a/assets/locales/ja/general.ftl +++ b/assets/locales/ja/general.ftl @@ -37,9 +37,6 @@ game-outdated = ゲームが非常に古いためアップデートできませ player-patch-version = プレイヤーのパッチバージョン player-patch-version-description = Linuxでプレイするためのメインのパッチです。 -xlua-patch-version = Xlua のパッチバージョン -xlua-patch-version-description = これは追加のパッチで、低スペックなPCのパフォーマンスの改善や、いくつかの細かい問題点を修正できます。 - patch-not-available = ありません。 patch-not-available-tooltip = パッチサーバーに接続できませんでした。 @@ -55,7 +52,8 @@ patch-not-applied-tooltip = パッチが適用されませんでした。 apply-main-patch = メインパッチを適用 apply-main-patch-description = 実験的です。これを無効にするとパッチ無しでゲームを起動することができます。これが機能しない場合、手動でパッチを適用する必要があります。これが何を意味するのかを理解できない人は無効にするべきではないでしょう。 -apply-xlua-patch = xluaパッチを適用する +disable-mhypbase = Disable mhypbase +disable-mhypbase-description = Experimental. If enabled, launcher will disable mhypbase.dll during the main patch applying, which is currently an equivalent to the xlua patch. Improves performance and reduces CPU usage ask-superuser-permissions = スーパーユーザーを尋ねる。 ask-superuser-permissions-description = あなたのホストのファイルを自動更新するために、 これらを利用します。flatpak版では必要ありません。 diff --git a/assets/locales/ja/main.ftl b/assets/locales/ja/main.ftl index 02920a4..f1aae53 100644 --- a/assets/locales/ja/main.ftl +++ b/assets/locales/ja/main.ftl @@ -55,6 +55,7 @@ launch = 起動 migrate-folders = 移行ファイル migrate-folders-tooltip = ゲームフォルダ構成を更新 apply-patch = パッチを適用する +disable-telemetry = Disable telemetry download-wine = ワインをダウンロード create-prefix = プレフィックスを作成 update = 更新 diff --git a/assets/locales/ru/general.ftl b/assets/locales/ru/general.ftl index ef7f6ed..cabf9e6 100644 --- a/assets/locales/ru/general.ftl +++ b/assets/locales/ru/general.ftl @@ -37,9 +37,6 @@ game-outdated = Версия игры слишком устаревшая и н player-patch-version = Версия основного патча player-patch-version-description = Основной патч, позволяющий вам играть в игру на линуксе -xlua-patch-version = Версия патча xlua -xlua-patch-version-description = Дополнительный патч, устраняющий некоторые проблемы и улучшающий производительность на слабых ПК - patch-not-available = недоступен patch-not-available-tooltip = Серверы патча недоступны @@ -55,7 +52,8 @@ patch-not-applied-tooltip = Патч не применен apply-main-patch = Применять основной патч apply-main-patch-description = Экспериментально. Отключение опции позволяет запускать игру без применения патча. Это может не работать или требовать ручного изменения файлов. Используйте если знаете что делаете -apply-xlua-patch = Применять патч xlua +disable-mhypbase = Disable mhypbase +disable-mhypbase-description = Experimental. If enabled, launcher will disable mhypbase.dll during the main patch applying, which is currently an equivalent to the xlua patch. Improves performance and reduces CPU usage ask-superuser-permissions = Запрашивать права суперпользователя ask-superuser-permissions-description = Лаунчер будет использовать их чтобы автоматически обновлять ваш hosts файл. Это не требуется при использовании flatpak diff --git a/assets/locales/ru/main.ftl b/assets/locales/ru/main.ftl index 373f5d9..0acffdd 100644 --- a/assets/locales/ru/main.ftl +++ b/assets/locales/ru/main.ftl @@ -61,6 +61,7 @@ launch = Запустить migrate-folders = Переместить папки migrate-folders-tooltip = Обновить структуру файлов игры apply-patch = Применить патч +disable-telemetry = Disable telemetry download-wine = Установить Wine create-prefix = Создать префикс update = Обновить diff --git a/assets/locales/tr/general.ftl b/assets/locales/tr/general.ftl index 3ef302c..2faa826 100644 --- a/assets/locales/tr/general.ftl +++ b/assets/locales/tr/general.ftl @@ -37,9 +37,6 @@ game-outdated = Oyun çok eski, bu yüzden güncellenemez. En son sürüm: {$lat player-patch-version = Ana yama versiyonu player-patch-version-description = Oyunu Linux'ta oynamanıza izin veren ana yama -xlua-patch-version = Xlua yama versiyonu -xlua-patch-version-description = Eski bilgisayarlarda performansı arttıran ve birkaç sorunu düzelten ekstra yama - patch-not-available = Mevcut değil patch-not-available-tooltip = Yama sunucularına erişilemiyor @@ -55,7 +52,8 @@ patch-not-applied-tooltip = Yama uygulanmamış apply-main-patch = Ana yamayı uygula apply-main-patch-description = Deneysel. Bunu devre dışı bırakmak yamayı uygulamadan oyunu çalıştırmanızı sağlar. Bu çalışmayabilir, ya da elle dosyaları değiştirmeyi gerektirebilir. Ne yaptığınızı biliyorsanız kullanın. -apply-xlua-patch = Xlua yamasını uygula +disable-mhypbase = Disable mhypbase +disable-mhypbase-description = Experimental. If enabled, launcher will disable mhypbase.dll during the main patch applying, which is currently an equivalent to the xlua patch. Improves performance and reduces CPU usage ask-superuser-permissions = Yönetici izinlerini sor ask-superuser-permissions-description = İstemci yönetici iznini hostunuzun dosyalarını güncellemek için otomatik olarak kullanacaktır. Buna flatpak versiyonunda gerek yoktur diff --git a/assets/locales/tr/main.ftl b/assets/locales/tr/main.ftl index b478277..f68c7f3 100644 --- a/assets/locales/tr/main.ftl +++ b/assets/locales/tr/main.ftl @@ -55,6 +55,7 @@ launch = Çalıştır migrate-folders = Dosyaları aktar migrate-folders-tooltip = Oyun dosyaları yapısını güncelle apply-patch = Yamayı uygula +disable-telemetry = Disable telemetry download-wine = Wine indir create-prefix = Prefix oluştur update = Güncelle diff --git a/assets/locales/zh-cn/general.ftl b/assets/locales/zh-cn/general.ftl index e162ced..1403c48 100644 --- a/assets/locales/zh-cn/general.ftl +++ b/assets/locales/zh-cn/general.ftl @@ -37,9 +37,6 @@ game-outdated = 游戏版本过旧,无法更新。最新版本: {$latest} player-patch-version = 主补丁版本 player-patch-version-description = UnitPlayer.dll 的补丁,在 Linux 上运行游戏必备 -xlua-patch-version = xLua 补丁版本 -xlua-patch-version-description = 额外的补丁,用于修复某些问题以及改善低端 PC 的游戏性能 - patch-not-available = 不可用 patch-not-available-tooltip = 无法连接补丁服务器 @@ -55,7 +52,8 @@ patch-not-applied-tooltip = 补丁未应用 apply-main-patch = Apply main patch apply-main-patch-description = Experimental. Disabling this allows you to run the game without applying the patch. This may not work, or require manual files modifications. Use if you know what you're doing -apply-xlua-patch = 应用 xLua 补丁 +disable-mhypbase = Disable mhypbase +disable-mhypbase-description = Experimental. If enabled, launcher will disable mhypbase.dll during the main patch applying, which is currently an equivalent to the xlua patch. Improves performance and reduces CPU usage ask-superuser-permissions = 请求超级用户权限 ask-superuser-permissions-description = 启动器需要超级用户权限来修改 hosts 文件。flatpak 版无需此权限 diff --git a/assets/locales/zh-cn/main.ftl b/assets/locales/zh-cn/main.ftl index cea7d89..3543967 100644 --- a/assets/locales/zh-cn/main.ftl +++ b/assets/locales/zh-cn/main.ftl @@ -55,6 +55,7 @@ launch = 启动 migrate-folders = 迁移目录 migrate-folders-tooltip = 更新游戏目录结构 apply-patch = 安装补丁 +disable-telemetry = Disable telemetry download-wine = 下载 Wine create-prefix = 创建 Wine prefix update = 更新 diff --git a/src/ui/main/mod.rs b/src/ui/main/mod.rs index 19cd901..6f2b9fe 100644 --- a/src/ui/main/mod.rs +++ b/src/ui/main/mod.rs @@ -410,8 +410,7 @@ impl SimpleComponent for App { Some(LauncherState::FolderMigrationRequired { .. }) => tr("migrate-folders"), Some(LauncherState::PlayerPatchAvailable { .. }) => tr("apply-patch"), - // TODO: add localization - Some(LauncherState::TelemetryNotDisabled) => String::from("Disable telemetry"), + Some(LauncherState::TelemetryNotDisabled) => tr("disable-telemetry"), Some(LauncherState::WineNotInstalled) => tr("download-wine"), Some(LauncherState::PrefixNotExists) => tr("create-prefix"), diff --git a/src/ui/preferences/general/mod.rs b/src/ui/preferences/general/mod.rs index b8252fa..f7f369d 100644 --- a/src/ui/preferences/general/mod.rs +++ b/src/ui/preferences/general/mod.rs @@ -528,8 +528,8 @@ impl SimpleAsyncComponent for GeneralApp { }, adw::ActionRow { - set_title: "Disable mhypbase", // TODO: add localization - set_subtitle: "Experimental. If enabled, launcher will disable mhypbase.dll during the main patch applying, which is currently an equivalent to the xlua patch. Improves performance and reduces CPU usage", + set_title: &tr("disable-mhypbase"), + set_subtitle: &tr("disable-mhypbase-description"), add_suffix = >k::Switch { set_valign: gtk::Align::Center,