i18n.py: mention 'en' as supported lang & quote the language codes for less ambiguity.

Ref #1046.
This commit is contained in:
James Lu 2015-02-06 15:40:44 -08:00
parent 7af6ca1f40
commit 5e4501d7d2

View File

@ -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):