diff --git a/.github/workflows/localization.yml b/.github/workflows/localization.yml index 47bbfa92..8e302938 100644 --- a/.github/workflows/localization.yml +++ b/.github/workflows/localization.yml @@ -24,7 +24,7 @@ jobs: runs-on: ubuntu-latest timeout-minutes: 20 steps: - - uses: microsoft/vscode-common-python-lsp/.github/actions/localization@d1877b84bb10ff7caa6bd12ab4e75498ba760790 + - uses: microsoft/vscode-common-python-lsp/.github/actions/localization@6b4a3573e7e7a9fe1e468e129544432278aec2d6 with: app-id: ${{ vars.PYTHON_LOCALIZATION_APP_ID }} private-key: ${{ secrets.PYTHON_LOCALIZATION_PRIVATE_KEY }} diff --git a/README.md b/README.md index b2d524cb..040a9b6f 100644 --- a/README.md +++ b/README.md @@ -139,8 +139,8 @@ The **Localization** GitHub workflow submits English strings using the [shared c Both paths use `microsoft/vscode-python-extensions-loc`, branch **`dev`**, with canonical extension ID **`ms-python.debugpy`**. English XLF is stored in `src/en/ms-python.debugpy` and handbacks in `out/ms-python.debugpy`. The action and Azure tooling checkout are pinned to the same reviewed revision. -Configure the `PYTHON_LOCALIZATION_APP_ID` Actions variable and `PYTHON_LOCALIZATION_PRIVATE_KEY` secret here, or grant access to organization-level credentials. The app needs Contents write access only to the localization drop; the caller's repository token stays read-only. The shared action uses the Microsoft npm proxy and pinned localization CLI. Authorize the literal `Github-Pylance` service connection for both Azure repository resources and release pipelines. +Configure the `PYTHON_LOCALIZATION_APP_ID` Actions variable and `PYTHON_LOCALIZATION_PRIVATE_KEY` secret here, or grant access to organization-level credentials. The app needs Contents write access only to the localization drop; the caller's repository token stays read-only. The shared action uses the Microsoft npm proxy and pinned localization CLI. Authorize the literal `Github-Pylance` service connection for the [pipeline templates](https://github.com/microsoft/pylance-eng), translation, and shared-tooling repository resources in both release pipelines. Keep English `package.nls.json` tracked. Root `package.nls..json` and `l10n/` runtime files are generated, git-ignored release outputs. VSCE must include generated locale files despite Git ignores. Local builds are English-only unless translations are imported explicitly (debugger pre-built assets remain available, but the release import runs after their overlay and is authoritative). -Translation is asynchronous. All 14 supported locales must be present, and every required real-language table must contain translation evidence. Individual untranslated strings are allowed. Missing, incomplete, or wholly untranslated handbacks fail before packaging, without falling back to stale translations. Do not publish while onboarding or real translated output is pending. +Translation is asynchronous. Nonempty manifest and runtime tables must be present for all 14 supported locales. Untranslated strings, including wholly untranslated tables, are allowed; users see English until translations arrive. Missing, empty, malformed, or incomplete handbacks still fail before packaging, without falling back to stale translations. diff --git a/build/azure-devdiv-pipeline.pre-release.yml b/build/azure-devdiv-pipeline.pre-release.yml index 8a211c0f..03d05b1a 100644 --- a/build/azure-devdiv-pipeline.pre-release.yml +++ b/build/azure-devdiv-pipeline.pre-release.yml @@ -13,9 +13,10 @@ schedules: resources: repositories: - repository: templates - type: git - name: DevDiv/Pylance-Eng + type: github + name: microsoft/pylance-eng ref: refs/heads/main + endpoint: Github-Pylance - repository: translations type: github name: microsoft/vscode-python-extensions-loc @@ -25,7 +26,7 @@ resources: - repository: localizationTools type: github name: microsoft/vscode-common-python-lsp - ref: d1877b84bb10ff7caa6bd12ab4e75498ba760790 + ref: 6b4a3573e7e7a9fe1e468e129544432278aec2d6 endpoint: Github-Pylance variables: - name: TeamName diff --git a/build/azure-devdiv-pipeline.stable.yml b/build/azure-devdiv-pipeline.stable.yml index d0ff387d..c3c75af3 100644 --- a/build/azure-devdiv-pipeline.stable.yml +++ b/build/azure-devdiv-pipeline.stable.yml @@ -8,9 +8,10 @@ pr: none resources: repositories: - repository: templates - type: git - name: DevDiv/Pylance-Eng + type: github + name: microsoft/pylance-eng ref: refs/heads/main + endpoint: Github-Pylance - repository: translations type: github name: microsoft/vscode-python-extensions-loc @@ -20,7 +21,7 @@ resources: - repository: localizationTools type: github name: microsoft/vscode-common-python-lsp - ref: d1877b84bb10ff7caa6bd12ab4e75498ba760790 + ref: 6b4a3573e7e7a9fe1e468e129544432278aec2d6 endpoint: Github-Pylance variables: - name: TeamName