]> sipb.mit.edu Git - ikiwiki.git/commitdiff
po plugin: do not allow msgmerge to create backup files
authorintrigeri <intrigeri@boum.org>
Sat, 18 Oct 2008 17:18:22 +0000 (19:18 +0200)
committerintrigeri <intrigeri@boum.org>
Sat, 18 Oct 2008 17:18:22 +0000 (19:18 +0200)
Signed-off-by: intrigeri <intrigeri@boum.org>
IkiWiki/Plugin/po.pm
doc/plugins/po.mdwn

index e4cd6165fbbf28be7239adf99ee99517d8aa0a97..07896d95ab274958079c6711aeb281541e4af385 100644 (file)
@@ -132,7 +132,7 @@ sub refreshpofiles ($@) { #{{{
 
        foreach my $pofile (@pofiles) {
                if (-e $pofile) {
 
        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");
                }
                        system ($cmd) == 0
                                or error("[po/refreshpofiles:$pofile] failed to update");
                }
index 1dc72fe474eebcaf3e19d585cba78b31b04ba988..c83d5a612dc4863599b3d08c15c7aea5b0cacd29 100644 (file)
@@ -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)
 - 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
 -----------------------------
 
 Translation quality assurance
 -----------------------------