Merge pull request #1049 from GLolol/patch-1

src/i18n.py: mention 'en' as supported language & quote the language codes for less ambiguity
This commit is contained in:
Valentin Lorentz 2015-02-07 08:01:58 +01:00
commit e67fa7ff5f
1 changed files with 2 additions and 2 deletions

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