diff --git a/documentation/localization_guide/README.md b/documentation/localization_guide/README.md index 7f9ea30..b5d833f 100644 --- a/documentation/localization_guide/README.md +++ b/documentation/localization_guide/README.md @@ -20,9 +20,9 @@ Current translation status: | Locale | Progress | Translated | | :----- | -------: | ---------: | -| [de_DE](./de_DE/LC_MESSAGES/messages.po) | 0% | 0 of 190 | -| [es_ES](./es_ES/LC_MESSAGES/messages.po) | 0% | 0 of 190 | -| [ru_RU](./ru_RU/LC_MESSAGES/messages.po) | 100% | 190 of 190 | +| [de_DE](./de_DE/LC_MESSAGES/messages.po) | 0% | 0 of 182 | +| [es_ES](./es_ES/LC_MESSAGES/messages.po) | 0% | 0 of 182 | +| [ru_RU](./ru_RU/LC_MESSAGES/messages.po) | 100% | 182 of 182 | --- diff --git a/documentation/localization_guide/README.ru.md b/documentation/localization_guide/README.ru.md index 5582354..7b01eac 100644 --- a/documentation/localization_guide/README.ru.md +++ b/documentation/localization_guide/README.ru.md @@ -20,9 +20,9 @@ | Локаль | Прогресс | Переведено | | :----- | -------: | ---------: | -| [de_DE](./de_DE/LC_MESSAGES/messages.po) | 0% | 0 из 190 | -| [es_ES](./es_ES/LC_MESSAGES/messages.po) | 0% | 0 из 190 | -| [ru_RU](./ru_RU/LC_MESSAGES/messages.po) | 100% | 190 из 190 | +| [de_DE](./de_DE/LC_MESSAGES/messages.po) | 0% | 0 из 182 | +| [es_ES](./es_ES/LC_MESSAGES/messages.po) | 0% | 0 из 182 | +| [ru_RU](./ru_RU/LC_MESSAGES/messages.po) | 100% | 182 из 182 | --- diff --git a/portprotonqt/dialogs.py b/portprotonqt/dialogs.py index 48992e0..adca5fc 100644 --- a/portprotonqt/dialogs.py +++ b/portprotonqt/dialogs.py @@ -322,7 +322,7 @@ class FileExplorer(QDialog): self.file_list.addItem(item) - self.path_label.setText(f"Path: {self.current_path}") + self.path_label.setText(_("Path: ") + self.current_path) self.file_list.setCurrentRow(0) except PermissionError: diff --git a/portprotonqt/locales/de_DE/LC_MESSAGES/messages.mo b/portprotonqt/locales/de_DE/LC_MESSAGES/messages.mo index 6877ef0..0fa8072 100644 Binary files a/portprotonqt/locales/de_DE/LC_MESSAGES/messages.mo and b/portprotonqt/locales/de_DE/LC_MESSAGES/messages.mo differ diff --git a/portprotonqt/locales/de_DE/LC_MESSAGES/messages.po b/portprotonqt/locales/de_DE/LC_MESSAGES/messages.po index 50c2c3b..14470c7 100644 --- a/portprotonqt/locales/de_DE/LC_MESSAGES/messages.po +++ b/portprotonqt/locales/de_DE/LC_MESSAGES/messages.po @@ -9,7 +9,7 @@ msgid "" msgstr "" "Project-Id-Version: PROJECT VERSION\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" -"POT-Creation-Date: 2025-06-26 14:55+0500\n" +"POT-Creation-Date: 2025-06-28 09:04+0500\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language: de_DE\n" @@ -228,38 +228,6 @@ msgid "" " take effect." msgstr "" -msgid "PortProton directory not found" -msgstr "" - -msgid "Steam directory not found" -msgstr "" - -msgid "Failed to get Steam user ID" -msgstr "" - -msgid "Steam shortcuts file not found" -msgstr "" - -#, python-brace-format -msgid "Failed to create backup of shortcuts.vdf: {error}" -msgstr "" - -#, python-brace-format -msgid "Failed to load shortcuts.vdf: {error}" -msgstr "" - -#, python-brace-format -msgid "Game '{game_name}' not found in Steam shortcuts" -msgstr "" - -#, python-brace-format -msgid "Failed to update shortcuts.vdf: {error}" -msgstr "" - -#, python-brace-format -msgid "Failed to remove EGS game '{game_name}' from Steam: {error}" -msgstr "" - #, python-brace-format msgid "Failed to remove game '{game_name}' from Steam: {error}" msgstr "" @@ -270,6 +238,9 @@ msgstr "" msgid "Cancel" msgstr "" +msgid "Path: " +msgstr "" + msgid "Edit Game" msgstr "" diff --git a/portprotonqt/locales/es_ES/LC_MESSAGES/messages.mo b/portprotonqt/locales/es_ES/LC_MESSAGES/messages.mo index 8b1951e..a5de06d 100644 Binary files a/portprotonqt/locales/es_ES/LC_MESSAGES/messages.mo and b/portprotonqt/locales/es_ES/LC_MESSAGES/messages.mo differ diff --git a/portprotonqt/locales/es_ES/LC_MESSAGES/messages.po b/portprotonqt/locales/es_ES/LC_MESSAGES/messages.po index 1a022ba..24794a2 100644 --- a/portprotonqt/locales/es_ES/LC_MESSAGES/messages.po +++ b/portprotonqt/locales/es_ES/LC_MESSAGES/messages.po @@ -9,7 +9,7 @@ msgid "" msgstr "" "Project-Id-Version: PROJECT VERSION\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" -"POT-Creation-Date: 2025-06-26 14:55+0500\n" +"POT-Creation-Date: 2025-06-28 09:04+0500\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language: es_ES\n" @@ -228,38 +228,6 @@ msgid "" " take effect." msgstr "" -msgid "PortProton directory not found" -msgstr "" - -msgid "Steam directory not found" -msgstr "" - -msgid "Failed to get Steam user ID" -msgstr "" - -msgid "Steam shortcuts file not found" -msgstr "" - -#, python-brace-format -msgid "Failed to create backup of shortcuts.vdf: {error}" -msgstr "" - -#, python-brace-format -msgid "Failed to load shortcuts.vdf: {error}" -msgstr "" - -#, python-brace-format -msgid "Game '{game_name}' not found in Steam shortcuts" -msgstr "" - -#, python-brace-format -msgid "Failed to update shortcuts.vdf: {error}" -msgstr "" - -#, python-brace-format -msgid "Failed to remove EGS game '{game_name}' from Steam: {error}" -msgstr "" - #, python-brace-format msgid "Failed to remove game '{game_name}' from Steam: {error}" msgstr "" @@ -270,6 +238,9 @@ msgstr "" msgid "Cancel" msgstr "" +msgid "Path: " +msgstr "" + msgid "Edit Game" msgstr "" diff --git a/portprotonqt/locales/messages.pot b/portprotonqt/locales/messages.pot index 5c89a9e..49977ce 100644 --- a/portprotonqt/locales/messages.pot +++ b/portprotonqt/locales/messages.pot @@ -9,7 +9,7 @@ msgid "" msgstr "" "Project-Id-Version: PortProtonQt 0.1.1\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" -"POT-Creation-Date: 2025-06-26 14:55+0500\n" +"POT-Creation-Date: 2025-06-28 09:04+0500\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -226,38 +226,6 @@ msgid "" " take effect." msgstr "" -msgid "PortProton directory not found" -msgstr "" - -msgid "Steam directory not found" -msgstr "" - -msgid "Failed to get Steam user ID" -msgstr "" - -msgid "Steam shortcuts file not found" -msgstr "" - -#, python-brace-format -msgid "Failed to create backup of shortcuts.vdf: {error}" -msgstr "" - -#, python-brace-format -msgid "Failed to load shortcuts.vdf: {error}" -msgstr "" - -#, python-brace-format -msgid "Game '{game_name}' not found in Steam shortcuts" -msgstr "" - -#, python-brace-format -msgid "Failed to update shortcuts.vdf: {error}" -msgstr "" - -#, python-brace-format -msgid "Failed to remove EGS game '{game_name}' from Steam: {error}" -msgstr "" - #, python-brace-format msgid "Failed to remove game '{game_name}' from Steam: {error}" msgstr "" @@ -268,6 +236,9 @@ msgstr "" msgid "Cancel" msgstr "" +msgid "Path: " +msgstr "" + msgid "Edit Game" msgstr "" diff --git a/portprotonqt/locales/ru_RU/LC_MESSAGES/messages.mo b/portprotonqt/locales/ru_RU/LC_MESSAGES/messages.mo index ac3fd42..53a5fd3 100644 Binary files a/portprotonqt/locales/ru_RU/LC_MESSAGES/messages.mo and b/portprotonqt/locales/ru_RU/LC_MESSAGES/messages.mo differ diff --git a/portprotonqt/locales/ru_RU/LC_MESSAGES/messages.po b/portprotonqt/locales/ru_RU/LC_MESSAGES/messages.po index 1eee856..36a3fb9 100644 --- a/portprotonqt/locales/ru_RU/LC_MESSAGES/messages.po +++ b/portprotonqt/locales/ru_RU/LC_MESSAGES/messages.po @@ -9,17 +9,18 @@ msgid "" msgstr "" "Project-Id-Version: PROJECT VERSION\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" -"POT-Creation-Date: 2025-06-26 14:55+0500\n" -"PO-Revision-Date: 2025-06-26 14:55+0500\n" +"POT-Creation-Date: 2025-06-28 09:04+0500\n" +"PO-Revision-Date: 2025-06-28 09:05+0500\n" "Last-Translator: \n" -"Language: ru_RU\n" "Language-Team: ru_RU \n" -"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && " -"n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" +"Language: ru_RU\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 " +"&& (n%100<10 || n%100>=20) ? 1 : 2);\n" "Generated-By: Babel 2.17.0\n" +"X-Generator: Poedit 3.6\n" msgid "Error" msgstr "Ошибка" @@ -72,11 +73,11 @@ msgstr "Успешно" #, python-brace-format msgid "" -"'{game_name}' was added to Steam. Please restart Steam for changes to " -"take effect." +"'{game_name}' was added to Steam. Please restart Steam for changes to take " +"effect." msgstr "" -"'{game_name}' был(а) добавлен(а) в Steam. Пожалуйста, перезапустите " -"Steam, чтобы изменения вступили в силу." +"'{game_name}' был(а) добавлен(а) в Steam. Пожалуйста, перезапустите Steam, " +"чтобы изменения вступили в силу." #, python-brace-format msgid "Executable not found for game: {game_name}" @@ -183,11 +184,11 @@ msgstr "Подтвердите удаление" #, python-brace-format msgid "" -"Are you sure you want to delete '{game_name}'? This will remove the " -".desktop file and custom data." +"Are you sure you want to delete '{game_name}'? This will remove the .desktop " +"file and custom data." msgstr "" -"Вы уверены, что хотите удалить '{game_name}'? Это приведёт к удалению " -"файла .desktop и пользовательских данных." +"Вы уверены, что хотите удалить '{game_name}'? Это приведёт к удалению файла ." +"desktop и пользовательских данных." #, python-brace-format msgid "Failed to delete .desktop file: {error}" @@ -229,43 +230,11 @@ msgstr "Не удалось добавить '{game_name}' в Steam: {error}" #, python-brace-format msgid "" -"'{game_name}' was removed from Steam. Please restart Steam for changes to" -" take effect." +"'{game_name}' was removed from Steam. Please restart Steam for changes to take " +"effect." msgstr "" -"'{game_name}' был(а) удалён(а) из Steam. Пожалуйста, перезапустите Steam," -" чтобы изменения вступили в силу." - -msgid "PortProton directory not found" -msgstr "PortProton не найден." - -msgid "Steam directory not found" -msgstr "Каталог Steam не найден" - -msgid "Failed to get Steam user ID" -msgstr "Не удалось получить ID пользователя Steam" - -msgid "Steam shortcuts file not found" -msgstr "Файл ярлыков Steam не найден" - -#, python-brace-format -msgid "Failed to create backup of shortcuts.vdf: {error}" -msgstr "Не удалось создать резервную копию файла shortcuts.vdf: {error}" - -#, python-brace-format -msgid "Failed to load shortcuts.vdf: {error}" -msgstr "Не удалось загрузить файл shortcuts.vdf: {error}" - -#, python-brace-format -msgid "Game '{game_name}' not found in Steam shortcuts" -msgstr "Игра '{game_name}' не найдена в ярлыках Steam" - -#, python-brace-format -msgid "Failed to update shortcuts.vdf: {error}" -msgstr "Не удалось обновить файл shortcuts.vdf: {error}" - -#, python-brace-format -msgid "Failed to remove EGS game '{game_name}' from Steam: {error}" -msgstr "Не удалось удалить игру EGS '{game_name}' из Steam: {error}" +"'{game_name}' был(а) удалён(а) из Steam. Пожалуйста, перезапустите Steam, чтобы " +"изменения вступили в силу." #, python-brace-format msgid "Failed to remove game '{game_name}' from Steam: {error}" @@ -277,6 +246,9 @@ msgstr "Выбрать" msgid "Cancel" msgstr "Отмена" +msgid "Path: " +msgstr "Путь: " + msgid "Edit Game" msgstr "Редактировать игру" @@ -505,8 +477,7 @@ msgstr "Подтвердите удаление" msgid "Are you sure you want to reset all settings? This action cannot be undone." msgstr "" -"Вы уверены, что хотите сбросить все настройки? Это действие нельзя " -"отменить." +"Вы уверены, что хотите сбросить все настройки? Это действие нельзя отменить." msgid "Settings reset. Restarting..." msgstr "Настройки сброшены. Перезапуск..." @@ -651,4 +622,3 @@ msgstr "мин." msgid "sec." msgstr "сек." -