projects
/
platform
/
upstream
/
ibus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e97056e
)
tests: set LC_ALL to C instead of en_US.Utf-8
author
Daiki Ueno
<ueno@unixuser.org>
Fri, 5 Oct 2012 00:50:38 +0000
(09:50 +0900)
committer
Daiki Ueno
<ueno@unixuser.org>
Fri, 5 Oct 2012 00:50:38 +0000
(09:50 +0900)
If LC_* is not "C" and there is no translation found in the current locale, gettext honors the LANGUAGE envvar.
BUG=Issue#1515
Review URL: https://codereview.appspot.com/6592074
src/tests/ibus-util.c
patch
|
blob
|
history
diff --git
a/src/tests/ibus-util.c
b/src/tests/ibus-util.c
index
7a6dd40
..
5db7ad2
100644
(file)
--- a/
src/tests/ibus-util.c
+++ b/
src/tests/ibus-util.c
@@
-10,7
+10,7
@@
int main (int argc, char **argv)
{
- setlocale(LC_ALL, "
en_US.Utf-8
");
+ setlocale(LC_ALL, "
C
");
g_assert_cmpstr (ibus_get_language_name ("eng"), ==, "English");