[dconf-editor] Some i18n fixes.



commit 7e1121f491b6796bb8e8f15c4ef258c56444fe8c
Author: Arnaud Bonatti <arnaud bonatti gmail com>
Date:   Tue Aug 2 22:12:09 2016 +0200

    Some i18n fixes.

 editor/dconf-editor.css |    4 ++--
 editor/dconf-model.vala |    4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/editor/dconf-editor.css b/editor/dconf-editor.css
index 95b060b..94cc238 100644
--- a/editor/dconf-editor.css
+++ b/editor/dconf-editor.css
@@ -171,8 +171,8 @@ window > popover.menu {
   border-bottom-color:#8b8e8f;  /* color mostly used for backdrop things */
 }
 
-.pathbar:dir(ltr) > button:disabled       > .item,
-.pathbar:dir(ltr) > button:disabled:hover > .item {
+.pathbar          > button:disabled       > .item,
+.pathbar          > button:disabled:hover > .item {
   border-bottom-color: @theme_selected_bg_color;
 }
 
diff --git a/editor/dconf-model.vala b/editor/dconf-model.vala
index 9430bb6..dc1e59c 100644
--- a/editor/dconf-model.vala
+++ b/editor/dconf-model.vala
@@ -124,8 +124,8 @@ public class Directory : SettingObject
                 key_id,
                 settings,
                 settings.schema_id,
-                ((!) (settings_schema_key.get_summary () ?? "")).strip (),
-                ((!) (settings_schema_key.get_description () ?? "")).strip (),
+                ((!) (settings_schema_key.get_summary () ?? "")).strip ().locale_to_utf8 (-1, null, null, 
null) ?? "",
+                ((!) (settings_schema_key.get_description () ?? "")).strip ().locale_to_utf8 (-1, null, 
null, null) ?? "",
                 type_string,
                 settings.get_default_value (key_id), /* TODO present also 
settings_schema_key.get_default_value () */
                 range_type,


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