tests: Use de_DE.UTF-8 instead of de_DE in gsettings test

FreeBSD doesn't have a de_DE locale without encoding suffix.
This commit is contained in:
Ting-Wei Lan 2018-06-09 02:30:20 +08:00
parent b4259dec70
commit 313a0fffe5

View File

@ -749,7 +749,7 @@ test_l10n (void)
g_free (str);
str = NULL;
setlocale (LC_MESSAGES, "de_DE");
setlocale (LC_MESSAGES, "de_DE.UTF-8");
/* Only do the test if translation is actually working... */
if (g_str_equal (dgettext ("test", "\"Unnamed\""), "\"Unbenannt\""))
{
@ -796,7 +796,7 @@ test_l10n_context (void)
g_free (str);
str = NULL;
setlocale (LC_MESSAGES, "de_DE");
setlocale (LC_MESSAGES, "de_DE.UTF-8");
/* Only do the test if translation is actually working... */
if (g_str_equal (dgettext ("test", "\"Unnamed\""), "\"Unbenannt\""))
{