[Mono-bugs] [Bug 52229][Wis] New - monoresgen misinterprets valid PO files
bugzilla-daemon@bugzilla.ximian.com
bugzilla-daemon@bugzilla.ximian.com
Tue, 16 Dec 2003 07:47:36 -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.
Changed by bruno@clisp.org.
http://bugzilla.ximian.com/show_bug.cgi?id=52229
--- shadow/52229 2003-12-16 07:47:36.000000000 -0500
+++ shadow/52229.tmp.1853 2003-12-16 07:47:36.000000000 -0500
@@ -0,0 +1,54 @@
+Bug#: 52229
+Product: Mono/Compilers
+Version: unspecified
+OS:
+OS Details:
+Status: NEW
+Resolution:
+Severity:
+Priority: Wishlist
+Component: C#
+AssignedTo: mono-bugs@ximian.com
+ReportedBy: bruno@clisp.org
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: monoresgen misinterprets valid PO files
+
+Description of Problem:
+The monoresgen utility does not ignore "fuzzy" markers. Such markers are
+part of lines starting with #, in PO files, and mean: "This translation
+needs to be reviewed and corrected by a translator." Messages marked
+with "#, ... fuzzy ..." therefore must not be put into .resources files
+in a way that GetString could access.
+
+
+Steps to reproduce the problem:
+Install mono-0.28.
+Create de.po and hello.cs (attached).
+$ monoresgen de.po hello.resources
+Read in 2 resources from 'de.po'
+Writing resource file... Done.
+$ mcs -resource:hello.resources hello.cs
+$ mono hello.exe
+
+Actual Results:
+$ mono hello.exe
+Hallo Welt!
+Hallo Welt!
+<none>
+
+
+Expected Results:
+$ mono hello.exe
+Hallo Welt!
+<none>
+<none>
+
+
+How often does this happen?
+Reproducible.
+
+Additional Information:
+The "fuzzy" marker is explained in the GNU gettext manual.