Skip to content

Commit fccf653

Browse files
committed
Add diagnostics configuration options to localization files
- Introduced new settings for diagnostics in multiple languages, including: - Include Diagnostics: Option to enable code diagnostics in API requests. - Max Diagnostics: Maximum number of diagnostics to include in API requests. - Diagnostics Filter: Filter diagnostics by code or source. - Updated localization files for languages: Catalan, German, English, Spanish, French, Hindi, Indonesian, Italian, Japanese, Korean, Dutch, Polish, Portuguese (Brazil), Russian, Turkish, Vietnamese, Chinese (Simplified), and Chinese (Traditional).
1 parent a5023f8 commit fccf653

35 files changed

+398
-17
lines changed

src/i18n/locales/ca/common.json

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,24 @@
101101
"providers": {
102102
"groqApiKey": "Clau API de Groq",
103103
"getGroqApiKey": "Obté la clau API de Groq"
104+
},
105+
"diagnostics": {
106+
"description": "Configure which diagnostic messages are included in the context.",
107+
"includeDiagnostics": {
108+
"label": "Include Diagnostics",
109+
"description": "Enable to include code diagnostics in the context."
110+
},
111+
"maxDiagnosticsCount": {
112+
"label": "Max Diagnostics",
113+
"description": "The maximum number of diagnostics to include."
114+
},
115+
"diagnosticsFilter": {
116+
"label": "Filter",
117+
"description": "A comma-separated list of diagnostic sources to include (e.g., eslint, tsc)."
118+
}
119+
},
120+
"sections": {
121+
"diagnostics": "Diagnostics"
104122
}
105123
}
106124
}

src/i18n/locales/de/common.json

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,24 @@
101101
"providers": {
102102
"groqApiKey": "Groq API-Schlüssel",
103103
"getGroqApiKey": "Groq API-Schlüssel erhalten"
104+
},
105+
"diagnostics": {
106+
"description": "Configure which diagnostic messages are included in the context.",
107+
"includeDiagnostics": {
108+
"label": "Include Diagnostics",
109+
"description": "Enable to include code diagnostics in the context."
110+
},
111+
"maxDiagnosticsCount": {
112+
"label": "Max Diagnostics",
113+
"description": "The maximum number of diagnostics to include."
114+
},
115+
"diagnosticsFilter": {
116+
"label": "Filter",
117+
"description": "A comma-separated list of diagnostic sources to include (e.g., eslint, tsc)."
118+
}
119+
},
120+
"sections": {
121+
"diagnostics": "Diagnostics"
104122
}
105123
}
106124
}

src/i18n/locales/en/common.json

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,5 +96,25 @@
9696
"input": {
9797
"task_prompt": "What should Roo do?",
9898
"task_placeholder": "Type your task here"
99+
},
100+
"settings": {
101+
"diagnostics": {
102+
"description": "Configure which diagnostic messages are included in the context.",
103+
"includeDiagnostics": {
104+
"label": "Include Diagnostics",
105+
"description": "Enable to include code diagnostics in the context."
106+
},
107+
"maxDiagnosticsCount": {
108+
"label": "Max Diagnostics",
109+
"description": "The maximum number of diagnostics to include."
110+
},
111+
"diagnosticsFilter": {
112+
"label": "Filter",
113+
"description": "A comma-separated list of diagnostic sources to include (e.g., eslint, tsc)."
114+
}
115+
},
116+
"sections": {
117+
"diagnostics": "Diagnostics"
118+
}
99119
}
100120
}

src/i18n/locales/es/common.json

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,24 @@
101101
"providers": {
102102
"groqApiKey": "Clave API de Groq",
103103
"getGroqApiKey": "Obtener clave API de Groq"
104+
},
105+
"diagnostics": {
106+
"description": "Configure which diagnostic messages are included in the context.",
107+
"includeDiagnostics": {
108+
"label": "Include Diagnostics",
109+
"description": "Enable to include code diagnostics in the context."
110+
},
111+
"maxDiagnosticsCount": {
112+
"label": "Max Diagnostics",
113+
"description": "The maximum number of diagnostics to include."
114+
},
115+
"diagnosticsFilter": {
116+
"label": "Filter",
117+
"description": "A comma-separated list of diagnostic sources to include (e.g., eslint, tsc)."
118+
}
119+
},
120+
"sections": {
121+
"diagnostics": "Diagnostics"
104122
}
105123
}
106124
}

src/i18n/locales/fr/common.json

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,24 @@
101101
"providers": {
102102
"groqApiKey": "Clé API Groq",
103103
"getGroqApiKey": "Obtenir la clé API Groq"
104+
},
105+
"diagnostics": {
106+
"description": "Configure which diagnostic messages are included in the context.",
107+
"includeDiagnostics": {
108+
"label": "Include Diagnostics",
109+
"description": "Enable to include code diagnostics in the context."
110+
},
111+
"maxDiagnosticsCount": {
112+
"label": "Max Diagnostics",
113+
"description": "The maximum number of diagnostics to include."
114+
},
115+
"diagnosticsFilter": {
116+
"label": "Filter",
117+
"description": "A comma-separated list of diagnostic sources to include (e.g., eslint, tsc)."
118+
}
119+
},
120+
"sections": {
121+
"diagnostics": "Diagnostics"
104122
}
105123
}
106124
}

