aboutsummaryrefslogtreecommitdiff
path: root/IkiWiki/Plugin
diff options
context:
space:
mode:
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2007-01-04 12:00:23 +0000
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2007-01-04 12:00:23 +0000
commit8daaa11baa70e07f6405ccb4474e97cac9627961 (patch)
tree2d41f1247187c1337f28f58e6d8453aa69f05d47 /IkiWiki/Plugin
parent7aa50b3b2cf11efb09e811b8ffc4d3b8e1b0cc0e (diff)
downloadikiwiki-8daaa11baa70e07f6405ccb4474e97cac9627961.tar
ikiwiki-8daaa11baa70e07f6405ccb4474e97cac9627961.tar.gz
added some comments for translators
Diffstat (limited to 'IkiWiki/Plugin')
-rw-r--r--IkiWiki/Plugin/shortcut.pm3
1 files changed, 3 insertions, 0 deletions
diff --git a/IkiWiki/Plugin/shortcut.pm b/IkiWiki/Plugin/shortcut.pm
index 9479306a8..2a4a36a41 100644
--- a/IkiWiki/Plugin/shortcut.pm
+++ b/IkiWiki/Plugin/shortcut.pm
@@ -27,6 +27,9 @@ sub preprocess_shortcut (@) { #{{{
hook(type => "preprocess", no_override => 1, id => $params{name},
call => sub { shortcut_expand($params{url}, $params{desc}, @_) });
+ #translators: This is used to display what shortcuts are defined.
+ #translators: First parameter is the name of the shortcut, the second
+ #translators: is an URL.
return sprintf(gettext("shortcut %s points to %s"), $params{name}, $params{url});
} # }}}