Merge pull request #1047 from Mikaela/language

src/i18n.py: mention supported languages
This commit is contained in:
Valentin Lorentz 2015-02-06 13:31:52 +01:00
commit 7af6ca1f40
1 changed files with 2 additions and 1 deletions

View File

@ -70,7 +70,8 @@ def import_conf():
conf = __import__('supybot.conf').conf
conf.registerGlobalValue(conf.supybot, 'language',
conf.registry.String(currentLocale, """Determines the bot's default
language. Valid values are things like en, fr, de, etc."""))
language if translations exist. Currently supported are de, es, fi,
fr and it."""))
conf.supybot.language.addCallback(reloadLocalesIfRequired)
def getPluginDir(plugin_name):