diff --git a/.github/workflows/static_analysis.yaml b/.github/workflows/static_analysis.yaml index cae9e9dfd3..070ac5f854 100644 --- a/.github/workflows/static_analysis.yaml +++ b/.github/workflows/static_analysis.yaml @@ -56,6 +56,13 @@ jobs: i18n_lint: name: "i18n Check" uses: matrix-org/matrix-web-i18n/.github/workflows/i18n_check.yml@main + with: + hardcoded-words: "Element" + allowed-hardcoded-keys: | + console_dev_note + labs|element_call_video_rooms + labs|feature_disable_call_per_sender_encryption + voip|element_call rethemendex_lint: name: "Rethemendex Check" diff --git a/package.json b/package.json index 67b7e452f4..4c61a577ed 100644 --- a/package.json +++ b/package.json @@ -212,7 +212,7 @@ "jest-raw-loader": "^1.0.1", "jsqr": "^1.4.0", "mailhog": "^4.16.0", - "matrix-web-i18n": "^3.1.5", + "matrix-web-i18n": "^3.2.1", "mocha-junit-reporter": "^2.2.0", "node-fetch": "2", "postcss-scss": "^4.0.4", diff --git a/yarn.lock b/yarn.lock index c19dc1bc74..256fbd4ff6 100644 --- a/yarn.lock +++ b/yarn.lock @@ -6929,10 +6929,10 @@ matrix-events-sdk@0.0.1: unhomoglyph "^1.0.6" uuid "9" -matrix-web-i18n@^3.1.5: - version "3.1.5" - resolved "https://registry.yarnpkg.com/matrix-web-i18n/-/matrix-web-i18n-3.1.5.tgz#cab9adb233b63b3760d6e40f71fff8041c648789" - integrity sha512-xe9Letv1KT04X7CalnK080cRUBvlVum5fSspaxPJ575W/+ZEwwN2mktF7Bl5gDMpuFLuXvP97xkr66BOB4I+3g== +matrix-web-i18n@^3.2.1: + version "3.2.1" + resolved "https://registry.yarnpkg.com/matrix-web-i18n/-/matrix-web-i18n-3.2.1.tgz#34e6b66bec71a52fddbe72db56d9e35dabbaff59" + integrity sha512-pBklE6Q6mAwG6N3Qtpu/e+qX0XuWEdrs4SZ+QmYJWfyLNtKAB6XcSpE5m7aBW/+11ejg8ua8Q5bNcDV2b7C9lg== dependencies: "@babel/parser" "^7.18.5" "@babel/traverse" "^7.18.5"