Compare commits

..
Author SHA1 Message Date
nrenvo dae542f772 ci: regenerate the i18n types and check them for drift (#8494) 2026-11-04 14:43:16 +00:00
3 changed files with 11 additions and 0 deletions
+9
View File
@@ -4,6 +4,7 @@ on:
pull_request:
paths:
- "src/**"
- "scripts/**"
- "**/*.js"
- "**/*.ts"
- "**/*.tsx"
@@ -41,6 +42,14 @@ jobs:
- run: pnpm install --frozen-lockfile
- name: Check generated i18n types are up to date
run: |
pnpm i18n:types
if ! git diff --exit-code -- src/types/generated; then
echo "::error::src/types/generated is stale; run pnpm i18n:types and commit the result"
exit 1
fi
- name: Run Prettier check
run: pnpm format:check
+1
View File
@@ -939,6 +939,7 @@ export const translationKeys = [
'tests.statuses.test.yes',
'tests.statuses.test.no',
'tests.statuses.test.failed',
'tests.statuses.test.risky',
'tests.statuses.test.completed',
'tests.statuses.test.disallowedIsp',
'tests.statuses.test.originalsOnly',
+1
View File
@@ -1589,6 +1589,7 @@ export interface TranslationResources {
noDisney: string
originalsOnly: string
pending: string
risky: string
unsupportedRegion: string
yes: string
}