projects
/
ikiwiki.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0d874f0
)
po(percenttranslated): fix issue with leading /
author
intrigeri
<intrigeri@boum.org>
Wed, 31 Dec 2008 15:31:18 +0000
(16:31 +0100)
committer
intrigeri
<intrigeri@boum.org>
Wed, 31 Dec 2008 15:31:18 +0000
(16:31 +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 2927759754f0832fc324aafe9f7258ccb7619e5f..9aefe236f6a076fee3b58fdeb2dfbcce7f865623 100644
(file)
--- a/
IkiWiki/Plugin/po.pm
+++ b/
IkiWiki/Plugin/po.pm
@@
-732,6
+732,7
@@
sub urlto_with_orig_beautiful_urlpath($$) { #{{{
sub percenttranslated ($) { #{{{
my $page=shift;
+ $page=~s/^\///;
return gettext("N/A") unless istranslation($page);
my $file=srcfile($pagesources{$page});
my $masterfile = srcfile($pagesources{masterpage($page)});