Python-i18n: be explicit about parameters
This commit is contained in:
parent
c694792e4f
commit
fdb4be8189
@ -34,9 +34,9 @@ import os
|
||||
from time import gmtime, strftime, sleep
|
||||
|
||||
import gettext
|
||||
_ = gettext.translation("python",
|
||||
libcalamares.job.gettext_path,
|
||||
libcalamares.globalstorage.gettext_languages(),
|
||||
_ = gettext.translation("calamares-python",
|
||||
localedir=libcalamares.job.gettext_path,
|
||||
languages=libcalamares.globalstorage.gettext_languages(),
|
||||
fallback=True).gettext
|
||||
|
||||
|
||||
|
@ -25,9 +25,9 @@ import os
|
||||
from libcalamares.utils import check_target_env_call, debug
|
||||
|
||||
import gettext
|
||||
_ = gettext.translation("python",
|
||||
libcalamares.job.gettext_path,
|
||||
libcalamares.globalstorage.gettext_languages(),
|
||||
_ = gettext.translan getion("calamares-python",
|
||||
localedir=libcalamares.job.gettext_path,
|
||||
languages=libcalamares.globalstorage.gettext_languages(),
|
||||
fallback=True).gettext
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user