Chinese pages: remove space in More info link (#6305)

This commit is contained in:
marchersimon
2021-08-31 09:13:49 +02:00
committed by GitHub
parent 2a71b87788
commit c70c0c2688
174 changed files with 177 additions and 174 deletions

5
scripts/set-more-info-link.py Normal file → Executable file
View File

@@ -78,7 +78,10 @@ def set_link(file, link):
locale = 'en'
# build new line
new_line = f'> {labels[locale]} <{link}>.\n'
if locale == "zh" or locale == "zh_TW":
new_line = f'> {labels[locale]}<{link}>.\n'
else:
new_line = f'> {labels[locale]} <{link}>.\n'
if lines[desc_end] == new_line:
# return empty status to indicate that no changes were made