]> git.phdru.name Git - m_librarian.git/blobdiff - m_librarian/translations.py
Fix(translations): Fix importing from `translations`
[m_librarian.git] / m_librarian / translations.py
index e3cbce455d5b6a739c50d0a6b35711e0a8a505d1..8542ffbe97b20d7562226d1370a430a105c0c206 100644 (file)
@@ -6,7 +6,7 @@ import os
 
 def get_translations(language):
     mo_filename = os.path.join(
-        os.path.dirname(__file__), 'translations', language + '.mo')
+        os.path.dirname(__file__), 'translations_dir', language + '.mo')
     if os.path.exists(mo_filename):
         mo_file = open(mo_filename, 'rb')
         translations = gettext.GNUTranslations(mo_file)