Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade to Crowdin V2 APIs #9954

Merged
merged 5 commits into from
Apr 10, 2024
Merged

Upgrade to Crowdin V2 APIs #9954

merged 5 commits into from
Apr 10, 2024

Conversation

riknoll
Copy link
Member

@riknoll riknoll commented Apr 9, 2024

Upgrading our Crowdin support to use the V2 APIs.

I've done a little bit of testing and things seems to be running as they should. I was able to download strings from arcade and upload a few (unchanged) files to pxt-ev3. In any case, this is safe to merge since we don't have any updated API tokens in place. I plan to test this with pxt-ev3 first since that target has fewer eyes on it.

This PR also removes support for crowdin branches. AFAIK we don't actually use them anywhere (@pelikhan correct me if I'm wrong) and they are not compatible with the directory based structure in the V2 api, so I don't expect this to be an issue. I still need to pull out a lot of references to crowdin branches in the code but I'll do that in a separate PR.

Also, I have temporarily disabled the pxt crowdin stats command but I've got a plan to bring it back.

@riknoll riknoll requested review from pelikhan, jwunderl, ganicke and a team April 9, 2024 23:21
@pelikhan
Copy link
Member

pelikhan commented Apr 9, 2024

Yup not used

@pelikhan
Copy link
Member

pelikhan commented Apr 9, 2024

My scripts use their cli

cli/crowdinApi.ts Outdated Show resolved Hide resolved
@riknoll riknoll merged commit b92e911 into master Apr 10, 2024
6 checks passed
@riknoll riknoll deleted the dev/riknoll/crowdinv2 branch April 10, 2024 17:46
@ganicke
Copy link
Collaborator

ganicke commented Apr 10, 2024

Gonna tag this one to close #9539

riknoll added a commit that referenced this pull request Apr 11, 2024
* use crowdin v2 apis

* rename crowdin API

* add projectid setting

* fix test mode

* copy pxt-translations crowdin config
riknoll added a commit that referenced this pull request Apr 11, 2024
* Upgrade to Crowdin V2 APIs (#9954)

* use crowdin v2 apis

* rename crowdin API

* add projectid setting

* fix test mode

* copy pxt-translations crowdin config

* re-enable crowdin stats (#9962)
riknoll added a commit that referenced this pull request Apr 30, 2024
* Upgrade to Crowdin V2 APIs (#9954)

* use crowdin v2 apis

* rename crowdin API

* add projectid setting

* fix test mode

* copy pxt-translations crowdin config

* re-enable crowdin stats (#9962)
riknoll added a commit that referenced this pull request Apr 30, 2024
…branch (#9991)

* [V9] Cherry picking crowdin work over to v9 branch (#9963)

* Upgrade to Crowdin V2 APIs (#9954)

* use crowdin v2 apis

* rename crowdin API

* add projectid setting

* fix test mode

* copy pxt-translations crowdin config

* re-enable crowdin stats (#9962)

* Add restore command and keep translations when updating (#9966) (#9968)

* add restore command and keep translations when updating

* add --test flag

* add parameter to prevent accidental runs
riknoll added a commit that referenced this pull request May 8, 2024
…branch (#9991)

* [V9] Cherry picking crowdin work over to v9 branch (#9963)

* Upgrade to Crowdin V2 APIs (#9954)

* use crowdin v2 apis

* rename crowdin API

* add projectid setting

* fix test mode

* copy pxt-translations crowdin config

* re-enable crowdin stats (#9962)

* Add restore command and keep translations when updating (#9966) (#9968)

* add restore command and keep translations when updating

* add --test flag

* add parameter to prevent accidental runs
riknoll added a commit that referenced this pull request May 17, 2024
…necraft stable (#10009)

* [stable9.0] Cherry picking crowdin changes over to Calliope's stable branch (#9991)

* [V9] Cherry picking crowdin work over to v9 branch (#9963)

* Upgrade to Crowdin V2 APIs (#9954)

* use crowdin v2 apis

* rename crowdin API

* add projectid setting

* fix test mode

* copy pxt-translations crowdin config

* re-enable crowdin stats (#9962)

* Add restore command and keep translations when updating (#9966) (#9968)

* add restore command and keep translations when updating

* add --test flag

* add parameter to prevent accidental runs

* hide asset name when assetEditor is false (#9878)

* Fixes for image editor in micro:bit (#9900)

* fix compile variants when palette is in dep

* add field editor param for the tagged template

* fix help link in monaco flyout (#10008)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants