]> git.phdru.name Git - m_librarian.git/blob - tests/test_translations.py
Fix(wx/search): Do not allow empty search value
[m_librarian.git] / tests / test_translations.py
1 # coding: utf-8
2
3 from m_librarian.translations import get_translations
4
5 translations = get_translations('ru')
6 _ = getattr(translations, 'ugettext', None) or translations.gettext
7
8
9 def test_translations():
10     assert _('xxx') == u'xxx'
11     assert _('File') == u'Файл'