From fc873cd6c338be329c13e8b5da5cee1ad8a700a5 Mon Sep 17 00:00:00 2001 From: Jehan Date: Fri, 5 Jul 2013 23:38:10 +0900 Subject: [PATCH] Bug 576910: Show 'Language' setting languages in native language Showing the current system locale between square brackets in the "System Language" item was causing some issues on some systems (showing some very weird and long value). This was mostly a cosmetic change anyway with limited gain. Let's just get rid of it. The main part of the feature (each language displayed in itself) is still there. --- app/widgets/gimptranslationstore.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/widgets/gimptranslationstore.c b/app/widgets/gimptranslationstore.c index e3e91e1456..b5f1c00b45 100644 --- a/app/widgets/gimptranslationstore.c +++ b/app/widgets/gimptranslationstore.c @@ -99,8 +99,7 @@ gimp_translation_store_constructed (GObject *object) * We want the system locale to be localized in itself. */ g_setenv ("LANGUAGE", setlocale (LC_ALL, NULL), TRUE); setlocale (LC_ALL, ""); - label = g_strdup_printf ("%s [%s]", _("System Language"), - setlocale (LC_ALL, NULL)); + label = g_strdup_printf ("%s", _("System Language")); g_setenv ("LANGUAGE", current_lang, TRUE); setlocale (LC_ALL, ""); g_free (current_lang);