[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [gettor/master] Change es string test to match json file



commit 9bbda2ab504f7ffe9c4a31c17c741379d190ddb8
Author: Cecylia Bocovich <cohosh@xxxxxxxxxxxxxx>
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")



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits