diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000000..5135af0e45 --- /dev/null +++ b/.gitattributes @@ -0,0 +1 @@ +*.exe filter=lfs diff=lfs merge=lfs -text diff --git a/run_gettext.bat b/run_gettext.bat index 2bad470098..fd953591f8 100644 --- a/run_gettext.bat +++ b/run_gettext.bat @@ -9,7 +9,7 @@ for %%a in (%*) do ( ) 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 ) REM Print the current directory @@ -28,8 +28,8 @@ goto :eof set "name=%~n1" set "lang=%name:OrcaSlicer_=%" 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%" - msgfmt --check-format -o "./resources/i18n/%lang%/OrcaSlicer.mo" "%file%" + ./tools/msgfmt --check-format -o "./resources/i18n/%lang%/OrcaSlicer.mo" "%file%" goto :eof diff --git a/tools/7z.exe b/tools/7z.exe index a739ca0fde..871646e20f 100644 Binary files a/tools/7z.exe and b/tools/7z.exe differ diff --git a/tools/msgfmt.exe b/tools/msgfmt.exe new file mode 100644 index 0000000000..d4a144a776 --- /dev/null +++ b/tools/msgfmt.exe @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9f9898c795ae727469e031fa41783ee1f928a16500e80efca230d796d3e3a820 +size 1945633 diff --git a/tools/msgmerge.exe b/tools/msgmerge.exe new file mode 100644 index 0000000000..e78db69223 --- /dev/null +++ b/tools/msgmerge.exe @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:919fceafd8284420fbed71088abf6583d87e3c846e55f56675af969dd785bcc8 +size 2354301 diff --git a/tools/xgettext.exe b/tools/xgettext.exe new file mode 100644 index 0000000000..67f36ccb64 --- /dev/null +++ b/tools/xgettext.exe @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c510f2711b124c7738965b519b286678a9a393a73486fbf48208220460ca8a30 +size 3423198