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

Use "--previous" when updating PO files for manpages



The attached patch is meant to use the "--previous" version of po4a
(implemented in po4a 0.31) when (re)generating PO files for manpages.

That would allow translators to more easily figure out what changed in
a strings when it has been fuzzied by a change in the original string.

We briefly discussed this with Guillem today.

-- 


diff --git a/man/Makefile.am b/man/Makefile.am
index 11a9831..762a4e2 100644
--- a/man/Makefile.am
+++ b/man/Makefile.am
@@ -7,7 +7,7 @@ all-local-yes: man.stamp
 
 # FIXME: Use a stamp file until po4a supports them internally.
 man.stamp:
-	po4a --no-backups --variable srcdir=$(srcdir) \
+	po4a --previous --no-backups --variable srcdir=$(srcdir) \
 		$(srcdir)/po/po4a.cfg
 	touch $@
 
@@ -15,7 +15,7 @@ clean-local: clean-local-@USE_NLS@
 
 clean-local-no:
 clean-local-yes:
-	po4a --rm-backups --rm-translations --variable srcdir=$(srcdir) \
+	po4a --previous --rm-backups --rm-translations --variable srcdir=$(srcdir) \
 		$(srcdir)/po/po4a.cfg
 	rm -f man.stamp
 

Attachment: signature.asc
Description: Digital signature


Reply to: