Update build.py

This commit is contained in:
Ivan Blinkov 2020-03-30 16:07:08 +03:00 committed by GitHub
parent 5ad4e0a7c8
commit 61cf32f8ac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -76,16 +76,8 @@ def build_for_lang(lang, args):
}
}
site_names = {
'en': 'ClickHouse %s Documentation',
'es': 'Documentación de ClickHouse %s',
'fr': 'Documentation ClickHouse %s',
'ru': 'Документация ClickHouse %s',
'zh': 'ClickHouse文档 %s',
'ja': 'ClickHouseドキュメント %s',
'fa': 'مستندات %sClickHouse'
}
# the following list of languages is sorted according to
# https://en.wikipedia.org/wiki/List_of_languages_by_total_number_of_speakers
languages = {
'en': 'English',
'zh': '中文',
@ -96,6 +88,16 @@ def build_for_lang(lang, args):
'fa': 'فارسی'
}
site_names = {
'en': 'ClickHouse %s Documentation',
'es': 'Documentación de ClickHouse %s',
'fr': 'Documentation ClickHouse %s',
'ru': 'Документация ClickHouse %s',
'zh': 'ClickHouse文档 %s',
'ja': 'ClickHouseドキュメント %s',
'fa': 'مستندات %sClickHouse'
}
assert len(site_names) == len(languages)
if args.version_prefix: