[dconf-editor] Some i18n fixes.
- From: Arnaud Bonatti <arnaudb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [dconf-editor] Some i18n fixes.
- Date: Wed, 29 Nov 2017 17:41:28 +0000 (UTC)
commit 36d8a2a22e07aec0aaefc23e8bbcbd677cd4afda
Author: Arnaud Bonatti <arnaud bonatti gmail com>
Date: Wed Nov 29 18:40:58 2017 +0100
Some i18n fixes.
editor/dconf-model.vala | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/editor/dconf-model.vala b/editor/dconf-model.vala
index 5992ec0..85934ff 100644
--- a/editor/dconf-model.vala
+++ b/editor/dconf-model.vala
@@ -492,6 +492,12 @@ public class GSettingsKey : Key
public GSettingsKey (Directory parent, string name, GLib.Settings settings, string schema_id, string
summary, string description, string type_string, Variant default_value, string range_type, Variant
range_content)
{
+ string? summary_nullable = summary.locale_to_utf8 (-1, null, null, null);
+ summary = summary_nullable ?? summary;
+
+ string? description_nullable = description.locale_to_utf8 (-1, null, null, null);
+ description = description_nullable ?? description;
+
Object (full_name: parent.full_name + name,
name: name,
// schema infos
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]