diff --git a/crowdin.yaml b/crowdin.yaml index 7b4ce35bee04c..835bd3532ba5a 100644 --- a/crowdin.yaml +++ b/crowdin.yaml @@ -1,5 +1,5 @@ -project_identifier: 'binary-static' -api_key_env: CROWDIN_API_KEY +project_id: '224893' +api_token_env: 'CROWDIN_API_KEY' files: - source: /src/translations/messages.pot diff --git a/scripts/README.md b/scripts/README.md index 2f3529920c56a..9612b347df64e 100644 --- a/scripts/README.md +++ b/scripts/README.md @@ -3,8 +3,8 @@ ### Initial setup: * Please make sure you have done `npm install`. * Install `Homebrew` by `ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"` -* Install and follow the instructions here: https://support.crowdin.com/cli-tool-v2/#installation -* **Important:** Please use version 2 of the crowdin cli-tool (version 3 is not supported by our translation scripts yet) +* Install and follow the instructions here: https://support.crowdin.com/cli-tool/#installation +* **Important:** Please use version 3 of the crowdin cli-tool * Get [Crowdin API Key](https://crowdin.com/project/binary-static/settings#api) and add this line to your _.bash_profile_: `export CROWDIN_API_KEY='put API Key here'`
**IMPORTANT!** This key gives full access to all your Crowdin project data. Treat this just like a password and never push it to any public repo. diff --git a/scripts/update_translations.sh b/scripts/update_translations.sh index d2f617c492247..a7d33150865a8 100755 --- a/scripts/update_translations.sh +++ b/scripts/update_translations.sh @@ -10,7 +10,7 @@ if ! [ -x "$(command -v crowdin)" ]; then if [ -f /usr/local/bin/crowdin-cli.jar ]; then alias crowdin="java -jar /usr/local/bin/crowdin-cli.jar" else - echo ${YELLOW}"crowdin-cli not found. Please follow the instructions here: https://support.crowdin.com/cli-tool-v2/#installation"${RESET} + echo ${YELLOW}"crowdin-cli not found. Please follow the instructions here: https://support.crowdin.com/cli-tool/#installation"${RESET} exit 1 fi fi