[glib/wip/smcv/sv-sv] tests: Use a more realistic language code than sv_SV
- From: Simon McVittie <smcv src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib/wip/smcv/sv-sv] tests: Use a more realistic language code than sv_SV
- Date: Sun, 14 Feb 2021 14:43:54 +0000 (UTC)
commit ee53840fa689642bd41db243eb8af9963e4676c0
Author: Simon McVittie <smcv collabora com>
Date: Sun Feb 14 14:43:12 2021 +0000
tests: Use a more realistic language code than sv_SV
Swedish as spoken in El Salvador is not listed in
/usr/share/i18n/SUPPORTED, and in any case is probably not what we meant.
A more plausible language code would be Swedish as spoken in Sweden.
Prompted by improving the Debian packaging of GLib to generate most of
the language codes mentioned in the tests, so that we can have better
test coverage.
Signed-off-by: Simon McVittie <smcv collabora com>
gio/tests/desktop-app-info.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gio/tests/desktop-app-info.c b/gio/tests/desktop-app-info.c
index 98601de4f..fcc29c579 100644
--- a/gio/tests/desktop-app-info.c
+++ b/gio/tests/desktop-app-info.c
@@ -303,7 +303,7 @@ test_extra_getters (void)
g_assert_cmpstr (s, ==, "Bratwurst");
g_free (s);
- g_setenv ("LANGUAGE", "sv_SV.UTF8", TRUE);
+ g_setenv ("LANGUAGE", "sv_SE.UTF8", TRUE);
setlocale (LC_ALL, "");
s = g_desktop_app_info_get_locale_string (appinfo, "X-JunkFood");
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]