From 5eed0fd97d3f1abcfce3288df9aeeed50967757c Mon Sep 17 00:00:00 2001 From: intrigeri Date: Thu, 13 Nov 2008 04:37:26 +0100 Subject: po(change): reset renamed pages status at a better time Signed-off-by: intrigeri --- IkiWiki/Plugin/po.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'IkiWiki') 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. -- cgit v1.2.3