Hello everybody! Reviewing translations of the “dconf-editor” module I
maintain, I’ve discovered that I had a string generation problem: in
the gschema file, four strings contains line breaks, but these line
breaks doesn’t finish in the po files, and so the translations made by
translators do not finish in the application. So sad. :·( That has
been reported in the Bugzilla instance by Piotr Drąg[1] against GLib
using another module as example.

So. I’m not sure if I’m in a “string freeze break request” case or not
(I don’t find my exact case in the Wiki[2]), but I have two
proposition for fixing these bug-ly untranslated strings:
 – Proposition 1: fix the string generation using “

” in the
gschema file, and let translators redo the translations;
 – Proposition 2: replace the two line breaks by one space, so that
all translations already done work, but without any line break (and
I’d change the strings next cycle for what is wanted).
I had also planned a 1bis proposition, where I fix the gschema file
and all the translations in one patch, avoiding work from translators,
but following previous discussion, that’s probably not a path I can
follow. ;)

Anyway, should I do something, or not, and if yes what? That’s not an
important change, but for now translators are working on strings that
doesn’t appear, and that lost time makes me sad. :·(

Waiting for your suggestions,
Arnaud


[1] https://bugzilla.gnome.org/show_bug.cgi?id=793931
[2] https://wiki.gnome.org/TranslationProject/HandlingStringFreezes

-- 
Arnaud Bonatti
________________________________
courriel : arnaud.bona...@gmail.com
From 6b371b87d30bb894b6038fbb443834c55b278f60 Mon Sep 17 00:00:00 2001
From: Arnaud Bonatti <arnaud.bona...@gmail.com>
Date: Mon, 5 Mar 2018 09:21:47 +0100
Subject: [PATCH] Proposition 1.

---
 editor/ca.desrt.dconf-editor.gschema.xml | 16 ++++------------
 1 file changed, 4 insertions(+), 12 deletions(-)

diff --git a/editor/ca.desrt.dconf-editor.gschema.xml b/editor/ca.desrt.dconf-editor.gschema.xml
index aeb7ccc..d3f02c5 100644
--- a/editor/ca.desrt.dconf-editor.gschema.xml
+++ b/editor/ca.desrt.dconf-editor.gschema.xml
@@ -234,30 +234,22 @@
     <key name="dbus-handle" type="h">
       <default>0</default>
       <summary>A D-Bus handle type, type ‘h’</summary>
-      <description>The handle type is a 32-bit signed integer value that is, by convention, used as an index into an array of file descriptors that are sent alongside a D-Bus message.
-
-If you are not interacting with D-Bus, then there is no reason to make use of this type.</description>
+      <description>The handle type is a 32-bit signed integer value that is, by convention, used as an index into an array of file descriptors that are sent alongside a D-Bus message.&#xA;&#xA;If you are not interacting with D-Bus, then there is no reason to make use of this type.</description>
     </key>
     <key name="dbus-object-path" type="o">
       <default>'/ca/desrt/dconf_editor'</default>
       <summary>A D-Bus object path, type ‘o’</summary>
-      <description>An object path is used to identify D-Bus objects at a given destination on the bus.
-
-If you are not interacting with D-Bus, then there is no reason to make use of this type.</description>
+      <description>An object path is used to identify D-Bus objects at a given destination on the bus.&#xA;&#xA;If you are not interacting with D-Bus, then there is no reason to make use of this type.</description>
     </key>
     <key name="dbus-object-path-array" type="ao">
       <default>['/ca/desrt/dconf_editor/menus/appmenu', '/ca/desrt/dconf_editor/window/1']</default>
       <summary>A D-Bus object path array, type ‘ao’</summary>
-      <description>An object path array could contain any number of object paths (including none: “[]”).
-
-If you are not interacting with D-Bus, then there is no reason to make use of this type.</description>
+      <description>An object path array could contain any number of object paths (including none: “[]”).&#xA;&#xA;If you are not interacting with D-Bus, then there is no reason to make use of this type.</description>
     </key>
     <key name="dbus-signature" type="g">
       <default>'ii'</default>
       <summary>A D-Bus signature, type ‘g’</summary>
-      <description>A D-Bus signature is a string used as type signature for a D-Bus method or message.
-
-If you are not interacting with D-Bus, then there is no reason to make use of this type.</description>
+      <description>A D-Bus signature is a string used as type signature for a D-Bus method or message.&#xA;&#xA;If you are not interacting with D-Bus, then there is no reason to make use of this type.</description>
     </key>
     <key name="double" type="d">
       <default>3.1415926535897933</default>
-- 
2.14.3

From d3c7ca4d70af2409ff8bfa52d2b65d53187d5c6a Mon Sep 17 00:00:00 2001
From: Arnaud Bonatti <arnaud.bona...@gmail.com>
Date: Mon, 5 Mar 2018 09:22:28 +0100
Subject: [PATCH] Proposition 2.

---
 editor/ca.desrt.dconf-editor.gschema.xml | 16 ++++------------
 1 file changed, 4 insertions(+), 12 deletions(-)

diff --git a/editor/ca.desrt.dconf-editor.gschema.xml b/editor/ca.desrt.dconf-editor.gschema.xml
index aeb7ccc..f6ec818 100644
--- a/editor/ca.desrt.dconf-editor.gschema.xml
+++ b/editor/ca.desrt.dconf-editor.gschema.xml
@@ -234,30 +234,22 @@
     <key name="dbus-handle" type="h">
       <default>0</default>
       <summary>A D-Bus handle type, type ‘h’</summary>
-      <description>The handle type is a 32-bit signed integer value that is, by convention, used as an index into an array of file descriptors that are sent alongside a D-Bus message.
-
-If you are not interacting with D-Bus, then there is no reason to make use of this type.</description>
+      <description>The handle type is a 32-bit signed integer value that is, by convention, used as an index into an array of file descriptors that are sent alongside a D-Bus message. If you are not interacting with D-Bus, then there is no reason to make use of this type.</description>
     </key>
     <key name="dbus-object-path" type="o">
       <default>'/ca/desrt/dconf_editor'</default>
       <summary>A D-Bus object path, type ‘o’</summary>
-      <description>An object path is used to identify D-Bus objects at a given destination on the bus.
-
-If you are not interacting with D-Bus, then there is no reason to make use of this type.</description>
+      <description>An object path is used to identify D-Bus objects at a given destination on the bus. If you are not interacting with D-Bus, then there is no reason to make use of this type.</description>
     </key>
     <key name="dbus-object-path-array" type="ao">
       <default>['/ca/desrt/dconf_editor/menus/appmenu', '/ca/desrt/dconf_editor/window/1']</default>
       <summary>A D-Bus object path array, type ‘ao’</summary>
-      <description>An object path array could contain any number of object paths (including none: “[]”).
-
-If you are not interacting with D-Bus, then there is no reason to make use of this type.</description>
+      <description>An object path array could contain any number of object paths (including none: “[]”). If you are not interacting with D-Bus, then there is no reason to make use of this type.</description>
     </key>
     <key name="dbus-signature" type="g">
       <default>'ii'</default>
       <summary>A D-Bus signature, type ‘g’</summary>
-      <description>A D-Bus signature is a string used as type signature for a D-Bus method or message.
-
-If you are not interacting with D-Bus, then there is no reason to make use of this type.</description>
+      <description>A D-Bus signature is a string used as type signature for a D-Bus method or message. If you are not interacting with D-Bus, then there is no reason to make use of this type.</description>
     </key>
     <key name="double" type="d">
       <default>3.1415926535897933</default>
-- 
2.14.3

_______________________________________________
gnome-doc-list mailing list
gnome-doc-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gnome-doc-list

Reply via email to