Another rename for makerst.py

This commit is contained in:
Rémi Verschelde 2021-10-26 08:46:16 +02:00
parent 2ecab0491c
commit cce7797a75
No known key found for this signature in database
GPG key ID: C3336907360768E1

View file

@ -24,7 +24,7 @@ msgstr ""
"Content-Transfer-Encoding: 8-bit\\n"
"""
# Some strings used by makerst.py are normally part of the editor translations,
# Some strings used by make_rst.py are normally part of the editor translations,
# so we need to include them manually here for the online docs.
BASE_STRINGS = [
"Description",
@ -225,7 +225,7 @@ def _generate_translation_catalog_file(unique_msgs, output):
with open(output, "w", encoding="utf8") as f:
f.write(HEADER)
for msg in BASE_STRINGS:
f.write("#: doc/tools/makerst.py\n")
f.write("#: doc/tools/make_rst.py\n")
f.write('msgid "{}"\n'.format(msg))
f.write('msgstr ""\n\n')
for msg in unique_msgs: