fix(ci): disable placeholder conversion during i18n-update-push
#656
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What type of PR is this? (check all applicable)
Description
By default, Lokalise's file upload API will try to convert placeholders into their universal format, which is not our desired behavior and causes several QA issues ("Placeholder/HTML mismatch") to be raised.
This PR fixes this issue by explicitly setting the
convert_placeholders
flag to false.Added tests?
Added to documentations?
Are there any post-deployment tasks we need to perform?
After merge, please manually run the following to fix data existed on the branch
gigamaster/dev-gui
which will be used for next release:Note that
LOKALISE_PROJECT_ID
andLOKALISE_API_TOKEN
should be set before running these commands.I've already done a test run with my fork repo and the staging project on Lokalise. You might want to have a test there as well - just fill
LOKALISE_PROJECT_ID
with60810062671f99b3883fb4.07995509
, replacegigamaster/dev-gui
withmaster
and everything should be fine.Whether the data on the
master
branch should be updated might be left for discussion. We can either update it using i18n entries exported from the codebasse before merging #630, or just leave it as is for now and update it later when merginggigamaster/dev-gui
tomaster
on Lokalise.