mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-08-28 05:27:24 +00:00
fix knip and missing translation errors
This commit is contained in:
parent
6e299c73f5
commit
68b0a1843d
10 changed files with 115 additions and 163 deletions
12
knip.json
12
knip.json
|
|
@ -1,6 +1,12 @@
|
|||
{
|
||||
"$schema": "https://unpkg.com/knip@latest/schema.json",
|
||||
"entry": ["src/extension.ts", "src/activate/index.ts", "webview-ui/src/index.tsx"],
|
||||
"entry": [
|
||||
"src/extension.ts",
|
||||
"src/activate/index.ts",
|
||||
"src/core/mentions/index.ts",
|
||||
"webview-ui/src/index.tsx",
|
||||
"src/core/webview/webviewMessageHandler.ts"
|
||||
],
|
||||
"project": ["src/**/*.ts", "webview-ui/src/**/*.{ts,tsx}"],
|
||||
"ignore": [
|
||||
"**/__mocks__/**",
|
||||
|
|
@ -19,7 +25,9 @@
|
|||
"src/exports/**",
|
||||
"src/schemas/ipc.ts",
|
||||
"src/extension.ts",
|
||||
"scripts/**"
|
||||
"scripts/**",
|
||||
"package-manager-template/**",
|
||||
"src/utils/git.ts"
|
||||
],
|
||||
"workspaces": {
|
||||
"webview-ui": {
|
||||
|
|
|
|||
|
|
@ -1,21 +0,0 @@
|
|||
import React from "react";
|
||||
import { VSCodeButton } from "@vscode/webview-ui-toolkit/react";
|
||||
|
||||
/**
|
||||
* A button that opens the package manager view when clicked
|
||||
*/
|
||||
const PackageManagerButton: React.FC = () => {
|
||||
return (
|
||||
<VSCodeButton
|
||||
appearance="icon"
|
||||
title="Package Manager"
|
||||
onClick={() => {
|
||||
window.postMessage({ type: "action", action: "packageManagerButtonClicked" }, "*");
|
||||
}}
|
||||
>
|
||||
<span className="codicon codicon-extensions"></span>
|
||||
</VSCodeButton>
|
||||
);
|
||||
};
|
||||
|
||||
export default PackageManagerButton;
|
||||
|
|
@ -9,7 +9,7 @@
|
|||
"placeholder": "パッケージマネージャーのアイテムを検索..."
|
||||
},
|
||||
"type": {
|
||||
"label": "タイプで絞り込み:",
|
||||
"label": "タイプでフィルター:",
|
||||
"all": "すべてのタイプ",
|
||||
"mode": "モード",
|
||||
"mcp server": "MCPサーバー",
|
||||
|
|
@ -17,19 +17,19 @@
|
|||
"package": "パッケージ"
|
||||
},
|
||||
"sort": {
|
||||
"label": "並び替え:",
|
||||
"label": "並び替え:",
|
||||
"name": "名前",
|
||||
"author": "作成者",
|
||||
"author": "作者",
|
||||
"lastUpdated": "最終更新"
|
||||
},
|
||||
"tags": {
|
||||
"label": "タグで絞り込み:",
|
||||
"label": "タグでフィルター:",
|
||||
"available": "{{count}}個利用可能",
|
||||
"clear": "タグをクリア({{count}}個)",
|
||||
"clear": "タグをクリア ({{count}})",
|
||||
"placeholder": "タグを検索して選択...",
|
||||
"noResults": "一致するタグが見つかりません",
|
||||
"selected": "選択したタグのいずれかを含むアイテムを表示中({{count}}個選択)",
|
||||
"clickToFilter": "タグをクリックしてアイテムを絞り込む"
|
||||
"selected": "選択したタグのいずれかを含むアイテムを表示中 ({{count}}個選択)",
|
||||
"clickToFilter": "タグをクリックしてアイテムをフィルター"
|
||||
}
|
||||
},
|
||||
"items": {
|
||||
|
|
@ -44,40 +44,41 @@
|
|||
"refreshing": "更新中..."
|
||||
},
|
||||
"card": {
|
||||
"by": "作成者:{{author}}",
|
||||
"from": "ソース:{{source}}",
|
||||
"externalComponents": "外部コンポーネント{{count}}個を含む",
|
||||
"by": "作者: {{author}}",
|
||||
"from": "ソース: {{source}}",
|
||||
"externalComponents": "{{count}}個の外部コンポーネントを含む",
|
||||
"externalComponents_plural": "{{count}}個の外部コンポーネントを含む",
|
||||
"viewSource": "表示",
|
||||
"viewOnSource": "{{source}}で表示"
|
||||
}
|
||||
},
|
||||
"sources": {
|
||||
"title": "パッケージマネージャーのソース設定",
|
||||
"description": "パッケージマネージャーのアイテムを含むGitリポジトリを追加します。これらのリポジトリはパッケージマネージャーの閲覧時に取得されます。",
|
||||
"title": "パッケージマネージャーのソースを設定",
|
||||
"description": "パッケージマネージャーのアイテムを含むGitリポジトリを追加します。これらのリポジトリはパッケージマネージャーのブラウズ時に取得されます。",
|
||||
"add": {
|
||||
"title": "新規ソースの追加",
|
||||
"urlPlaceholder": "GitリポジトリのURL(例:https://github.com/username/repo)",
|
||||
"urlFormats": "対応フォーマット:HTTPS(https://github.com/username/repo)、SSH(git@github.com:username/repo.git)、またはGitプロトコル(git://github.com/username/repo.git)",
|
||||
"namePlaceholder": "表示名(オプション、最大20文字)",
|
||||
"title": "新しいソースを追加",
|
||||
"urlPlaceholder": "GitリポジトリのURL (例: https://github.com/username/repo)",
|
||||
"urlFormats": "サポートされている形式: HTTPS (https://github.com/username/repo)、SSH (git@github.com:username/repo.git)、またはGitプロトコル (git://github.com/username/repo.git)",
|
||||
"namePlaceholder": "表示名 (オプション、最大20文字)",
|
||||
"button": "ソースを追加"
|
||||
},
|
||||
"current": {
|
||||
"title": "現在のソース",
|
||||
"count": "{{current}}/{{max}}個(最大)",
|
||||
"empty": "ソースが設定されていません。ソースを追加して始めてください。",
|
||||
"count": "{{current}}/{{max}}個まで",
|
||||
"empty": "ソースが設定されていません。ソースを追加して始めましょう。",
|
||||
"refresh": "このソースを更新",
|
||||
"remove": "ソースを削除"
|
||||
},
|
||||
"errors": {
|
||||
"emptyUrl": "URLを入力してください",
|
||||
"invalidUrl": "URLの形式が無効です",
|
||||
"nonVisibleChars": "URLに空白以外の不可視文字が含まれています",
|
||||
"invalidGitUrl": "有効なGitリポジトリのURLを入力してください(例:https://github.com/username/repo)",
|
||||
"duplicateUrl": "このURLは既にリストに存在します(大文字小文字と空白を区別しない一致)",
|
||||
"invalidUrl": "無効なURL形式です",
|
||||
"nonVisibleChars": "URLにスペース以外の非表示文字が含まれています",
|
||||
"invalidGitUrl": "有効なGitリポジトリのURLを入力してください (例: https://github.com/username/repo)",
|
||||
"duplicateUrl": "このURLは既にリストに存在します (大文字小文字とスペースを区別しない一致)",
|
||||
"nameTooLong": "名前は20文字以内にしてください",
|
||||
"nonVisibleCharsName": "名前に空白以外の不可視文字が含まれています",
|
||||
"duplicateName": "この名前は既に使用されています(大文字小文字と空白を区別しない一致)",
|
||||
"maxSources": "ソースは最大{{max}}個まで追加できます"
|
||||
"nonVisibleCharsName": "名前にスペース以外の非表示文字が含まれています",
|
||||
"duplicateName": "この名前は既に使用されています (大文字小文字とスペースを区別しない一致)",
|
||||
"maxSources": "最大{{max}}個までしかソースを追加できません"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"title": "패키지 관리자",
|
||||
"tabs": {
|
||||
"browse": "탐색",
|
||||
"browse": "찾아보기",
|
||||
"sources": "소스"
|
||||
},
|
||||
"filters": {
|
||||
|
|
@ -9,7 +9,7 @@
|
|||
"placeholder": "패키지 관리자 항목 검색..."
|
||||
},
|
||||
"type": {
|
||||
"label": "유형별 필터링:",
|
||||
"label": "유형별 필터:",
|
||||
"all": "모든 유형",
|
||||
"mode": "모드",
|
||||
"mcp server": "MCP 서버",
|
||||
|
|
@ -20,25 +20,25 @@
|
|||
"label": "정렬 기준:",
|
||||
"name": "이름",
|
||||
"author": "작성자",
|
||||
"lastUpdated": "최근 업데이트"
|
||||
"lastUpdated": "마지막 업데이트"
|
||||
},
|
||||
"tags": {
|
||||
"label": "태그별 필터링:",
|
||||
"label": "태그별 필터:",
|
||||
"available": "{{count}}개 사용 가능",
|
||||
"clear": "태그 지우기 ({{count}}개)",
|
||||
"clear": "태그 지우기 ({{count}})",
|
||||
"placeholder": "태그 검색 및 선택...",
|
||||
"noResults": "일치하는 태그가 없습니다",
|
||||
"selected": "선택한 태그 중 하나를 포함하는 항목 표시 ({{count}}개 선택됨)",
|
||||
"selected": "선택한 태그 중 하나를 포함하는 항목 표시 중 ({{count}}개 선택됨)",
|
||||
"clickToFilter": "태그를 클릭하여 항목 필터링"
|
||||
}
|
||||
},
|
||||
"items": {
|
||||
"empty": {
|
||||
"noItems": "패키지 관리자 항목을 찾을 수 없습니다",
|
||||
"withFilters": "필터 조건을 조정해 보세요",
|
||||
"withFilters": "필터를 조정해 보세요",
|
||||
"noSources": "소스 탭에서 소스를 추가해 보세요"
|
||||
},
|
||||
"count": "{{count}}개의 항목 발견",
|
||||
"count": "{{count}}개의 항목을 찾았습니다",
|
||||
"refresh": {
|
||||
"button": "새로 고침",
|
||||
"refreshing": "새로 고치는 중..."
|
||||
|
|
@ -47,6 +47,7 @@
|
|||
"by": "작성자: {{author}}",
|
||||
"from": "출처: {{source}}",
|
||||
"externalComponents": "외부 컴포넌트 {{count}}개 포함",
|
||||
"externalComponents_plural": "외부 컴포넌트 {{count}}개 포함",
|
||||
"viewSource": "보기",
|
||||
"viewOnSource": "{{source}}에서 보기"
|
||||
}
|
||||
|
|
@ -63,18 +64,18 @@
|
|||
},
|
||||
"current": {
|
||||
"title": "현재 소스",
|
||||
"count": "{{current}}/{{max}}개 (최대)",
|
||||
"count": "{{current}}/{{max}} 최대",
|
||||
"empty": "구성된 소스가 없습니다. 소스를 추가하여 시작하세요.",
|
||||
"refresh": "이 소스 새로 고침",
|
||||
"remove": "소스 제거"
|
||||
},
|
||||
"errors": {
|
||||
"emptyUrl": "URL을 입력해야 합니다",
|
||||
"invalidUrl": "잘못된 URL 형식",
|
||||
"invalidUrl": "잘못된 URL 형식입니다",
|
||||
"nonVisibleChars": "URL에 공백 이외의 보이지 않는 문자가 포함되어 있습니다",
|
||||
"invalidGitUrl": "URL은 유효한 Git 저장소 URL이어야 합니다 (예: https://github.com/username/repo)",
|
||||
"invalidGitUrl": "유효한 Git 저장소 URL을 입력하세요 (예: https://github.com/username/repo)",
|
||||
"duplicateUrl": "이 URL은 이미 목록에 있습니다 (대소문자 및 공백 구분 없이 일치)",
|
||||
"nameTooLong": "이름은 20자를 초과할 수 없습니다",
|
||||
"nameTooLong": "이름은 20자 이하여야 합니다",
|
||||
"nonVisibleCharsName": "이름에 공백 이외의 보이지 않는 문자가 포함되어 있습니다",
|
||||
"duplicateName": "이 이름은 이미 사용 중입니다 (대소문자 및 공백 구분 없이 일치)",
|
||||
"maxSources": "최대 {{max}}개의 소스만 허용됩니다"
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"title": "Menedżer Pakietów",
|
||||
"title": "Menedżer pakietów",
|
||||
"tabs": {
|
||||
"browse": "Przeglądaj",
|
||||
"sources": "Źródła"
|
||||
|
|
@ -24,15 +24,11 @@
|
|||
},
|
||||
"tags": {
|
||||
"label": "Filtruj według tagów:",
|
||||
"available": "{{count}} dostępny",
|
||||
"available_2-4": "{{count}} dostępne",
|
||||
"available_5": "{{count}} dostępnych",
|
||||
"available": "Dostępne: {{count}}",
|
||||
"clear": "Wyczyść tagi ({{count}})",
|
||||
"placeholder": "Wpisz, aby wyszukać i wybrać tagi...",
|
||||
"noResults": "Nie znaleziono pasujących tagów",
|
||||
"selected": "Wyświetlanie elementów z dowolnym z wybranych tagów ({{count}} wybrany)",
|
||||
"selected_2-4": "Wyświetlanie elementów z dowolnym z wybranych tagów ({{count}} wybrane)",
|
||||
"selected_5": "Wyświetlanie elementów z dowolnym z wybranych tagów ({{count}} wybranych)",
|
||||
"selected": "Pokazywanie elementów z wybranymi tagami (wybrano: {{count}})",
|
||||
"clickToFilter": "Kliknij tagi, aby filtrować elementy"
|
||||
}
|
||||
},
|
||||
|
|
@ -42,36 +38,33 @@
|
|||
"withFilters": "Spróbuj dostosować filtry",
|
||||
"noSources": "Spróbuj dodać źródło w zakładce Źródła"
|
||||
},
|
||||
"count": "Znaleziono {{count}} element",
|
||||
"count_2-4": "Znaleziono {{count}} elementy",
|
||||
"count_5": "Znaleziono {{count}} elementów",
|
||||
"count": "Znaleziono {{count}} elementów",
|
||||
"refresh": {
|
||||
"button": "Odśwież",
|
||||
"refreshing": "Odświeżanie..."
|
||||
},
|
||||
"card": {
|
||||
"by": "autor: {{author}}",
|
||||
"from": "z {{source}}",
|
||||
"from": "z: {{source}}",
|
||||
"externalComponents": "Zawiera {{count}} komponent zewnętrzny",
|
||||
"externalComponents_2-4": "Zawiera {{count}} komponenty zewnętrzne",
|
||||
"externalComponents_5": "Zawiera {{count}} komponentów zewnętrznych",
|
||||
"externalComponents_plural": "Zawiera {{count}} komponenty zewnętrzne",
|
||||
"viewSource": "Zobacz",
|
||||
"viewOnSource": "Zobacz na {{source}}"
|
||||
}
|
||||
},
|
||||
"sources": {
|
||||
"title": "Konfiguruj Źródła Menedżera Pakietów",
|
||||
"title": "Konfiguruj źródła menedżera pakietów",
|
||||
"description": "Dodaj repozytoria Git zawierające elementy menedżera pakietów. Te repozytoria będą pobierane podczas przeglądania menedżera pakietów.",
|
||||
"add": {
|
||||
"title": "Dodaj Nowe Źródło",
|
||||
"title": "Dodaj nowe źródło",
|
||||
"urlPlaceholder": "URL repozytorium Git (np. https://github.com/username/repo)",
|
||||
"urlFormats": "Obsługiwane formaty: HTTPS (https://github.com/username/repo), SSH (git@github.com:username/repo.git) lub protokół Git (git://github.com/username/repo.git)",
|
||||
"namePlaceholder": "Nazwa wyświetlana (opcjonalnie, maks. 20 znaków)",
|
||||
"button": "Dodaj Źródło"
|
||||
"button": "Dodaj źródło"
|
||||
},
|
||||
"current": {
|
||||
"title": "Aktualne Źródła",
|
||||
"count": "{{current}}/{{max}} maksymalnie",
|
||||
"title": "Obecne źródła",
|
||||
"count": "{{current}}/{{max}} maks.",
|
||||
"empty": "Brak skonfigurowanych źródeł. Dodaj źródło, aby rozpocząć.",
|
||||
"refresh": "Odśwież to źródło",
|
||||
"remove": "Usuń źródło"
|
||||
|
|
@ -79,13 +72,13 @@
|
|||
"errors": {
|
||||
"emptyUrl": "URL nie może być pusty",
|
||||
"invalidUrl": "Nieprawidłowy format URL",
|
||||
"nonVisibleChars": "URL zawiera znaki niewidoczne inne niż spacje",
|
||||
"nonVisibleChars": "URL zawiera niewidoczne znaki inne niż spacje",
|
||||
"invalidGitUrl": "URL musi być prawidłowym URL-em repozytorium Git (np. https://github.com/username/repo)",
|
||||
"duplicateUrl": "Ten URL już znajduje się na liście (dopasowanie bez rozróżniania wielkości liter i spacji)",
|
||||
"duplicateUrl": "Ten URL już znajduje się na liście (dopasowanie niewrażliwe na wielkość liter i spacje)",
|
||||
"nameTooLong": "Nazwa nie może przekraczać 20 znaków",
|
||||
"nonVisibleCharsName": "Nazwa zawiera znaki niewidoczne inne niż spacje",
|
||||
"duplicateName": "Ta nazwa jest już używana (dopasowanie bez rozróżniania wielkości liter i spacji)",
|
||||
"maxSources": "Maksymalna liczba źródeł to {{max}}"
|
||||
"nonVisibleCharsName": "Nazwa zawiera niewidoczne znaki inne niż spacje",
|
||||
"duplicateName": "Ta nazwa jest już używana (dopasowanie niewrażliwe na wielkość liter i spacje)",
|
||||
"maxSources": "Dozwolone maksymalnie {{max}} źródeł"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"title": "Paket Yöneticisi",
|
||||
"tabs": {
|
||||
"browse": "Gözat",
|
||||
"browse": "Göz At",
|
||||
"sources": "Kaynaklar"
|
||||
},
|
||||
"filters": {
|
||||
|
|
@ -17,14 +17,14 @@
|
|||
"package": "Paket"
|
||||
},
|
||||
"sort": {
|
||||
"label": "Sıralama ölçütü:",
|
||||
"name": "Ad",
|
||||
"label": "Sıralama:",
|
||||
"name": "İsim",
|
||||
"author": "Yazar",
|
||||
"lastUpdated": "Son güncelleme"
|
||||
"lastUpdated": "Son Güncelleme"
|
||||
},
|
||||
"tags": {
|
||||
"label": "Etiketlere göre filtrele:",
|
||||
"available": "{{count}} etiket mevcut",
|
||||
"available": "{{count}} mevcut",
|
||||
"clear": "Etiketleri temizle ({{count}})",
|
||||
"placeholder": "Etiket aramak ve seçmek için yazın...",
|
||||
"noResults": "Eşleşen etiket bulunamadı",
|
||||
|
|
@ -47,35 +47,36 @@
|
|||
"by": "yazar: {{author}}",
|
||||
"from": "kaynak: {{source}}",
|
||||
"externalComponents": "{{count}} harici bileşen içeriyor",
|
||||
"externalComponents_plural": "{{count}} harici bileşen içeriyor",
|
||||
"viewSource": "Görüntüle",
|
||||
"viewOnSource": "{{source}} üzerinde görüntüle"
|
||||
}
|
||||
},
|
||||
"sources": {
|
||||
"title": "Paket Yöneticisi Kaynaklarını Yapılandır",
|
||||
"description": "Paket yöneticisi öğeleri içeren Git depolarını ekleyin. Bu depolar, paket yöneticisinde gezinirken alınacaktır.",
|
||||
"description": "Paket yöneticisi öğeleri içeren Git depolarını ekleyin. Bu depolar, paket yöneticisine göz atarken getirilecektir.",
|
||||
"add": {
|
||||
"title": "Yeni Kaynak Ekle",
|
||||
"urlPlaceholder": "Git deposu URL'si (örn. https://github.com/username/repo)",
|
||||
"urlFormats": "Desteklenen biçimler: HTTPS (https://github.com/username/repo), SSH (git@github.com:username/repo.git) veya Git protokolü (git://github.com/username/repo.git)",
|
||||
"urlFormats": "Desteklenen formatlar: HTTPS (https://github.com/username/repo), SSH (git@github.com:username/repo.git) veya Git protokolü (git://github.com/username/repo.git)",
|
||||
"namePlaceholder": "Görünen ad (isteğe bağlı, en fazla 20 karakter)",
|
||||
"button": "Kaynak Ekle"
|
||||
},
|
||||
"current": {
|
||||
"title": "Mevcut Kaynaklar",
|
||||
"count": "{{current}}/{{max}} en fazla",
|
||||
"count": "{{current}}/{{max}} maksimum",
|
||||
"empty": "Yapılandırılmış kaynak yok. Başlamak için bir kaynak ekleyin.",
|
||||
"refresh": "Bu kaynağı yenile",
|
||||
"remove": "Kaynağı kaldır"
|
||||
},
|
||||
"errors": {
|
||||
"emptyUrl": "URL boş olamaz",
|
||||
"invalidUrl": "Geçersiz URL biçimi",
|
||||
"nonVisibleChars": "URL boşluk dışında görünmez karakterler içeriyor",
|
||||
"invalidUrl": "Geçersiz URL formatı",
|
||||
"nonVisibleChars": "URL boşluk dışında görünmeyen karakterler içeriyor",
|
||||
"invalidGitUrl": "URL geçerli bir Git deposu URL'si olmalıdır (örn. https://github.com/username/repo)",
|
||||
"duplicateUrl": "Bu URL zaten listede mevcut (büyük/küçük harf ve boşluk duyarsız eşleşme)",
|
||||
"nameTooLong": "Ad en fazla 20 karakter olmalıdır",
|
||||
"nonVisibleCharsName": "Ad boşluk dışında görünmez karakterler içeriyor",
|
||||
"nameTooLong": "Ad 20 karakterden uzun olamaz",
|
||||
"nonVisibleCharsName": "Ad boşluk dışında görünmeyen karakterler içeriyor",
|
||||
"duplicateName": "Bu ad zaten kullanımda (büyük/küçük harf ve boşluk duyarsız eşleşme)",
|
||||
"maxSources": "En fazla {{max}} kaynak eklenebilir"
|
||||
}
|
||||
|
|
|
|||
|
|
@ -6,11 +6,11 @@
|
|||
},
|
||||
"filters": {
|
||||
"search": {
|
||||
"placeholder": "Tìm kiếm các mục trong trình quản lý gói..."
|
||||
"placeholder": "Tìm kiếm các mục quản lý gói..."
|
||||
},
|
||||
"type": {
|
||||
"label": "Lọc theo loại:",
|
||||
"all": "Tất cả các loại",
|
||||
"all": "Tất cả loại",
|
||||
"mode": "Chế độ",
|
||||
"mcp server": "Máy chủ MCP",
|
||||
"prompt": "Lời nhắc",
|
||||
|
|
@ -24,18 +24,18 @@
|
|||
},
|
||||
"tags": {
|
||||
"label": "Lọc theo thẻ:",
|
||||
"available": "{{count}} thẻ có sẵn",
|
||||
"available": "{{count}} có sẵn",
|
||||
"clear": "Xóa thẻ ({{count}})",
|
||||
"placeholder": "Gõ để tìm kiếm và chọn thẻ...",
|
||||
"placeholder": "Gõ để tìm và chọn thẻ...",
|
||||
"noResults": "Không tìm thấy thẻ phù hợp",
|
||||
"selected": "Hiển thị các mục có bất kỳ thẻ đã chọn nào (đã chọn {{count}} thẻ)",
|
||||
"selected": "Hiển thị các mục có bất kỳ thẻ đã chọn nào (đã chọn {{count}})",
|
||||
"clickToFilter": "Nhấp vào thẻ để lọc các mục"
|
||||
}
|
||||
},
|
||||
"items": {
|
||||
"empty": {
|
||||
"noItems": "Không tìm thấy mục nào trong trình quản lý gói",
|
||||
"withFilters": "Thử điều chỉnh bộ lọc",
|
||||
"noItems": "Không tìm thấy mục quản lý gói nào",
|
||||
"withFilters": "Thử điều chỉnh bộ lọc của bạn",
|
||||
"noSources": "Thử thêm một nguồn trong tab Nguồn"
|
||||
},
|
||||
"count": "Tìm thấy {{count}} mục",
|
||||
|
|
@ -47,17 +47,18 @@
|
|||
"by": "bởi {{author}}",
|
||||
"from": "từ {{source}}",
|
||||
"externalComponents": "Chứa {{count}} thành phần bên ngoài",
|
||||
"externalComponents_plural": "Chứa {{count}} thành phần bên ngoài",
|
||||
"viewSource": "Xem",
|
||||
"viewOnSource": "Xem trên {{source}}"
|
||||
}
|
||||
},
|
||||
"sources": {
|
||||
"title": "Cấu Hình Nguồn Trình Quản Lý Gói",
|
||||
"description": "Thêm kho lưu trữ Git chứa các mục của trình quản lý gói. Các kho lưu trữ này sẽ được tải khi duyệt trình quản lý gói.",
|
||||
"title": "Cấu hình Nguồn Trình Quản Lý Gói",
|
||||
"description": "Thêm kho Git chứa các mục quản lý gói. Các kho này sẽ được tải khi duyệt trình quản lý gói.",
|
||||
"add": {
|
||||
"title": "Thêm Nguồn Mới",
|
||||
"urlPlaceholder": "URL kho lưu trữ Git (ví dụ: https://github.com/username/repo)",
|
||||
"urlFormats": "Định dạng được hỗ trợ: HTTPS (https://github.com/username/repo), SSH (git@github.com:username/repo.git) hoặc giao thức Git (git://github.com/username/repo.git)",
|
||||
"urlPlaceholder": "URL kho Git (ví dụ: https://github.com/username/repo)",
|
||||
"urlFormats": "Định dạng được hỗ trợ: HTTPS (https://github.com/username/repo), SSH (git@github.com:username/repo.git), hoặc giao thức Git (git://github.com/username/repo.git)",
|
||||
"namePlaceholder": "Tên hiển thị (tùy chọn, tối đa 20 ký tự)",
|
||||
"button": "Thêm Nguồn"
|
||||
},
|
||||
|
|
@ -69,14 +70,14 @@
|
|||
"remove": "Xóa nguồn"
|
||||
},
|
||||
"errors": {
|
||||
"emptyUrl": "URL không được để trống",
|
||||
"emptyUrl": "URL không thể để trống",
|
||||
"invalidUrl": "Định dạng URL không hợp lệ",
|
||||
"nonVisibleChars": "URL chứa ký tự không nhìn thấy ngoài khoảng trắng",
|
||||
"invalidGitUrl": "URL phải là URL kho lưu trữ Git hợp lệ (ví dụ: https://github.com/username/repo)",
|
||||
"duplicateUrl": "URL này đã có trong danh sách (khớp không phân biệt chữ hoa/thường và khoảng trắng)",
|
||||
"nameTooLong": "Tên không được vượt quá 20 ký tự",
|
||||
"nonVisibleCharsName": "Tên chứa ký tự không nhìn thấy ngoài khoảng trắng",
|
||||
"duplicateName": "Tên này đã được sử dụng (khớp không phân biệt chữ hoa/thường và khoảng trắng)",
|
||||
"nonVisibleChars": "URL chứa ký tự không nhìn thấy ngoài dấu cách",
|
||||
"invalidGitUrl": "URL phải là URL kho Git hợp lệ (ví dụ: https://github.com/username/repo)",
|
||||
"duplicateUrl": "URL này đã có trong danh sách (khớp không phân biệt chữ hoa/thường và dấu cách)",
|
||||
"nameTooLong": "Tên không được quá 20 ký tự",
|
||||
"nonVisibleCharsName": "Tên chứa ký tự không nhìn thấy ngoài dấu cách",
|
||||
"duplicateName": "Tên này đã được sử dụng (khớp không phân biệt chữ hoa/thường và dấu cách)",
|
||||
"maxSources": "Chỉ cho phép tối đa {{max}} nguồn"
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -28,25 +28,26 @@
|
|||
"clear": "清除标签({{count}}个)",
|
||||
"placeholder": "输入以搜索和选择标签...",
|
||||
"noResults": "未找到匹配的标签",
|
||||
"selected": "显示包含任一所选标签的项目(已选择{{count}}个)",
|
||||
"selected": "显示包含任一所选标签的项目(已选{{count}}个)",
|
||||
"clickToFilter": "点击标签以筛选项目"
|
||||
}
|
||||
},
|
||||
"items": {
|
||||
"empty": {
|
||||
"noItems": "未找到包管理器项目",
|
||||
"withFilters": "请尝试调整筛选条件",
|
||||
"noSources": "请尝试在源标签页中添加源"
|
||||
"withFilters": "尝试调整筛选条件",
|
||||
"noSources": "尝试在源标签页中添加源"
|
||||
},
|
||||
"count": "找到{{count}}个项目",
|
||||
"refresh": {
|
||||
"button": "刷新",
|
||||
"refreshing": "刷新中..."
|
||||
"refreshing": "正在刷新..."
|
||||
},
|
||||
"card": {
|
||||
"by": "作者:{{author}}",
|
||||
"from": "来源:{{source}}",
|
||||
"externalComponents": "包含{{count}}个外部组件",
|
||||
"externalComponents_plural": "包含{{count}}个外部组件",
|
||||
"viewSource": "查看",
|
||||
"viewOnSource": "在{{source}}上查看"
|
||||
}
|
||||
|
|
@ -63,10 +64,10 @@
|
|||
},
|
||||
"current": {
|
||||
"title": "当前源",
|
||||
"count": "{{current}}/{{max}}个(最多)",
|
||||
"empty": "未配置源。添加源以开始使用。",
|
||||
"count": "{{current}}/{{max}}个上限",
|
||||
"empty": "未配置任何源。添加一个源以开始。",
|
||||
"refresh": "刷新此源",
|
||||
"remove": "删除源"
|
||||
"remove": "移除源"
|
||||
},
|
||||
"errors": {
|
||||
"emptyUrl": "URL不能为空",
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@
|
|||
"placeholder": "搜尋套件管理器項目..."
|
||||
},
|
||||
"type": {
|
||||
"label": "按類型篩選:",
|
||||
"label": "依類型篩選:",
|
||||
"all": "所有類型",
|
||||
"mode": "模式",
|
||||
"mcp server": "MCP伺服器",
|
||||
|
|
@ -23,37 +23,38 @@
|
|||
"lastUpdated": "最後更新"
|
||||
},
|
||||
"tags": {
|
||||
"label": "按標籤篩選:",
|
||||
"label": "依標籤篩選:",
|
||||
"available": "可用{{count}}個",
|
||||
"clear": "清除標籤({{count}}個)",
|
||||
"placeholder": "輸入以搜尋和選擇標籤...",
|
||||
"noResults": "未找到符合的標籤",
|
||||
"selected": "顯示包含任一所選標籤的項目(已選擇{{count}}個)",
|
||||
"selected": "顯示包含任一所選標籤的項目(已選{{count}}個)",
|
||||
"clickToFilter": "點擊標籤以篩選項目"
|
||||
}
|
||||
},
|
||||
"items": {
|
||||
"empty": {
|
||||
"noItems": "未找到套件管理器項目",
|
||||
"withFilters": "請嘗試調整篩選條件",
|
||||
"noSources": "請嘗試在來源分頁中新增來源"
|
||||
"withFilters": "嘗試調整篩選條件",
|
||||
"noSources": "嘗試在來源分頁中新增來源"
|
||||
},
|
||||
"count": "找到{{count}}個項目",
|
||||
"refresh": {
|
||||
"button": "重新整理",
|
||||
"refreshing": "重新整理中..."
|
||||
"refreshing": "正在重新整理..."
|
||||
},
|
||||
"card": {
|
||||
"by": "作者:{{author}}",
|
||||
"from": "來源:{{source}}",
|
||||
"externalComponents": "包含{{count}}個外部元件",
|
||||
"externalComponents_plural": "包含{{count}}個外部元件",
|
||||
"viewSource": "檢視",
|
||||
"viewOnSource": "在{{source}}上檢視"
|
||||
}
|
||||
},
|
||||
"sources": {
|
||||
"title": "設定套件管理器來源",
|
||||
"description": "新增包含套件管理器項目的Git儲存庫。瀏覽套件管理器時將取得這些儲存庫。",
|
||||
"description": "新增包含套件管理器項目的Git儲存庫。瀏覽套件管理器時將擷取這些儲存庫。",
|
||||
"add": {
|
||||
"title": "新增來源",
|
||||
"urlPlaceholder": "Git儲存庫URL(例如:https://github.com/username/repo)",
|
||||
|
|
@ -63,8 +64,8 @@
|
|||
},
|
||||
"current": {
|
||||
"title": "目前來源",
|
||||
"count": "{{current}}/{{max}}個(最多)",
|
||||
"empty": "未設定來源。新增來源以開始使用。",
|
||||
"count": "{{current}}/{{max}}個上限",
|
||||
"empty": "未設定任何來源。新增一個來源以開始。",
|
||||
"refresh": "重新整理此來源",
|
||||
"remove": "移除來源"
|
||||
},
|
||||
|
|
|
|||
|
|
@ -1,34 +0,0 @@
|
|||
export type ComponentType = "mode" | "prompt" | "package" | "mcp server"
|
||||
|
||||
export interface ComponentMetadata {
|
||||
name: string
|
||||
description: string
|
||||
version: string
|
||||
type: ComponentType
|
||||
tags?: string[]
|
||||
author?: string
|
||||
authorUrl?: string
|
||||
}
|
||||
|
||||
export interface PackageManagerItem {
|
||||
name: string
|
||||
description: string
|
||||
type: ComponentType
|
||||
url: string
|
||||
repoUrl: string
|
||||
sourceName?: string
|
||||
author?: string
|
||||
authorUrl?: string
|
||||
tags?: string[]
|
||||
version?: string
|
||||
lastUpdated?: string
|
||||
sourceUrl?: string
|
||||
defaultBranch?: string
|
||||
path?: string
|
||||
items?: {
|
||||
type: ComponentType
|
||||
path: string
|
||||
metadata?: ComponentMetadata
|
||||
lastUpdated?: string
|
||||
}[]
|
||||
}
|
||||
Loading…
Add table
Reference in a new issue