Plugin: internationalize a string.

This commit is contained in:
Valentin Lorentz 2015-12-28 20:04:31 +01:00
parent 7ce385b6f8
commit 8e427838cd

View File

@ -113,7 +113,7 @@ class Plugin(callbacks.Plugin):
plugin = 'plugins' plugin = 'plugins'
else: else:
plugin = 'plugin' plugin = 'plugin'
irc.reply(format('The %q command is available in the %L %s.', irc.reply(format(_('The %q command is available in the %L %s.'),
command, L, plugin)) command, L, plugin))
else: else:
irc.error(format('There is no command %q.', command)) irc.error(format('There is no command %q.', command))