]> git.phdru.name Git - m_librarian.git/commit
Feat: Get translations by language
authorOleg Broytman <phd@phdru.name>
Sun, 22 Apr 2018 19:03:31 +0000 (22:03 +0300)
committerOleg Broytman <phd@phdru.name>
Sun, 22 Apr 2018 20:57:43 +0000 (23:57 +0300)
commitc02531fc55b9bc998de8bf825507bf0d3e53b74e
treef69d657173c0140b8ff0db6f1310f1a915e5aaaa
parent99f6d6dab6446bfb9267c3cc7c0babfee531b6fd
Feat: Get translations by language

Rename 'ru_RU' translations to just 'ru'.
Force language 'ru' for test_translations.py.
m_librarian/translations.py
m_librarian/translations/ru.mo [moved from m_librarian/translations/ru_RU.mo with 100% similarity]
m_librarian/translations/ru.po [moved from m_librarian/translations/ru_RU.po with 100% similarity]
tests/test_translations.py