projects
/
ikiwiki.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7d88fb3
)
po plugin: fix targetpage for home page's translations
author
intrigeri
<intrigeri@boum.org>
Sun, 2 Nov 2008 17:54:53 +0000
(18:54 +0100)
committer
intrigeri
<intrigeri@boum.org>
Sun, 2 Nov 2008 17:54:53 +0000
(18:54 +0100)
Signed-off-by: intrigeri <intrigeri@boum.org>
IkiWiki/Plugin/po.pm
patch
|
blob
|
history
diff --git
a/IkiWiki/Plugin/po.pm
b/IkiWiki/Plugin/po.pm
index 4608f59c7d2ffb8b1124e5f1e01133f5daf1be55..88f8194fbe7cb70bb93c15c74dd14a1dbe96ae5a 100644
(file)
--- a/
IkiWiki/Plugin/po.pm
+++ b/
IkiWiki/Plugin/po.pm
@@
-225,7
+225,7
@@
sub mytargetpage ($$) { #{{{
if (istranslation($page)) {
my ($masterpage, $lang) = ($page =~ /(.*)[.]([a-z]{2})$/);
- if (! $config{usedirs} || $page eq 'index') {
+ if (! $config{usedirs} || $
master
page eq 'index') {
return $masterpage . "." . $lang . "." . $ext;
}
else {