@deriv-com/translations 1.1.3 → 1.1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +4 -0
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -122,6 +122,8 @@ There is a github action that syncs the translations from Crowdin to the CDN.
122
122
  The action takes following inputs:
123
123
 
124
124
  - `PROJECT_SOURCE_DIRECTORY`: Source directory of your project by default it is `src`
125
+ - `CROWDIN_BASE_PATH`: Base path of the translations in the Crowdin project by default it is `.`
126
+ - `CROWDIN_BASE_URL`: Base URL of the CDN where the translations are stored, default is `https://api.crowdin.com`
125
127
  - `CROWDIN_BRANCH_NAME`: Running on production, test or staging etc
126
128
  - `CROWDIN_PROJECT_ID`: Crowdin project ID which can be found in the crowdin project settings
127
129
  - `CROWDIN_PERSONAL_TOKEN`: Crowdin personal token which can be found in the crowdin account settings
@@ -153,6 +155,8 @@ jobs:
153
155
  uses: deriv-com/translations/.github/actions/extract_and_sync_translations@main
154
156
  with:
155
157
  CROWDIN_BRANCH_NAME: ${{ secrets.CROWDIN_BRANCH_NAME }}
158
+ CROWDIN_BASE_URL: ${{ env.CROWDIN_BASE_URL }}
159
+ CROWDIN_BASE_PATH: ${{ env.CROWDIN_BASE_PATH }}
156
160
  CROWDIN_PROJECT_ID: ${{ secrets.CROWDIN_PROJECT_ID }}
157
161
  CROWDIN_PERSONAL_TOKEN: ${{ secrets.CROWDIN_PERSONAL_TOKEN }}
158
162
  R2_ACCOUNT_ID: ${{ secrets.R2_ACCOUNT_ID }}
package/package.json CHANGED
@@ -16,7 +16,7 @@
16
16
  }
17
17
  },
18
18
  "private": false,
19
- "version": "1.1.3",
19
+ "version": "1.1.4",
20
20
  "scripts": {
21
21
  "dev": "vite",
22
22
  "build": "tsc && vite build && cp ./src/scripts/deriv-extract-translations.cjs ./dist/deriv-extract-translations.cjs",