mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-14 00:52:04 +00:00
add win tools
This commit is contained in:
1
.gitattributes
vendored
Normal file
1
.gitattributes
vendored
Normal file
@@ -0,0 +1 @@
|
|||||||
|
*.exe filter=lfs diff=lfs merge=lfs -text
|
||||||
@@ -9,7 +9,7 @@ for %%a in (%*) do (
|
|||||||
)
|
)
|
||||||
|
|
||||||
if %FULL_MODE%==1 (
|
if %FULL_MODE%==1 (
|
||||||
xgettext --keyword=L --keyword=_L --keyword=_u8L --keyword=L_CONTEXT:1,2c --keyword=_L_PLURAL:1,2 --add-comments=TRN --from-code=UTF-8 --no-location --debug --boost -f ./localization/i18n/list.txt -o ./localization/i18n/OrcaSlicer.pot
|
./tools/xgettext --keyword=L --keyword=_L --keyword=_u8L --keyword=L_CONTEXT:1,2c --keyword=_L_PLURAL:1,2 --add-comments=TRN --from-code=UTF-8 --no-location --debug --boost -f ./localization/i18n/list.txt -o ./localization/i18n/OrcaSlicer.pot
|
||||||
build\\src\\hints\\Release\\hintsToPot ./resources ./localization/i18n
|
build\\src\\hints\\Release\\hintsToPot ./resources ./localization/i18n
|
||||||
)
|
)
|
||||||
REM Print the current directory
|
REM Print the current directory
|
||||||
@@ -28,8 +28,8 @@ goto :eof
|
|||||||
set "name=%~n1"
|
set "name=%~n1"
|
||||||
set "lang=%name:OrcaSlicer_=%"
|
set "lang=%name:OrcaSlicer_=%"
|
||||||
if %FULL_MODE%==1 (
|
if %FULL_MODE%==1 (
|
||||||
msgmerge -N -o "%file%" "%file%" "%pot_file%"
|
./tools/msgmerge -N -o "%file%" "%file%" "%pot_file%"
|
||||||
)
|
)
|
||||||
if not exist "./resources/i18n/%lang%" mkdir "./resources/i18n/%lang%"
|
if not exist "./resources/i18n/%lang%" mkdir "./resources/i18n/%lang%"
|
||||||
msgfmt --check-format -o "./resources/i18n/%lang%/OrcaSlicer.mo" "%file%"
|
./tools/msgfmt --check-format -o "./resources/i18n/%lang%/OrcaSlicer.mo" "%file%"
|
||||||
goto :eof
|
goto :eof
|
||||||
|
|||||||
BIN
tools/7z.exe
BIN
tools/7z.exe
Binary file not shown.
BIN
tools/msgfmt.exe
LFS
Normal file
BIN
tools/msgfmt.exe
LFS
Normal file
Binary file not shown.
BIN
tools/msgmerge.exe
LFS
Normal file
BIN
tools/msgmerge.exe
LFS
Normal file
Binary file not shown.
BIN
tools/xgettext.exe
LFS
Normal file
BIN
tools/xgettext.exe
LFS
Normal file
Binary file not shown.
Reference in New Issue
Block a user