diff options
author | joey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071> | 2006-12-29 04:38:40 +0000 |
---|---|---|
committer | joey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071> | 2006-12-29 04:38:40 +0000 |
commit | 912521ef0711204965aa2319d41c7741bd3f4f4c (patch) | |
tree | b0a3d21ddfc0b7ca4a8deaa26135d7c3309d3471 /IkiWiki/Plugin/fortune.pm | |
parent | d05d052bff599327cf43b6f00e337197f1d2ab18 (diff) | |
download | ikiwiki-912521ef0711204965aa2319d41c7741bd3f4f4c.tar ikiwiki-912521ef0711204965aa2319d41c7741bd3f4f4c.tar.gz |
* Initial work on internationalization of the program code. po/ikiwiki.pot
is available for translation.
* Export gettext() from IkiWiki module.
Diffstat (limited to 'IkiWiki/Plugin/fortune.pm')
-rw-r--r-- | IkiWiki/Plugin/fortune.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/IkiWiki/Plugin/fortune.pm b/IkiWiki/Plugin/fortune.pm index 4ff343e3a..3bab134be 100644 --- a/IkiWiki/Plugin/fortune.pm +++ b/IkiWiki/Plugin/fortune.pm @@ -15,7 +15,7 @@ sub preprocess (@) { #{{{ my $f = `fortune 2>/dev/null`; if ($?) { - return "[[fortune failed]]"; + return "[[".gettext("fortune failed")."]]"; } else { return "<pre>$f</pre>\n"; |