From 3de6eb89b4555148f4dc5a5d6d2647243a9c4442 Mon Sep 17 00:00:00 2001 From: ericbsd Date: Fri, 28 Nov 2025 22:17:41 -0400 Subject: [PATCH] Fixed the translation domain in `data.py` - Change translation domain from 'setup-station-init' to 'setup-station' for consistent localization support across the application. --- setup_station/data.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/setup_station/data.py b/setup_station/data.py index d7e0f41..23684ac 100644 --- a/setup_station/data.py +++ b/setup_station/data.py @@ -65,14 +65,14 @@ def reset(cls) -> None: def get_text(text: str) -> str: """ Global translation function that always returns current language translation. - + Args: text: Text to translate - + Returns: str: Translated text in current language """ # Force reload of translations for current language - gettext.bindtextdomain('setup-station-init', '/usr/local/share/locale') - gettext.textdomain('setup-station-init') + gettext.bindtextdomain('setup-station', '/usr/local/share/locale') + gettext.textdomain('setup-station') return gettext.gettext(text) \ No newline at end of file