POT Beispiel korrigiert. Octal Nummerierung eingebaut

This commit is contained in:
2026-02-02 16:48:50 +01:00
parent 18d4f62d24
commit 0f16f1cfba
3 changed files with 23 additions and 4 deletions
+1 -1
View File
@@ -344,7 +344,7 @@ def enumerate_symbols(symbols, attributes):
# Ersetze @-Zeichen durch Zahlen
# Zähle wie viele @ im Template sind
at_count = name_template.count('@')
number_str = str(counter).zfill(at_count)
number_str = oct(counter)[2:].zfill(at_count)
# Aktualisiere Attribute im Symbol
for attrib in symbol['entity'].attribs: