-
-
Notifications
You must be signed in to change notification settings - Fork 452
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'multitheftauto:master' into SwapHotringRacerVehicleNames
- Loading branch information
Showing
130 changed files
with
33,712 additions
and
11,140 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,52 @@ | ||
name: "Update crowdin-translators.json" | ||
|
||
on: | ||
workflow_dispatch: | ||
delete: | ||
branches: | ||
- l10n/master | ||
|
||
jobs: | ||
generate_translators: | ||
if: github.event.repository.fork == false | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v4 | ||
with: | ||
ref: master | ||
token: ${{ secrets.POT_CI_PAT }} | ||
|
||
- name: Setup Node.js | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: latest | ||
cache: 'npm' | ||
cache-dependency-path: ./utils/localization/generate-translators/package-lock.json | ||
|
||
- name: Install dependencies | ||
working-directory: ./utils/localization/generate-translators | ||
run: npm clean-install | ||
|
||
- name: Generate translators | ||
working-directory: ./utils/localization/generate-translators | ||
env: | ||
CROWDIN_TOKEN: "${{ secrets.CROWDIN_TOKEN }}" | ||
CROWDIN_ORGANIZATION: "multitheftauto" | ||
CROWDIN_PROJECT_ID: "13" # Multi Theft Auto | ||
CROWDIN_IGNORE_USER_ID: "2" # multitheftautoqa | ||
run: npm run ci | ||
|
||
- name: Commit changes | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
run: | | ||
git config --global user.name 'github-actions[bot]' | ||
git config --global user.email 'github-actions[bot]@users.noreply.github.com' | ||
git add ./utils/localization/generate-translators/crowdin-translators.json | ||
if ! git diff-index --quiet HEAD; then | ||
git commit -m "Update crowdin-translators.json" -m "[ci skip]" | ||
git push | ||
fi |
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 |
---|---|---|
|
@@ -416,3 +416,4 @@ utils/DXFiles/ | |
!*.dll | ||
!*.exe | ||
utils/vswhere.exe | ||
*.generated.h |
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
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
Oops, something went wrong.