[gnome-control-center] common: Add Russian as a common language



commit 0e2b4a9600cf9c82c021baa034beecf067f6fbc4
Author: Bastien Nocera <hadess hadess net>
Date:   Thu Mar 8 13:54:30 2012 +0100

    common: Add Russian as a common language
    
    https://bugzilla.gnome.org/show_bug.cgi?id=671530

 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 e8c8e4d..29904ae 100644
--- a/panels/common/cc-common-language.c
+++ b/panels/common/cc-common-language.c
@@ -534,6 +534,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 ("ru") ||
+            gdm_language_has_translations ("ru_RU"))
+                 g_hash_table_insert (ht, g_strdup ("ru_RU.utf8"), g_strdup (_("Russian")));
 
         /* Add the languages used by other users on the system */
         add_other_users_language (ht);



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