mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-08-28 05:27:24 +00:00
fix: add missing UI translations; id locale consistency; lazy-init VSCode decorations to prevent import-time failures; update DiffViewProvider test mock for decoration type
This commit is contained in:
parent
f379d6b8e5
commit
39cf881838
20 changed files with 166 additions and 15 deletions
|
|
@ -1,17 +1,30 @@
|
|||
import * as vscode from "vscode"
|
||||
|
||||
const fadedOverlayDecorationType = vscode.window.createTextEditorDecorationType({
|
||||
backgroundColor: "rgba(255, 255, 0, 0.1)",
|
||||
opacity: "0.4",
|
||||
isWholeLine: true,
|
||||
})
|
||||
let fadedOverlayDecorationType: vscode.TextEditorDecorationType | undefined
|
||||
let activeLineDecorationType: vscode.TextEditorDecorationType | undefined
|
||||
|
||||
const activeLineDecorationType = vscode.window.createTextEditorDecorationType({
|
||||
backgroundColor: "rgba(255, 255, 0, 0.3)",
|
||||
opacity: "1",
|
||||
isWholeLine: true,
|
||||
border: "1px solid rgba(255, 255, 0, 0.5)",
|
||||
})
|
||||
function getFadedOverlayDecorationType(): vscode.TextEditorDecorationType {
|
||||
if (!fadedOverlayDecorationType) {
|
||||
fadedOverlayDecorationType = vscode.window.createTextEditorDecorationType({
|
||||
backgroundColor: "rgba(255, 255, 0, 0.1)",
|
||||
opacity: "0.4",
|
||||
isWholeLine: true,
|
||||
})
|
||||
}
|
||||
return fadedOverlayDecorationType
|
||||
}
|
||||
|
||||
function getActiveLineDecorationType(): vscode.TextEditorDecorationType {
|
||||
if (!activeLineDecorationType) {
|
||||
activeLineDecorationType = vscode.window.createTextEditorDecorationType({
|
||||
backgroundColor: "rgba(255, 255, 0, 0.3)",
|
||||
opacity: "1",
|
||||
isWholeLine: true,
|
||||
border: "1px solid rgba(255, 255, 0, 0.5)",
|
||||
})
|
||||
}
|
||||
return activeLineDecorationType
|
||||
}
|
||||
|
||||
type DecorationType = "fadedOverlay" | "activeLine"
|
||||
|
||||
|
|
@ -28,9 +41,9 @@ export class DecorationController {
|
|||
getDecoration() {
|
||||
switch (this.decorationType) {
|
||||
case "fadedOverlay":
|
||||
return fadedOverlayDecorationType
|
||||
return getFadedOverlayDecorationType()
|
||||
case "activeLine":
|
||||
return activeLineDecorationType
|
||||
return getActiveLineDecorationType()
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -40,7 +40,9 @@ vi.mock("vscode", () => ({
|
|||
},
|
||||
},
|
||||
window: {
|
||||
createTextEditorDecorationType: vi.fn(),
|
||||
createTextEditorDecorationType: vi.fn(() => ({
|
||||
dispose: vi.fn(),
|
||||
})),
|
||||
showTextDocument: vi.fn(),
|
||||
onDidChangeVisibleTextEditors: vi.fn(() => ({ dispose: vi.fn() })),
|
||||
tabGroups: {
|
||||
|
|
|
|||
8
webview-ui/src/i18n/locales/ca/settings.json
generated
8
webview-ui/src/i18n/locales/ca/settings.json
generated
|
|
@ -27,6 +27,7 @@
|
|||
"checkpoints": "Punts de control",
|
||||
"notifications": "Notificacions",
|
||||
"contextManagement": "Context",
|
||||
"ui": "Interfície",
|
||||
"terminal": "Terminal",
|
||||
"prompts": "Indicacions",
|
||||
"experimental": "Experimental",
|
||||
|
|
@ -597,6 +598,13 @@
|
|||
"description": "Límit de mida acumulativa màxima (en MB) per a totes les imatges processades en una sola operació read_file. Quan es llegeixen múltiples imatges, la mida de cada imatge s'afegeix al total. Si incloure una altra imatge excediria aquest límit, serà omesa."
|
||||
}
|
||||
},
|
||||
"ui": {
|
||||
"description": "Configura la interfície i els paràmetres de visualització",
|
||||
"filesChanged": {
|
||||
"label": "Activa la visió general dels fitxers canviats",
|
||||
"description": "Quan està activat, mostra un panell amb els fitxers que s'han modificat entre punts de control.\nAixò us permet veure les diferències i acceptar/rebutjar canvis individuals."
|
||||
}
|
||||
},
|
||||
"terminal": {
|
||||
"basic": {
|
||||
"label": "Configuració del terminal: Bàsica",
|
||||
|
|
|
|||
8
webview-ui/src/i18n/locales/de/settings.json
generated
8
webview-ui/src/i18n/locales/de/settings.json
generated
|
|
@ -27,6 +27,7 @@
|
|||
"checkpoints": "Kontrollpunkte",
|
||||
"notifications": "Benachrichtigungen",
|
||||
"contextManagement": "Kontext",
|
||||
"ui": "Benutzeroberfläche",
|
||||
"terminal": "Terminal",
|
||||
"prompts": "Eingabeaufforderungen",
|
||||
"experimental": "Experimentell",
|
||||
|
|
@ -597,6 +598,13 @@
|
|||
"description": "Maximales kumulatives Größenlimit (in MB) für alle Bilder, die in einer einzelnen read_file-Operation verarbeitet werden. Beim Lesen mehrerer Bilder wird die Größe jedes Bildes zur Gesamtsumme addiert. Wenn das Einbeziehen eines weiteren Bildes dieses Limit überschreiten würde, wird es übersprungen."
|
||||
}
|
||||
},
|
||||
"ui": {
|
||||
"description": "Konfiguriere die Benutzeroberfläche und die Anzeigeeinstellungen",
|
||||
"filesChanged": {
|
||||
"label": "Übersicht über geänderte Dateien aktivieren",
|
||||
"description": "Wenn aktiviert, wird ein Panel angezeigt, das die zwischen den Prüfpunkten geänderten Dateien anzeigt.\nDies ermöglicht es dir, Diffs anzuzeigen und einzelne Änderungen zu akzeptieren/abzulehnen."
|
||||
}
|
||||
},
|
||||
"terminal": {
|
||||
"basic": {
|
||||
"label": "Terminal-Einstellungen: Grundlegend",
|
||||
|
|
|
|||
8
webview-ui/src/i18n/locales/es/settings.json
generated
8
webview-ui/src/i18n/locales/es/settings.json
generated
|
|
@ -27,6 +27,7 @@
|
|||
"checkpoints": "Puntos de control",
|
||||
"notifications": "Notificaciones",
|
||||
"contextManagement": "Contexto",
|
||||
"ui": "Interfaz",
|
||||
"terminal": "Terminal",
|
||||
"prompts": "Indicaciones",
|
||||
"experimental": "Experimental",
|
||||
|
|
@ -597,6 +598,13 @@
|
|||
"usesGlobal": "(usa global {{threshold}}%)"
|
||||
}
|
||||
},
|
||||
"ui": {
|
||||
"description": "Configurar la interfaz y los ajustes de visualización",
|
||||
"filesChanged": {
|
||||
"label": "Habilitar la vista general de archivos modificados",
|
||||
"description": "Cuando está habilitado, muestra un panel que indica los archivos que se han modificado entre los puntos de control.\nEsto le permite ver las diferencias y aceptar/rechazar cambios individuales."
|
||||
}
|
||||
},
|
||||
"terminal": {
|
||||
"basic": {
|
||||
"label": "Configuración del terminal: Básica",
|
||||
|
|
|
|||
8
webview-ui/src/i18n/locales/fr/settings.json
generated
8
webview-ui/src/i18n/locales/fr/settings.json
generated
|
|
@ -27,6 +27,7 @@
|
|||
"checkpoints": "Points de contrôle",
|
||||
"notifications": "Notifications",
|
||||
"contextManagement": "Contexte",
|
||||
"ui": "Interface",
|
||||
"terminal": "Terminal",
|
||||
"prompts": "Invites",
|
||||
"experimental": "Expérimental",
|
||||
|
|
@ -597,6 +598,13 @@
|
|||
"usesGlobal": "(utilise global {{threshold}}%)"
|
||||
}
|
||||
},
|
||||
"ui": {
|
||||
"description": "Configurer l'interface et les paramètres d'affichage",
|
||||
"filesChanged": {
|
||||
"label": "Activer l'aperçu des fichiers modifiés",
|
||||
"description": "Lorsqu'il est activé, affiche un panneau montrant les fichiers qui ont été modifiés entre les points de contrôle.\nCela vous permet de visualiser les différences et d'accepter/rejeter les modifications individuelles."
|
||||
}
|
||||
},
|
||||
"terminal": {
|
||||
"basic": {
|
||||
"label": "Paramètres du terminal : Base",
|
||||
|
|
|
|||
8
webview-ui/src/i18n/locales/hi/settings.json
generated
8
webview-ui/src/i18n/locales/hi/settings.json
generated
|
|
@ -27,6 +27,7 @@
|
|||
"checkpoints": "चेकपॉइंट",
|
||||
"notifications": "सूचनाएँ",
|
||||
"contextManagement": "संदर्भ",
|
||||
"ui": "इंटरफ़ेस",
|
||||
"terminal": "टर्मिनल",
|
||||
"prompts": "प्रॉम्प्ट्स",
|
||||
"experimental": "प्रायोगिक",
|
||||
|
|
@ -598,6 +599,13 @@
|
|||
"description": "एकल read_file ऑपरेशन में संसाधित सभी छवियों के लिए अधिकतम संचयी आकार सीमा (MB में)। कई छवियों को पढ़ते समय, प्रत्येक छवि का आकार कुल में जोड़ा जाता है। यदि किसी अन्य छवि को शामिल करने से यह सीमा पार हो जाएगी, तो उसे छोड़ दिया जाएगा।"
|
||||
}
|
||||
},
|
||||
"ui": {
|
||||
"description": "इंटरफ़ेस और प्रदर्शन सेटिंग्स कॉन्फ़िगर करें",
|
||||
"filesChanged": {
|
||||
"label": "फ़ाइलें बदली गईं अवलोकन सक्षम करें",
|
||||
"description": "सक्षम होने पर, एक पैनल प्रदर्शित करता है जो चौकियों के बीच संशोधित की गई फ़ाइलों को दिखाता है।\nयह आपको अंतर देखने और व्यक्तिगत परिवर्तनों को स्वीकार/अस्वीकार करने की अनुमति देता है।"
|
||||
}
|
||||
},
|
||||
"terminal": {
|
||||
"basic": {
|
||||
"label": "टर्मिनल सेटिंग्स: मूल",
|
||||
|
|
|
|||
2
webview-ui/src/i18n/locales/id/file-changes.json
generated
2
webview-ui/src/i18n/locales/id/file-changes.json
generated
|
|
@ -2,7 +2,7 @@
|
|||
"header": {
|
||||
"files_changed": "File yang Diubah",
|
||||
"expand": "Perluas daftar file",
|
||||
"collapse": "Ciutkan daftar file"
|
||||
"collapse": "Diciutkan daftar file"
|
||||
},
|
||||
"actions": {
|
||||
"accept_all": "Terima Semua",
|
||||
|
|
|
|||
8
webview-ui/src/i18n/locales/id/settings.json
generated
8
webview-ui/src/i18n/locales/id/settings.json
generated
|
|
@ -27,6 +27,7 @@
|
|||
"checkpoints": "Checkpoint",
|
||||
"notifications": "Notifikasi",
|
||||
"contextManagement": "Konteks",
|
||||
"ui": "Antarmuka",
|
||||
"terminal": "Terminal",
|
||||
"prompts": "Prompt",
|
||||
"experimental": "Eksperimental",
|
||||
|
|
@ -602,6 +603,13 @@
|
|||
"description": "Batas ukuran kumulatif maksimum (dalam MB) untuk semua gambar yang diproses dalam satu operasi read_file. Saat membaca beberapa gambar, ukuran setiap gambar ditambahkan ke total. Jika menyertakan gambar lain akan melebihi batas ini, gambar tersebut akan dilewati."
|
||||
}
|
||||
},
|
||||
"ui": {
|
||||
"description": "Konfigurasikan antarmuka dan pengaturan tampilan",
|
||||
"filesChanged": {
|
||||
"label": "Aktifkan Ikhtisar File yang Diubah",
|
||||
"description": "Saat diaktifkan, menampilkan panel yang menunjukkan file yang telah dimodifikasi di antara pos-pos pemeriksaan.\nIni memungkinkan Anda untuk melihat perbedaan dan menerima/menolak perubahan individual."
|
||||
}
|
||||
},
|
||||
"terminal": {
|
||||
"basic": {
|
||||
"label": "Pengaturan Terminal: Dasar",
|
||||
|
|
|
|||
8
webview-ui/src/i18n/locales/it/settings.json
generated
8
webview-ui/src/i18n/locales/it/settings.json
generated
|
|
@ -27,6 +27,7 @@
|
|||
"checkpoints": "Punti di controllo",
|
||||
"notifications": "Notifiche",
|
||||
"contextManagement": "Contesto",
|
||||
"ui": "Interfaccia",
|
||||
"terminal": "Terminal",
|
||||
"prompts": "Prompt",
|
||||
"experimental": "Sperimentale",
|
||||
|
|
@ -598,6 +599,13 @@
|
|||
"description": "Limite di dimensione cumulativa massima (in MB) per tutte le immagini elaborate in una singola operazione read_file. Durante la lettura di più immagini, la dimensione di ogni immagine viene aggiunta al totale. Se l'inclusione di un'altra immagine supererebbe questo limite, verrà saltata."
|
||||
}
|
||||
},
|
||||
"ui": {
|
||||
"description": "Configura l'interfaccia e le impostazioni di visualizzazione",
|
||||
"filesChanged": {
|
||||
"label": "Abilita la panoramica dei file modificati",
|
||||
"description": "Se abilitato, visualizza un pannello che mostra i file modificati tra i checkpoint.\nCiò consente di visualizzare le differenze e accettare/rifiutare le singole modifiche."
|
||||
}
|
||||
},
|
||||
"terminal": {
|
||||
"basic": {
|
||||
"label": "Impostazioni terminale: Base",
|
||||
|
|
|
|||
8
webview-ui/src/i18n/locales/ja/settings.json
generated
8
webview-ui/src/i18n/locales/ja/settings.json
generated
|
|
@ -27,6 +27,7 @@
|
|||
"checkpoints": "チェックポイント",
|
||||
"notifications": "通知",
|
||||
"contextManagement": "コンテキスト",
|
||||
"ui": "インターフェース",
|
||||
"terminal": "ターミナル",
|
||||
"prompts": "プロンプト",
|
||||
"experimental": "実験的",
|
||||
|
|
@ -598,6 +599,13 @@
|
|||
"description": "単一のread_file操作で処理されるすべての画像の累積サイズ制限(MB単位)。複数の画像を読み取る際、各画像のサイズが合計に加算されます。別の画像を含めるとこの制限を超える場合、その画像はスキップされます。"
|
||||
}
|
||||
},
|
||||
"ui": {
|
||||
"description": "インターフェイスと表示設定を構成します",
|
||||
"filesChanged": {
|
||||
"label": "変更されたファイルの概要を有効にする",
|
||||
"description": "有効にすると、チェックポイント間で変更されたファイルを示すパネルが表示されます。\nこれにより、差分を表示して個々の変更を承認/拒否できます。"
|
||||
}
|
||||
},
|
||||
"terminal": {
|
||||
"basic": {
|
||||
"label": "ターミナル設定:基本",
|
||||
|
|
|
|||
8
webview-ui/src/i18n/locales/ko/settings.json
generated
8
webview-ui/src/i18n/locales/ko/settings.json
generated
|
|
@ -27,6 +27,7 @@
|
|||
"checkpoints": "체크포인트",
|
||||
"notifications": "알림",
|
||||
"contextManagement": "컨텍스트",
|
||||
"ui": "인터페이스",
|
||||
"terminal": "터미널",
|
||||
"prompts": "프롬프트",
|
||||
"experimental": "실험적",
|
||||
|
|
@ -598,6 +599,13 @@
|
|||
"description": "단일 read_file 작업에서 처리되는 모든 이미지의 최대 누적 크기 제한(MB 단위)입니다. 여러 이미지를 읽을 때 각 이미지의 크기가 총계에 추가됩니다. 다른 이미지를 포함하면 이 제한을 초과하는 경우 해당 이미지는 건너뜁니다."
|
||||
}
|
||||
},
|
||||
"ui": {
|
||||
"description": "인터페이스 및 디스플레이 설정 구성",
|
||||
"filesChanged": {
|
||||
"label": "변경된 파일 개요 활성화",
|
||||
"description": "활성화하면 체크포인트 간에 수정된 파일을 보여주는 패널이 표시됩니다.\n이를 통해 차이점을 보고 개별 변경 사항을 수락/거부할 수 있습니다."
|
||||
}
|
||||
},
|
||||
"terminal": {
|
||||
"basic": {
|
||||
"label": "터미널 설정: 기본",
|
||||
|
|
|
|||
8
webview-ui/src/i18n/locales/nl/settings.json
generated
8
webview-ui/src/i18n/locales/nl/settings.json
generated
|
|
@ -27,6 +27,7 @@
|
|||
"checkpoints": "Checkpoints",
|
||||
"notifications": "Meldingen",
|
||||
"contextManagement": "Context",
|
||||
"ui": "Interface",
|
||||
"terminal": "Terminal",
|
||||
"prompts": "Prompts",
|
||||
"experimental": "Experimenteel",
|
||||
|
|
@ -598,6 +599,13 @@
|
|||
"usesGlobal": "(gebruikt globaal {{threshold}}%)"
|
||||
}
|
||||
},
|
||||
"ui": {
|
||||
"description": "Configureer interface en weergave-instellingen",
|
||||
"filesChanged": {
|
||||
"label": "Overzicht van gewijzigde bestanden inschakelen",
|
||||
"description": "Indien ingeschakeld, wordt een paneel weergegeven met bestanden die zijn gewijzigd tussen controlepunten.\nHiermee kunt u verschillen bekijken en afzonderlijke wijzigingen accepteren/weigeren."
|
||||
}
|
||||
},
|
||||
"terminal": {
|
||||
"basic": {
|
||||
"label": "Terminalinstellingen: Basis",
|
||||
|
|
|
|||
8
webview-ui/src/i18n/locales/pl/settings.json
generated
8
webview-ui/src/i18n/locales/pl/settings.json
generated
|
|
@ -27,6 +27,7 @@
|
|||
"checkpoints": "Punkty kontrolne",
|
||||
"notifications": "Powiadomienia",
|
||||
"contextManagement": "Kontekst",
|
||||
"ui": "Interfejs",
|
||||
"terminal": "Terminal",
|
||||
"prompts": "Podpowiedzi",
|
||||
"experimental": "Eksperymentalne",
|
||||
|
|
@ -598,6 +599,13 @@
|
|||
"description": "Maksymalny skumulowany limit rozmiaru (w MB) dla wszystkich obrazów przetwarzanych w jednej operacji read_file. Podczas odczytu wielu obrazów rozmiar każdego obrazu jest dodawany do sumy. Jeśli dołączenie kolejnego obrazu przekroczyłoby ten limit, zostanie on pominięty."
|
||||
}
|
||||
},
|
||||
"ui": {
|
||||
"description": "Skonfiguruj interfejs i ustawienia wyświetlania",
|
||||
"filesChanged": {
|
||||
"label": "Włącz przegląd zmienionych plików",
|
||||
"description": "Po włączeniu wyświetla panel pokazujący pliki, które zostały zmodyfikowane między punktami kontrolnymi.\nUmożliwia to przeglądanie różnic i akceptowanie/odrzucanie poszczególnych zmian."
|
||||
}
|
||||
},
|
||||
"terminal": {
|
||||
"basic": {
|
||||
"label": "Ustawienia terminala: Podstawowe",
|
||||
|
|
|
|||
8
webview-ui/src/i18n/locales/pt-BR/settings.json
generated
8
webview-ui/src/i18n/locales/pt-BR/settings.json
generated
|
|
@ -27,6 +27,7 @@
|
|||
"checkpoints": "Checkpoints",
|
||||
"notifications": "Notificações",
|
||||
"contextManagement": "Contexto",
|
||||
"ui": "Interface",
|
||||
"terminal": "Terminal",
|
||||
"prompts": "Prompts",
|
||||
"experimental": "Experimental",
|
||||
|
|
@ -598,6 +599,13 @@
|
|||
"description": "Limite máximo de tamanho cumulativo (em MB) para todas as imagens processadas em uma única operação read_file. Ao ler várias imagens, o tamanho de cada imagem é adicionado ao total. Se incluir outra imagem exceder esse limite, ela será ignorada."
|
||||
}
|
||||
},
|
||||
"ui": {
|
||||
"description": "Configure a interface e as configurações de exibição",
|
||||
"filesChanged": {
|
||||
"label": "Ativar Visão Geral de Arquivos Alterados",
|
||||
"description": "Quando ativado, exibe um painel mostrando os arquivos que foram modificados entre os pontos de verificação.\nIsso permite que você visualize as diferenças e aceite/rejeite alterações individuais."
|
||||
}
|
||||
},
|
||||
"terminal": {
|
||||
"basic": {
|
||||
"label": "Configurações do terminal: Básicas",
|
||||
|
|
|
|||
8
webview-ui/src/i18n/locales/ru/settings.json
generated
8
webview-ui/src/i18n/locales/ru/settings.json
generated
|
|
@ -27,6 +27,7 @@
|
|||
"checkpoints": "Контрольные точки",
|
||||
"notifications": "Уведомления",
|
||||
"contextManagement": "Контекст",
|
||||
"ui": "Интерфейс",
|
||||
"terminal": "Терминал",
|
||||
"prompts": "Промпты",
|
||||
"experimental": "Экспериментальное",
|
||||
|
|
@ -598,6 +599,13 @@
|
|||
"description": "Максимальный совокупный лимит размера (в МБ) для всех изображений, обрабатываемых в одной операции read_file. При чтении нескольких изображений размер каждого изображения добавляется к общему. Если включение другого изображения превысит этот лимит, оно будет пропущено."
|
||||
}
|
||||
},
|
||||
"ui": {
|
||||
"description": "Настройка интерфейса и параметров отображения",
|
||||
"filesChanged": {
|
||||
"label": "Включить обзор измененных файлов",
|
||||
"description": "Если включено, отображается панель с файлами, которые были изменены между контрольными точками.\nЭто позволяет просматривать различия и принимать/отклонять отдельные изменения."
|
||||
}
|
||||
},
|
||||
"terminal": {
|
||||
"basic": {
|
||||
"label": "Настройки терминала: Основные",
|
||||
|
|
|
|||
8
webview-ui/src/i18n/locales/tr/settings.json
generated
8
webview-ui/src/i18n/locales/tr/settings.json
generated
|
|
@ -27,6 +27,7 @@
|
|||
"checkpoints": "Kontrol Noktaları",
|
||||
"notifications": "Bildirimler",
|
||||
"contextManagement": "Bağlam",
|
||||
"ui": "Arayüz",
|
||||
"terminal": "Terminal",
|
||||
"prompts": "Promptlar",
|
||||
"experimental": "Deneysel",
|
||||
|
|
@ -598,6 +599,13 @@
|
|||
"description": "Tek bir read_file işleminde işlenen tüm görüntüler için maksimum kümülatif boyut sınırı (MB cinsinden). Birden çok görüntü okurken, her görüntünün boyutu toplama eklenir. Başka bir görüntü eklemek bu sınırı aşacaksa, atlanacaktır."
|
||||
}
|
||||
},
|
||||
"ui": {
|
||||
"description": "Arayüz ve görüntü ayarlarını yapılandırın",
|
||||
"filesChanged": {
|
||||
"label": "Değiştirilen Dosyalara Genel Bakışı Etkinleştir",
|
||||
"description": "Etkinleştirildiğinde, kontrol noktaları arasında değiştirilmiş dosyaları gösteren bir panel görüntüler.\nBu, farklılıkları görüntülemenizi ve bireysel değişiklikleri kabul etmenizi/reddetmenizi sağlar."
|
||||
}
|
||||
},
|
||||
"terminal": {
|
||||
"basic": {
|
||||
"label": "Terminal Ayarları: Temel",
|
||||
|
|
|
|||
8
webview-ui/src/i18n/locales/vi/settings.json
generated
8
webview-ui/src/i18n/locales/vi/settings.json
generated
|
|
@ -27,6 +27,7 @@
|
|||
"checkpoints": "Điểm kiểm tra",
|
||||
"notifications": "Thông báo",
|
||||
"contextManagement": "Ngữ cảnh",
|
||||
"ui": "Giao diện",
|
||||
"terminal": "Terminal",
|
||||
"prompts": "Lời nhắc",
|
||||
"experimental": "Thử nghiệm",
|
||||
|
|
@ -598,6 +599,13 @@
|
|||
"description": "Giới hạn kích thước tích lũy tối đa (tính bằng MB) cho tất cả hình ảnh được xử lý trong một thao tác read_file duy nhất. Khi đọc nhiều hình ảnh, kích thước của mỗi hình ảnh được cộng vào tổng. Nếu việc thêm một hình ảnh khác sẽ vượt quá giới hạn này, nó sẽ bị bỏ qua."
|
||||
}
|
||||
},
|
||||
"ui": {
|
||||
"description": "Cấu hình giao diện và cài đặt hiển thị",
|
||||
"filesChanged": {
|
||||
"label": "Bật Tổng quan về Tệp đã Thay đổi",
|
||||
"description": "Khi được bật, hiển thị một bảng điều khiển hiển thị các tệp đã được sửa đổi giữa các điểm kiểm tra.\nĐiều này cho phép bạn xem các khác biệt và chấp nhận/từ chối các thay đổi riêng lẻ."
|
||||
}
|
||||
},
|
||||
"terminal": {
|
||||
"basic": {
|
||||
"label": "Cài đặt Terminal: Cơ bản",
|
||||
|
|
|
|||
8
webview-ui/src/i18n/locales/zh-CN/settings.json
generated
8
webview-ui/src/i18n/locales/zh-CN/settings.json
generated
|
|
@ -27,6 +27,7 @@
|
|||
"checkpoints": "存档点",
|
||||
"notifications": "通知",
|
||||
"contextManagement": "上下文",
|
||||
"ui": "界面",
|
||||
"terminal": "终端",
|
||||
"prompts": "提示词",
|
||||
"experimental": "实验性",
|
||||
|
|
@ -598,6 +599,13 @@
|
|||
"description": "单次 read_file 操作中处理的所有图片的最大累计大小限制(MB)。读取多张图片时,每张图片的大小会累加到总大小中。如果包含另一张图片会超过此限制,则会跳过该图片。"
|
||||
}
|
||||
},
|
||||
"ui": {
|
||||
"description": "配置界面和显示设置",
|
||||
"filesChanged": {
|
||||
"label": "启用文件更改概览",
|
||||
"description": "启用后,显示一个面板,显示检查点之间已修改的文件。\n这使您可以查看差异并接受/拒绝单个更改。"
|
||||
}
|
||||
},
|
||||
"terminal": {
|
||||
"basic": {
|
||||
"label": "终端设置:基础",
|
||||
|
|
|
|||
8
webview-ui/src/i18n/locales/zh-TW/settings.json
generated
8
webview-ui/src/i18n/locales/zh-TW/settings.json
generated
|
|
@ -27,6 +27,7 @@
|
|||
"checkpoints": "檢查點",
|
||||
"notifications": "通知",
|
||||
"contextManagement": "上下文",
|
||||
"ui": "介面",
|
||||
"terminal": "終端機",
|
||||
"prompts": "提示詞",
|
||||
"experimental": "實驗性",
|
||||
|
|
@ -598,6 +599,13 @@
|
|||
"description": "單次 read_file 操作中處理的所有圖片的最大累計大小限制(MB)。讀取多張圖片時,每張圖片的大小會累加到總大小中。如果包含另一張圖片會超過此限制,則會跳過該圖片。"
|
||||
}
|
||||
},
|
||||
"ui": {
|
||||
"description": "設定介面和顯示設定",
|
||||
"filesChanged": {
|
||||
"label": "啟用已變更檔案總覽",
|
||||
"description": "啟用後,會顯示一個面板,其中顯示检查点之間已修改的檔案。\n這可讓您檢視差異並接受/拒絕個別變更。"
|
||||
}
|
||||
},
|
||||
"terminal": {
|
||||
"basic": {
|
||||
"label": "終端機設定:基本",
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue