I18n: Fix and reenable verify-i18n CI check (#87496)

* I18n: Change verify-i18n script to use node_deb image with make in it

* remove swagger from i18n make

* make verify-i18n fail ci

* fix incorrect and unextracted nav translations

* fix more copy paste
This commit is contained in:
Josh Hunt
2024-05-08 14:01:17 +01:00
committed by GitHub
parent b383cafd35
commit c41ec46b29
6 changed files with 13 additions and 13 deletions
+7 -6
View File
@@ -241,7 +241,6 @@ steps:
image: node:20.9.0-alpine
name: lint-frontend
- commands:
- apk add --update git
- |-
make i18n-extract || (echo "
Extraction failed. Make sure that you have no dynamic translation phrases, such as 't(\`preferences.theme.\$${themeID}\`, themeName)' and that no translation key is used twice. Search the output for '[warning]' to find the offending file." && false)
@@ -252,8 +251,7 @@ steps:
\ "
depends_on:
- yarn-install
failure: ignore
image: node:20.9.0-alpine
image: node:20-bookworm
name: verify-i18n
trigger:
event:
@@ -1625,7 +1623,6 @@ steps:
image: node:20.9.0-alpine
name: lint-frontend
- commands:
- apk add --update git
- |-
make i18n-extract || (echo "
Extraction failed. Make sure that you have no dynamic translation phrases, such as 't(\`preferences.theme.\$${themeID}\`, themeName)' and that no translation key is used twice. Search the output for '[warning]' to find the offending file." && false)
@@ -1636,8 +1633,7 @@ steps:
\ "
depends_on:
- yarn-install
failure: ignore
image: node:20.9.0-alpine
image: node:20-bookworm
name: verify-i18n
trigger:
branch: main
@@ -4923,3 +4919,8 @@ get:
path: secret/data/common/gcr
kind: secret
name: gcr_credentials
---
kind: signature
hmac: 7397697ccc703dc375a0f90ba8a12fd978c2972f37fdffbdca1f72ff3991b339
...