[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
trans-coord/gnun/server/gnun GNUmakefile ChangeLog
From: |
Pavel Kharitonov |
Subject: |
trans-coord/gnun/server/gnun GNUmakefile ChangeLog |
Date: |
Mon, 18 Feb 2013 06:26:21 +0000 |
CVSROOT: /sources/trans-coord
Module name: trans-coord
Changes by: Pavel Kharitonov <ineiev> 13/02/18 06:26:21
Modified files:
gnun/server/gnun: GNUmakefile ChangeLog
Log message:
(update-po): Suppress fuzzy matching for sitemaps.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/trans-coord/gnun/server/gnun/GNUmakefile?cvsroot=trans-coord&r1=1.154&r2=1.155
http://cvs.savannah.gnu.org/viewcvs/trans-coord/gnun/server/gnun/ChangeLog?cvsroot=trans-coord&r1=1.357&r2=1.358
Patches:
Index: GNUmakefile
===================================================================
RCS file: /sources/trans-coord/trans-coord/gnun/server/gnun/GNUmakefile,v
retrieving revision 1.154
retrieving revision 1.155
diff -u -b -r1.154 -r1.155
--- GNUmakefile 5 Feb 2013 04:38:40 -0000 1.154
+++ GNUmakefile 18 Feb 2013 06:26:20 -0000 1.155
@@ -630,6 +630,9 @@
# When compendia/master-translated.$(3).po is present, its translations
override
# the translations from $(1); when compendia/fuzzy-compendium.$(3).po is
# present, it is checked for missing translations.
+#
+# For sitemaps the special compendium is used when available and fuzzy matching
+# is suppressed (it proved to do more harm than good for sitemaps).
define update-po
$(SED) \
'1{ \
@@ -648,6 +651,7 @@
| $(MSGATTRIB) --clear-obsolete \
| $(MSGCAT) --use-first --more-than=1 $(MASTER-$(3)) - \
| $(MSGCAT) --use-first --less-than=2 $(1) -) \
+ $(if $(findstring $(1), $(sitemap-pos)), | $(MSGATTRIB) --no-fuzzy) \
| $(MSGMERGE) --previous $(MASTER-$(3)-OPTION) $(COMPENDIUM-$(3)-OPTION) \
$(if $(findstring $(1), $(sitemap-pos)), $(sitemap-compendium-$(3))) \
-o $(1).tmp - $(2) \
Index: ChangeLog
===================================================================
RCS file: /sources/trans-coord/trans-coord/gnun/server/gnun/ChangeLog,v
retrieving revision 1.357
retrieving revision 1.358
diff -u -b -r1.357 -r1.358
--- ChangeLog 7 Feb 2013 13:06:41 -0000 1.357
+++ ChangeLog 18 Feb 2013 06:26:21 -0000 1.358
@@ -1,3 +1,8 @@
+2013-02-18 Pavel Kharitonov <address@hidden>
+
+ * GNUmakefile (update-po): Suppress fuzzy matching for
+ sitemaps.
+
2013-02-07 Pavel Kharitonov <address@hidden>
* web-trans.texi (SSI) <translations.include>: Remove;