mirror of
https://github.com/parchlinux/calamares.git
synced 2025-06-28 09:55:37 -04:00
Python-i18n: prepare for move of API to libcalamares.utils, be less verbose
This commit is contained in:
parent
fdb4be8189
commit
1dbe7c29e2
3 changed files with 4 additions and 5 deletions
|
@ -35,8 +35,8 @@ from time import gmtime, strftime, sleep
|
|||
|
||||
import gettext
|
||||
_ = gettext.translation("calamares-python",
|
||||
localedir=libcalamares.job.gettext_path,
|
||||
languages=libcalamares.globalstorage.gettext_languages(),
|
||||
localedir=libcalamares.utils.gettext_path,
|
||||
languages=libcalamares.utils.gettext_languages(),
|
||||
fallback=True).gettext
|
||||
|
||||
|
||||
|
|
|
@ -26,8 +26,8 @@ from libcalamares.utils import check_target_env_call, debug
|
|||
|
||||
import gettext
|
||||
_ = gettext.translan getion("calamares-python",
|
||||
localedir=libcalamares.job.gettext_path,
|
||||
languages=libcalamares.globalstorage.gettext_languages(),
|
||||
localedir=libcalamares.utils.gettext_path,
|
||||
languages=libcalamares.utils.gettext_languages(),
|
||||
fallback=True).gettext
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue