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:
@@ -35,7 +35,7 @@ def _qn_set(elem, 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."""
|
||||
run = paragraph.add_run()
|
||||
r_elem = run._r
|
||||
|
||||
@@ -2,10 +2,10 @@
|
||||
# Convert the formal-document Markdown vorlagen to Word .docx
|
||||
# using slohmaier-doc-template.docx as style reference.
|
||||
#
|
||||
# Word ist Industriestandard fuer formelle Freigabe / ISO-9001-Audits.
|
||||
# Markdown bleibt die Source of Truth, Word wird daraus generiert.
|
||||
# Word is the industry standard for formal release / ISO 9001 audits.
|
||||
# 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
|
||||
|
||||
REPO_ROOT="$(cd "$(dirname "$0")/.." && pwd)"
|
||||
@@ -18,7 +18,7 @@ if [[ ! -f "$TEMPLATE" ]]; then
|
||||
python3 "$REPO_ROOT/tools/build_word_template.py"
|
||||
fi
|
||||
|
||||
# Formelle Dokumente (zu Word):
|
||||
# Formal documents (to Word):
|
||||
FORMAL_DOCS=(
|
||||
PID-vorlage
|
||||
PM-Plan-vorlage
|
||||
@@ -48,5 +48,5 @@ for doc in "${FORMAL_DOCS[@]}"; do
|
||||
done
|
||||
|
||||
echo ""
|
||||
echo "Done. Word-Vorlagen unter: $DST/"
|
||||
echo "Done. Word templates at: $DST/"
|
||||
ls -la "$DST/"
|
||||
|
||||
Reference in New Issue
Block a user