From 11b087c9677a74fb3d6aaf4717e412ebbc7f9000 Mon Sep 17 00:00:00 2001 From: Observer KRypt0n_ Date: Sat, 10 Jun 2023 12:41:28 +0200 Subject: [PATCH] feat(i18n): added Hungarian --- CHANGELOG.md | 1 + assets/locales/common.ftl | 1 + assets/locales/hu/components.ftl | 20 +++++++++ assets/locales/hu/enhancements.ftl | 63 ++++++++++++++++++++++++++ assets/locales/hu/environment.ftl | 7 +++ assets/locales/hu/errors.ftl | 60 +++++++++++++++++++++++++ assets/locales/hu/first_run.ftl | 65 +++++++++++++++++++++++++++ assets/locales/hu/game.ftl | 7 +++ assets/locales/hu/gamescope.ftl | 13 ++++++ assets/locales/hu/general.ftl | 71 ++++++++++++++++++++++++++++++ assets/locales/hu/main.ftl | 70 +++++++++++++++++++++++++++++ assets/locales/hu/sandbox.ftl | 28 ++++++++++++ src/i18n.rs | 3 +- src/ui/about.rs | 4 +- 14 files changed, 411 insertions(+), 2 deletions(-) create mode 100644 assets/locales/hu/components.ftl create mode 100644 assets/locales/hu/enhancements.ftl create mode 100644 assets/locales/hu/environment.ftl create mode 100644 assets/locales/hu/errors.ftl create mode 100644 assets/locales/hu/first_run.ftl create mode 100644 assets/locales/hu/game.ftl create mode 100644 assets/locales/hu/gamescope.ftl create mode 100644 assets/locales/hu/general.ftl create mode 100644 assets/locales/hu/main.ftl create mode 100644 assets/locales/hu/sandbox.ftl diff --git a/CHANGELOG.md b/CHANGELOG.md index 20d00ca..44330a7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Added Discord RPC icon selection - Added Japanese +- Added Hungarian ### Fixed diff --git a/assets/locales/common.ftl b/assets/locales/common.ftl index 442ab4a..7ca100e 100644 --- a/assets/locales/common.ftl +++ b/assets/locales/common.ftl @@ -24,3 +24,4 @@ it-it = Italiano id-id = Indonesia zh-cn = 简体中文 ja-jp = 日本語 +hu-hu = Magyar diff --git a/assets/locales/hu/components.ftl b/assets/locales/hu/components.ftl new file mode 100644 index 0000000..5d65541 --- /dev/null +++ b/assets/locales/hu/components.ftl @@ -0,0 +1,20 @@ +components = Komponensek +components-description = A Wine és DXVK verzióid beállításai + +selected-version = Kiválasztott verzió +recommended-only = Csak ajánlott + +wine-version = Wine verzió +wine-recommended-description = Csak ajánlott wine verziók mutatása + +wine-options = Wine beállítások + +wine-use-shared-libraries = Wine megosztott könyvtárak használata +wine-use-shared-libraries-description = LD_LIBRARY_PATH változó megadása, ezzel lehet a rendszerkönyvtárakat betölteni a választott wine verzióból + +gstreamer-use-shared-libraries = Gstreamer megosztott könyvtárak használata +gstreamer-use-shared-libraries-description = GST_PLUGIN_PATH változó megadása, ezzel lehet a gstreamer könyvtárakat betölteni a választott wine verzióból + +dxvk-version = DXVK verzió +dxvk-selection-disabled = DXVK selection is disabled by your wine group preferences +dxvk-recommended-description = Csak ajánlott dxvk verziók mutatása diff --git a/assets/locales/hu/enhancements.ftl b/assets/locales/hu/enhancements.ftl new file mode 100644 index 0000000..319eccd --- /dev/null +++ b/assets/locales/hu/enhancements.ftl @@ -0,0 +1,63 @@ +game-settings-description = Játékbeállítások és fiókmenet beállítása +sandbox-settings-description = Játék futtatása egy 'bubblewrap sandbox'-ban, hasonló ahhoz amit a Flatpak csinál +environment-settings-description = Környezeti változók és játékindítási parancsok megadása + +wine = Wine + +synchronization = Szinkronizáció +wine-sync-description = Belső wine event-ek szinkronizálására használt + +language = Nyelv +wine-lang-description = Wine-on belül használt nyelv. Billentyűkiosztás problémákat megoldhat +system = Rendszer + +borderless-window = Kerettelen ablak(borderless) +virtual-desktop = Virtuális asztal + +game = Játék + +hud = HUD + +fsr = FSR +fsr-description = Használatához futtasd a játékot kisebb felbontásban és nyomd meg az Alt+Enter-t. Az FSR a monitorodhoz igazítja minőségvesztés nélkül, így több lehet az FPS. +ultra-quality = Ultra Minőség +quality = Minőség +balanced = Egyensúlyozott +performance = Teljesítmény + +gamemode = Gamemode +gamemode-description = Minden folyamat felett fusson a játék ( prioritás minden felett) + +gamescope = Gamescope +gamescope-description = A Gamescope-al egy külön Xwayland folyamatban fut a játék. Támogatja az Intel, AMD és Nvidia videókártyákat + +discord-rpc = Discord RPC +discord-rpc-description = Kiírja a Discord profilod alá hogy játszol a játékkal +icon = Icon +title = Title +description = Description + +fps-unlocker = FPS Unlocker + +enabled = Bekapcsolva +fps-unlocker-description = Eltávolítja az fps limitet. Az anti-cheat észreveheti + +power-saving = Energiatakarékos +power-saving-description = Fókuszvesztésnél(pl. alt-tab) az FPS limitet 10-re állítja + +monitor = Monitor +monitor-description = Ahány monitoron szeretnéd futtatni a játékot + +window-mode = Ablak mód +borderless = Keretmentes +popup = Popup +fullscreen = Teljesképernyő + +priority = Prioritás +priority-description = Játékfolyamat prioritás +realtime = Legmagasabb +high = Magas +above-normal = Normál felett +normal = Normál +below-normal = Normál alatt +low = Alacsony diff --git a/assets/locales/hu/environment.ftl b/assets/locales/hu/environment.ftl new file mode 100644 index 0000000..a497086 --- /dev/null +++ b/assets/locales/hu/environment.ftl @@ -0,0 +1,7 @@ +environment = Környezet +game-command = Játék parancs +game-command-description = A parancs amivel futtatásra kerül a játék. Példa %command%-ot generál a launcher. Pl.: gamemoderun '%command%' +new-variable = Új változó +name = Név +value = Érték +add = Hozzáadás diff --git a/assets/locales/hu/errors.ftl b/assets/locales/hu/errors.ftl new file mode 100644 index 0000000..49c99b5 --- /dev/null +++ b/assets/locales/hu/errors.ftl @@ -0,0 +1,60 @@ +launcher-folder-opening-error = Launcher mappa megnyitása sikertelen +game-folder-opening-error = Játék mappa megnyitása sikertelen +config-file-opening-error = Config fájl megnyitása sikertelen +debug-file-opening-error = Debug fájl megnyitása sikertelen + +wish-url-search-failed = Nem találtam wish url-t +wish-url-opening-error = Nem tudtam megnyitni a wish url-t + +wine-run-error = Nem sikerült a {$executable} futtatása wine-nal + +game-launching-failed = Játékindítás sikertelen +failed-get-selected-wine = Kiválasztott wine verzió beszerzése sikertelen +downloading-failed = Sikertelen letöltés +unpacking-failed = Sikertelen kicsomagolás + +game-file-repairing-error = Nem sikerült a játékfájlok javítása +integrity-files-getting-error = Integritásfájlok beszerzése sikertelen + +background-downloading-failed = Háttérkép letöltése sikertelen +components-index-sync-failed = Failed to sync components index +components-index-verify-failed = Failed to verify components index +config-update-error = Sikertelen config mentés +wine-prefix-update-failed = Sikertelen wine prefix frissítés +dxvk-install-failed = DXVK telepítése sikertelen +voice-package-deletion-error = Hangcsomag törlése sikertelen + +game-diff-finding-error = Játék diff megtalálása sikertelen +patch-info-fetching-error = Patch info beszerzése sikertelen +launcher-state-updating-error = Launcherállapot frissítése sikertelen + +package-not-available = Ez a csomag nem elérhető: {$package} +wine-download-error = Wine letöltése sikertelen +wine-unpack-errror = Wine kicsomagolás sikertelen +wine-install-failed = Wine telepítés sikertelen +dxvk-download-error = DXVK letöltés sikertelen +dxvk-unpack-error = DXVK kicsomagolás sikertelen +dxvk-apply-error = DXVK alkalmazása sikertelen + +downloaded-wine-list-failed = Nem sikerült listázni a letöltött wine verziókat + +patch-sync-failed = Patch mappa szinkronizálása sikertelen +patch-state-check-failed = Patch mappa állapota ellenőrzése sikertelen +game-patching-error = Sikertelen játék patchelés + +# Sandbox + +documentation-url-open-failed = Failed to open documentation URL + +# Game + +game-session-add-failed = Játékmenet hozzáadása sikertelen +game-session-update-failed = Játékemenet frissítése sikertelen +game-session-remove-failed = Játékmenet eltávolítása sikertelen +game-session-set-current-failed = Jelen játékmenet beállítása sikertelen +game-session-apply-failed = Játékmenet alkalmazása sikertelen + +# Enhancements + +discord-rpc-icons-fetch-failed = Failed to fetch Discord RPC icons +discord-rpc-icon-download-failed = Failed to download Discord RPC icon diff --git a/assets/locales/hu/first_run.ftl b/assets/locales/hu/first_run.ftl new file mode 100644 index 0000000..c52c120 --- /dev/null +++ b/assets/locales/hu/first_run.ftl @@ -0,0 +1,65 @@ +welcome = Üdvözöljük + +welcome-page-message = + Hali! Üdvözlünk az An Anime Game Launcher-ben! + + Elő kell készítenünk pár dolgot és letölteni pár alapértelmezett komponenst mielőtt futtathatod a játékot + + +tos-violation-warning = ToS megszegési figyelmeztetés + +tos-violation-warning-message = + Ez a launcher egy nem hivatalos eszköz, semmi köze {company-name} és {comapny-alter-name}-hez. + + Ez az eszköz arra készült, hogy lehetővé tegye {game-name} használatát Linux-on, és hogy megegyszerűsítse a telepítését és futtatását. + + Ezt már létező komponensek felhasználásával teszi, ami egyszerűbbé teszi a felhasználó élményét. + + Viszont, pár komponens megszegheti {company-name} Felhasználási Feltételeit(TOS) {game-name}-hez. + + Ha használod ezt a launchert, a fiókodat TOS-megszegőként azonosíthatja a {company-name}/{company-alter-name}. + + Ha ez megtörténik, mivel megszegi a fiókod a TOS-t, így {company-name}/{company-alter-name} bármit megtehet. Beleértve bannolhat is. + + Ha megérted a játék nem hivatalos futtatásának kockázatait, nyomd meg az OK gombot a folytatáshoz. + +tos-dialog-title = Are you sure you understand what we want to say? +tos-dialog-message = + 1. Don't publish any information about this project + 2. Don't abuse it by using some modded clients and so + 3. Ask questions exceptionally in our discord or matrix server + + +dependencies = Dependenciák +missing-dependencies-title = Hiányzik pár dependenciád! +missing-dependencies-message = Telepítened kell pár csomagot mielőtt folytathatod a telepítést + + +default-paths = Alapértelmezett elérési utak +choose-default-paths = Alapértelmezett elérési utak kiválasztása +show-all-folders = Tudom mit csinálok +show-all-folders-subtitle = Extra elérési út kiválasztási beállítások mutatása. Tedd amit mondok... +runners-folder = Runnerek mappája +dxvks-folder = DXVKs mappa +wine-prefix-folder = Wine prefix mappa +global-game-installation-folder = Global játékverzió mappája +chinese-game-installation-folder = Kínai játékverzió mappája +fps-unlocker-folder = FPS Unlocker mappa +components-index = Components index +patch-folder = Patch mappa +temp-folder = Ideiglenes (temp) mappa + +migrate = Migráció + + +select-voice-packages = Hangcsomagok kiválasztása + + +download-components = Komponensek letöltése +download-dxvk = DXVK letöltése +apply-dxvk = DXVK alkalmazása + + +finish = Befejezés +finish-title = Minden kész! +finish-message = Minden alap komponens letöltve. Újraindíthatod a launchert és letöltheted a játékot. Üdv a klubban! diff --git a/assets/locales/hu/game.ftl b/assets/locales/hu/game.ftl new file mode 100644 index 0000000..2d3427d --- /dev/null +++ b/assets/locales/hu/game.ftl @@ -0,0 +1,7 @@ +game-sessions = Játékmenetek + +active-sessions = Aktív játékmenet +active-session-description = Jelenleg kiválasztott játékmenet. Minden indítás után frissül + +update-session = Játékmenet frissítése a jelenlegi wine prefix registry értékekkel +delete-session = Játékmenet eltávolítása diff --git a/assets/locales/hu/gamescope.ftl b/assets/locales/hu/gamescope.ftl new file mode 100644 index 0000000..7b0b993 --- /dev/null +++ b/assets/locales/hu/gamescope.ftl @@ -0,0 +1,13 @@ +game-resolution = Játékfelbontás +gamescope-resolution = Gamescope felbontás + +upscaling = Upscaling + +integer-scaling = Integer scaling +integer-scaling-description = Minden kerek számnyi egyező színű pixelt egy négyzet vagy téglalap csoportba rak. Megelőzheti az élességvesztést Full HD - 4K upscalingnél +gamescope-fsr-description = Open-source upscaling technika az AMD-től jobb upscaling minőségért +nis-description = Open source upscaling technika az Nvidia-tól, alternatíva a DLSS-re, minden videókártyán működik. 16 + +other-settings = Egyéb beállítások +framerate-limit = FPS limit +unfocused-framerate-limit = Fókuszon kívüli FPS limit diff --git a/assets/locales/hu/general.ftl b/assets/locales/hu/general.ftl new file mode 100644 index 0000000..e67fce4 --- /dev/null +++ b/assets/locales/hu/general.ftl @@ -0,0 +1,71 @@ +appearance = Kinézet +modern = Modern +classic = Klasszikus +update-background = Háttérkép frissítése +update-background-description = Hivatalos launcher háttérkép letöltése. Kikapcsolással használhatsz egyedi képet helyette. + +launcher-language = Launcher nyelv +launcher-language-description = Újraindítás után lép életbe + +game-edition = Játék kiadás +global = Globális +china = Kínai + +game-environment = Játék környezet +game-environment-description = Egyedi lehetőségek érhetőek el vele a játékban, mint például extra fizetési módok + +game-voiceovers = Játék hangnyelv +game-voiceovers-description = Letöltött játékhangok listája. Megváltoztathatod a játékbeállításokban +english = Angol +japanese = Japán +korean = Koreai +chinese = Kínai + +migrate-installation = Játékmappa migrálása +migrate-installation-description = Megnyit egy ablakot amivel megváltoztathatod a játékmappádat +repair-game = Játék javítása + +status = Státusz + +game-version = Játék verzió +game-not-installed = nincs telepítve + +game-predownload-available = Játékfrissítés előtöltés elérhető: {$old} -> {$new} +game-update-available = Játékfrissítés elérhető: {$old} -> {$new} +game-outdated = A játékverzió túl régi és nem frissíthető. Legfrissebb: {$latest} + +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 + +patch-outdated = elavult ({$current}) +patch-outdated-tooltip = A patch elavult: {$current} -> {$latest} + +patch-preparation = előkészítés +patch-preparation-tooltip = A patch fejlesztés alatt áll + +patch-testing-tooltip = Teszt patch elérhető +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 + +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 + +wine-tools = Wine eszközök +command-line = Parancssor +registry-editor = Registry szerksztő +explorer = Explorer +task-manager = Feladatkezelő +configuration = Konfiguráció +debugger = Debugger diff --git a/assets/locales/hu/main.ftl b/assets/locales/hu/main.ftl new file mode 100644 index 0000000..a52cb36 --- /dev/null +++ b/assets/locales/hu/main.ftl @@ -0,0 +1,70 @@ +custom = Egyéni +none = Semelyik +default = Alap +details = Részletek +options = Beállítások + +width = Szélesség +height = Magasság + +# Menu items + +launcher-folder = Launcher mappa +game-folder = Játék mappa +config-file = Config fájl +debug-file = Debug fájl +wish-url = Wishek megnyitása +about = Részletek + + +close = Bezárás +save = Mentés +continue = Folytatás +resume = Resume +exit = Kilépés +check = Ellenőrzés +restart = Újraindítás +agree = Agree + + +loading-data = Adatok betöltése +downloading-background-picture = Háttérkép letöltése +updating-components-index = Updating components index +loading-game-version = Játékverzió betöltése +loading-patch-status = Patch státusz betöltése +loading-launcher-state = Launcher állapot betöltése +loading-launcher-state--game = Launcher állapot betöltése: játékverzió ellenőrzése +loading-launcher-state--voice = Launcher állapot betöltése: {$locale} hangnyelv ellenőrzése +loading-launcher-state--patch = Launcher állapot betöltése: telepített patch ellenőrzése + + +checking-free-space = Szabad hely ellenőrzése +downloading = Letöltés +unpacking = Kicsomagolás +verifying-files = Fájlok ellenőrzése +repairing-files = Fájlok javítása +migrating-folders = Mappák migrálása +applying-hdiff = Hdiff patchek alkalmazása +removing-outdated = Elavult fájlok törlése + + +components-index-updated = A komponens index frissítve lett + + +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 +download-wine = Wine letöltése +create-prefix = Prefix létrehozása +update = Frissítés +download = Letöltés +predownload-update = {$version} verzió előtöltése ({$size}) + +main-window--patch-unavailable-tooltip = A patch szerverek nem elérhetőek és a launcher nem tudja ellenőrizni a játék patch státuszát. Saját felelősségre futtathatod a játékot +main-window--patch-outdated-tooltip = A patch jelenleg nem elérhető mert túl elavult, vagy előkészítés alatt áll. Nézz vissza később +main-window--version-outdated-tooltip = Ez a verzió túl elavult és nem lehet frissíteni + +preferences = Preferenciák +general = Általános +enhancements = Fejlesztések diff --git a/assets/locales/hu/sandbox.ftl b/assets/locales/hu/sandbox.ftl new file mode 100644 index 0000000..4fe849e --- /dev/null +++ b/assets/locales/hu/sandbox.ftl @@ -0,0 +1,28 @@ +sandbox = Sandbox +sandbox-description = A játék futtatása egy elzárt környezetben, így nem férhet hozzá a privát adataidhoz + +enable-sandboxing = Sandbox bekapcsolása +enable-sandboxing-description = A játék futtatása egy csak olvasható változatában a root fájlrendszerednek + +hide-home-directory = Home mappa elrejtése +hide-home-directory-description = A /home, /var/home/$USER, és $HOME mappák elzárása a játéktól + +hostname = Gépnév +additional-arguments = Extra opciók + +private-directories = Privát mappák +private-directories-description = Ezek a mappák egy üres virtuális fájlrendszerrel (tmpfs) lesznek helyettesítve, a tartalmuk nem lesz elérhető a sandboxolt játéknak + +path = Elérési út + +shared-directories = Megosztott mappák +shared-directories-description = Ezek a mappák symlinkelve lesznek a te rendszeredben lévő mappákhoz + +original-path = Eredeti elérési út +new-path = Új elérési út a sandboxnak + +read-only = Csak olvasás +read-only-description = A játék eltiltása a játékmappába való írástól + +symlinks = Symlinkek +symlinks-description = Eredeti elérési hely symlinkelése a sandboxon belüli újhoz diff --git a/src/i18n.rs b/src/i18n.rs index 4eef74d..e22af8c 100644 --- a/src/i18n.rs +++ b/src/i18n.rs @@ -20,7 +20,8 @@ pub const SUPPORTED_LANGUAGES: &[LanguageIdentifier] = &[ langid!("it-it"), langid!("id-id"), langid!("zh-cn"), - langid!("ja-jp") + langid!("ja-jp"), + langid!("hu-hu") ]; static mut LANG: LanguageIdentifier = langid!("en-us"); diff --git a/src/ui/about.rs b/src/ui/about.rs index c30be55..17ade77 100644 --- a/src/ui/about.rs +++ b/src/ui/about.rs @@ -88,7 +88,8 @@ impl SimpleComponent for AboutDialog { "Italiano — @QuazarOmega https://github.com/quazar-omega", "Indonesia — @yumekarisu https://github.com/yumekarisu", "简体中文 — Caibin Chen https://github.com/tigersoldier", - "日本語 — @zozonteq https://github.com/zozonteq" + "日本語 — @zozonteq https://github.com/zozonteq", + // Hungarian? ].join("\n"), set_debug_info: &[ @@ -108,6 +109,7 @@ impl SimpleComponent for AboutDialog { "", "

Fixed

",