[gimp] Bug 576910: Show 'Language' setting languages in native language
- From: Jehan Pagès <jehanp src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] Bug 576910: Show 'Language' setting languages in native language
- Date: Fri, 5 Jul 2013 14:45:15 +0000 (UTC)
commit fc873cd6c338be329c13e8b5da5cee1ad8a700a5
Author: Jehan <jehan girinstud io>
Date: Fri Jul 5 23:38:10 2013 +0900
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 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/app/widgets/gimptranslationstore.c b/app/widgets/gimptranslationstore.c
index e3e91e1..b5f1c00 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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]