forked from MetaMask/metamask-docs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'MetaMask:main' into main
- Loading branch information
Showing
111 changed files
with
29,659 additions
and
5,773 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# Description | ||
|
||
<!-- Describe the changes made in your pull request (PR). --> | ||
|
||
## Issue(s) fixed | ||
|
||
<!-- Include the issue number that this PR fixes. --> | ||
|
||
Fixes # | ||
|
||
## Preview | ||
|
||
<!-- Provide a PR preview link to the page(s) changed. --> | ||
|
||
## Checklist | ||
|
||
Complete this checklist before merging your PR: | ||
|
||
- [ ] If this PR contains a major change to the documentation content, I have added an entry to the top of the ["What's new?"](https://github.com/MetaMask/metamask-docs/blob/main/docs/whats-new.md) page. | ||
- [ ] The proposed changes have been reviewed and approved by a member of the documentation team. |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
name: Crowdin Action | ||
|
||
on: | ||
push: | ||
path: [ "i18n/**" ] | ||
branches: [ main ] | ||
|
||
permissions: write-all | ||
|
||
jobs: | ||
crowdin: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
|
||
- name: Synchronize with Crowdin | ||
uses: crowdin/github-action@v1 | ||
with: | ||
upload_sources: true | ||
upload_translations: true | ||
download_translations: true | ||
localization_branch_name: l10n_crowdin_translations | ||
|
||
create_pull_request: true | ||
pull_request_title: 'New Crowdin translations' | ||
pull_request_body: 'New Crowdin pull request with translations' | ||
pull_request_base_branch_name: 'main' | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
CROWDIN_PROJECT_ID: ${{ secrets.CROWDIN_PROJECT_ID }} | ||
CROWDIN_PERSONAL_TOKEN: ${{ secrets.CROWDIN_PERSONAL_TOKEN }} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
project_id_env: CROWDIN_PROJECT_ID | ||
api_token_env: CROWDIN_PERSONAL_TOKEN | ||
preserve_hierarchy: true | ||
files: | ||
# JSON translation files | ||
- source: /i18n/en/**/* | ||
translation: /i18n/%two_letters_code%/**/%original_file_name% | ||
# Docs Markdown files | ||
- source: /wallet/**/* | ||
translation: /i18n/%two_letters_code%/docusaurus-plugin-content-docs/**/%original_file_name% | ||
- source: /snaps/**/* | ||
translation: /i18n/%two_letters_code%/docusaurus-plugin-content-docs/**/%original_file_name% | ||
- source: /services/**/* | ||
translation: /i18n/%two_letters_code%/docusaurus-plugin-content-docs/**/%original_file_name% | ||
- source: /docs/**/* | ||
translation: /i18n/%two_letters_code%/docusaurus-plugin-content-docs/**/%original_file_name% |
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
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
Oops, something went wrong.