Another rename for makerst.py
This commit is contained in:
parent
2ecab0491c
commit
cce7797a75
1 changed files with 2 additions and 2 deletions
|
@ -24,7 +24,7 @@ msgstr ""
|
||||||
"Content-Transfer-Encoding: 8-bit\\n"
|
"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.
|
# so we need to include them manually here for the online docs.
|
||||||
BASE_STRINGS = [
|
BASE_STRINGS = [
|
||||||
"Description",
|
"Description",
|
||||||
|
@ -225,7 +225,7 @@ def _generate_translation_catalog_file(unique_msgs, output):
|
||||||
with open(output, "w", encoding="utf8") as f:
|
with open(output, "w", encoding="utf8") as f:
|
||||||
f.write(HEADER)
|
f.write(HEADER)
|
||||||
for msg in BASE_STRINGS:
|
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('msgid "{}"\n'.format(msg))
|
||||||
f.write('msgstr ""\n\n')
|
f.write('msgstr ""\n\n')
|
||||||
for msg in unique_msgs:
|
for msg in unique_msgs:
|
||||||
|
|
Loading…
Reference in a new issue