Skip to content

Commit a0f0f6a

Browse files
author
Your Name
committed
fix: Update importExport test and add missing translation placeholders
1 parent b36311f commit a0f0f6a

File tree

12 files changed

+93
-41
lines changed

12 files changed

+93
-41
lines changed

src/core/config/__tests__/importExport.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ describe("importExport", () => {
227227

228228
expect(result).toEqual({
229229
success: false,
230-
error: "Expected property name or '}' in JSON at position 2 (line 1 column 3)",
230+
error: "Expected property name or '}' in JSON at position 2",
231231
})
232232
expect(fs.readFile).toHaveBeenCalledWith("/mock/path/settings.json", "utf-8")
233233
expect(mockProviderSettingsManager.import).not.toHaveBeenCalled()

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

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -430,6 +430,18 @@
430430
"MULTI_SEARCH_AND_REPLACE": {
431431
"name": "Utilitzar eina diff de blocs múltiples experimental",
432432
"description": "Quan està activat, Roo utilitzarà l'eina diff de blocs múltiples. Això intentarà actualitzar múltiples blocs de codi a l'arxiu en una sola petició."
433+
},
434+
"condensingApiConfiguration": {
435+
"label": "API Configuration for Context Condensing",
436+
"description": "Select which API configuration to use for context condensing operations. Leave unselected to use the current active configuration.",
437+
"useCurrentConfig": "Default"
438+
},
439+
"customCondensingPrompt": {
440+
"label": "Custom Context Condensing Prompt",
441+
"description": "Customize the system prompt used for context condensing. Leave empty to use the default prompt.",
442+
"placeholder": "Enter your custom condensing prompt here...\n\nYou can use the same structure as the default prompt:\n- Previous Conversation\n- Current Work\n- Key Technical Concepts\n- Relevant Files and Code\n- Problem Solving\n- Pending Tasks and Next Steps",
443+
"reset": "Reset to Default",
444+
"hint": "Empty = use default prompt"
433445
}
434446
},
435447
"promptCaching": {

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

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -403,13 +403,17 @@
403403
},
404404
"experimental": {
405405
"warning": "⚠️",
406-
"condensingApiConfig": {
407-
"label": "संदर्भ संघनन API कॉन्फ़िगरेशन",
408-
"description": "संदर्भ संघनन के लिए उपयोग करने के लिए API कॉन्फ़िगरेशन चुनें। डिफ़ॉल्ट रूप से वर्तमान API कॉन्फ़िगरेशन का उपयोग करता है।"
406+
"condensingApiConfiguration": {
407+
"label": "API Configuration for Context Condensing",
408+
"description": "Select which API configuration to use for context condensing operations. Leave unselected to use the current active configuration.",
409+
"useCurrentConfig": "Default"
409410
},
410411
"customCondensingPrompt": {
411412
"label": "कस्टम संदर्भ संघनन प्रॉम्प्ट",
412-
"description": "संदर्भ संघनन के लिए कस्टम सिस्टम प्रॉम्प्ट। डिफ़ॉल्ट प्रॉम्प्ट का उपयोग करने के लिए खाली छोड़ें।"
413+
"description": "संदर्भ संघनन के लिए कस्टम सिस्टम प्रॉम्प्ट। डिफ़ॉल्ट प्रॉम्प्ट का उपयोग करने के लिए खाली छोड़ें।",
414+
"placeholder": "Enter your custom condensing prompt here...\n\nYou can use the same structure as the default prompt:\n- Previous Conversation\n- Current Work\n- Key Technical Concepts\n- Relevant Files and Code\n- Problem Solving\n- Pending Tasks and Next Steps",
415+
"reset": "Reset to Default",
416+
"hint": "Empty = use default prompt"
413417
},
414418
"autoCondenseContextPercent": {
415419
"label": "बुद्धिमान संदर्भ संघनन को ट्रिगर करने की सीमा",

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

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -403,13 +403,17 @@
403403
},
404404
"experimental": {
405405
"warning": "⚠️",
406-
"condensingApiConfig": {
407-
"label": "Configurazione API condensazione contesto",
408-
"description": "Scegli il profilo di configurazione API da utilizzare per la condensazione del contesto. Per impostazione predefinita, utilizza il profilo API corrente."
406+
"condensingApiConfiguration": {
407+
"label": "API Configuration for Context Condensing",
408+
"description": "Select which API configuration to use for context condensing operations. Leave unselected to use the current active configuration.",
409+
"useCurrentConfig": "Default"
409410
},
410411
"customCondensingPrompt": {
411412
"label": "Prompt personalizzato condensazione contesto",
412-
"description": "Prompt di sistema personalizzato per la condensazione del contesto. Lascia vuoto per utilizzare il prompt predefinito."
413+
"description": "Prompt di sistema personalizzato per la condensazione del contesto. Lascia vuoto per utilizzare il prompt predefinito.",
414+
"placeholder": "Enter your custom condensing prompt here...\n\nYou can use the same structure as the default prompt:\n- Previous Conversation\n- Current Work\n- Key Technical Concepts\n- Relevant Files and Code\n- Problem Solving\n- Pending Tasks and Next Steps",
415+
"reset": "Reset to Default",
416+
"hint": "Empty = use default prompt"
413417
},
414418
"autoCondenseContextPercent": {
415419
"label": "Soglia per attivare la condensazione intelligente del contesto",

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

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -403,13 +403,17 @@
403403
},
404404
"experimental": {
405405
"warning": "⚠️",
406-
"condensingApiConfig": {
407-
"label": "컨텍스트 압축 API 구성",
408-
"description": "컨텍스트 압축에 사용할 API 구성 프로필을 선택합니다. 기본적으로 현재 API 구성을 사용합니다."
406+
"condensingApiConfiguration": {
407+
"label": "API Configuration for Context Condensing",
408+
"description": "Select which API configuration to use for context condensing operations. Leave unselected to use the current active configuration.",
409+
"useCurrentConfig": "Default"
409410
},
410411
"customCondensingPrompt": {
411412
"label": "사용자 지정 컨텍스트 압축 프롬프트",
412-
"description": "컨텍스트 압축을 위한 사용자 지정 시스템 프롬프트입니다. 기본 프롬프트를 사용하려면 비워 두세요."
413+
"description": "컨텍스트 압축을 위한 사용자 지정 시스템 프롬프트입니다. 기본 프롬프트를 사용하려면 비워 두세요.",
414+
"placeholder": "Enter your custom condensing prompt here...\n\nYou can use the same structure as the default prompt:\n- Previous Conversation\n- Current Work\n- Key Technical Concepts\n- Relevant Files and Code\n- Problem Solving\n- Pending Tasks and Next Steps",
415+
"reset": "Reset to Default",
416+
"hint": "Empty = use default prompt"
413417
},
414418
"autoCondenseContextPercent": {
415419
"label": "지능적 컨텍스트 압축을 트리거하는 임계값",

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

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -403,13 +403,17 @@
403403
},
404404
"experimental": {
405405
"warning": "⚠️",
406-
"condensingApiConfig": {
407-
"label": "Contextcondensatie API-configuratie",
408-
"description": "Kies het API-configuratieprofiel dat moet worden gebruikt voor contextcondensatie. Standaard wordt het huidige API-profiel gebruikt."
406+
"condensingApiConfiguration": {
407+
"label": "API Configuration for Context Condensing",
408+
"description": "Select which API configuration to use for context condensing operations. Leave unselected to use the current active configuration.",
409+
"useCurrentConfig": "Default"
409410
},
410411
"customCondensingPrompt": {
411412
"label": "Aangepaste contextcondensatieprompt",
412-
"description": "Aangepaste systeemprompt voor contextcondensatie. Laat leeg om de standaardprompt te gebruiken."
413+
"description": "Aangepaste systeemprompt voor contextcondensatie. Laat leeg om de standaardprompt te gebruiken.",
414+
"placeholder": "Enter your custom condensing prompt here...\n\nYou can use the same structure as the default prompt:\n- Previous Conversation\n- Current Work\n- Key Technical Concepts\n- Relevant Files and Code\n- Problem Solving\n- Pending Tasks and Next Steps",
415+
"reset": "Reset to Default",
416+
"hint": "Empty = use default prompt"
413417
},
414418
"autoCondenseContextPercent": {
415419
"label": "Drempelwaarde om intelligente contextcompressie te activeren",

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

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -403,13 +403,17 @@
403403
},
404404
"experimental": {
405405
"warning": "⚠️",
406-
"condensingApiConfig": {
407-
"label": "Konfiguracja API kondensacji kontekstu",
408-
"description": "Wybierz profil konfiguracji API, który ma być używany do kondensacji kontekstu. Domyślnie używa bieżącego profilu API."
406+
"condensingApiConfiguration": {
407+
"label": "API Configuration for Context Condensing",
408+
"description": "Select which API configuration to use for context condensing operations. Leave unselected to use the current active configuration.",
409+
"useCurrentConfig": "Default"
409410
},
410411
"customCondensingPrompt": {
411412
"label": "Niestandardowy monit kondensacji kontekstu",
412-
"description": "Niestandardowy monit systemowy dla kondensacji kontekstu. Pozostaw puste, aby użyć domyślnego monitu."
413+
"description": "Niestandardowy monit systemowy dla kondensacji kontekstu. Pozostaw puste, aby użyć domyślnego monitu.",
414+
"placeholder": "Enter your custom condensing prompt here...\n\nYou can use the same structure as the default prompt:\n- Previous Conversation\n- Current Work\n- Key Technical Concepts\n- Relevant Files and Code\n- Problem Solving\n- Pending Tasks and Next Steps",
415+
"reset": "Reset to Default",
416+
"hint": "Empty = use default prompt"
413417
},
414418
"autoCondenseContextPercent": {
415419
"label": "Próg wyzwalający inteligentną kondensację kontekstu",

webview-ui/src/i18n/locales/pt-BR/settings.json

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -403,13 +403,17 @@
403403
},
404404
"experimental": {
405405
"warning": "⚠️",
406-
"condensingApiConfig": {
407-
"label": "Configuração da API de Condensação de Contexto",
408-
"description": "Escolha o perfil de configuração da API a ser usado para a condensação de contexto. O padrão é o perfil de API atual."
406+
"condensingApiConfiguration": {
407+
"label": "API Configuration for Context Condensing",
408+
"description": "Select which API configuration to use for context condensing operations. Leave unselected to use the current active configuration.",
409+
"useCurrentConfig": "Default"
409410
},
410411
"customCondensingPrompt": {
411412
"label": "Prompt Personalizado de Condensação de Contexto",
412-
"description": "Prompt de sistema personalizado para condensação de contexto. Deixe em branco para usar o prompt padrão."
413+
"description": "Prompt de sistema personalizado para condensação de contexto. Deixe em branco para usar o prompt padrão.",
414+
"placeholder": "Enter your custom condensing prompt here...\n\nYou can use the same structure as the default prompt:\n- Previous Conversation\n- Current Work\n- Key Technical Concepts\n- Relevant Files and Code\n- Problem Solving\n- Pending Tasks and Next Steps",
415+
"reset": "Reset to Default",
416+
"hint": "Empty = use default prompt"
413417
},
414418
"autoCondenseContextPercent": {
415419
"label": "Limite para acionar a condensação inteligente de contexto",

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

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -403,13 +403,17 @@
403403
},
404404
"experimental": {
405405
"warning": "⚠️",
406-
"condensingApiConfig": {
407-
"label": "Конфигурация API сжатия контекста",
408-
"description": "Выберите профиль конфигурации API для использования при сжатии контекста. По умолчанию используется текущий профиль API."
406+
"condensingApiConfiguration": {
407+
"label": "API Configuration for Context Condensing",
408+
"description": "Select which API configuration to use for context condensing operations. Leave unselected to use the current active configuration.",
409+
"useCurrentConfig": "Default"
409410
},
410411
"customCondensingPrompt": {
411412
"label": "Пользовательская подсказка для сжатия контекста",
412-
"description": "Пользовательская системная подсказка для сжатия контекста. Оставьте пустым, чтобы использовать подсказку по умолчанию."
413+
"description": "Пользовательская системная подсказка для сжатия контекста. Оставьте пустым, чтобы использовать подсказку по умолчанию.",
414+
"placeholder": "Enter your custom condensing prompt here...\n\nYou can use the same structure as the default prompt:\n- Previous Conversation\n- Current Work\n- Key Technical Concepts\n- Relevant Files and Code\n- Problem Solving\n- Pending Tasks and Next Steps",
415+
"reset": "Reset to Default",
416+
"hint": "Empty = use default prompt"
413417
},
414418
"autoCondenseContextPercent": {
415419
"label": "Порог для запуска интеллектуального сжатия контекста",

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

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -403,13 +403,17 @@
403403
},
404404
"experimental": {
405405
"warning": "⚠️",
406-
"condensingApiConfig": {
407-
"label": "Bağlam Yoğunlaştırma API Yapılandırması",
408-
"description": "Bağlam yoğunlaştırma için kullanılacak API yapılandırma profilini seçin. Varsayılan olarak mevcut API profilini kullanır."
406+
"condensingApiConfiguration": {
407+
"label": "API Configuration for Context Condensing",
408+
"description": "Select which API configuration to use for context condensing operations. Leave unselected to use the current active configuration.",
409+
"useCurrentConfig": "Default"
409410
},
410411
"customCondensingPrompt": {
411412
"label": "Özel Bağlam Yoğunlaştırma İstemcisi",
412-
"description": "Bağlam yoğunlaştırma için özel sistem istemcisi. Varsayılan istemciyi kullanmak için boş bırakın."
413+
"description": "Bağlam yoğunlaştırma için özel sistem istemcisi. Varsayılan istemciyi kullanmak için boş bırakın.",
414+
"placeholder": "Enter your custom condensing prompt here...\n\nYou can use the same structure as the default prompt:\n- Previous Conversation\n- Current Work\n- Key Technical Concepts\n- Relevant Files and Code\n- Problem Solving\n- Pending Tasks and Next Steps",
415+
"reset": "Reset to Default",
416+
"hint": "Empty = use default prompt"
413417
},
414418
"autoCondenseContextPercent": {
415419
"label": "Akıllı bağlam sıkıştırmayı tetikleyecek eşik",

0 commit comments

Comments
 (0)