4 Commits

Author SHA1 Message Date
Steven Lang
62b87fca20 Fixed locale test in the presence of LANGUAGE
According to GNU documents, the priority order of language variables
is LANGUAGE, LC_ALL, LC_*, LANG. Therefore, if LANGUAGE is set, it
overrides the LC_ALL setting from the test. An empty value is ignored,
and setting it to empty is easier to deal with than just deleting the
variable.

Also fixed the Google translate fail esperanto grammar.

Fixes bug 1235058

Change-Id: Ic97b90dfc21997e19cc473250794a9b3c526beb5
2013-11-21 15:16:10 -08:00
Peter Portante
63370ea466 Quiet all locale warnings and dummy thread, too
Change-Id: I0c68b94ec234e470ce2d50da01d8ae1cd10fae58
Signed-off-by: Peter Portante <peter.portante@redhat.com>
2013-11-19 11:32:19 -05:00
Pete Zaitcev
c7e65db27d Make test_translations test our tree
In order to run the correct classes, Python test framework adjusts
sys.path. However, these changes are not propagated to subprocesses.
Therefore, the test actually tries to test installed Swift, not
the one in which it is running.

The usual suggestion is to run "python setup.py develop" before
testing, but it's annoying and error-prone. If you forget it,
you may test the code in /usr very easily, and never know.

Let's just pass the correct path to subprocess. Much safer.

Change-Id: Ic71314e8462cf6e0579d704ffe9fbbfac7e6ba24
2013-10-04 23:23:23 -06:00
Clay Gerrard
ce12d66cf9 fix swift i18n
Change-Id: I53cea28a6d7593a1b308dbcf77dddf7f40d76cb2
2013-09-09 20:25:00 -07:00