chore(FileExplorer): added localization to path label
All checks were successful
Check Translations / check-translations (push) Successful in 14s
Code and build check / Check code (push) Successful in 1m32s
Code and build check / Build with uv (push) Successful in 54s

Signed-off-by: Boris Yumankulov <boria138@altlinux.org>
This commit is contained in:
2025-06-28 09:07:32 +05:00
parent f5b1da3548
commit bcfa3cdb89
10 changed files with 41 additions and 158 deletions

View File

@ -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 |
---

View File

@ -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 |
---

View File

@ -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:

View File

@ -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 <EMAIL@ADDRESS>\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 ""

View File

@ -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 <EMAIL@ADDRESS>\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 ""

View File

@ -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 <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\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 ""

View File

@ -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 <LL@li.org>\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 "сек."