[Bug 121330] Changed - All list type default values in schemas are stripped in intltool-merge
bugzilla-daemon@widget.gnome.org
bugzilla-daemon@widget.gnome.org
Thu, 11 Dec 2003 07:58:51 -0500 (EST)
Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.
http://bugzilla.gnome.org/show_bug.cgi?id=121330
Changed by barbier@linuxfr.org.
--- shadow/121330 Sun Dec 7 11:35:15 2003
+++ shadow/121330.tmp.30470 Thu Dec 11 07:58:50 2003
@@ -96,6 +96,28 @@
hmm, but there is support for [] in strings in glib now, so this might
be more populair. I guess they are not used in nautilus any longer as
they were used for the medusa parts.
But the patch should be good anyway, since it is not intltool which
should strip the []'s, but the program showing the strings.
+
+------- Additional Comments From barbier@linuxfr.org 2003-12-11 07:58 -------
+Kenneth,
+
+IIRC months ago I wanted to add support for comments for the rfc822deb
+format, and you showed me what had been done with Nautilus. Thus I
+decided to remove (Perl syntax) "\[\s[^\[\]]*\]$", see e.g.
+rfc822deb_merge_translations in intltool-merge.
+
+From the messages on this bugreport, I guess that "^\[[^\[\]]*\s\]"
+could also be a valid comment (I should have taken this one, will
+try to support both). The key point is that a space must be present
+for this sequence to be considered as a comment, so bracketed
+expression in
+ [Save as ]Image
+is a comment whereas
+ <foo>[bar,baz]</foo>
+is not. This space improves readability, and prevents all bracketed
+expressions from being removed.
+
+Denis
+