mirror of https://github.com/Mikaela/Limnoria.git
Merge pull request #1047 from Mikaela/language
src/i18n.py: mention supported languages
This commit is contained in:
commit
7af6ca1f40
|
@ -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):
|
||||||
|
|
Loading…
Reference in New Issue