summaryrefslogtreecommitdiff
path: root/IkiWiki/Plugin/table.pm
diff options
context:
space:
mode:
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2007-03-07 12:04:45 +0000
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2007-03-07 12:04:45 +0000
commit4d8b2d84d5635e0e718e9f66fcdf6e20587fbc2c (patch)
tree8c9b1a229b4d8fe3870caf1e008f5b879b6e49e2 /IkiWiki/Plugin/table.pm
parent5d57a8436f2c41687cf047abf0cbd31af61de83c (diff)
more i18n improvements
Diffstat (limited to 'IkiWiki/Plugin/table.pm')
-rw-r--r--IkiWiki/Plugin/table.pm6
1 files changed, 3 insertions, 3 deletions
diff --git a/IkiWiki/Plugin/table.pm b/IkiWiki/Plugin/table.pm
index e4d987dd3..c08087c71 100644
--- a/IkiWiki/Plugin/table.pm
+++ b/IkiWiki/Plugin/table.pm
@@ -31,7 +31,7 @@ sub preprocess (@) { #{{{
}
if (defined $params{file}) {
if (! $pagesources{$params{file}}) {
- return "[[table cannot find file]]";
+ return "[[table ".gettext("cannot find file")."]]";
}
$params{data} = readfile(srcfile($params{file}));
}
@@ -56,7 +56,7 @@ sub preprocess (@) { #{{{
@data=read_dsv(\%params);
}
else {
- return "[[table unknown data format]]";
+ return "[[table ".gettext("unknown data format")."]]";
}
my $header;
@@ -64,7 +64,7 @@ sub preprocess (@) { #{{{
$header=shift @data;
}
if (! @data) {
- return "[[table has empty data]]";
+ return "[[table ".gettext("empty data")."]]";
}
my $html = tidy_up(open_table(\%params, $header),