Skip to content

Commit

Permalink
fix crowdin
Browse files Browse the repository at this point in the history
  • Loading branch information
DancingSnow0517 committed May 18, 2024
1 parent c3445a4 commit 4b150c8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ on: push

jobs:
generate:
name: Generate FTB Quest Translate Keys
name: FTB Quest
secrets: inherit
permissions:
contents: write
Expand All @@ -12,14 +12,14 @@ jobs:
crowdin:
needs:
- generate
name: Update Crowdin Sources / Translations
name: Crowdin
secrets: inherit
permissions:
contents: write
uses: ./.github/workflows/crowdin.yml

build:
name: Build Modpack
name: Modpack
needs:
- crowdin
runs-on: ubuntu-latest
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/crowdin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Update Crowdin Sources / Translations
on: workflow_call

jobs:
crowdin:
update:
runs-on: ubuntu-latest
permissions:
contents: write
Expand All @@ -23,6 +23,6 @@ jobs:
token: ${{ secrets.CROWDIN_API_TOKEN }}
base_url: https://api.crowdin.com
base_path: /
source: /config/ftbquests/localized_quests/zh_cn.json
translation: /kubejs/assets/gtep_quests/lang/%locale_with_underscore%.%file_extension%
source: config/ftbquests/localized_quests/zh_cn.json
translation: kubejs/assets/gtep_quests/lang/%locale_with_underscore%.%file_extension%
preserve_hierarchy: true

0 comments on commit 4b150c8

Please sign in to comment.