Skip to content

Commit 3121f90

Browse files
authored
Merge pull request #19 from Mahmud0808/master
Merge master into stable
2 parents 0565fb1 + 7f43562 commit 3121f90

File tree

80 files changed

+5071
-298
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

80 files changed

+5071
-298
lines changed

.github/FUNDING.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
custom: ['https://buymeacoffee.com/drdisagree']

.github/workflows/crowdin.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: Crowdin Synchronization
2+
3+
on:
4+
workflow_dispatch:
5+
6+
permissions:
7+
contents: write
8+
pull-requests: write
9+
10+
jobs:
11+
12+
synchronize-with-crowdin:
13+
name: Synchronize with Crowdin
14+
if: github.repository_owner == 'Mahmud0808'
15+
runs-on: ubuntu-latest
16+
steps:
17+
18+
- name: Checkout
19+
uses: actions/checkout@v4
20+
21+
- name: Sync Translations
22+
uses: crowdin/github-action@v2
23+
with:
24+
upload_translations: false
25+
upload_sources: true
26+
download_translations: true
27+
localization_branch_name: localization
28+
create_pull_request: true
29+
env:
30+
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
31+
CROWDIN_PROJECT_ID: ${{ secrets.CROWDIN_PROJECT_ID }}
32+
CROWDIN_PERSONAL_TOKEN: ${{ secrets.CROWDIN_PERSONAL_TOKEN }}
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name: Crowdin Download
2+
3+
on:
4+
schedule:
5+
- cron: '0 0 * * 0'
6+
workflow_dispatch:
7+
8+
permissions:
9+
contents: write
10+
pull-requests: write
11+
12+
jobs:
13+
14+
synchronize-with-crowdin:
15+
name: Download translations from Crowdin
16+
if: github.repository_owner == 'Mahmud0808'
17+
runs-on: ubuntu-latest
18+
steps:
19+
20+
- name: Checkout
21+
uses: actions/checkout@v4
22+
23+
- name: Download translations
24+
uses: crowdin/github-action@v2
25+
with:
26+
upload_translations: false
27+
upload_sources: false
28+
download_translations: true
29+
localization_branch_name: localization
30+
create_pull_request: true
31+
env:
32+
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
33+
CROWDIN_PROJECT_ID: ${{ secrets.CROWDIN_PROJECT_ID }}
34+
CROWDIN_PERSONAL_TOKEN: ${{ secrets.CROWDIN_PERSONAL_TOKEN }}
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: Crowdin Upload
2+
3+
on:
4+
push:
5+
branches: [ "master" ]
6+
paths:
7+
- 'app/src/main/res/values/strings.xml'
8+
workflow_dispatch:
9+
10+
jobs:
11+
synchronize-with-crowdin:
12+
name: Upload source to Crowdin
13+
if: github.repository_owner == 'Mahmud0808'
14+
runs-on: ubuntu-latest
15+
steps:
16+
17+
- name: Checkout
18+
uses: actions/checkout@v4
19+
20+
- name: Upload Strings
21+
uses: crowdin/github-action@v2
22+
with:
23+
upload_translations: false
24+
upload_sources: true
25+
download_translations: false
26+
localization_branch_name: localization
27+
create_pull_request: false
28+
env:
29+
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
30+
CROWDIN_PROJECT_ID: ${{ secrets.CROWDIN_PROJECT_ID }}
31+
CROWDIN_PERSONAL_TOKEN: ${{ secrets.CROWDIN_PERSONAL_TOKEN }}

.idea/deploymentTargetSelector.xml

Lines changed: 0 additions & 18 deletions
This file was deleted.

.idea/misc.xml

Lines changed: 0 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)