summaryrefslogtreecommitdiff
path: root/IkiWiki/Plugin
diff options
context:
space:
mode:
authorintrigeri <intrigeri@boum.org>2008-10-07 22:39:17 +0200
committerintrigeri <intrigeri@boum.org>2008-10-18 15:49:08 +0200
commitbd50ba3e8392db13c584b4166783ee4794b20365 (patch)
treefc136dac339e6994ce6bf2dab1e97a668299deb6 /IkiWiki/Plugin
parent968106cc80c4f24ae02a3e54877939cd00e33258 (diff)
po plugin: switch to page.LL.html naming convention
Signed-off-by: intrigeri <intrigeri@boum.org>
Diffstat (limited to 'IkiWiki/Plugin')
-rw-r--r--IkiWiki/Plugin/po.pm8
1 files changed, 4 insertions, 4 deletions
diff --git a/IkiWiki/Plugin/po.pm b/IkiWiki/Plugin/po.pm
index 941f5629d..b33d4dc1b 100644
--- a/IkiWiki/Plugin/po.pm
+++ b/IkiWiki/Plugin/po.pm
@@ -54,18 +54,18 @@ sub targetpage (@) { #{{{
if (IkiWiki::PageSpec::match_istranslation($page, $page)) {
my ($masterpage, $lang) = ($page =~ /(.*)[.]([a-z]{2})$/);
if (! $config{usedirs} || $page eq 'index') {
- return $masterpage . "." . $ext . "." . $lang;
+ return $masterpage . "." . $lang . "." . $ext;
}
else {
- return $masterpage . "/index." . $ext . "." . $lang;
+ return $masterpage . "/index." . $lang . "." . $ext;
}
}
else {
if (! $config{usedirs} || $page eq 'index') {
- return $page . "." . $ext . "." . $config{po_master_language}{code};
+ return $page . "." . $config{po_master_language}{code} . "." . $ext;
}
else {
- return $page . "/index." . $ext . "." . $config{po_master_language}{code};
+ return $page . "/index." . $config{po_master_language}{code} . "." . $ext;
}
}
} #}}}