diff options
author | Joey Hess <joey@gnu.kitenet.net> | 2009-07-22 17:48:49 +0200 |
---|---|---|
committer | Joey Hess <joey@gnu.kitenet.net> | 2009-07-22 17:48:49 +0200 |
commit | 88d4fb15ba997e41f92b8d51079be4e3c5783474 (patch) | |
tree | eaa49927a2872fa6a4f79333ede097e770bc384a | |
parent | 0d92055b64192ccd444e026d4d627ad604c87d2f (diff) |
add --previous at bubulle's suggestion
-rw-r--r-- | IkiWiki/Plugin/po.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/IkiWiki/Plugin/po.pm b/IkiWiki/Plugin/po.pm index 193cf0a54..8f169fda5 100644 --- a/IkiWiki/Plugin/po.pm +++ b/IkiWiki/Plugin/po.pm @@ -828,7 +828,7 @@ sub refreshpofiles ($@) { foreach my $pofile (@pofiles) { IkiWiki::prep_writefile(basename($pofile),dirname($pofile)); if (-e $pofile) { - system("msgmerge", "-q", "-U", "--backup=none", $pofile, $potfile) == 0 + system("msgmerge", "--previous", "-q", "-U", "--backup=none", $pofile, $potfile) == 0 or error("po(refreshpofiles) ". sprintf(gettext("failed to update %s"), $pofile)); |