src/i18n/locales/hi/common.json

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,24 @@
101101
"providers": {
102102
"groqApiKey": "ग्रोक एपीआई कुंजी",
103103
"getGroqApiKey": "ग्रोक एपीआई कुंजी प्राप्त करें"
104+
},
105+
"diagnostics": {
106+
"description": "Configure which diagnostic messages are included in the context.",
107+
"includeDiagnostics": {
108+
"label": "Include Diagnostics",
109+
"description": "Enable to include code diagnostics in the context."
110+
},
111+
"maxDiagnosticsCount": {
112+
"label": "Max Diagnostics",
113+
"description": "The maximum number of diagnostics to include."
114+
},
115+
"diagnosticsFilter": {
116+
"label": "Filter",
117+
"description": "A comma-separated list of diagnostic sources to include (e.g., eslint, tsc)."
118+
}
119+
},
120+
"sections": {
121+
"diagnostics": "Diagnostics"
104122
}
105123
}
106124
}

src/i18n/locales/id/common.json

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,5 +96,25 @@
9696
"input": {
9797
"task_prompt": "Apa yang harus Roo lakukan?",
9898
"task_placeholder": "Ketik tugas kamu di sini"
99+
},
100+
"settings": {
101+
"diagnostics": {
102+
"description": "Configure which diagnostic messages are included in the context.",
103+
"includeDiagnostics": {
104+
"label": "Include Diagnostics",
105+
"description": "Enable to include code diagnostics in the context."
106+
},
107+
"maxDiagnosticsCount": {
108+
"label": "Max Diagnostics",
109+
"description": "The maximum number of diagnostics to include."
110+
},
111+
"diagnosticsFilter": {
112+
"label": "Filter",
113+
"description": "A comma-separated list of diagnostic sources to include (e.g., eslint, tsc)."
114+
}
115+
},
116+
"sections": {
117+
"diagnostics": "Diagnostics"
118+
}
99119
}
100120
}

src/i18n/locales/it/common.json

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,24 @@
101101
"providers": {
102102
"groqApiKey": "Chiave API Groq",
103103
"getGroqApiKey": "Ottieni chiave API Groq"
104+
},
105+
"diagnostics": {
106+
"description": "Configure which diagnostic messages are included in the context.",
107+
"includeDiagnostics": {
108+
"label": "Include Diagnostics",
109+
"description": "Enable to include code diagnostics in the context."
110+
},
111+
"maxDiagnosticsCount": {
112+
"label": "Max Diagnostics",
113+
"description": "The maximum number of diagnostics to include."
114+
},
115+
"diagnosticsFilter": {
116+
"label": "Filter",
117+
"description": "A comma-separated list of diagnostic sources to include (e.g., eslint, tsc)."
118+
}
119+
},
120+
"sections": {
121+
"diagnostics": "Diagnostics"
104122
}
105123
}
106124
}

src/i18n/locales/ja/common.json

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,24 @@
101101
"providers": {
102102
"groqApiKey": "Groq APIキー",
103103
"getGroqApiKey": "Groq APIキーを取得"
104+
},
105+
"diagnostics": {
106+
"description": "Configure which diagnostic messages are included in the context.",
107+
"includeDiagnostics": {
108+
"label": "Include Diagnostics",
109+
"description": "Enable to include code diagnostics in the context."
110+
},
111+
"maxDiagnosticsCount": {
112+
"label": "Max Diagnostics",
113+
"description": "The maximum number of diagnostics to include."
114+
},
115+
"diagnosticsFilter": {
116+
"label": "Filter",
117+
"description": "A comma-separated list of diagnostic sources to include (e.g., eslint, tsc)."
118+
}
119+
},
120+
"sections": {
121+
"diagnostics": "Diagnostics"
104122
}
105123
}
106124
}

src/i18n/locales/ko/common.json

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,24 @@
101101
"providers": {
102102
"groqApiKey": "Groq API 키",
103103
"getGroqApiKey": "Groq API 키 받기"
104+
},
105+
"diagnostics": {
106+
"description": "Configure which diagnostic messages are included in the context.",
107+
"includeDiagnostics": {
108+
"label": "Include Diagnostics",
109+
"description": "Enable to include code diagnostics in the context."
110+
},
111+
"maxDiagnosticsCount": {
112+
"label": "Max Diagnostics",
113+
"description": "The maximum number of diagnostics to include."
114+
},
115+
"diagnosticsFilter": {
116+
"label": "Filter",
117+
"description": "A comma-separated list of diagnostic sources to include (e.g., eslint, tsc)."
118+
}
119+
},
120+
"sections": {
121+
"diagnostics": "Diagnostics"
104122
}
105123
}
106124
}

0 commit comments

Comments
 (0)