From: intrigeri Date: Thu, 13 Nov 2008 03:37:26 +0000 (+0100) Subject: po(change): reset renamed pages status at a better time X-Git-Tag: 3.15~324 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=5eed0fd97d3f1abcfce3288df9aeeed50967757c;p=ikiwiki.git po(change): reset renamed pages status at a better time Signed-off-by: intrigeri --- diff --git a/IkiWiki/Plugin/po.pm b/IkiWiki/Plugin/po.pm index d4280853f..ae97a2f38 100644 --- a/IkiWiki/Plugin/po.pm +++ b/IkiWiki/Plugin/po.pm @@ -363,6 +363,7 @@ sub change(@) { #{{{ while (my ($oldpage, $newpage) = $eachrenamed->()) { renametranslations($oldpage, $newpage); } + resetrenamed(); my $updated_po_files=0; @@ -402,7 +403,6 @@ sub change(@) { #{{{ } # Reinitialize module's private variables. resetalreadyfiltered(); - resetrenamed(); resettranslationscache(); flushmemoizecache(); # Trigger a wiki refresh.