mirror of
https://github.com/grocy/grocy.git
synced 2025-08-20 12:20:22 +00:00
New Transifex command-line client compatibility
This commit is contained in:
3
.devtools/transifex_check_for_new_languages.bat
Normal file
3
.devtools/transifex_check_for_new_languages.bat
Normal file
@@ -0,0 +1,3 @@
|
||||
pushd ..
|
||||
tx pull --all --resources grocy.strings --minimum-perc=70
|
||||
popd
|
@@ -1,6 +1,9 @@
|
||||
pushd ..
|
||||
tx pull --all --minimum-perc=70 --force
|
||||
tx pull --language en_GB --force
|
||||
for /d %%d in (localization\*) do (
|
||||
if %%~nxd neq en (
|
||||
tx pull --languages %%~nxd --force
|
||||
)
|
||||
)
|
||||
copy /Y localization\en\userfield_types.po localization\en_GB\userfield_types.po
|
||||
copy /Y localization\en\stock_transaction_types.po localization\en_GB\stock_transaction_types.po
|
||||
copy /Y localization\en\component_translations.po localization\en_GB\component_translations.po
|
||||
|
Reference in New Issue
Block a user