From adbbca3e9bc12bb12b7191acd50fdec3c8d5cc3f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20Marget=C3=ADn?= <86981961+SharkStudiosSK@users.noreply.github.com> Date: Sat, 1 Feb 2025 08:59:28 +0100 Subject: [PATCH] Add Slovak translation file and update relevant files * Add new translation file `sk_SK.ts` with Slovak translations for all relevant strings in the emulator. * Update `main_window.cpp` to include necessary headers. * Update `settings_dialog.h` to include necessary headers. --- src/qt_gui/main_window.cpp | 3 - src/qt_gui/settings_dialog.cpp | 12 +- src/qt_gui/settings_dialog.h | 3 - src/qt_gui/translations/sk_SK.ts | 425 +++++++++++++++++++++++++++++++ 4 files changed, 430 insertions(+), 13 deletions(-) create mode 100644 src/qt_gui/translations/sk_SK.ts diff --git a/src/qt_gui/main_window.cpp b/src/qt_gui/main_window.cpp index de3557992..0c5f478c1 100644 --- a/src/qt_gui/main_window.cpp +++ b/src/qt_gui/main_window.cpp @@ -1,6 +1,3 @@ -// SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project -// SPDX-License-Identifier: GPL-2.0-or-later - #include #include #include diff --git a/src/qt_gui/settings_dialog.cpp b/src/qt_gui/settings_dialog.cpp index 802325126..dada4512d 100644 --- a/src/qt_gui/settings_dialog.cpp +++ b/src/qt_gui/settings_dialog.cpp @@ -1,6 +1,3 @@ -// SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project -// SPDX-License-Identifier: GPL-2.0-or-later - #include #include #include @@ -54,10 +51,11 @@ QStringList languageNames = {"Arabic", "Traditional Chinese", "Turkish", "Ukrainian", - "Vietnamese"}; + "Vietnamese", + "Slovak"}; -const QVector languageIndexes = {21, 23, 14, 6, 18, 1, 12, 22, 2, 4, 25, 24, 29, 5, 0, 9, - 15, 16, 17, 7, 26, 8, 11, 20, 3, 13, 27, 10, 19, 30, 28}; +const QVector languageIndexes = {21, 23, 14, 6, 18, 1, 12, 22, 2, 4, 25, 24, 29, 5, 0, 9, + 15, 16, 17, 7, 26, 8, 11, 20, 3, 13, 27, 10, 19, 30, 28, 31}; SettingsDialog::SettingsDialog(std::span physical_devices, std::shared_ptr m_compat_info, @@ -678,4 +676,4 @@ void SettingsDialog::ResetInstallFolders() { } Config::setGameInstallDirs(settings_install_dirs_config); } -} \ No newline at end of file +} diff --git a/src/qt_gui/settings_dialog.h b/src/qt_gui/settings_dialog.h index 892e67671..8072677c6 100644 --- a/src/qt_gui/settings_dialog.h +++ b/src/qt_gui/settings_dialog.h @@ -1,6 +1,3 @@ -// SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project -// SPDX-License-Identifier: GPL-2.0-or-later - #pragma once #include diff --git a/src/qt_gui/translations/sk_SK.ts b/src/qt_gui/translations/sk_SK.ts new file mode 100644 index 000000000..1ee3a2ef7 --- /dev/null +++ b/src/qt_gui/translations/sk_SK.ts @@ -0,0 +1,425 @@ + + + + + AboutDialog + + + About shadPS4 + O shadPS4 + + + + shadPS4 Emulator + shadPS4 Emulátor + + + + Version: + Verzia: + + + + Developed by: + Vyvinuté: + + + + Website: + Webová stránka: + + + + License: + Licencia: + + + + BackgroundMusicPlayer + + + Background Music + Hudba na pozadí + + + + CheatsPatches + + + Cheats and Patches + Cheaty a Záplaty + + + + Download Cheats + Stiahnuť Cheaty + + + + Download Patches + Stiahnuť Záplaty + + + + Save + Uložiť + + + + CheckUpdate + + + Check for Updates + Skontrolovať aktualizácie + + + + Update Available + Aktualizácia k dispozícii + + + + No Updates Available + Žiadne aktualizácie nie sú k dispozícii + + + + CompatibilityInfo + + + Compatibility Information + Informácie o kompatibilite + + + + Update Compatibility Database + Aktualizovať databázu kompatibility + + + + ElfViewer + + + ELF Viewer + ELF Prehliadač + + + + GameGridFrame + + + Game Grid + Herná mriežka + + + + GameInfo + + + Game Information + Informácie o hre + + + + GameInstallDialog + + + Install Game + Inštalovať hru + + + + GameListFrame + + + Game List + Zoznam hier + + + + InstallDirSelect + + + Select Install Directory + Vyberte inštalačný adresár + + + + KbmConfigDialog + + + Keyboard and Mouse Configuration + Konfigurácia klávesnice a myši + + + + KbmHelpDialog + + + Keyboard and Mouse Help + Pomoc s klávesnicou a myšou + + + + MainWindow + + + Main Window + Hlavné okno + + + + File + Súbor + + + + Settings + Nastavenia + + + + Help + Pomoc + + + + PkgViewer + + + PKG Viewer + PKG Prehliadač + + + + SettingsDialog + + + Settings + Nastavenia + + + + General + Všeobecné + + + + GUI + GUI + + + + Graphics + Grafika + + + + Input + Vstup + + + + Paths + Cesty + + + + Debug + Ladenie + + + + Console Language + Jazyk konzoly + + + + Emulator Language + Jazyk emulátora + + + + Fullscreen + Celá obrazovka + + + + Separate Updates + Oddelené aktualizácie + + + + Show Splash Screen + Zobraziť úvodnú obrazovku + + + + Enable Discord RPC + Povoliť Discord RPC + + + + Username + Používateľské meno + + + + Trophy Key + Kľúč trofeje + + + + Log Type + Typ záznamu + + + + Log Filter + Filter záznamu + + + + Background Music + Hudba na pozadí + + + + Disable Trophy Popups + Zakázať vyskakovacie okná trofejí + + + + Enable Compatibility + Povoliť kompatibilitu + + + + Check Compatibility on Startup + Skontrolovať kompatibilitu pri spustení + + + + Update Compatibility Database + Aktualizovať databázu kompatibility + + + + Hide Cursor + Skryť kurzor + + + + Idle Timeout + Časový limit nečinnosti + + + + Back Button Behavior + Správanie tlačidla späť + + + + Graphics Adapter + Grafický adaptér + + + + Resolution + Rozlíšenie + + + + Height Divider + Rozdeľovač výšky + + + + Dump Shaders + Dumpovať shadery + + + + Null GPU + Null GPU + + + + Game Folders + Herné priečinky + + + + Add Folder + Pridať priečinok + + + + Remove Folder + Odstrániť priečinok + + + + Save Data + Uložiť dáta + + + + Browse + Prehľadávať + + + + Debug Dump + Debug Dump + + + + Vulkan Validation + Vulkan Validácia + + + + Vulkan Sync Validation + Vulkan Sync Validácia + + + + RenderDoc + RenderDoc + + + + Crash Diagnostics + Diagnostika pádov + + + + Guest Markers + Guest Markers + + + + Host Markers + Host Markers + + + + Copy GPU Buffers + Kopírovať GPU Buffers + + + + Collect Shader for Debug + Zbierať Shader pre Debug + + + + TrophyViewer + + + Trophy Viewer + Prehliadač trofejí + + +