Add keyword translations to the project language files for manuscript builds

This commit is contained in:
Veronica Berglyd Olsen
2023-11-09 17:17:46 +01:00
parent ebe1998b0b
commit 2ed3666b9f
4 changed files with 16 additions and 6 deletions
+2 -2
View File
@@ -27,7 +27,7 @@ import logging
from pathlib import Path
from novelwriter.constants import nwHeadFmt, nwLabels, trConst
from novelwriter.constants import nwHeadFmt, nwLabels
from novelwriter.core.project import NWProject
from novelwriter.core.tokenizer import Tokenizer
@@ -209,7 +209,7 @@ class ToMarkdown(Tokenizer):
result = ""
if bits[0] in nwLabels.KEY_NAME:
result += f"**{trConst(nwLabels.KEY_NAME[bits[0]])}:** "
result += f"**{self._localLookup(nwLabels.KEY_NAME[bits[0]])}:** "
if len(bits) > 1:
result += ", ".join(bits[1:])