|
@ -16,10 +16,10 @@ |
|
|
# |
|
|
# |
|
|
# i18n.load('english') |
|
|
# i18n.load('english') |
|
|
# self.assertTrue(i18n._DICTIONARY is not None) |
|
|
# self.assertTrue(i18n._DICTIONARY is not None) |
|
|
# self.assertEqual('Cancel', i18n.translate('cancel')) |
|
|
|
|
|
|
|
|
# self.assertEqual('Cancel', i18n._('cancel')) |
|
|
# |
|
|
# |
|
|
# i18n.load('french') |
|
|
# i18n.load('french') |
|
|
# self.assertEqual('Annuler', i18n.translate('cancel')) |
|
|
|
|
|
|
|
|
# self.assertEqual('Annuler', i18n._('cancel')) |
|
|
# |
|
|
# |
|
|
# |
|
|
# |
|
|
# def test_i18n_throws_exception_on_no_lang_file_found(self): |
|
|
# def test_i18n_throws_exception_on_no_lang_file_found(self): |
|
|