mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-08-28 05:27:24 +00:00
fix: add missing translations and fix tests for diagnostics settings
- Added missing translations for diagnostics settings in all locales - Fixed DiagnosticsSettings component tests to handle conditional rendering - Updated test mocks to properly handle VSCodeCheckbox onChange events
This commit is contained in:
parent
fccf653262
commit
d0320cf1cb
18 changed files with 331 additions and 31 deletions
|
|
@ -14,7 +14,18 @@ jest.mock("@src/i18n/TranslationContext", () => ({
|
|||
jest.mock("@vscode/webview-ui-toolkit/react", () => ({
|
||||
VSCodeCheckbox: ({ children, onChange, checked, ...props }: any) => (
|
||||
<label>
|
||||
<input type="checkbox" checked={checked} onChange={onChange} {...props} />
|
||||
<input
|
||||
type="checkbox"
|
||||
checked={checked}
|
||||
onChange={(e) => onChange && onChange(e)}
|
||||
onClick={() => {
|
||||
// Simulate onChange event on click
|
||||
if (onChange) {
|
||||
onChange({ target: { checked: !checked } })
|
||||
}
|
||||
}}
|
||||
{...props}
|
||||
/>
|
||||
{children}
|
||||
</label>
|
||||
),
|
||||
|
|
@ -69,7 +80,7 @@ describe("DiagnosticsSettings", () => {
|
|||
})
|
||||
|
||||
it("renders all diagnostic settings", () => {
|
||||
render(<DiagnosticsSettings {...defaultProps} />)
|
||||
render(<DiagnosticsSettings {...defaultProps} includeDiagnostics={true} />)
|
||||
|
||||
expect(screen.getByText("settings:sections.diagnostics")).toBeInTheDocument()
|
||||
expect(screen.getByText("settings:diagnostics.description")).toBeInTheDocument()
|
||||
|
|
@ -94,14 +105,20 @@ describe("DiagnosticsSettings", () => {
|
|||
it("calls setCachedStateField when checkbox is toggled", () => {
|
||||
render(<DiagnosticsSettings {...defaultProps} />)
|
||||
|
||||
const checkbox = screen.getByTestId("include-diagnostics-checkbox")
|
||||
fireEvent.change(checkbox, { target: { checked: true } })
|
||||
// The mock renders the input with data-testid
|
||||
const checkbox = screen.getByTestId("include-diagnostics-checkbox") as HTMLInputElement
|
||||
|
||||
// Verify it's unchecked initially
|
||||
expect(checkbox.checked).toBe(false)
|
||||
|
||||
// Toggle the checkbox
|
||||
fireEvent.click(checkbox)
|
||||
|
||||
expect(mockSetCachedStateField).toHaveBeenCalledWith("includeDiagnostics", true)
|
||||
})
|
||||
|
||||
it("calls setCachedStateField when slider value changes", () => {
|
||||
render(<DiagnosticsSettings {...defaultProps} />)
|
||||
render(<DiagnosticsSettings {...defaultProps} includeDiagnostics={true} />)
|
||||
|
||||
const slider = screen.getByTestId("max-diagnostics-count-slider")
|
||||
fireEvent.change(slider, { target: { value: "75" } })
|
||||
|
|
@ -110,7 +127,7 @@ describe("DiagnosticsSettings", () => {
|
|||
})
|
||||
|
||||
it("validates slider value range", () => {
|
||||
render(<DiagnosticsSettings {...defaultProps} />)
|
||||
render(<DiagnosticsSettings {...defaultProps} includeDiagnostics={true} />)
|
||||
|
||||
const slider = screen.getByTestId("max-diagnostics-count-slider")
|
||||
|
||||
|
|
@ -128,7 +145,7 @@ describe("DiagnosticsSettings", () => {
|
|||
})
|
||||
|
||||
it("calls setCachedStateField when filter input changes", () => {
|
||||
render(<DiagnosticsSettings {...defaultProps} />)
|
||||
render(<DiagnosticsSettings {...defaultProps} includeDiagnostics={true} />)
|
||||
|
||||
const filterInput = screen.getByTestId("diagnostics-filter-input")
|
||||
fireEvent.change(filterInput, { target: { value: "eslint, typescript" } })
|
||||
|
|
@ -137,7 +154,7 @@ describe("DiagnosticsSettings", () => {
|
|||
})
|
||||
|
||||
it("handles empty filter input", () => {
|
||||
render(<DiagnosticsSettings {...defaultProps} />)
|
||||
render(<DiagnosticsSettings {...defaultProps} includeDiagnostics={true} />)
|
||||
|
||||
const filterInput = screen.getByTestId("diagnostics-filter-input")
|
||||
fireEvent.change(filterInput, { target: { value: "" } })
|
||||
|
|
@ -146,7 +163,7 @@ describe("DiagnosticsSettings", () => {
|
|||
})
|
||||
|
||||
it("trims whitespace from filter values", () => {
|
||||
render(<DiagnosticsSettings {...defaultProps} />)
|
||||
render(<DiagnosticsSettings {...defaultProps} includeDiagnostics={true} />)
|
||||
|
||||
const filterInput = screen.getByTestId("diagnostics-filter-input")
|
||||
fireEvent.change(filterInput, { target: { value: " eslint , typescript " } })
|
||||
|
|
@ -160,15 +177,26 @@ describe("DiagnosticsSettings", () => {
|
|||
const checkbox = screen.getByTestId("include-diagnostics-checkbox") as HTMLInputElement
|
||||
expect(checkbox.checked).toBe(false)
|
||||
|
||||
const slider = screen.getByTestId("max-diagnostics-count-slider") as HTMLInputElement
|
||||
expect(slider.value).toBe("50")
|
||||
// Slider and filter input won't be rendered when includeDiagnostics is false/undefined
|
||||
expect(screen.queryByTestId("max-diagnostics-count-slider")).not.toBeInTheDocument()
|
||||
expect(screen.queryByTestId("diagnostics-filter-input")).not.toBeInTheDocument()
|
||||
})
|
||||
|
||||
const filterInput = screen.getByTestId("diagnostics-filter-input") as HTMLInputElement
|
||||
expect(filterInput.value).toBe("")
|
||||
it("shows/hides additional settings based on checkbox state", () => {
|
||||
const { rerender } = render(<DiagnosticsSettings {...defaultProps} includeDiagnostics={false} />)
|
||||
|
||||
// Initially hidden
|
||||
expect(screen.queryByTestId("max-diagnostics-count-slider")).not.toBeInTheDocument()
|
||||
expect(screen.queryByTestId("diagnostics-filter-input")).not.toBeInTheDocument()
|
||||
|
||||
// Show when checkbox is checked
|
||||
rerender(<DiagnosticsSettings {...defaultProps} includeDiagnostics={true} />)
|
||||
expect(screen.getByTestId("max-diagnostics-count-slider")).toBeInTheDocument()
|
||||
expect(screen.getByTestId("diagnostics-filter-input")).toBeInTheDocument()
|
||||
})
|
||||
|
||||
it("displays correct count value next to slider", () => {
|
||||
render(<DiagnosticsSettings {...defaultProps} maxDiagnosticsCount={75} />)
|
||||
render(<DiagnosticsSettings {...defaultProps} includeDiagnostics={true} maxDiagnosticsCount={75} />)
|
||||
|
||||
expect(screen.getByText("75")).toBeInTheDocument()
|
||||
})
|
||||
|
|
|
|||
|
|
@ -31,7 +31,8 @@
|
|||
"prompts": "Indicacions",
|
||||
"experimental": "Experimental",
|
||||
"language": "Idioma",
|
||||
"about": "Sobre Roo Code"
|
||||
"about": "Sobre Roo Code",
|
||||
"diagnostics": "Diagnostics"
|
||||
},
|
||||
"prompts": {
|
||||
"description": "Configura les indicacions de suport utilitzades per a accions ràpides com millorar indicacions, explicar codi i solucionar problemes. Aquestes indicacions ajuden Roo a proporcionar millor assistència per a tasques comunes de desenvolupament."
|
||||
|
|
@ -613,5 +614,20 @@
|
|||
"labels": {
|
||||
"customArn": "ARN personalitzat",
|
||||
"useCustomArn": "Utilitza ARN personalitzat..."
|
||||
},
|
||||
"diagnostics": {
|
||||
"description": "Configure how workspace diagnostics (errors and warnings) are included in the AI's context",
|
||||
"includeDiagnostics": {
|
||||
"label": "Include diagnostics in context",
|
||||
"description": "When enabled, workspace errors and warnings will be included when using @problems mention"
|
||||
},
|
||||
"maxDiagnosticsCount": {
|
||||
"label": "Maximum diagnostics count",
|
||||
"description": "Limit the number of diagnostics included to prevent excessive token usage"
|
||||
},
|
||||
"diagnosticsFilter": {
|
||||
"label": "Diagnostics filter",
|
||||
"description": "Filter diagnostics by source and code (e.g., 'eslint', 'typescript', 'dart Error'). Leave empty to include all diagnostics"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -31,7 +31,8 @@
|
|||
"prompts": "Eingabeaufforderungen",
|
||||
"experimental": "Experimentell",
|
||||
"language": "Sprache",
|
||||
"about": "Über Roo Code"
|
||||
"about": "Über Roo Code",
|
||||
"diagnostics": "Diagnostics"
|
||||
},
|
||||
"prompts": {
|
||||
"description": "Konfiguriere Support-Prompts, die für schnelle Aktionen wie das Verbessern von Prompts, das Erklären von Code und das Beheben von Problemen verwendet werden. Diese Prompts helfen Roo dabei, bessere Unterstützung für häufige Entwicklungsaufgaben zu bieten."
|
||||
|
|
@ -613,5 +614,20 @@
|
|||
"labels": {
|
||||
"customArn": "Benutzerdefinierte ARN",
|
||||
"useCustomArn": "Benutzerdefinierte ARN verwenden..."
|
||||
},
|
||||
"diagnostics": {
|
||||
"description": "Configure how workspace diagnostics (errors and warnings) are included in the AI's context",
|
||||
"includeDiagnostics": {
|
||||
"label": "Include diagnostics in context",
|
||||
"description": "When enabled, workspace errors and warnings will be included when using @problems mention"
|
||||
},
|
||||
"maxDiagnosticsCount": {
|
||||
"label": "Maximum diagnostics count",
|
||||
"description": "Limit the number of diagnostics included to prevent excessive token usage"
|
||||
},
|
||||
"diagnosticsFilter": {
|
||||
"label": "Diagnostics filter",
|
||||
"description": "Filter diagnostics by source and code (e.g., 'eslint', 'typescript', 'dart Error'). Leave empty to include all diagnostics"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -31,7 +31,8 @@
|
|||
"prompts": "Indicaciones",
|
||||
"experimental": "Experimental",
|
||||
"language": "Idioma",
|
||||
"about": "Acerca de Roo Code"
|
||||
"about": "Acerca de Roo Code",
|
||||
"diagnostics": "Diagnostics"
|
||||
},
|
||||
"prompts": {
|
||||
"description": "Configura indicaciones de soporte que se utilizan para acciones rápidas como mejorar indicaciones, explicar código y solucionar problemas. Estas indicaciones ayudan a Roo a brindar mejor asistencia para tareas comunes de desarrollo."
|
||||
|
|
@ -613,5 +614,20 @@
|
|||
"labels": {
|
||||
"customArn": "ARN personalizado",
|
||||
"useCustomArn": "Usar ARN personalizado..."
|
||||
},
|
||||
"diagnostics": {
|
||||
"description": "Configure how workspace diagnostics (errors and warnings) are included in the AI's context",
|
||||
"includeDiagnostics": {
|
||||
"label": "Include diagnostics in context",
|
||||
"description": "When enabled, workspace errors and warnings will be included when using @problems mention"
|
||||
},
|
||||
"maxDiagnosticsCount": {
|
||||
"label": "Maximum diagnostics count",
|
||||
"description": "Limit the number of diagnostics included to prevent excessive token usage"
|
||||
},
|
||||
"diagnosticsFilter": {
|
||||
"label": "Diagnostics filter",
|
||||
"description": "Filter diagnostics by source and code (e.g., 'eslint', 'typescript', 'dart Error'). Leave empty to include all diagnostics"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -31,7 +31,8 @@
|
|||
"prompts": "Invites",
|
||||
"experimental": "Expérimental",
|
||||
"language": "Langue",
|
||||
"about": "À propos de Roo Code"
|
||||
"about": "À propos de Roo Code",
|
||||
"diagnostics": "Diagnostics"
|
||||
},
|
||||
"prompts": {
|
||||
"description": "Configurez les invites de support utilisées pour les actions rapides comme l'amélioration des invites, l'explication du code et la résolution des problèmes. Ces invites aident Roo à fournir une meilleure assistance pour les tâches de développement courantes."
|
||||
|
|
@ -613,5 +614,20 @@
|
|||
"labels": {
|
||||
"customArn": "ARN personnalisé",
|
||||
"useCustomArn": "Utiliser un ARN personnalisé..."
|
||||
},
|
||||
"diagnostics": {
|
||||
"description": "Configure how workspace diagnostics (errors and warnings) are included in the AI's context",
|
||||
"includeDiagnostics": {
|
||||
"label": "Include diagnostics in context",
|
||||
"description": "When enabled, workspace errors and warnings will be included when using @problems mention"
|
||||
},
|
||||
"maxDiagnosticsCount": {
|
||||
"label": "Maximum diagnostics count",
|
||||
"description": "Limit the number of diagnostics included to prevent excessive token usage"
|
||||
},
|
||||
"diagnosticsFilter": {
|
||||
"label": "Diagnostics filter",
|
||||
"description": "Filter diagnostics by source and code (e.g., 'eslint', 'typescript', 'dart Error'). Leave empty to include all diagnostics"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -31,7 +31,8 @@
|
|||
"prompts": "प्रॉम्प्ट्स",
|
||||
"experimental": "प्रायोगिक",
|
||||
"language": "भाषा",
|
||||
"about": "परिचय"
|
||||
"about": "परिचय",
|
||||
"diagnostics": "Diagnostics"
|
||||
},
|
||||
"prompts": {
|
||||
"description": "प्रॉम्प्ट्स को बेहतर बनाना, कोड की व्याख्या करना और समस्याओं को ठीक करना जैसी त्वरित कार्रवाइयों के लिए उपयोग किए जाने वाले सहायक प्रॉम्प्ट्स को कॉन्फ़िगर करें। ये प्रॉम्प्ट्स Roo को सामान्य विकास कार्यों के लिए बेहतर सहायता प्रदान करने में मदद करते हैं।"
|
||||
|
|
@ -613,5 +614,20 @@
|
|||
"labels": {
|
||||
"customArn": "कस्टम ARN",
|
||||
"useCustomArn": "कस्टम ARN का उपयोग करें..."
|
||||
},
|
||||
"diagnostics": {
|
||||
"description": "Configure how workspace diagnostics (errors and warnings) are included in the AI's context",
|
||||
"includeDiagnostics": {
|
||||
"label": "Include diagnostics in context",
|
||||
"description": "When enabled, workspace errors and warnings will be included when using @problems mention"
|
||||
},
|
||||
"maxDiagnosticsCount": {
|
||||
"label": "Maximum diagnostics count",
|
||||
"description": "Limit the number of diagnostics included to prevent excessive token usage"
|
||||
},
|
||||
"diagnosticsFilter": {
|
||||
"label": "Diagnostics filter",
|
||||
"description": "Filter diagnostics by source and code (e.g., 'eslint', 'typescript', 'dart Error'). Leave empty to include all diagnostics"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -31,7 +31,8 @@
|
|||
"prompts": "Prompt",
|
||||
"experimental": "Eksperimental",
|
||||
"language": "Bahasa",
|
||||
"about": "Tentang Roo Code"
|
||||
"about": "Tentang Roo Code",
|
||||
"diagnostics": "Diagnostics"
|
||||
},
|
||||
"prompts": {
|
||||
"description": "Konfigurasi support prompt yang digunakan untuk aksi cepat seperti meningkatkan prompt, menjelaskan kode, dan memperbaiki masalah. Prompt ini membantu Roo memberikan bantuan yang lebih baik untuk tugas pengembangan umum."
|
||||
|
|
@ -642,5 +643,20 @@
|
|||
"labels": {
|
||||
"customArn": "ARN Kustom",
|
||||
"useCustomArn": "Gunakan ARN kustom..."
|
||||
},
|
||||
"diagnostics": {
|
||||
"description": "Configure how workspace diagnostics (errors and warnings) are included in the AI's context",
|
||||
"includeDiagnostics": {
|
||||
"label": "Include diagnostics in context",
|
||||
"description": "When enabled, workspace errors and warnings will be included when using @problems mention"
|
||||
},
|
||||
"maxDiagnosticsCount": {
|
||||
"label": "Maximum diagnostics count",
|
||||
"description": "Limit the number of diagnostics included to prevent excessive token usage"
|
||||
},
|
||||
"diagnosticsFilter": {
|
||||
"label": "Diagnostics filter",
|
||||
"description": "Filter diagnostics by source and code (e.g., 'eslint', 'typescript', 'dart Error'). Leave empty to include all diagnostics"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -31,7 +31,8 @@
|
|||
"prompts": "Prompt",
|
||||
"experimental": "Sperimentale",
|
||||
"language": "Lingua",
|
||||
"about": "Informazioni su Roo Code"
|
||||
"about": "Informazioni su Roo Code",
|
||||
"diagnostics": "Diagnostics"
|
||||
},
|
||||
"prompts": {
|
||||
"description": "Configura i prompt di supporto utilizzati per azioni rapide come il miglioramento dei prompt, la spiegazione del codice e la risoluzione dei problemi. Questi prompt aiutano Roo a fornire una migliore assistenza per le attività di sviluppo comuni."
|
||||
|
|
@ -613,5 +614,20 @@
|
|||
"labels": {
|
||||
"customArn": "ARN personalizzato",
|
||||
"useCustomArn": "Usa ARN personalizzato..."
|
||||
},
|
||||
"diagnostics": {
|
||||
"description": "Configure how workspace diagnostics (errors and warnings) are included in the AI's context",
|
||||
"includeDiagnostics": {
|
||||
"label": "Include diagnostics in context",
|
||||
"description": "When enabled, workspace errors and warnings will be included when using @problems mention"
|
||||
},
|
||||
"maxDiagnosticsCount": {
|
||||
"label": "Maximum diagnostics count",
|
||||
"description": "Limit the number of diagnostics included to prevent excessive token usage"
|
||||
},
|
||||
"diagnosticsFilter": {
|
||||
"label": "Diagnostics filter",
|
||||
"description": "Filter diagnostics by source and code (e.g., 'eslint', 'typescript', 'dart Error'). Leave empty to include all diagnostics"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -31,7 +31,8 @@
|
|||
"prompts": "プロンプト",
|
||||
"experimental": "実験的",
|
||||
"language": "言語",
|
||||
"about": "Roo Codeについて"
|
||||
"about": "Roo Codeについて",
|
||||
"diagnostics": "Diagnostics"
|
||||
},
|
||||
"prompts": {
|
||||
"description": "プロンプトの強化、コードの説明、問題の修正などの迅速なアクションに使用されるサポートプロンプトを設定します。これらのプロンプトは、Rooが一般的な開発タスクでより良いサポートを提供するのに役立ちます。"
|
||||
|
|
@ -613,5 +614,20 @@
|
|||
"labels": {
|
||||
"customArn": "カスタム ARN",
|
||||
"useCustomArn": "カスタム ARN を使用..."
|
||||
},
|
||||
"diagnostics": {
|
||||
"description": "Configure how workspace diagnostics (errors and warnings) are included in the AI's context",
|
||||
"includeDiagnostics": {
|
||||
"label": "Include diagnostics in context",
|
||||
"description": "When enabled, workspace errors and warnings will be included when using @problems mention"
|
||||
},
|
||||
"maxDiagnosticsCount": {
|
||||
"label": "Maximum diagnostics count",
|
||||
"description": "Limit the number of diagnostics included to prevent excessive token usage"
|
||||
},
|
||||
"diagnosticsFilter": {
|
||||
"label": "Diagnostics filter",
|
||||
"description": "Filter diagnostics by source and code (e.g., 'eslint', 'typescript', 'dart Error'). Leave empty to include all diagnostics"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -31,7 +31,8 @@
|
|||
"prompts": "프롬프트",
|
||||
"experimental": "실험적",
|
||||
"language": "언어",
|
||||
"about": "Roo Code 정보"
|
||||
"about": "Roo Code 정보",
|
||||
"diagnostics": "Diagnostics"
|
||||
},
|
||||
"prompts": {
|
||||
"description": "프롬프트 향상, 코드 설명, 문제 해결과 같은 빠른 작업에 사용되는 지원 프롬프트를 구성합니다. 이러한 프롬프트는 Roo가 일반적인 개발 작업에 대해 더 나은 지원을 제공하는 데 도움이 됩니다."
|
||||
|
|
@ -613,5 +614,20 @@
|
|||
"labels": {
|
||||
"customArn": "사용자 지정 ARN",
|
||||
"useCustomArn": "사용자 지정 ARN 사용..."
|
||||
},
|
||||
"diagnostics": {
|
||||
"description": "Configure how workspace diagnostics (errors and warnings) are included in the AI's context",
|
||||
"includeDiagnostics": {
|
||||
"label": "Include diagnostics in context",
|
||||
"description": "When enabled, workspace errors and warnings will be included when using @problems mention"
|
||||
},
|
||||
"maxDiagnosticsCount": {
|
||||
"label": "Maximum diagnostics count",
|
||||
"description": "Limit the number of diagnostics included to prevent excessive token usage"
|
||||
},
|
||||
"diagnosticsFilter": {
|
||||
"label": "Diagnostics filter",
|
||||
"description": "Filter diagnostics by source and code (e.g., 'eslint', 'typescript', 'dart Error'). Leave empty to include all diagnostics"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -31,7 +31,8 @@
|
|||
"prompts": "Prompts",
|
||||
"experimental": "Experimenteel",
|
||||
"language": "Taal",
|
||||
"about": "Over Roo Code"
|
||||
"about": "Over Roo Code",
|
||||
"diagnostics": "Diagnostics"
|
||||
},
|
||||
"prompts": {
|
||||
"description": "Configureer ondersteuningsprompts die worden gebruikt voor snelle acties zoals het verbeteren van prompts, het uitleggen van code en het oplossen van problemen. Deze prompts helpen Roo om betere ondersteuning te bieden voor veelvoorkomende ontwikkelingstaken."
|
||||
|
|
@ -613,5 +614,20 @@
|
|||
"labels": {
|
||||
"customArn": "Aangepaste ARN",
|
||||
"useCustomArn": "Aangepaste ARN gebruiken..."
|
||||
},
|
||||
"diagnostics": {
|
||||
"description": "Configure how workspace diagnostics (errors and warnings) are included in the AI's context",
|
||||
"includeDiagnostics": {
|
||||
"label": "Include diagnostics in context",
|
||||
"description": "When enabled, workspace errors and warnings will be included when using @problems mention"
|
||||
},
|
||||
"maxDiagnosticsCount": {
|
||||
"label": "Maximum diagnostics count",
|
||||
"description": "Limit the number of diagnostics included to prevent excessive token usage"
|
||||
},
|
||||
"diagnosticsFilter": {
|
||||
"label": "Diagnostics filter",
|
||||
"description": "Filter diagnostics by source and code (e.g., 'eslint', 'typescript', 'dart Error'). Leave empty to include all diagnostics"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -31,7 +31,8 @@
|
|||
"prompts": "Podpowiedzi",
|
||||
"experimental": "Eksperymentalne",
|
||||
"language": "Język",
|
||||
"about": "O Roo Code"
|
||||
"about": "O Roo Code",
|
||||
"diagnostics": "Diagnostics"
|
||||
},
|
||||
"prompts": {
|
||||
"description": "Skonfiguruj podpowiedzi wsparcia używane do szybkich działań, takich jak ulepszanie podpowiedzi, wyjaśnianie kodu i rozwiązywanie problemów. Te podpowiedzi pomagają Roo zapewnić lepsze wsparcie dla typowych zadań programistycznych."
|
||||
|
|
@ -613,5 +614,20 @@
|
|||
"labels": {
|
||||
"customArn": "Niestandardowy ARN",
|
||||
"useCustomArn": "Użyj niestandardowego ARN..."
|
||||
},
|
||||
"diagnostics": {
|
||||
"description": "Configure how workspace diagnostics (errors and warnings) are included in the AI's context",
|
||||
"includeDiagnostics": {
|
||||
"label": "Include diagnostics in context",
|
||||
"description": "When enabled, workspace errors and warnings will be included when using @problems mention"
|
||||
},
|
||||
"maxDiagnosticsCount": {
|
||||
"label": "Maximum diagnostics count",
|
||||
"description": "Limit the number of diagnostics included to prevent excessive token usage"
|
||||
},
|
||||
"diagnosticsFilter": {
|
||||
"label": "Diagnostics filter",
|
||||
"description": "Filter diagnostics by source and code (e.g., 'eslint', 'typescript', 'dart Error'). Leave empty to include all diagnostics"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -31,7 +31,8 @@
|
|||
"prompts": "Prompts",
|
||||
"experimental": "Experimental",
|
||||
"language": "Idioma",
|
||||
"about": "Sobre"
|
||||
"about": "Sobre",
|
||||
"diagnostics": "Diagnostics"
|
||||
},
|
||||
"prompts": {
|
||||
"description": "Configure prompts de suporte usados para ações rápidas como melhorar prompts, explicar código e corrigir problemas. Esses prompts ajudam o Roo a fornecer melhor assistência para tarefas comuns de desenvolvimento."
|
||||
|
|
@ -613,5 +614,20 @@
|
|||
"labels": {
|
||||
"customArn": "ARN personalizado",
|
||||
"useCustomArn": "Usar ARN personalizado..."
|
||||
},
|
||||
"diagnostics": {
|
||||
"description": "Configure how workspace diagnostics (errors and warnings) are included in the AI's context",
|
||||
"includeDiagnostics": {
|
||||
"label": "Include diagnostics in context",
|
||||
"description": "When enabled, workspace errors and warnings will be included when using @problems mention"
|
||||
},
|
||||
"maxDiagnosticsCount": {
|
||||
"label": "Maximum diagnostics count",
|
||||
"description": "Limit the number of diagnostics included to prevent excessive token usage"
|
||||
},
|
||||
"diagnosticsFilter": {
|
||||
"label": "Diagnostics filter",
|
||||
"description": "Filter diagnostics by source and code (e.g., 'eslint', 'typescript', 'dart Error'). Leave empty to include all diagnostics"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -31,7 +31,8 @@
|
|||
"prompts": "Промпты",
|
||||
"experimental": "Экспериментальное",
|
||||
"language": "Язык",
|
||||
"about": "О Roo Code"
|
||||
"about": "О Roo Code",
|
||||
"diagnostics": "Diagnostics"
|
||||
},
|
||||
"prompts": {
|
||||
"description": "Настройте промпты поддержки, используемые для быстрых действий, таких как улучшение промптов, объяснение кода и исправление проблем. Эти промпты помогают Roo обеспечить лучшую поддержку для общих задач разработки."
|
||||
|
|
@ -613,5 +614,20 @@
|
|||
"labels": {
|
||||
"customArn": "Пользовательский ARN",
|
||||
"useCustomArn": "Использовать пользовательский ARN..."
|
||||
},
|
||||
"diagnostics": {
|
||||
"description": "Configure how workspace diagnostics (errors and warnings) are included in the AI's context",
|
||||
"includeDiagnostics": {
|
||||
"label": "Include diagnostics in context",
|
||||
"description": "When enabled, workspace errors and warnings will be included when using @problems mention"
|
||||
},
|
||||
"maxDiagnosticsCount": {
|
||||
"label": "Maximum diagnostics count",
|
||||
"description": "Limit the number of diagnostics included to prevent excessive token usage"
|
||||
},
|
||||
"diagnosticsFilter": {
|
||||
"label": "Diagnostics filter",
|
||||
"description": "Filter diagnostics by source and code (e.g., 'eslint', 'typescript', 'dart Error'). Leave empty to include all diagnostics"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -31,7 +31,8 @@
|
|||
"prompts": "Promptlar",
|
||||
"experimental": "Deneysel",
|
||||
"language": "Dil",
|
||||
"about": "Roo Code Hakkında"
|
||||
"about": "Roo Code Hakkında",
|
||||
"diagnostics": "Diagnostics"
|
||||
},
|
||||
"prompts": {
|
||||
"description": "Prompt geliştirme, kod açıklama ve sorun çözme gibi hızlı eylemler için kullanılan destek promptlarını yapılandırın. Bu promptlar, Roo'nun yaygın geliştirme görevleri için daha iyi destek sağlamasına yardımcı olur."
|
||||
|
|
@ -613,5 +614,20 @@
|
|||
"labels": {
|
||||
"customArn": "Özel ARN",
|
||||
"useCustomArn": "Özel ARN kullan..."
|
||||
},
|
||||
"diagnostics": {
|
||||
"description": "Configure how workspace diagnostics (errors and warnings) are included in the AI's context",
|
||||
"includeDiagnostics": {
|
||||
"label": "Include diagnostics in context",
|
||||
"description": "When enabled, workspace errors and warnings will be included when using @problems mention"
|
||||
},
|
||||
"maxDiagnosticsCount": {
|
||||
"label": "Maximum diagnostics count",
|
||||
"description": "Limit the number of diagnostics included to prevent excessive token usage"
|
||||
},
|
||||
"diagnosticsFilter": {
|
||||
"label": "Diagnostics filter",
|
||||
"description": "Filter diagnostics by source and code (e.g., 'eslint', 'typescript', 'dart Error'). Leave empty to include all diagnostics"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -31,7 +31,8 @@
|
|||
"prompts": "Lời nhắc",
|
||||
"experimental": "Thử nghiệm",
|
||||
"language": "Ngôn ngữ",
|
||||
"about": "Giới thiệu"
|
||||
"about": "Giới thiệu",
|
||||
"diagnostics": "Diagnostics"
|
||||
},
|
||||
"prompts": {
|
||||
"description": "Cấu hình các lời nhắc hỗ trợ được sử dụng cho các hành động nhanh như cải thiện lời nhắc, giải thích mã và khắc phục sự cố. Những lời nhắc này giúp Roo cung cấp hỗ trợ tốt hơn cho các tác vụ phát triển phổ biến."
|
||||
|
|
@ -613,5 +614,20 @@
|
|||
"labels": {
|
||||
"customArn": "ARN tùy chỉnh",
|
||||
"useCustomArn": "Sử dụng ARN tùy chỉnh..."
|
||||
},
|
||||
"diagnostics": {
|
||||
"description": "Configure how workspace diagnostics (errors and warnings) are included in the AI's context",
|
||||
"includeDiagnostics": {
|
||||
"label": "Include diagnostics in context",
|
||||
"description": "When enabled, workspace errors and warnings will be included when using @problems mention"
|
||||
},
|
||||
"maxDiagnosticsCount": {
|
||||
"label": "Maximum diagnostics count",
|
||||
"description": "Limit the number of diagnostics included to prevent excessive token usage"
|
||||
},
|
||||
"diagnosticsFilter": {
|
||||
"label": "Diagnostics filter",
|
||||
"description": "Filter diagnostics by source and code (e.g., 'eslint', 'typescript', 'dart Error'). Leave empty to include all diagnostics"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -31,7 +31,8 @@
|
|||
"prompts": "提示词",
|
||||
"experimental": "实验性",
|
||||
"language": "语言",
|
||||
"about": "关于 Roo Code"
|
||||
"about": "关于 Roo Code",
|
||||
"diagnostics": "Diagnostics"
|
||||
},
|
||||
"prompts": {
|
||||
"description": "配置用于快速操作的支持提示词,如增强提示词、解释代码和修复问题。这些提示词帮助 Roo 为常见开发任务提供更好的支持。"
|
||||
|
|
@ -613,5 +614,20 @@
|
|||
"labels": {
|
||||
"customArn": "自定义 ARN",
|
||||
"useCustomArn": "使用自定义 ARN..."
|
||||
},
|
||||
"diagnostics": {
|
||||
"description": "Configure how workspace diagnostics (errors and warnings) are included in the AI's context",
|
||||
"includeDiagnostics": {
|
||||
"label": "Include diagnostics in context",
|
||||
"description": "When enabled, workspace errors and warnings will be included when using @problems mention"
|
||||
},
|
||||
"maxDiagnosticsCount": {
|
||||
"label": "Maximum diagnostics count",
|
||||
"description": "Limit the number of diagnostics included to prevent excessive token usage"
|
||||
},
|
||||
"diagnosticsFilter": {
|
||||
"label": "Diagnostics filter",
|
||||
"description": "Filter diagnostics by source and code (e.g., 'eslint', 'typescript', 'dart Error'). Leave empty to include all diagnostics"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -31,7 +31,8 @@
|
|||
"prompts": "提示詞",
|
||||
"experimental": "實驗性",
|
||||
"language": "語言",
|
||||
"about": "關於 Roo Code"
|
||||
"about": "關於 Roo Code",
|
||||
"diagnostics": "Diagnostics"
|
||||
},
|
||||
"prompts": {
|
||||
"description": "設定用於快速操作的支援提示詞,如增強提示詞、解釋程式碼和修復問題。這些提示詞幫助 Roo 為常見開發工作提供更好的支援。"
|
||||
|
|
@ -613,5 +614,20 @@
|
|||
"labels": {
|
||||
"customArn": "自訂 ARN",
|
||||
"useCustomArn": "使用自訂 ARN..."
|
||||
},
|
||||
"diagnostics": {
|
||||
"description": "Configure how workspace diagnostics (errors and warnings) are included in the AI's context",
|
||||
"includeDiagnostics": {
|
||||
"label": "Include diagnostics in context",
|
||||
"description": "When enabled, workspace errors and warnings will be included when using @problems mention"
|
||||
},
|
||||
"maxDiagnosticsCount": {
|
||||
"label": "Maximum diagnostics count",
|
||||
"description": "Limit the number of diagnostics included to prevent excessive token usage"
|
||||
},
|
||||
"diagnosticsFilter": {
|
||||
"label": "Diagnostics filter",
|
||||
"description": "Filter diagnostics by source and code (e.g., 'eslint', 'typescript', 'dart Error'). Leave empty to include all diagnostics"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue