mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-25 15:06:14 +01:00
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:
parent
b4259dec70
commit
313a0fffe5
@ -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\""))
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user