Merge pull request #593 from pan93412/l10n/update-zhtw-localization #87
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
name: XCStrings Validation | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
test: | |
runs-on: macos-13 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Clone SwiftPolyglot | |
run: git clone --branch 0.3.1 -- https://github.com/appdecostudio/SwiftPolyglot.git ../SwiftPolyglot | |
- name: validate translations | |
run: | | |
swift build --package-path ../SwiftPolyglot --configuration release | |
swift run --package-path ../SwiftPolyglot swiftpolyglot "ca,de,el,es,fi,fr,hi,it,ja,ko,nl,pl,pt-BR,ru,tr,uk,zh-Hans,zh-Hant" --errorOnMissing |