mirror of
https://github.com/parchlinux/calamares.git
synced 2025-06-28 09:55:37 -04:00
Python-i18n: be explicit about parameters
This commit is contained in:
parent
c694792e4f
commit
fdb4be8189
2 changed files with 6 additions and 6 deletions
|
@ -34,9 +34,9 @@ import os
|
||||||
from time import gmtime, strftime, sleep
|
from time import gmtime, strftime, sleep
|
||||||
|
|
||||||
import gettext
|
import gettext
|
||||||
_ = gettext.translation("python",
|
_ = gettext.translation("calamares-python",
|
||||||
libcalamares.job.gettext_path,
|
localedir=libcalamares.job.gettext_path,
|
||||||
libcalamares.globalstorage.gettext_languages(),
|
languages=libcalamares.globalstorage.gettext_languages(),
|
||||||
fallback=True).gettext
|
fallback=True).gettext
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -25,9 +25,9 @@ import os
|
||||||
from libcalamares.utils import check_target_env_call, debug
|
from libcalamares.utils import check_target_env_call, debug
|
||||||
|
|
||||||
import gettext
|
import gettext
|
||||||
_ = gettext.translation("python",
|
_ = gettext.translan getion("calamares-python",
|
||||||
libcalamares.job.gettext_path,
|
localedir=libcalamares.job.gettext_path,
|
||||||
libcalamares.globalstorage.gettext_languages(),
|
languages=libcalamares.globalstorage.gettext_languages(),
|
||||||
fallback=True).gettext
|
fallback=True).gettext
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue