From a8295a717d73e97ef5c02cb6db963902e4f189e1 Mon Sep 17 00:00:00 2001 From: chriskiehl Date: Mon, 25 May 2015 16:47:00 -0400 Subject: [PATCH] i18n cleanup --- gooey/tests/i18n_unittest.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gooey/tests/i18n_unittest.py b/gooey/tests/i18n_unittest.py index 97f298c..6461902 100644 --- a/gooey/tests/i18n_unittest.py +++ b/gooey/tests/i18n_unittest.py @@ -16,10 +16,10 @@ # # i18n.load('english') # self.assertTrue(i18n._DICTIONARY is not None) -# self.assertEqual('Cancel', i18n.translate('cancel')) +# self.assertEqual('Cancel', i18n._('cancel')) # # 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):