mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2025-12-15 17:20:07 +01:00
tests: use a currently used string for intl test
This commit is contained in:
@@ -28,8 +28,8 @@ class intl_Tests(wtc.WidgetTestCase):
|
||||
def test_intlGetString(self):
|
||||
# This tests if we're able to pull translations from the wx message catalogs
|
||||
loc = wx.Locale(wx.LANGUAGE_SPANISH)
|
||||
st = loc.GetString('Next')
|
||||
self.assertEqual(st, 'Siguiente')
|
||||
st = loc.GetString('&Next')
|
||||
self.assertEqual(st, '&Siguiente')
|
||||
|
||||
|
||||
def test_intlConstants(self):
|
||||
|
||||
Reference in New Issue
Block a user