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

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

Re: Unnecessary reformatting in www-de repository


From: Ineiev
Subject: Re: Unnecessary reformatting in www-de repository
Date: Wed, 20 Mar 2013 15:34:55 +0000

On 03/19/2013 08:30 PM, joeko wrote:
FYI: It isn’t the 'publish' target.

For example, in www _and_ in www-de repsository there is in doc.de.po:

(see
http://web.cvs.savannah.gnu.org/viewcvs/www/doc/po/doc.de.po?cvsroot=www&r1=1.26&r2=1.27)

"der <a href=\"/licenses/licenses.html#GPL\">GNU General Public License (GPL)" "</a> freigegeben. Im Jahr 2001 wurde die <a href=\"/licenses/licenses."

After 'make VCS=yes | no | allways' is in www-de':

"der <a href=\"/licenses/licenses.html#GPL\">GNU General Public License "
"(GPL)</a> freigegeben. Im Jahr 2001 wurde die <a href=\"/licenses/licenses."
   ^^^^^

IOW,
Index: GNUmakefile.team
===================================================================
RCS file: /sources/trans-coord/trans-coord/gnun/server/gnun/GNUmakefile.team,v
retrieving revision 1.31
diff -U 2 -r1.31 GNUmakefile.team
--- GNUmakefile.team    14 Jan 2013 19:40:15 -0000      1.31
+++ GNUmakefile.team    20 Mar 2013 15:16:21 -0000
@@ -235,13 +235,12 @@
 endif

-# The command to compare PO files; comments and dates are generally
-# considered insignificant.  The msgfmt output is compared
-# in order to take into account the case when they only differ
-# by the `fuzzy' flags (present in one file, cleared in the other).
+# The command to compare PO files; extracted comments, old messages,
+# dates are considered insignificant.
 define cmp-POs
-diff -q -I "^$$" -I "^#" -I '^"POT-Creation-Date:' \
-  -I '^"PO-Revision-Date:' -I '^"Outdated-Since:' &>/dev/null $1 $2 \
-  && test "x`$(MSGFMT) -o /dev/null --statistics $1 2>&1`" \
-     = "x`$(MSGFMT) -o /dev/null --statistics $2 2>&1`"
+{ $(MSGATTRIB) --no-obsolete --force-po -w 79 -o $1.tmp.po $1; \
+  $(MSGATTRIB) --no-obsolete --force-po -w 79 $2 \
+  | diff -q -I "^$$" -I "^#\. " -I "^# type: " -I '^"POT-Creation-Date:' \
+    -I '^"PO-Revision-Date:' -I '^"Outdated-Since:' $1.tmp.po - &>/dev/null; \
+  status=$$?; rm $1.tmp.po; test $$status = 0; }
 endef




reply via email to

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