mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-05-17 11:11:58 +02: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);
|
g_free (str);
|
||||||
str = NULL;
|
str = NULL;
|
||||||
|
|
||||||
setlocale (LC_MESSAGES, "de_DE");
|
setlocale (LC_MESSAGES, "de_DE.UTF-8");
|
||||||
/* Only do the test if translation is actually working... */
|
/* Only do the test if translation is actually working... */
|
||||||
if (g_str_equal (dgettext ("test", "\"Unnamed\""), "\"Unbenannt\""))
|
if (g_str_equal (dgettext ("test", "\"Unnamed\""), "\"Unbenannt\""))
|
||||||
{
|
{
|
||||||
@ -796,7 +796,7 @@ test_l10n_context (void)
|
|||||||
g_free (str);
|
g_free (str);
|
||||||
str = NULL;
|
str = NULL;
|
||||||
|
|
||||||
setlocale (LC_MESSAGES, "de_DE");
|
setlocale (LC_MESSAGES, "de_DE.UTF-8");
|
||||||
/* Only do the test if translation is actually working... */
|
/* Only do the test if translation is actually working... */
|
||||||
if (g_str_equal (dgettext ("test", "\"Unnamed\""), "\"Unbenannt\""))
|
if (g_str_equal (dgettext ("test", "\"Unnamed\""), "\"Unbenannt\""))
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user