Add crowdin-cli config template #827

Merged
mmarif merged 3 commits from 6543/GitNex:crowdin-config into master 2021-02-12 09:30:03 +00:00
Collaborator

add example config witch only has key missing witch is used to update translation via https://support.crowdin.com/cli-tool/

add example config witch only has key missing witch is used to update translation via https://support.crowdin.com/cli-tool/
6543 added 3 commits 2021-02-11 19:18:54 +00:00
6543 added the
📄 Documentation
label 2021-02-11 19:19:01 +00:00
Poster
Collaborator

to update translations:

setup:

  1. install crowdin cli
  2. cp crowdin.example.yml crowdin.yml
  3. add api key into crowdin.yml

update:

git checkout -f master -b crowdin_$(date "+%Y-%m-%d")

crowdin push
sleep 10s
crowdin pull

git add -u
git commit -S -m "Crowdin $(date "+%Y-%m-%d")"
git push -u origin crowdin_$(date "+%Y-%m-%d")

& create pull

to update translations: ### setup: 1. install crowdin cli 2. cp crowdin.example.yml crowdin.yml 3. add api key into crowdin.yml ### update: ``` git checkout -f master -b crowdin_$(date "+%Y-%m-%d") crowdin push sleep 10s crowdin pull git add -u git commit -S -m "Crowdin $(date "+%Y-%m-%d")" git push -u origin crowdin_$(date "+%Y-%m-%d") ``` & create pull
Poster
Collaborator

(if this pull got merged I'll add a wiki page from commit above) ☝️

(if this pull got merged I'll add a wiki page from commit above) ☝️
mmarif approved these changes 2021-02-12 09:29:56 +00:00
mmarif merged commit 44b8ad8d1c into master 2021-02-12 09:30:03 +00:00
6543 deleted branch crowdin-config 2021-02-12 11:32:38 +00:00
Sign in to join this conversation.
No reviewers
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: gitnex/GitNex#827
There is no content yet.