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