diff --git a/data/io.github.vual.metainfo.xml b/data/io.github.vual.metainfo.xml index d3f5e4e..1f74bbb 100644 --- a/data/io.github.vual.metainfo.xml +++ b/data/io.github.vual.metainfo.xml @@ -97,6 +97,12 @@ + + +

Open tables folder from tile menu, shortened menu labels, language selector fully localized, screenshot height fix.

+

Открытие папки таблиц из меню, сокращённые пункты меню, полная локализация выбора языка, исправление высоты скриншотов.

+
+

Code split into modules, new icon, screenshots, version check before download, full localization sync.

diff --git a/po/en.po b/po/en.po index 47d6ed7..4750107 100644 --- a/po/en.po +++ b/po/en.po @@ -4,7 +4,7 @@ # msgid "" msgstr "" -"Project-Id-Version: vual 0.3.0\n" +"Project-Id-Version: vual 0.3.1\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2026-03-19 00:00+0000\n" "PO-Revision-Date: 2026-03-19 00:00+0000\n" @@ -248,15 +248,18 @@ msgstr "Refresh cover" msgid "Launch game" msgstr "Launch game" -msgid "Launch Cheat Engine" -msgstr "Launch Cheat Engine" +msgid "Launch CE" +msgstr "Launch CE" msgid "Assign table…" -msgstr "Assign table…" +msgstr "Assign…" msgid "Remove table" msgstr "Remove table" +msgid "Tables folder" +msgstr "Tables folder" + msgid "Select Cheat Engine table" msgstr "Select Cheat Engine table" diff --git a/po/ru.po b/po/ru.po index 4a88b4d..1efc03f 100644 --- a/po/ru.po +++ b/po/ru.po @@ -4,7 +4,7 @@ # msgid "" msgstr "" -"Project-Id-Version: vual 0.3.0\n" +"Project-Id-Version: vual 0.3.1\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2026-03-19 00:00+0000\n" "PO-Revision-Date: 2026-03-19 00:00+0000\n" @@ -254,15 +254,18 @@ msgstr "Обновить обложку" msgid "Launch game" msgstr "Запустить игру" -msgid "Launch Cheat Engine" -msgstr "Запустить Cheat Engine" +msgid "Launch CE" +msgstr "Запуск CE" msgid "Assign table…" -msgstr "Назначить таблицу…" +msgstr "Назначить…" msgid "Remove table" msgstr "Убрать таблицу" +msgid "Tables folder" +msgstr "Папка таблиц" + msgid "Select Cheat Engine table" msgstr "Выберите таблицу Cheat Engine" diff --git a/pyproject.toml b/pyproject.toml index 19480ef..da6e9de 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "vual" -version = "0.3.0" +version = "0.3.1" description = "Launch Cheat Engine for Steam games via Proton" readme = "README.md" license = "GPL-3.0-or-later" diff --git a/src/vual/__init__.py b/src/vual/__init__.py index 5332192..1e7adab 100644 --- a/src/vual/__init__.py +++ b/src/vual/__init__.py @@ -2,7 +2,7 @@ from pathlib import Path -__version__ = "0.3.0" +__version__ = "0.3.1" APP_ID = "io.github.vual" APP_NAME = "Vual" diff --git a/src/vual/locale/en/LC_MESSAGES/vual.mo b/src/vual/locale/en/LC_MESSAGES/vual.mo index 1b0f8d7..a03ee1c 100644 Binary files a/src/vual/locale/en/LC_MESSAGES/vual.mo and b/src/vual/locale/en/LC_MESSAGES/vual.mo differ diff --git a/src/vual/locale/ru/LC_MESSAGES/vual.mo b/src/vual/locale/ru/LC_MESSAGES/vual.mo index a1e9b47..b1c8127 100644 Binary files a/src/vual/locale/ru/LC_MESSAGES/vual.mo and b/src/vual/locale/ru/LC_MESSAGES/vual.mo differ diff --git a/src/vual/ui/game_tile.py b/src/vual/ui/game_tile.py index 6162864..6e405fa 100644 --- a/src/vual/ui/game_tile.py +++ b/src/vual/ui/game_tile.py @@ -90,7 +90,8 @@ class GameTile(Gtk.Overlay): self._update_ce_tooltip() ce_menu = Gio.Menu() - ce_menu.append(_("Launch Cheat Engine"), "tile.launch-ce") + ce_menu.append(_("Launch CE"), "tile.launch-ce") + ce_menu.append(_("Tables folder"), "tile.open-tables-folder") ce_menu.append(_("Assign table\u2026"), "tile.assign-table") ce_menu.append(_("Remove table"), "tile.remove-table") @@ -113,6 +114,10 @@ class GameTile(Gtk.Overlay): self._act_remove.set_enabled(tables.get_table(self._app_id) is not None) group.add_action(self._act_remove) + act_open_folder = Gio.SimpleAction.new("open-tables-folder", None) + act_open_folder.connect("activate", lambda *_: self._on_open_tables_folder()) + group.add_action(act_open_folder) + self.insert_action_group("tile", group) row.append(self._btn_ce) @@ -223,12 +228,16 @@ class GameTile(Gtk.Overlay): self._act_remove.set_enabled(False) self._update_ce_tooltip() + def _on_open_tables_folder(self) -> None: + tables.TABLES_DIR.mkdir(parents=True, exist_ok=True) + Gtk.FileLauncher.new(Gio.File.new_for_path(str(tables.TABLES_DIR))).launch(None, None, None) + def _update_ce_tooltip(self) -> None: name = tables.get_table_name(self._app_id) if name: self._btn_ce.set_tooltip_text(f"CE: {name}") else: - self._btn_ce.set_tooltip_text(_("Launch Cheat Engine")) + self._btn_ce.set_tooltip_text(_("Launch CE")) def mark_table_bound(self) -> None: """Refresh table indicator after binding.""" diff --git a/src/vual/ui/main_page.py b/src/vual/ui/main_page.py index 7ba9c29..6e3e93e 100644 --- a/src/vual/ui/main_page.py +++ b/src/vual/ui/main_page.py @@ -358,6 +358,7 @@ class MainPage(Adw.Bin): """Open file chooser to select a .CT table for *app_id*.""" dialog = Gtk.FileDialog() dialog.set_title(_("Select Cheat Engine table")) + dialog.set_initial_folder(Gio.File.new_for_path(str(tables.TABLES_DIR))) f = Gtk.FileFilter() f.set_name(_("CE tables (*.CT)"))