chocolatey / Chocolatey.Cake.Recipe

A set of convention based Cake scripts for building Chocolatey projects
Apache License 2.0
5 stars 9 forks source link

Update Transifex support to work with the new CLI #100

Closed vexx32 closed 1 year ago

vexx32 commented 1 year ago

Checklist

Is Your Feature Request Related To A Problem? Please describe.

The old Transifex client is no longer supported/usable, so we need to ensure our Transifex support works with the newer client.

There are two things that need to be done to make that work here.

Describe The Solution. Why is it needed?

Firstly, we need to update the format we're using for the .transifexrc file. The new format is:

[https://www.transifex.com]
rest_hostname = https://rest.api.transifex.com
token         = API_TOKEN_HERE

Secondly, the -translations flag is no longer valid. We should instead use -t or --translation. This latter one seems to need changes to Cake itself, though, so it's not something we can do here.

Additional Context

Docs for the new CLI: https://developers.transifex.com/docs/cli

Related Issues

No response

choco-bot commented 1 year ago

:tada: This issue has been resolved in version 0.20.2 :tada:

The release is available on:

Your GitReleaseManager bot :package::rocket: