diff --git a/documentation/localization_guide/README.md b/documentation/localization_guide/README.md index a9cfccc..0046d09 100644 --- a/documentation/localization_guide/README.md +++ b/documentation/localization_guide/README.md @@ -21,9 +21,9 @@ Current translation status: | Locale | Progress | Translated | | :----- | -------: | ---------: | -| [de_DE](./de_DE/LC_MESSAGES/messages.po) | 0% | 0 of 219 | -| [es_ES](./es_ES/LC_MESSAGES/messages.po) | 0% | 0 of 219 | -| [ru_RU](./ru_RU/LC_MESSAGES/messages.po) | 100% | 219 of 219 | +| [de_DE](./de_DE/LC_MESSAGES/messages.po) | 0% | 0 of 232 | +| [es_ES](./es_ES/LC_MESSAGES/messages.po) | 0% | 0 of 232 | +| [ru_RU](./ru_RU/LC_MESSAGES/messages.po) | 99% | 230 of 232 | --- diff --git a/documentation/localization_guide/README.ru.md b/documentation/localization_guide/README.ru.md index 8b5c201..daca0e7 100644 --- a/documentation/localization_guide/README.ru.md +++ b/documentation/localization_guide/README.ru.md @@ -21,9 +21,9 @@ | Локаль | Прогресс | Переведено | | :----- | -------: | ---------: | -| [de_DE](./de_DE/LC_MESSAGES/messages.po) | 0% | 0 из 219 | -| [es_ES](./es_ES/LC_MESSAGES/messages.po) | 0% | 0 из 219 | -| [ru_RU](./ru_RU/LC_MESSAGES/messages.po) | 100% | 219 из 219 | +| [de_DE](./de_DE/LC_MESSAGES/messages.po) | 0% | 0 из 232 | +| [es_ES](./es_ES/LC_MESSAGES/messages.po) | 0% | 0 из 232 | +| [ru_RU](./ru_RU/LC_MESSAGES/messages.po) | 99% | 230 из 232 | --- diff --git a/portprotonqt/dialogs.py b/portprotonqt/dialogs.py index ff42315..313f7b5 100644 --- a/portprotonqt/dialogs.py +++ b/portprotonqt/dialogs.py @@ -1114,7 +1114,7 @@ class WinetricksDialog(QDialog): self.dll_table.horizontalHeader().setSectionResizeMode(1, QHeaderView.ResizeMode.Stretch) self.dll_table.horizontalHeader().setSectionResizeMode(2, QHeaderView.ResizeMode.Stretch) self.dll_table.setStyleSheet(table_base_style) - self.tab_widget.addTab(self.dll_table, _("DLLs")) + self.tab_widget.addTab(self.dll_table, "DLLs") # Fonts tab self.fonts_table = QTableWidget() @@ -1296,10 +1296,6 @@ class WinetricksDialog(QDialog): if name and name not in selected: selected.append(name) - if not selected: - QMessageBox.information(self, _("Info"), _("No components selected.")) - return - # Load installed installed = set() if os.path.exists(self.log_path): @@ -1311,7 +1307,7 @@ class WinetricksDialog(QDialog): new_selected = [name for name in selected if name not in installed] if not new_selected: - QMessageBox.information(self, _("Info"), _("No new components selected.")) + QMessageBox.information(self, _("Warning"), _("No components selected.")) return self.install_button.setEnabled(False) diff --git a/portprotonqt/locales/de_DE/LC_MESSAGES/messages.mo b/portprotonqt/locales/de_DE/LC_MESSAGES/messages.mo index f947be4..d41b2c8 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 80f84bc..86e13f5 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-10-06 17:57+0500\n" +"POT-Creation-Date: 2025-10-07 15:26+0500\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language: de_DE\n" @@ -308,6 +308,45 @@ msgstr "" msgid "No cover selected" msgstr "" +msgid "Prefix Manager" +msgstr "" + +msgid "Set" +msgstr "" + +msgid "Libraries" +msgstr "" + +msgid "Information" +msgstr "" + +msgid "Fonts" +msgstr "" + +msgid "Settings" +msgstr "" + +msgid "Force Install" +msgstr "" + +msgid "Install" +msgstr "" + +msgid "Winetricks not found. Please try again." +msgstr "" + +msgid "Warning" +msgstr "" + +msgid "No components selected." +msgstr "" + +msgid "Installation failed. Check logs." +msgstr "" + +msgid "Components installed successfully." +msgstr "" + msgid "Loading Epic Games Store games..." msgstr "" diff --git a/portprotonqt/locales/es_ES/LC_MESSAGES/messages.mo b/portprotonqt/locales/es_ES/LC_MESSAGES/messages.mo index 45af5d7..55d5530 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 97640cc..6fea04c 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-10-06 17:57+0500\n" +"POT-Creation-Date: 2025-10-07 15:26+0500\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language: es_ES\n" @@ -308,6 +308,45 @@ msgstr "" msgid "No cover selected" msgstr "" +msgid "Prefix Manager" +msgstr "" + +msgid "Set" +msgstr "" + +msgid "Libraries" +msgstr "" + +msgid "Information" +msgstr "" + +msgid "Fonts" +msgstr "" + +msgid "Settings" +msgstr "" + +msgid "Force Install" +msgstr "" + +msgid "Install" +msgstr "" + +msgid "Winetricks not found. Please try again." +msgstr "" + +msgid "Warning" +msgstr "" + +msgid "No components selected." +msgstr "" + +msgid "Installation failed. Check logs." +msgstr "" + +msgid "Components installed successfully." +msgstr "" + msgid "Loading Epic Games Store games..." msgstr "" diff --git a/portprotonqt/locales/messages.pot b/portprotonqt/locales/messages.pot index 42eb778..626124e 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-10-06 17:57+0500\n" +"POT-Creation-Date: 2025-10-07 15:26+0500\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -306,6 +306,45 @@ msgstr "" msgid "No cover selected" msgstr "" +msgid "Prefix Manager" +msgstr "" + +msgid "Set" +msgstr "" + +msgid "Libraries" +msgstr "" + +msgid "Information" +msgstr "" + +msgid "Fonts" +msgstr "" + +msgid "Settings" +msgstr "" + +msgid "Force Install" +msgstr "" + +msgid "Install" +msgstr "" + +msgid "Winetricks not found. Please try again." +msgstr "" + +msgid "Warning" +msgstr "" + +msgid "No components selected." +msgstr "" + +msgid "Installation failed. Check logs." +msgstr "" + +msgid "Components installed successfully." +msgstr "" + msgid "Loading Epic Games Store games..." msgstr "" diff --git a/portprotonqt/locales/ru_RU/LC_MESSAGES/messages.mo b/portprotonqt/locales/ru_RU/LC_MESSAGES/messages.mo index dd99f44..94bee9e 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 fbc608f..e533b61 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-10-06 17:57+0500\n" -"PO-Revision-Date: 2025-10-06 17:57+0500\n" +"POT-Creation-Date: 2025-10-07 15:26+0500\n" +"PO-Revision-Date: 2025-10-07 15:27+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 "Ошибка" @@ -86,11 +87,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}" @@ -178,11 +179,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}" @@ -228,11 +229,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," -" чтобы изменения вступили в силу." +"'{game_name}' был(а) удалён(а) из Steam. Пожалуйста, перезапустите Steam, чтобы " +"изменения вступили в силу." #, python-brace-format msgid "Failed to remove game '{game_name}' from Steam: {error}" @@ -315,6 +316,45 @@ msgstr "Скачивание обложки..." msgid "No cover selected" msgstr "Обложка не выбрана" +msgid "Prefix Manager" +msgstr "Менеджер префиксов" + +msgid "Set" +msgstr "Выбор" + +msgid "Libraries" +msgstr "Библиотеки" + +msgid "Information" +msgstr "Описание" + +msgid "Fonts" +msgstr "Шрифты" + +msgid "Settings" +msgstr "Настройки" + +msgid "Force Install" +msgstr "Прунидительно установить" + +msgid "Install" +msgstr "Установить" + +msgid "Winetricks not found. Please try again." +msgstr "Winetricks не найден. Повторите попытку." + +msgid "Warning" +msgstr "Предупреждение" + +msgid "No components selected." +msgstr "Не выбрано ни одного компонента." + +msgid "Installation failed. Check logs." +msgstr "Установка не удалась. Проверьте журналы." + +msgid "Components installed successfully." +msgstr "Компоненты успешно установлены." + msgid "Loading Epic Games Store games..." msgstr "Загрузка игр из Epic Games Store..." @@ -567,8 +607,7 @@ msgstr "Подтвердите удаление" msgid "Are you sure you want to reset all settings? This action cannot be undone." msgstr "" -"Вы уверены, что хотите сбросить все настройки? Это действие нельзя " -"отменить." +"Вы уверены, что хотите сбросить все настройки? Это действие нельзя отменить." msgid "Settings reset. Restarting..." msgstr "Настройки сброшены. Перезапуск..." @@ -740,4 +779,3 @@ msgstr "Нет избранных" msgid "No recent games" msgstr "Нет недавних игр" -