diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8c20642..7d71625 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -19,18 +19,15 @@ jobs: - name: Build and Analyze run: > xcodebuild clean build analyze - -exportLocalizations -project "Front Row.xcodeproj" -scheme "Front Row" - -localizationPath "./locale" - -exportLanguage en CODE_SIGNING_ALLOWED=NO | xcpretty && exit ${PIPESTATUS[0]} - - name: Upload source locale artifact + - name: Upload string catalog uses: actions/upload-artifact@v4.3.1 with: - name: en-source-locale - path: './locale/en.xcloc/Localized Contents/en.xliff' + name: string-catalog + path: "./Front Row/Localizable.xcstrings" crowdin: runs-on: ubuntu-latest @@ -38,18 +35,18 @@ jobs: steps: - uses: actions/download-artifact@v4.1.4 with: - name: en-source-locale + name: string-catalog github-token: ${{ secrets.GITHUB_TOKEN }} - - name: Upload source to Crowdin + - name: Upload string catalog to Crowdin uses: crowdin/github-action@v1.19.0 with: upload_sources: true upload_translations: false download_translations: false - source: en.xliff - translation: '%osx_locale%.xliff' + source: Localizable.xcstrings + translation: "%osx_locale%.xcstrings" project_id: ${{ secrets.CROWDIN_PROJECT_ID }} token: ${{ secrets.CROWDIN_PERSONAL_TOKEN }} diff --git a/Front Row/Localizable.xcstrings b/Front Row/Localizable.xcstrings index 22912af..6f909b7 100644 --- a/Front Row/Localizable.xcstrings +++ b/Front Row/Localizable.xcstrings @@ -1,173 +1,6 @@ { "sourceLanguage" : "en", "strings" : { - "CFBundleName" : { - "extractionState" : "stale", - "localizations" : { - "ar" : { - "stringUnit" : { - "state" : "needs_review", - "value" : "Front Row" - } - }, - "cs" : { - "stringUnit" : { - "state" : "needs_review", - "value" : "Front Row" - } - }, - "da" : { - "stringUnit" : { - "state" : "needs_review", - "value" : "Front Row" - } - }, - "de" : { - "stringUnit" : { - "state" : "needs_review", - "value" : "Front Row" - } - }, - "el" : { - "stringUnit" : { - "state" : "needs_review", - "value" : "Front Row" - } - }, - "en" : { - "stringUnit" : { - "state" : "translated", - "value" : "Front Row" - } - }, - "es" : { - "stringUnit" : { - "state" : "needs_review", - "value" : "Front Row" - } - }, - "fi" : { - "stringUnit" : { - "state" : "needs_review", - "value" : "Front Row" - } - }, - "fr" : { - "stringUnit" : { - "state" : "needs_review", - "value" : "Front Row" - } - }, - "he" : { - "stringUnit" : { - "state" : "needs_review", - "value" : "Front Row" - } - }, - "hu" : { - "stringUnit" : { - "state" : "needs_review", - "value" : "Front Row" - } - }, - "it" : { - "stringUnit" : { - "state" : "needs_review", - "value" : "Front Row" - } - }, - "ja" : { - "stringUnit" : { - "state" : "needs_review", - "value" : "Front Row" - } - }, - "ko" : { - "stringUnit" : { - "state" : "translated", - "value" : "Front Row" - } - }, - "nb" : { - "stringUnit" : { - "state" : "needs_review", - "value" : "Front Row" - } - }, - "nl" : { - "stringUnit" : { - "state" : "needs_review", - "value" : "Front Row" - } - }, - "pl" : { - "stringUnit" : { - "state" : "needs_review", - "value" : "Front Row" - } - }, - "pt" : { - "stringUnit" : { - "state" : "needs_review", - "value" : "Front Row" - } - }, - "pt-BR" : { - "stringUnit" : { - "state" : "needs_review", - "value" : "Front Row" - } - }, - "ro" : { - "stringUnit" : { - "state" : "needs_review", - "value" : "Front Row" - } - }, - "ru" : { - "stringUnit" : { - "state" : "needs_review", - "value" : "Front Row" - } - }, - "sv" : { - "stringUnit" : { - "state" : "needs_review", - "value" : "Front Row" - } - }, - "tr" : { - "stringUnit" : { - "state" : "needs_review", - "value" : "Front Row" - } - }, - "uk" : { - "stringUnit" : { - "state" : "needs_review", - "value" : "Front Row" - } - }, - "vi" : { - "stringUnit" : { - "state" : "needs_review", - "value" : "Front Row" - } - }, - "zh-Hans" : { - "stringUnit" : { - "state" : "needs_review", - "value" : "Front Row" - } - }, - "zh-Hant" : { - "stringUnit" : { - "state" : "needs_review", - "value" : "Front Row" - } - } - } - }, "Check for Updates…" : { "localizations" : { "ar" : {