diff --git a/documentation/localization_guide/README.md b/documentation/localization_guide/README.md index af7c96c..ac876da 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 239 | -| [es_ES](./es_ES/LC_MESSAGES/messages.po) | 0% | 0 of 239 | -| [ru_RU](./ru_RU/LC_MESSAGES/messages.po) | 100% | 239 of 239 | +| [de_DE](./de_DE/LC_MESSAGES/messages.po) | 0% | 0 of 240 | +| [es_ES](./es_ES/LC_MESSAGES/messages.po) | 0% | 0 of 240 | +| [ru_RU](./ru_RU/LC_MESSAGES/messages.po) | 100% | 240 of 240 | --- diff --git a/documentation/localization_guide/README.ru.md b/documentation/localization_guide/README.ru.md index 20c95ba..f0bcfec 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 из 239 | -| [es_ES](./es_ES/LC_MESSAGES/messages.po) | 0% | 0 из 239 | -| [ru_RU](./ru_RU/LC_MESSAGES/messages.po) | 100% | 239 из 239 | +| [de_DE](./de_DE/LC_MESSAGES/messages.po) | 0% | 0 из 240 | +| [es_ES](./es_ES/LC_MESSAGES/messages.po) | 0% | 0 из 240 | +| [ru_RU](./ru_RU/LC_MESSAGES/messages.po) | 100% | 240 из 240 | --- diff --git a/portprotonqt/locales/de_DE/LC_MESSAGES/messages.mo b/portprotonqt/locales/de_DE/LC_MESSAGES/messages.mo index b006e4e..623f057 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 1452c41..59441c7 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-12 15:20+0500\n" +"POT-Creation-Date: 2025-10-12 17:14+0500\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language: de_DE\n" @@ -419,6 +419,10 @@ msgstr "" msgid "Failed to start installation." msgstr "" +#, python-brace-format +msgid "Processed {} installation..." +msgstr "" + msgid "Installation completed successfully." msgstr "" diff --git a/portprotonqt/locales/es_ES/LC_MESSAGES/messages.mo b/portprotonqt/locales/es_ES/LC_MESSAGES/messages.mo index 7874b3e..9afa5cf 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 5c2fca7..c856d67 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-12 15:20+0500\n" +"POT-Creation-Date: 2025-10-12 17:14+0500\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language: es_ES\n" @@ -419,6 +419,10 @@ msgstr "" msgid "Failed to start installation." msgstr "" +#, python-brace-format +msgid "Processed {} installation..." +msgstr "" + msgid "Installation completed successfully." msgstr "" diff --git a/portprotonqt/locales/messages.pot b/portprotonqt/locales/messages.pot index fb2128a..8fa41f1 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-12 15:20+0500\n" +"POT-Creation-Date: 2025-10-12 17:14+0500\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -417,6 +417,10 @@ msgstr "" msgid "Failed to start installation." msgstr "" +#, python-brace-format +msgid "Processed {} installation..." +msgstr "" + msgid "Installation completed successfully." msgstr "" diff --git a/portprotonqt/locales/ru_RU/LC_MESSAGES/messages.mo b/portprotonqt/locales/ru_RU/LC_MESSAGES/messages.mo index f2e427a..befe156 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 6f251f3..9e9fb6f 100644 --- a/portprotonqt/locales/ru_RU/LC_MESSAGES/messages.po +++ b/portprotonqt/locales/ru_RU/LC_MESSAGES/messages.po @@ -9,8 +9,8 @@ msgid "" msgstr "" "Project-Id-Version: PROJECT VERSION\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" -"POT-Creation-Date: 2025-10-12 15:20+0500\n" -"PO-Revision-Date: 2025-10-12 15:20+0500\n" +"POT-Creation-Date: 2025-10-12 17:14+0500\n" +"PO-Revision-Date: 2025-10-12 17:13+0500\n" "Last-Translator: \n" "Language: ru_RU\n" "Language-Team: ru_RU \n" @@ -426,6 +426,10 @@ msgstr "Установка уже выполняется." msgid "Failed to start installation." msgstr "Не удалось запустить установку." +#, python-brace-format +msgid "Processed {} installation..." +msgstr "В процессе установки {}..." + msgid "Installation completed successfully." msgstr "Установка завершена успешно." diff --git a/portprotonqt/main_window.py b/portprotonqt/main_window.py index 852a29b..b766b27 100644 --- a/portprotonqt/main_window.py +++ b/portprotonqt/main_window.py @@ -467,7 +467,7 @@ class MainWindow(QMainWindow): return self.progress_bar.setVisible(True) self.progress_bar.setRange(0, 0) # Indeterminate - self.update_status_message.emit(f"Processed {script_name} installation...", 0) + self.update_status_message.emit(_("Processed {} installation...").format(script_name), 0) self.install_monitor_timer = QTimer(self) self.install_monitor_timer.timeout.connect(self.monitor_install_progress) self.install_monitor_timer.start(2000) # Start monitoring after 2s