intl/msgs.h is broken

Bonzini bonzini@gnu.org
Sun Mar 30 21:49:00 GMT 2003


Sorry, I must have sent a wrong version of the patch.  Here is the obvious
fix.

2003-03-30  Paolo Bonzini  mailto:bonzini@gnu.org

        * intl/po2test.sed: directives must start at the beginning of the line.

Paolo

--- po2test.sed.broken  Sun Mar 30 21:26:30 2003
+++ po2test.sed Sun Mar 30 21:27:04 2003
@@ -21,14 +21,14 @@
 # We copy the original message as a comment into the .msg file.  But enclose
 # them with INPUT ( ).
 #
-s/msgid[        ]*"\(.*\)"/INPUT ("\1")/
+s/^msgid[        ]*"\(.*\)"/INPUT ("\1")/
 # Clear flag from last substitution and jump if matching
 tb

 #
 # Copy the translations as well and enclose them with OUTPUT ( ).
 #
-s/msgstr[       ]*"\(.*\)"/OUTPUT ("\1")/
+s/^msgstr[       ]*"\(.*\)"/OUTPUT ("\1")/
 # Clear flag from last substitution and jump if matching
 tb





More information about the Libc-alpha mailing list