Skip to content

Commit 7ba02da

Browse files
authored
Merge pull request #1726 from RooVetGit/language_cleanup
Remove some deprecated language files
2 parents e2251a3 + 61339ee commit 7ba02da

File tree

15 files changed

+124
-1
lines changed

15 files changed

+124
-1
lines changed

.github/workflows/code-qa.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,21 @@ jobs:
2828
- name: Lint
2929
run: npm run lint
3030

31+
check-translations:
32+
runs-on: ubuntu-latest
33+
steps:
34+
- name: Checkout code
35+
uses: actions/checkout@v4
36+
- name: Setup Node.js
37+
uses: actions/setup-node@v4
38+
with:
39+
node-version: '18'
40+
cache: 'npm'
41+
- name: Install dependencies
42+
run: npm run install:all
43+
- name: Verify all translations are complete
44+
run: node scripts/find-missing-translations.js
45+
3146
knip:
3247
runs-on: ubuntu-latest
3348
steps:

scripts/find-missing-translations.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -206,6 +206,8 @@ function findMissingTranslations() {
206206
console.log("1. Add the missing keys to the corresponding locale files")
207207
console.log("2. Translate the English values to the appropriate language")
208208
console.log("3. Run this script again to verify all translations are complete")
209+
// Exit with error code to fail CI checks
210+
process.exit(1)
209211
}
210212
} catch (error) {
211213
console.error("Error:", error.message)

webview-ui/src/i18n/locales/ar/prompts.json

Whitespace-only changes.

webview-ui/src/i18n/locales/ar/settings.json

Whitespace-only changes.

webview-ui/src/i18n/locales/cs/prompts.json

Whitespace-only changes.

webview-ui/src/i18n/locales/cs/settings.json

Whitespace-only changes.

webview-ui/src/i18n/locales/hu/prompts.json

Whitespace-only changes.

webview-ui/src/i18n/locales/hu/settings.json

Whitespace-only changes.

webview-ui/src/i18n/locales/ja/settings.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@
8282
"useCustomBaseUrl": "カスタムベースURLを使用",
8383
"requestyApiKey": "Requesty APIキー",
8484
"getRequestyApiKey": "Requesty APIキーを取得",
85+
"openRouterTransformsText": "プロンプトとメッセージチェーンをコンテキストサイズに圧縮 (<a>OpenRouter Transforms</a>)",
8586
"anthropicApiKey": "Anthropic APIキー",
8687
"getAnthropicApiKey": "Anthropic APIキーを取得",
8788
"deepSeekApiKey": "DeepSeek APIキー",

webview-ui/src/i18n/locales/ko/settings.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@
8282
"useCustomBaseUrl": "사용자 정의 기본 URL 사용",
8383
"requestyApiKey": "Requesty API 키",
8484
"getRequestyApiKey": "Requesty API 키 받기",
85+
"openRouterTransformsText": "프롬프트와 메시지 체인을 컨텍스트 크기로 압축 (<a>OpenRouter Transforms</a>)",
8586
"anthropicApiKey": "Anthropic API 키",
8687
"getAnthropicApiKey": "Anthropic API 키 받기",
8788
"deepSeekApiKey": "DeepSeek API 키",

0 commit comments

Comments
 (0)