forked from obsproject/obs-studio
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
47 additions
and
2 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 |
---|---|---|
|
@@ -7,5 +7,3 @@ | |
*.vcxproj.filters text eol=crlf | ||
|
||
cmake/ALL_BUILD.vcxproj.user.in text eol=crlf | ||
|
||
en-US.ini text eol=crlf |
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,21 @@ | ||
name: "Crowdin Sync: Import latest translations" | ||
on: workflow_dispatch | ||
jobs: | ||
download: | ||
name: Import latest translations | ||
runs-on: ubuntu-latest | ||
env: | ||
CROWDIN_PAT: ${{ secrets.CROWDIN_SYNC_CROWDIN_PAT }} | ||
steps: | ||
- uses: actions/checkout@v2 | ||
with: | ||
submodules: recursive | ||
fetch-depth: 0 | ||
token: ${{ secrets.CROWDIN_SYNC_GITHUB_PAT }} | ||
- uses: actions/setup-node@v2 | ||
with: | ||
node-version: 16 | ||
- name: Download Script | ||
run: wget -P ./other/ https://raw.githubusercontent.com/obsproject/crowdin-synchronization/0.1.0/dist/download.mjs | ||
- name: Import latest translations from Crowdin | ||
run: node ./other/download.mjs |
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,26 @@ | ||
name: "Crowdin Sync: Upload English strings" | ||
on: | ||
push: | ||
branches: | ||
- master | ||
paths: | ||
- "**/en-US.ini" | ||
jobs: | ||
upload: | ||
name: Upload English strings | ||
runs-on: ubuntu-latest | ||
env: | ||
CROWDIN_PAT: ${{ secrets.CROWDIN_SYNC_CROWDIN_PAT }} | ||
GITHUB_EVENT_BEFORE: ${{ github.event.before }} | ||
steps: | ||
- uses: actions/checkout@v2 | ||
with: | ||
submodules: recursive | ||
fetch-depth: 2 | ||
- uses: actions/setup-node@v2 | ||
with: | ||
node-version: 16 | ||
- name: Download Script | ||
run: wget -P ./other/ https://raw.githubusercontent.com/obsproject/crowdin-synchronization/0.1.0/dist/upload.mjs | ||
- name: Upload English strings to Crowdin | ||
run: node ./other/upload.mjs |