mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-02-17 06:00:42 +01:00
i18n.py: mention 'en' as supported lang & quote the language codes for less ambiguity.
Ref #1046.
This commit is contained in:
parent
7af6ca1f40
commit
5e4501d7d2
@ -70,8 +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 if translations exist. Currently supported are de, es, fi,
|
language if translations exist. Currently supported are 'en', 'de',
|
||||||
fr and it."""))
|
'es', 'fi', 'fr' and 'it'."""))
|
||||||
conf.supybot.language.addCallback(reloadLocalesIfRequired)
|
conf.supybot.language.addCallback(reloadLocalesIfRequired)
|
||||||
|
|
||||||
def getPluginDir(plugin_name):
|
def getPluginDir(plugin_name):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user