mirror of
https://github.com/grocy/grocy.git
synced 2025-08-21 12:52:39 +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 ..
|
pushd ..
|
||||||
tx pull --all --minimum-perc=70 --force
|
for /d %%d in (localization\*) do (
|
||||||
tx pull --language en_GB --force
|
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\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\stock_transaction_types.po localization\en_GB\stock_transaction_types.po
|
||||||
copy /Y localization\en\component_translations.po localization\en_GB\component_translations.po
|
copy /Y localization\en\component_translations.po localization\en_GB\component_translations.po
|
||||||
|
76
.tx/config
76
.tx/config
@@ -1,56 +1,56 @@
|
|||||||
[main]
|
[main]
|
||||||
host = https://www.transifex.com
|
host = https://www.transifex.com
|
||||||
|
|
||||||
[grocy.chore_period_types]
|
[o:grocy:p:grocy:r:chore_assignment_types]
|
||||||
file_filter = localization/<lang>/chore_period_types.po
|
|
||||||
source_file = localization/chore_period_types.pot
|
|
||||||
source_lang = en
|
|
||||||
type = PO
|
|
||||||
|
|
||||||
[grocy.chore_assignment_types]
|
|
||||||
file_filter = localization/<lang>/chore_assignment_types.po
|
file_filter = localization/<lang>/chore_assignment_types.po
|
||||||
source_file = localization/chore_assignment_types.pot
|
source_file = localization/chore_assignment_types.pot
|
||||||
source_lang = en
|
source_lang = en
|
||||||
type = PO
|
type = PO
|
||||||
|
|
||||||
[grocy.component_translations]
|
[o:grocy:p:grocy:r:chore_period_types]
|
||||||
|
file_filter = localization/<lang>/chore_period_types.po
|
||||||
|
source_file = localization/chore_period_types.pot
|
||||||
|
source_lang = en
|
||||||
|
type = PO
|
||||||
|
|
||||||
|
[o:grocy:p:grocy:r:component_translations]
|
||||||
file_filter = localization/<lang>/component_translations.po
|
file_filter = localization/<lang>/component_translations.po
|
||||||
source_file = localization/component_translations.pot
|
source_file = localization/component_translations.pot
|
||||||
source_lang = en
|
source_lang = en
|
||||||
type = PO
|
type = PO
|
||||||
|
|
||||||
[grocy.demo_data]
|
[o:grocy:p:grocy:r:demo_data]
|
||||||
file_filter = localization/<lang>/demo_data.po
|
file_filter = localization/<lang>/demo_data.po
|
||||||
source_file = localization/demo_data.pot
|
source_file = localization/demo_data.pot
|
||||||
source_lang = en
|
source_lang = en
|
||||||
type = PO
|
type = PO
|
||||||
|
|
||||||
[grocy.stock_transaction_types]
|
[o:grocy:p:grocy:r:locales]
|
||||||
file_filter = localization/<lang>/stock_transaction_types.po
|
|
||||||
source_file = localization/stock_transaction_types.pot
|
|
||||||
source_lang = en
|
|
||||||
type = PO
|
|
||||||
|
|
||||||
[grocy.strings]
|
|
||||||
file_filter = localization/<lang>/strings.po
|
|
||||||
source_file = localization/strings.pot
|
|
||||||
source_lang = en
|
|
||||||
type = PO
|
|
||||||
|
|
||||||
[grocy.userfield_types]
|
|
||||||
file_filter = localization/<lang>/userfield_types.po
|
|
||||||
source_file = localization/userfield_types.pot
|
|
||||||
source_lang = en
|
|
||||||
type = PO
|
|
||||||
|
|
||||||
[grocy.permissions]
|
|
||||||
file_filter = localization/<lang>/permissions.po
|
|
||||||
source_file = localization/permissions.pot
|
|
||||||
source_lang = en
|
|
||||||
type = PO
|
|
||||||
|
|
||||||
[grocy.locales]
|
|
||||||
file_filter = localization/<lang>/locales.po
|
file_filter = localization/<lang>/locales.po
|
||||||
source_file = localization/locales.pot
|
source_file = localization/locales.pot
|
||||||
source_lang = en
|
source_lang = en
|
||||||
type = PO
|
type = PO
|
||||||
|
|
||||||
|
[o:grocy:p:grocy:r:permissions]
|
||||||
|
file_filter = localization/<lang>/permissions.po
|
||||||
|
source_file = localization/permissions.pot
|
||||||
|
source_lang = en
|
||||||
|
type = PO
|
||||||
|
|
||||||
|
[o:grocy:p:grocy:r:stock_transaction_types]
|
||||||
|
file_filter = localization/<lang>/stock_transaction_types.po
|
||||||
|
source_file = localization/stock_transaction_types.pot
|
||||||
|
source_lang = en
|
||||||
|
type = PO
|
||||||
|
|
||||||
|
[o:grocy:p:grocy:r:strings]
|
||||||
|
file_filter = localization/<lang>/strings.po
|
||||||
|
source_file = localization/strings.pot
|
||||||
|
source_lang = en
|
||||||
|
type = PO
|
||||||
|
|
||||||
|
[o:grocy:p:grocy:r:userfield_types]
|
||||||
|
file_filter = localization/<lang>/userfield_types.po
|
||||||
|
source_file = localization/userfield_types.pot
|
||||||
|
source_lang = en
|
||||||
|
type = PO
|
||||||
|
Reference in New Issue
Block a user