Python-i18n: be explicit about parameters

This commit is contained in:
Adriaan de Groot 2017-08-15 11:46:25 +02:00
parent c694792e4f
commit fdb4be8189
2 changed files with 6 additions and 6 deletions

View File

@ -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

View File

@ -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