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

View File

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