Edit NFTs [1/2]: Redo /settings/nfts
to account for all project NFT…
#2555
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Crowdin upload | |
on: | |
push: | |
branches: | |
- main | |
# manual trigger from Github UI - Action tab | |
workflow_dispatch: | |
jobs: | |
synchronize-with-crowdin: | |
name: Upload sources to Crowdin | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
- name: Install dependencies | |
run: yarn install --frozen-lockfile | |
- name: Extract translations | |
run: 'yarn i18n:extract' | |
- name: Upload to Crowdin | |
uses: crowdin/[email protected] | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
with: | |
upload_translations: true | |
download_translations: false | |
project_id: '492549' | |
token: ${{ secrets.CROWDIN_PERSONAL_TOKEN }} | |
source: 'src/locales/messages.pot' | |
translation: 'src/locales/%two_letters_code%/messages.po' |