1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-07 10:13:12 +02:00

doc: sort locales in documentation generator

This commit is contained in:
Sébastien Helleu
2019-11-22 20:59:06 +01:00
parent 2f99033384
commit 178b3eb8a6
+9 -2
View File
@@ -72,7 +72,14 @@ except ImportError:
IMPORT_OK = False
# list of locales for which we want to build doc files to include
LOCALE_LIST = ('en_US', 'fr_FR', 'it_IT', 'de_DE', 'ja_JP', 'pl_PL')
LOCALE_LIST = (
'de_DE',
'en_US',
'fr_FR',
'it_IT',
'ja_JP',
'pl_PL',
)
# all commands/options/.. of following plugins will produce a file
# non-listed plugins will be ignored
@@ -449,7 +456,7 @@ def docgen_cmd_cb(data, buf, args):
if args:
locales = args.split(' ')
else:
locales = LOCALE_LIST
locales = sorted(LOCALE_LIST)
commands = get_commands()
options = get_options()
infos = get_infos()