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

View File

@ -70,7 +70,8 @@ def import_conf():
conf = __import__('supybot.conf').conf conf = __import__('supybot.conf').conf
conf.registerGlobalValue(conf.supybot, 'language', conf.registerGlobalValue(conf.supybot, 'language',
conf.registry.String(currentLocale, """Determines the bot's default 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) conf.supybot.language.addCallback(reloadLocalesIfRequired)
def getPluginDir(plugin_name): def getPluginDir(plugin_name):