[tor-commits] [gettor/master] Change es string test to match json file
cohosh at torproject.org
cohosh at torproject.org
Thu Jan 23 18:33:31 UTC 2020
commit 9bbda2ab504f7ffe9c4a31c17c741379d190ddb8
Author: Cecylia Bocovich <cohosh at torproject.org>
Date: Mon Jan 20 20:00:03 2020 -0500
Change es string test to match json file
We haven't translated any es or pt strings, so use the English
translation for now until we update those files.
---
tests/test_locales.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/test_locales.py b/tests/test_locales.py
index d4e52c5..54e0598 100644
--- a/tests/test_locales.py
+++ b/tests/test_locales.py
@@ -28,7 +28,7 @@ class LocalesTests(unittest.TestCase):
def test_load_es_strings(self):
conftests.strings.load_strings("es")
- self.assertEqual(conftests.strings._("smtp_help_subject"), "[GetTor] Ayuda")
+ self.assertEqual(conftests.strings._("smtp_help_subject"), "[GetTor] Help")
def test_locale_supported(self):
self.assertEqual(self.locales['en']['language'], "English")
More information about the tor-commits
mailing list