summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorintrigeri <intrigeri@boum.org>2008-10-18 19:18:22 +0200
committerintrigeri <intrigeri@boum.org>2008-10-18 19:18:22 +0200
commita0deb3038c45c066e2c0c3acb8c6c4a93ca3301d (patch)
tree1d7a2a8c81458f7c348bb74469a4516a567a1b71
parenta021d97d30a646611457f1a22ed698e5bf90d4fc (diff)
po plugin: do not allow msgmerge to create backup files
Signed-off-by: intrigeri <intrigeri@boum.org>
-rw-r--r--IkiWiki/Plugin/po.pm2
-rw-r--r--doc/plugins/po.mdwn1
2 files changed, 1 insertions, 2 deletions
diff --git a/IkiWiki/Plugin/po.pm b/IkiWiki/Plugin/po.pm
index e4cd6165f..07896d95a 100644
--- a/IkiWiki/Plugin/po.pm
+++ b/IkiWiki/Plugin/po.pm
@@ -132,7 +132,7 @@ sub refreshpofiles ($@) { #{{{
foreach my $pofile (@pofiles) {
if (-e $pofile) {
- my $cmd = "msgmerge -U $pofile $potfile";
+ my $cmd = "msgmerge -U --backup=none $pofile $potfile";
system ($cmd) == 0
or error("[po/refreshpofiles:$pofile] failed to update");
}
diff --git a/doc/plugins/po.mdwn b/doc/plugins/po.mdwn
index 1dc72fe47..c83d5a612 100644
--- a/doc/plugins/po.mdwn
+++ b/doc/plugins/po.mdwn
@@ -214,7 +214,6 @@ gettext/po4a rough corners
- fix the "duplicate message definition" error when updating a PO
file; do PO files need normalizing? (may be a side effect of
previous bug)
-- should `*.po~` backup files really be saved?
Translation quality assurance
-----------------------------