trans-coord-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

trans-coord/gnun/server/gnun gnun-diff-po.in Ch...


From: Pavel Kharitonov
Subject: trans-coord/gnun/server/gnun gnun-diff-po.in Ch...
Date: Mon, 01 Apr 2013 06:27:50 +0000

CVSROOT:        /sources/trans-coord
Module name:    trans-coord
Changes by:     Pavel Kharitonov <ineiev>       13/04/01 06:27:50

Modified files:
        gnun/server/gnun: gnun-diff-po.in ChangeLog 

Log message:
        Use `--no-wrap' in msgcat instead of `-w 79' in msgattrib.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/trans-coord/gnun/server/gnun/gnun-diff-po.in?cvsroot=trans-coord&r1=1.6&r2=1.7
http://cvs.savannah.gnu.org/viewcvs/trans-coord/gnun/server/gnun/ChangeLog?cvsroot=trans-coord&r1=1.366&r2=1.367

Patches:
Index: gnun-diff-po.in
===================================================================
RCS file: /sources/trans-coord/trans-coord/gnun/server/gnun/gnun-diff-po.in,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -b -r1.6 -r1.7
--- gnun-diff-po.in     21 Mar 2013 16:25:11 -0000      1.6
+++ gnun-diff-po.in     1 Apr 2013 06:27:50 -0000       1.7
@@ -178,10 +178,13 @@
 # Sed provides "empty" (from wdiff's point of view) translations
 # for untranslated msgids in order to show new and removed translations.
 @SED@ '/^msgstr ""/ { N; s/^msgstr ""\n$/msgstr " "\n/ }' "$to_file" \
-  | @MSGATTRIB@ -w 79 --force-po --clear-fuzzy --no-obsolete - > "$temp4"
+  | @MSGATTRIB@ --force-po --clear-fuzzy --no-obsolete - > "$temp4"
+# `--no-wrap' ensures that the gettext markers, `#-#-#...#-#-#\n',
+# occupy single lines even when the name of the article is fairly long.
 @SED@ '/^msgstr ""/ { N; s/^msgstr ""\n$/msgstr " "\n/ }' "$from_file" \
-  | @MSGATTRIB@ -w 79 --force-po --clear-fuzzy --no-obsolete - \
-  | @MSGCAT@ --force-po - "$temp4" | @AWK@ -f @pkglibexecdir@/diff-po.awk
+  | @MSGATTRIB@ --force-po --clear-fuzzy --no-obsolete - \
+  | @MSGCAT@ --no-wrap --force-po - "$temp4" \
+  | @AWK@ -f @pkglibexecdir@/diff-po.awk
 
 cat <<EOF
 </table>

Index: ChangeLog
===================================================================
RCS file: /sources/trans-coord/trans-coord/gnun/server/gnun/ChangeLog,v
retrieving revision 1.366
retrieving revision 1.367
diff -u -b -r1.366 -r1.367
--- ChangeLog   21 Mar 2013 16:25:10 -0000      1.366
+++ ChangeLog   1 Apr 2013 06:27:50 -0000       1.367
@@ -1,3 +1,8 @@
+2013-04-01  Pavel Kharitonov  <address@hidden>
+
+       * gnun-diff-po.in: Use `--no-wrap' in msgcat instead of
+       `-w 79' in msgattrib.
+
 2013-03-21  Pavel Kharitonov  <address@hidden>
 
        Replace `po-msg-diff' with `diff-po.awk' in `gnun-diff-po'.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]