add --previous at bubulle's suggestion
parent
0d92055b64
commit
88d4fb15ba
|
@ -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));
|
||||
|
|
Loading…
Reference in New Issue