feat(i18n): tool scripts in English

- tools/build_word_template.py: default field placeholder
- tools/generate_word_vorlagen.sh: header comments
This commit is contained in:
Stefan Lohmaier
2026-05-12 06:14:24 -07:00
parent 5e974a02bd
commit cc1a2b8129
2 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -35,7 +35,7 @@ def _qn_set(elem, attr, value):
elem.set(qn(attr), value) elem.set(qn(attr), value)
def add_field(paragraph, instr_text, default_text="<Feld aktualisieren mit F9>"): def add_field(paragraph, instr_text, default_text="<Update field with F9>"):
"""Insert a Word field (e.g. TOC, PAGE) into a paragraph.""" """Insert a Word field (e.g. TOC, PAGE) into a paragraph."""
run = paragraph.add_run() run = paragraph.add_run()
r_elem = run._r r_elem = run._r
+5 -5
View File
@@ -2,10 +2,10 @@
# Convert the formal-document Markdown vorlagen to Word .docx # Convert the formal-document Markdown vorlagen to Word .docx
# using slohmaier-doc-template.docx as style reference. # using slohmaier-doc-template.docx as style reference.
# #
# Word ist Industriestandard fuer formelle Freigabe / ISO-9001-Audits. # Word is the industry standard for formal release / ISO 9001 audits.
# Markdown bleibt die Source of Truth, Word wird daraus generiert. # Markdown remains the source of truth; Word is generated from it.
# #
# Diese Vorlagen werden zu Word konvertiert: # These templates are converted to Word:
set -euo pipefail set -euo pipefail
REPO_ROOT="$(cd "$(dirname "$0")/.." && pwd)" REPO_ROOT="$(cd "$(dirname "$0")/.." && pwd)"
@@ -18,7 +18,7 @@ if [[ ! -f "$TEMPLATE" ]]; then
python3 "$REPO_ROOT/tools/build_word_template.py" python3 "$REPO_ROOT/tools/build_word_template.py"
fi fi
# Formelle Dokumente (zu Word): # Formal documents (to Word):
FORMAL_DOCS=( FORMAL_DOCS=(
PID-vorlage PID-vorlage
PM-Plan-vorlage PM-Plan-vorlage
@@ -48,5 +48,5 @@ for doc in "${FORMAL_DOCS[@]}"; do
done done
echo "" echo ""
echo "Done. Word-Vorlagen unter: $DST/" echo "Done. Word templates at: $DST/"
ls -la "$DST/" ls -la "$DST/"