Layer in translator.cfg dazu gemacht, damit die Texte auf den richtigen Layern landen

This commit is contained in:
2025-12-04 15:06:25 +01:00
parent bf45f70e7c
commit 8af0d35f25
2 changed files with 15 additions and 8 deletions
+4 -4
View File
@@ -13,7 +13,7 @@ REM echo Erweiterung: %EXT%
REM echo Verzeichnis: %DIR%
REM
REM Namen der Ergebnisdateien
set RESULT_EXCEL=%FILENAME%_texts.xlsx
set RESULT_JSON=%FILENAME%_texts.json
if exist "%~dp0_setenv.bat" (
echo Lade lokale Umgebungseinstellungen aus _setenv.bat...
@@ -25,15 +25,15 @@ mkdir "%TARGET_DIR%"
echo.
echo === Extracting TEXT and MTEXT from DXF ===
call translate.bat --filename %FILENAME%%EXT% --extract --outname %RESULT_EXCEL%
if not exist "%PROJECT_WORK%\%RESULT_EXCEL%
call translate.bat --filename %FILENAME%%EXT% --extract -t json --outname %RESULT_JSON%
if not exist "%PROJECT_WORK%\%RESULT_JSON%
" (
@echo == failed: extracting texts
pause
goto :eof
)
echo.
echo === Translation file created: %PROJECT_WORK%\%RESULT_EXCEL% ===
echo === Translation file created: %PROJECT_WORK%\%RESULT_JSON% ===
pause
goto :eof