summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--aurweb/l10n.py2
-rw-r--r--web/lib/translator.inc.php3
2 files changed, 2 insertions, 3 deletions
diff --git a/aurweb/l10n.py b/aurweb/l10n.py
index e58e3fe2..66e0f1c0 100644
--- a/aurweb/l10n.py
+++ b/aurweb/l10n.py
@@ -9,7 +9,7 @@ class Translator:
if lang == 'en':
return s
if lang not in self._translator:
- self._translator[lang] = gettext.translation("aur",
+ self._translator[lang] = gettext.translation("aurweb",
"../../web/locale",
languages=[lang])
self._translator[lang].install()
diff --git a/web/lib/translator.inc.php b/web/lib/translator.inc.php
index d10f8e90..cd944c56 100644
--- a/web/lib/translator.inc.php
+++ b/web/lib/translator.inc.php
@@ -131,9 +131,8 @@ function set_lang() {
}
$streamer = new FileReader('../locale/' . $LANG .
- '/LC_MESSAGES/aur.mo');
+ '/LC_MESSAGES/aurweb.mo');
$l10n = new gettext_reader($streamer, true);
return;
}
-