-
-
Notifications
You must be signed in to change notification settings - Fork 93
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #632 from zyf722/i18next-integration-draft
- Loading branch information
Showing
194 changed files
with
12,818 additions
and
1,441 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
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,44 @@ | ||
name: 🌐 I18n Request | ||
description: Request for internationalization support for a specific language | ||
title: 'I18n: ' | ||
labels: [👀 needs triage, 🌐 I18n] | ||
body: | ||
- type: markdown | ||
attributes: | ||
value: | | ||
Thanks for taking the time to fill out this i18n request! | ||
- type: markdown | ||
attributes: | ||
value: | | ||
Before submitting your request, please check out [our Lokalise project page](https://app.lokalise.com/public/34958094667a72e9454592.95108106/) to see if the language you are requesting is already supported or being currently worked on. | ||
- type: input | ||
attributes: | ||
label: Requested language | ||
description: The UI language you would like to request support for. | ||
validations: | ||
required: true | ||
- type: textarea | ||
attributes: | ||
label: Supporting details | ||
description: We want to hear why you think this language should be supported (e.g. user base, translation help, etc.). Please provide details regarding your request. | ||
- type: textarea | ||
id: context | ||
attributes: | ||
label: Additional context | ||
description: Add any other context about the problem or helpful links here. | ||
- type: checkboxes | ||
id: terms | ||
attributes: | ||
label: Code of Conduct | ||
description: By submitting this issue, you agree to follow our [Code of Conduct](https://github.com/live-codes/livecodes/blob/HEAD/CODE_OF_CONDUCT.md) | ||
options: | ||
- label: I agree to follow this project's Code of Conduct | ||
required: true | ||
- type: checkboxes | ||
id: contribution | ||
attributes: | ||
label: Contributing Docs | ||
description: If you plan on contributing i18n please read - [Contribution Guide](https://github.com/live-codes/livecodes/blob/HEAD/CONTRIBUTING.md) and [I18n Guide](https://github.com/live-codes/livecodes/blob/HEAD/docs/docs/contribution/i18n.md) | ||
options: | ||
- label: I agree to follow this project's Contribution Docs | ||
required: false |
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
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
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,33 @@ | ||
name: i18n-update-notify | ||
|
||
on: | ||
pull_request: | ||
branches: [develop] | ||
types: [closed] | ||
paths: ['src/livecodes/i18n/locales/**'] | ||
|
||
jobs: | ||
notify: | ||
name: Notify | ||
runs-on: ubuntu-latest | ||
if: github.event.pull_request.merged && github.event.sender.login != 'github-actions[bot]' && !startsWith(github.head_ref, 'i18n/') | ||
steps: | ||
- name: Check out repository | ||
uses: actions/checkout@v4 | ||
|
||
- name: Create comment on PR | ||
uses: actions/github-script@v6 | ||
with: | ||
script: | | ||
const commentBody = `## i18n Actions | ||
Source PR has been merged into the default branch. | ||
Maintainers can comment \`.i18n-update-push\` to trigger the i18n update workflow and push the changes to Lokalise. | ||
`; | ||
github.rest.issues.createComment({ | ||
issue_number: context.issue.number, | ||
owner: context.repo.owner, | ||
repo: context.repo.repo, | ||
body: commentBody | ||
}) |
Oops, something went wrong.