[librsvg/librsvg-2.44] rsvg-test.c: Add plain "en" to the locale so the systemLanguage tests pick it up



commit 3201041193406993fc74f92fbad9308507f3fe0e
Author: Federico Mena Quintero <federico gnome org>
Date:   Thu Oct 4 17:57:53 2018 -0500

    rsvg-test.c: Add plain "en" to the locale so the systemLanguage tests pick it up
    
    One of the test SVGs has systemLanguage="en".  We were setting "en_US"
    as part of the locale environment; we need "en_US:en" so that general
    English will be picked up.

 tests/rsvg-test.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/tests/rsvg-test.c b/tests/rsvg-test.c
index 260f2df8..6b4bb736 100644
--- a/tests/rsvg-test.c
+++ b/tests/rsvg-test.c
@@ -380,7 +380,7 @@ main (int argc, char **argv)
     int result;
 
     /* For systemLanguage attribute tests */
-    g_setenv ("LANGUAGE", "de:en_US", TRUE);
+    g_setenv ("LANGUAGE", "de:en_US:en", TRUE);
 
     g_test_init (&argc, &argv, NULL);
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]