aboutsummaryrefslogtreecommitdiff
path: root/IkiWiki/Plugin/table.pm
diff options
context:
space:
mode:
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),