mirror of
https://github.com/bitwarden/browser.git
synced 2024-11-25 12:15:18 +01:00
Fix Crowdin Push for Build Workflows (#2665)
This commit is contained in:
parent
8c12ba20cb
commit
0e1aacc7f2
2
.github/workflows/build-browser.yml
vendored
2
.github/workflows/build-browser.yml
vendored
@ -203,7 +203,7 @@ jobs:
|
||||
secrets: "crowdin-api-token"
|
||||
|
||||
- name: Upload Sources
|
||||
uses: crowdin/github-action@9237b4cb361788dfce63feb2e2f15c09e2fe7415 # v1.4.7
|
||||
uses: crowdin/github-action@ecd7eb0ef6f3cfa16293c79e9cbc4bc5b5fd9c49 # v1.4.9
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
CROWDIN_API_TOKEN: ${{ steps.retrieve-secrets.outputs.crowdin-api-token }}
|
||||
|
4
.github/workflows/build-desktop.yml
vendored
4
.github/workflows/build-desktop.yml
vendored
@ -987,12 +987,12 @@ jobs:
|
||||
secrets: "crowdin-api-token"
|
||||
|
||||
- name: Upload Sources
|
||||
uses: crowdin/github-action@9237b4cb361788dfce63feb2e2f15c09e2fe7415
|
||||
uses: crowdin/github-action@ecd7eb0ef6f3cfa16293c79e9cbc4bc5b5fd9c49 # v1.4.9
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
CROWDIN_API_TOKEN: ${{ steps.retrieve-secrets.outputs.crowdin-api-token }}
|
||||
with:
|
||||
config: crowdin.yml
|
||||
config: apps/desktop/crowdin.yml
|
||||
crowdin_branch_name: master
|
||||
upload_sources: true
|
||||
upload_translations: false
|
||||
|
@ -2,9 +2,9 @@ project_id_env: _CROWDIN_PROJECT_ID
|
||||
api_token_env: CROWDIN_API_TOKEN
|
||||
preserve_hierarchy: true
|
||||
files:
|
||||
- source: /apps/browser/src/_locales/en/messages.json
|
||||
dest: /apps/browser/src/_locales/en/%original_file_name%
|
||||
translation: /apps/browser/src/_locales/%two_letters_code%/%original_file_name%
|
||||
- source: /src/_locales/en/messages.json
|
||||
dest: /src/_locales/en/%original_file_name%
|
||||
translation: /src/_locales/%two_letters_code%/%original_file_name%
|
||||
update_option: update_as_unapproved
|
||||
languages_mapping:
|
||||
two_letters_code:
|
||||
@ -14,9 +14,9 @@ files:
|
||||
zh-TW: zh_TW
|
||||
en-GB: en_GB
|
||||
en-IN: en_IN
|
||||
- source: /apps/browser/store/locales/en/copy.resx
|
||||
dest: /apps/browser/store/locales/en/%original_file_name%
|
||||
translation: /apps/browser/store/locales/%two_letters_code%/%original_file_name%
|
||||
- source: /store/locales/en/copy.resx
|
||||
dest: /store/locales/en/%original_file_name%
|
||||
translation: /store/locales/%two_letters_code%/%original_file_name%
|
||||
update_option: update_as_unapproved
|
||||
languages_mapping:
|
||||
two_letters_code:
|
||||
|
Loading…
Reference in New Issue
Block a user