projects
/
ikiwiki.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2b4e76a
)
po: fixed bug when a new translatable page is created
author
intrigeri
<intrigeri@boum.org>
Tue, 11 Nov 2008 22:04:58 +0000
(23:04 +0100)
committer
intrigeri
<intrigeri@boum.org>
Tue, 11 Nov 2008 22:04:58 +0000
(23:04 +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 d5964ea81136f54f33739a8183fcc8d312404313..492b05c47ddb3dbbe297b8988f1205648e184c65 100644
(file)
--- a/
IkiWiki/Plugin/po.pm
+++ b/
IkiWiki/Plugin/po.pm
@@
-501,7
+501,6
@@
sub _istranslation ($) { #{{{
my $page=shift;
my $file=$pagesources{$page};
-
return 0 unless (defined $file
&& defined pagetype($file)
&& pagetype($file) eq 'po');
@@
-555,7
+554,7
@@
sub otherlanguages($) { #{{{
my %ret;
if (istranslatable($page)) {
- %ret = %{$translations{$page}};
+ %ret = %{$translations{$page}}
if defined $translations{$page}
;
}
elsif (istranslation($page)) {
my $masterpage = masterpage($page);