[gnome-control-center] common: add Japanese to the popular languages



commit 5bf6c416f0d8b7204afd000cba778fcd7f89e129
Author: Jens Petersen <petersen redhat com>
Date:   Wed Sep 26 03:38:00 2012 +0000

    common: add Japanese to the popular languages
    
    Eigth place in the list:
    http://www.andaman.org/BOOK/reprints/weber/rep-weber.htm
    
    https://bugzilla.gnome.org/show_bug.cgi?id=684845

 panels/common/cc-common-language.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/panels/common/cc-common-language.c b/panels/common/cc-common-language.c
index fa59b91..4984916 100644
--- a/panels/common/cc-common-language.c
+++ b/panels/common/cc-common-language.c
@@ -564,6 +564,9 @@ cc_common_language_get_initial_languages (void)
                 g_hash_table_insert (ht, g_strdup ("es_ES.utf8"), g_strdup (_("Spanish")));
         if (gdm_language_has_translations ("zh_CN"))
                 g_hash_table_insert (ht, g_strdup ("zh_CN.utf8"), g_strdup (_("Chinese (simplified)")));
+        if (gdm_language_has_translations ("ja") ||
+            gdm_language_has_translations ("ja_JP"))
+                g_hash_table_insert (ht, g_strdup ("ja_JP.utf8"), g_strdup (_("Japanese")));
         if (gdm_language_has_translations ("ru") ||
             gdm_language_has_translations ("ru_RU"))
                  g_hash_table_insert (ht, g_strdup ("ru_RU.utf8"), g_strdup (_("Russian")));



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