[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 12:47:16 -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	Thu Dec 11 08:59:01 2003
+++ shadow/121330.tmp.13081	Thu Dec 11 12:47:16 2003
@@ -125,6 +125,21 @@
 ------- Additional Comments From kenneth@gnu.org  2003-12-11 08:58 -------
 I have seen comments like this in Nautilus:
 
 "[View as ]Files that are[ older than 5 days]"
 
 So it is more complicated like that. 
+
+------- Additional Comments From barbier@linuxfr.org  2003-12-11 12:47 -------
+Your example tend to show that by design, comments in Nautilus embed
+a significant space, which was my point. So if you want to follow a
+similar rule (what I did without any problem for rfc822deb), you
+only have to replace
+  $c_default_block =~ s/default>\[.*?\]/default>/s;
+by
+  $c_default_block =~ s/default>\[.*?\s\]/default>/s;
+in intltool-merge, and bracketed lists will no more be removed.
+But allowing brackets within comments is error prone, I prefer
+  $c_default_block =~ s/default>\[[^\[\]]*\s\]/default>/s;
+
+PS: could intltool bugreports be forwarded to xml-i18n-tools?
+