mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-20 09:02:40 +01:00
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:
commit
e67fa7ff5f
@ -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…
Reference in New Issue
Block a user