Add English localization and MIT-licensed public release documentation
Tests / unit (de, 3.10) (push) Has been cancelled
Tests / unit (de, 3.14) (push) Has been cancelled
Tests / unit (en, 3.14) (push) Has been cancelled
Tests / unit (en, 3.10) (push) Has been cancelled

This commit is contained in:
Justin
2026-09-05 21:02:14 +02:00
parent 3579667c6e
commit dd0809e877
31 changed files with 1261 additions and 377 deletions
+2 -1
View File
@@ -4,6 +4,7 @@ import sys
from pathlib import Path
sys.path.insert(0, str(Path(__file__).resolve().parents[1]))
from btd700.app import Application
from btd700.i18n import tr
from gi.repository import Gio, GLib, Gtk
app = Application(demo=True)
@@ -16,7 +17,7 @@ bus_pending = False
def menu_item(labels):
root = app.tray.root
for label in labels:
root = next(item for item in root.get_children() if item.property_get('label') == label)
root = next(item for item in root.get_children() if item.property_get('label') == tr(label))
return root