Skip to content

Commit

Permalink
Add pl_PL
Browse files Browse the repository at this point in the history
  • Loading branch information
miozune committed Mar 5, 2024
1 parent 6537fb3 commit ea67c0e
Show file tree
Hide file tree
Showing 11 changed files with 31 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/actions/get-project-id/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ runs:
project_id=9509 ;;
"de_DE")
project_id=9510 ;;
"pl_PL")
project_id=9513 ;;
*)
echo "Invalid language: $target_lang"
exit 1
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/conditional-sync-to-paratranz-parallel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,3 +45,8 @@ jobs:
with:
target_lang: de_DE
secrets: inherit
pl_PL:
uses: ./.github/workflows/conditional-sync-to-paratranz.yml
with:
target_lang: pl_PL
secrets: inherit
1 change: 1 addition & 0 deletions .github/workflows/conditional-sync-to-paratranz.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ on:
- es_ES
- tr_TR
- de_DE
- pl_PL

env:
PARATRANZ_TOKEN: ${{ secrets.PARATRANZ_TOKEN }}
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/publish-all-nightly-lang-packs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,3 +52,9 @@ jobs:
with:
target_lang: de_DE
secrets: inherit
pl_PL:
uses: ./.github/workflows/publish-nightly-lang-pack.yml
needs: de_DE # Require previous run to finish
with:
target_lang: pl_PL
secrets: inherit
1 change: 1 addition & 0 deletions .github/workflows/publish-nightly-lang-pack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ on:
- es_ES
- tr_TR
- de_DE
- pl_PL

env:
PARATRANZ_TOKEN: ${{ secrets.PARATRANZ_TOKEN }}
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/sync-all-to-paratranz-all-langs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,3 +51,9 @@ jobs:
with:
target_lang: de_DE
secrets: inherit
pl_PL:
uses: ./.github/workflows/sync-all-to-paratranz.yml
needs: de_DE # Require previous run to finish
with:
target_lang: pl_PL
secrets: inherit
1 change: 1 addition & 0 deletions .github/workflows/sync-all-to-paratranz.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ on:
- es_ES
- tr_TR
- de_DE
- pl_PL

env:
PARATRANZ_TOKEN: ${{ secrets.PARATRANZ_TOKEN }}
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/sync-gt-lang-to-paratranz-parallel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,3 +44,8 @@ jobs:
with:
target_lang: de_DE
secrets: inherit
pl_PL:
uses: ./.github/workflows/sync-gt-lang-to-paratranz.yml
with:
target_lang: pl_PL
secrets: inherit
1 change: 1 addition & 0 deletions .github/workflows/sync-gt-lang-to-paratranz.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ on:
- es_ES
- tr_TR
- de_DE
- pl_PL

env:
PARATRANZ_TOKEN: ${{ secrets.PARATRANZ_TOKEN }}
Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# GTNH Translations

[中文](./readmes/README_zh_CN.md) / [日本語](./readmes/README_ja_JP.md) / [한국어](./readmes/README_ko_KR.md) / [Português brasileiro](./readmes/README_pt_BR.md) / [Français](./readmes/README_fr_FR.md) / [Español](./readmes/README_es_ES.md) / [Türkçe](./readmes/README_tr_TR.md) / [Deutsch](./readmes/README_de_DE.md)
[中文](./readmes/README_zh_CN.md) / [日本語](./readmes/README_ja_JP.md) / [한국어](./readmes/README_ko_KR.md) / [Português brasileiro](./readmes/README_pt_BR.md) / [Français](./readmes/README_fr_FR.md) / [Español](./readmes/README_es_ES.md) / [Türkçe](./readmes/README_tr_TR.md) / [Deutsch](./readmes/README_de_DE.md) / Polski

This is a repository managing all the translations for GTNH.

Expand Down Expand Up @@ -28,6 +28,7 @@ Each project has its own ParaTranz project. You can join there with your GitHub
- [es_ES](https://paratranz.cn/projects/9508)
- [tr_TR](https://paratranz.cn/projects/9509)
- [de_DE](https://paratranz.cn/projects/9510)
- [pl_PL](https://paratranz.cn/projects/9513)

### I want to make contribution to language that is not listed here

Expand Down
1 change: 1 addition & 0 deletions src/gtnh_translation_compare/filetypes/language.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ class Language(Enum):
es_ES = "es_ES"
tr_TR = "tr_TR"
de_DE = "de_DE"
pl_PL = "pl_PL"

@classmethod
def from_str(cls, s: str) -> "Language":
Expand Down

0 comments on commit ea67c0e

Please sign in to comment.