diff --git a/apps/shinkai-desktop/src/pages/sheet-dashboard.tsx b/apps/shinkai-desktop/src/pages/sheet-dashboard.tsx index 760ddfc94..ccb612cdf 100644 --- a/apps/shinkai-desktop/src/pages/sheet-dashboard.tsx +++ b/apps/shinkai-desktop/src/pages/sheet-dashboard.tsx @@ -1,5 +1,6 @@ import { zodResolver } from '@hookform/resolvers/zod'; import { DialogClose } from '@radix-ui/react-dialog'; +import { useTranslation } from '@shinkai_network/shinkai-i18n'; import { useCreateSheet } from '@shinkai_network/shinkai-node-state/lib/mutations/createSheet/useCreateSheet'; import { useRemoveSheet } from '@shinkai_network/shinkai-node-state/lib/mutations/removeSheet/useRemoveSheet'; import { useGetUserSheets } from '@shinkai_network/shinkai-node-state/lib/queries/getUserSheets/useGetUserSheets'; @@ -35,7 +36,7 @@ import { SimpleLayout } from './layout/simple-layout'; const SheetDashboard = () => { const auth = useAuth((state) => state.auth); - + const { t } = useTranslation(); const { isSuccess, data, isPending } = useGetUserSheets({ nodeAddress: auth?.node_address ?? '', profile: auth?.profile ?? '', @@ -49,9 +50,8 @@ const SheetDashboard = () => { return ( 0 && } - title={'Shinkai Sheet'} + title={t('sheet.label')} >
{isSuccess && @@ -100,9 +100,11 @@ const SheetDashboard = () => {
-

No Sheets found.

+

+ {t('sheet.emptyStateTitle')} +

- Start connecting your data with Shinkai Sheet! + {t('sheet.emptyStateDescription')}

@@ -123,6 +125,7 @@ function SheetCard({ sheetName: string; sheetLastUpdated: string; }) { + const { t } = useTranslation(); const [deleteModalOpen, setDeleteModalOpen] = useState(false); return ( @@ -170,7 +173,7 @@ function SheetCard({ }} > - Delete Project + {t('sheet.actions.deleteProject')} @@ -191,6 +194,7 @@ type CreateSheetFormSchema = z.infer; function CreateSheetModal() { const auth = useAuth((state) => state.auth); + const { t } = useTranslation(); const shareFolderForm = useForm({ resolver: zodResolver(createSheetFormSchema), defaultValues: { @@ -226,11 +230,13 @@ function CreateSheetModal() { - Create Project + + {t('sheet.actions.createProject')} +
e.currentTarget.select() }} - label={'Project Name'} + label={t('sheet.form.projectName')} /> )} />
@@ -270,7 +276,7 @@ function RemoveSheetModal({ onOpenChange: (open: boolean) => void; }) { const auth = useAuth((state) => state.auth); - + const { t } = useTranslation(); const { mutateAsync: removeSheet, isPending } = useRemoveSheet({ onSuccess: () => { toast.success(`Sheet deleted successfully`); @@ -280,10 +286,11 @@ function RemoveSheetModal({ return ( - Delete this Project? + + {t('sheet.actions.deleteProjectConfirmationTitle')} + - This project will be deleted immediately. You can not undo this - action. + {t('sheet.actions.deleteProjectConfirmationDescription')} @@ -295,7 +302,7 @@ function RemoveSheetModal({ type="button" variant="ghost" > - Cancel + {t('common.cancel')}
diff --git a/apps/shinkai-desktop/src/pages/tools.tsx b/apps/shinkai-desktop/src/pages/tools.tsx index c2553be58..895f433ea 100644 --- a/apps/shinkai-desktop/src/pages/tools.tsx +++ b/apps/shinkai-desktop/src/pages/tools.tsx @@ -1,13 +1,10 @@ -import { - // JSShinkaiTool, - ShinkaiTool, -} from '@shinkai_network/shinkai-message-ts/models/SchemaTypes'; +import { useTranslation } from '@shinkai_network/shinkai-i18n'; +import { ShinkaiTool } from '@shinkai_network/shinkai-message-ts/models/SchemaTypes'; import { useUpdateTool } from '@shinkai_network/shinkai-node-state/lib/mutations/updateTool/useUpdateTool'; import { useGetToolsList } from '@shinkai_network/shinkai-node-state/lib/queries/getToolsList/useGetToolsList'; import { useGetToolsSearch } from '@shinkai_network/shinkai-node-state/lib/queries/getToolsSearch/useGetToolsSearch'; import { - Avatar, - AvatarFallback, + Badge, Button, buttonVariants, Input, @@ -31,7 +28,7 @@ import { SimpleLayout } from './layout/simple-layout'; export const Tools = () => { const auth = useAuth((state) => state.auth); - + const { t } = useTranslation(); const [searchQuery, setSearchQuery] = useState(''); const debouncedSearchQuery = useDebounce(searchQuery, 600); const isSearchQuerySynced = searchQuery === debouncedSearchQuery; @@ -68,11 +65,11 @@ export const Tools = () => { const { mutateAsync: updateTool } = useUpdateTool(); return ( - +
{ setSearchQuery(e.target.value); }} @@ -92,32 +89,28 @@ export const Tools = () => { variant="ghost" > - Clear Search + {t('common.clearSearch')} )}
-
+
{(isPending || !isSearchQuerySynced || isSearchToolListPending) && Array.from({ length: 8 }).map((_, idx) => (
-
+
- - -
-
- - +
+ + +
+ +
))} {!searchQuery && @@ -125,78 +118,72 @@ export const Tools = () => { toolsList?.map((tool) => (
-
- - {formatText(tool.name)}{' '} - -

+

+
+ + {formatText(tool.name)}{' '} + + {tool.author !== '@@official.shinkai' && ( + + {tool.author} + + )} +
+

{tool.description}

-
- - - {tool.author.replace(/@/g, '').charAt(0)} - - - {tool.author} -
-
- -
- - - Configure - - - - - { - await updateTool({ - toolKey: tool.tool_router_key, - toolType: tool.tool_type, - toolPayload: {} as ShinkaiTool, - isToolEnabled: !tool.enabled, - nodeAddress: auth?.node_address ?? '', - shinkaiIdentity: auth?.shinkai_identity ?? '', - profile: auth?.profile ?? '', - my_device_encryption_sk: - auth?.my_device_encryption_sk ?? '', - my_device_identity_sk: - auth?.my_device_identity_sk ?? '', - node_encryption_pk: - auth?.node_encryption_pk ?? '', - profile_encryption_sk: - auth?.profile_encryption_sk ?? '', - profile_identity_sk: - auth?.profile_identity_sk ?? '', - }); - }} - /> - - - - Enabled - - - -
+ + + {t('common.configure')} + + + + + { + await updateTool({ + toolKey: tool.tool_router_key, + toolType: tool.tool_type, + toolPayload: {} as ShinkaiTool, + isToolEnabled: !tool.enabled, + nodeAddress: auth?.node_address ?? '', + shinkaiIdentity: auth?.shinkai_identity ?? '', + profile: auth?.profile ?? '', + my_device_encryption_sk: + auth?.my_device_encryption_sk ?? '', + my_device_identity_sk: + auth?.my_device_identity_sk ?? '', + node_encryption_pk: auth?.node_encryption_pk ?? '', + profile_encryption_sk: + auth?.profile_encryption_sk ?? '', + profile_identity_sk: + auth?.profile_identity_sk ?? '', + }); + }} + /> + + + + {t('common.enabled')} + + + +
))} {searchQuery && @@ -204,78 +191,73 @@ export const Tools = () => { searchToolList?.map((tool) => (
-
- - {formatText(tool.name)}{' '} - -

+

+
+ + {formatText(tool.name)}{' '} + + {tool.author !== '@@official.shinkai' && ( + + {tool.author} + + )} +
+

{tool.description}

-
- - - {tool.author.replace(/@/g, '').charAt(0)} - - - {tool.author} -
-
- - - Configure - - - - - { - await updateTool({ - toolKey: tool.tool_router_key, - toolType: tool.tool_type, - toolPayload: {} as ShinkaiTool, - isToolEnabled: !tool.enabled, - nodeAddress: auth?.node_address ?? '', - shinkaiIdentity: auth?.shinkai_identity ?? '', - profile: auth?.profile ?? '', - my_device_encryption_sk: - auth?.my_device_encryption_sk ?? '', - my_device_identity_sk: - auth?.my_device_identity_sk ?? '', - node_encryption_pk: - auth?.node_encryption_pk ?? '', - profile_encryption_sk: - auth?.profile_encryption_sk ?? '', - profile_identity_sk: - auth?.profile_identity_sk ?? '', - }); - }} - /> - - - - Enabled - - - - -
+ + + {t('common.configure')} + + + + + { + await updateTool({ + toolKey: tool.tool_router_key, + toolType: tool.tool_type, + toolPayload: {} as ShinkaiTool, + isToolEnabled: !tool.enabled, + nodeAddress: auth?.node_address ?? '', + shinkaiIdentity: auth?.shinkai_identity ?? '', + profile: auth?.profile ?? '', + my_device_encryption_sk: + auth?.my_device_encryption_sk ?? '', + my_device_identity_sk: + auth?.my_device_identity_sk ?? '', + node_encryption_pk: auth?.node_encryption_pk ?? '', + profile_encryption_sk: + auth?.profile_encryption_sk ?? '', + profile_identity_sk: + auth?.profile_identity_sk ?? '', + }); + }} + /> + + + + {t('common.enabled')} + + + +
))} {searchQuery && @@ -283,7 +265,7 @@ export const Tools = () => { searchToolList?.length === 0 && (

- No tools found for the search query + {t('tools.emptyState.search.text')}

)} diff --git a/libs/shinkai-i18n/locales/en-US.json b/libs/shinkai-i18n/locales/en-US.json index f0c403eda..938c827b8 100644 --- a/libs/shinkai-i18n/locales/en-US.json +++ b/libs/shinkai-i18n/locales/en-US.json @@ -311,6 +311,9 @@ "common": { "search": "Search", "next": "Next", + "enabled": "Enabled", + "configure": "Configure", + "create": "Create", "restore": "Restore", "retry": "Retry", "copy": "Copy", @@ -354,7 +357,7 @@ "signUpShinkaiHosting": "Sign up For Shinkai Hosting", "quickConnect": "Quick Connect", "alreadyHaveNode": "Already have a Node?", - "shinkaiPrivate": "Shinkai Private (Local)", + "shinkaiPrivate": "Setup Your Local AI (Shinkai)", "seeOptions": "See Options", "termsAndConditionsText": "I agree to our Terms of Service and Privacy Policy", "recommended": "Recommended", @@ -363,7 +366,8 @@ "unselectAll": "Unselect All", "done": "Done", "resetFilters": "Reset Filters", - "folderLocation": "Folder Location:" + "folderLocation": "Folder Location:", + "installed": "Installed" }, "quickConnection": { "label": "Quick Connection", @@ -449,6 +453,28 @@ "registerDesktopInstallation": "Error registering your Shinkai Desktop installation. Please ensure your EVM Address was not used previously to register a different installation." } }, + "sheet": { + "label": "Shinkai Sheet", + "emptyStateTitle": "No Sheets found.", + "emptyStateDescription": "Start connecting your data with Shinkai Sheet!", + "actions": { + "createProject": "Create Project", + "deleteProject": "Delete Project", + "deleteProjectConfirmationTitle": "Delete this Project?", + "deleteProjectConfirmationDescription": "This project will be deleted immediately. You can not undo this action." + }, + "form": { + "projectName": "Project Name" + } + }, + "tools": { + "label": "Shinkai Tools", + "emptyState": { + "search": { + "text": "No tools found for the search query" + } + } + }, "disconnect": { "modalTitle": "Disconnect Shinkai", "modalDescription": "Are you sure you want to disconnect? This will permanently delete your data", @@ -466,4 +492,4 @@ "description": "You have received a response from {{inboxName}}" } } -} +} \ No newline at end of file diff --git a/libs/shinkai-i18n/locales/es-ES.json b/libs/shinkai-i18n/locales/es-ES.json index 1051ec1fb..fba254d2a 100644 --- a/libs/shinkai-i18n/locales/es-ES.json +++ b/libs/shinkai-i18n/locales/es-ES.json @@ -76,14 +76,17 @@ "clearSearch": "Limpiar búsqueda", "clickToUpload": "Haz clic para subir o arrastra y suelta", "comingSoon": "Próximamente - Finales de Agosto", + "configure": "Configurar", "connect": "Conectar", "continue": "Continuar", "copy": "Copiar", + "create": "Crear", "delete": "Eliminar", "disconnect": "Desconectar", "done": "Hecho", "edit": "Editar", "editMessage": "Editar mensaje", + "enabled": "Activado", "file": "Archivo", "fileWithCount_one": "{{count}} Archivo", "fileWithCount_other": "{{count}} Archivos", @@ -95,6 +98,7 @@ "getStarted": "Empezar", "iAgree": "Estoy de Acuerdo", "install": "Instalar", + "installed": "Instalado", "logInShinkaiHosting": "Iniciar Sesión en Shinkai Hosting", "moreOptions": "Más Opciones", "next": "Siguiente", @@ -341,6 +345,20 @@ "label": "Barra lateral" } }, + "sheet": { + "actions": { + "createProject": "Crear Proyecto", + "deleteProject": "Eliminar Proyecto", + "deleteProjectConfirmationDescription": "Este proyecto se eliminará inmediatamente. No podrás deshacer esta acción.", + "deleteProjectConfirmationTitle": "¿Eliminar este Proyecto?" + }, + "emptyStateDescription": "¡Comienza a conectar tus datos con Hoja Shinkai!", + "emptyStateTitle": "No se encontraron hojas.", + "form": { + "projectName": "Nombre del Proyecto" + }, + "label": "Hoja Shinkai" + }, "shinkaiNode": { "manager": "Gestor de Nodos de Shinkai", "models": { @@ -348,20 +366,20 @@ "modelInstalled": "Error al instalar el modelo {{modelName}}", "modelRemoved": "Error al eliminar el modelo {{modelName}}" }, - "poweredByOllama": "Desarrollado por Ollama", - "success": { - "modelInstalled": "Modelo {{modelName}} instalado exitosamente", - "modelRemoved": "Modelo {{modelName}} eliminado exitosamente" - }, "labels": { + "bookPages": "Hasta {{pages}} páginas de contenido", "models": "Modelos", "quality": "Calidad", - "tags": "Etiquetas", - "bookPages": "Hasta {{pages}} páginas de contenido", "showAll": "Mostrar todos los modelos", "showRecommended": "Mostrar modelos recomendados", - "visionCapability": "Imagen a Texto", - "textCapability": "Generación de Texto" + "tags": "Etiquetas", + "textCapability": "Generación de Texto", + "visionCapability": "Imagen a Texto" + }, + "poweredByOllama": "Desarrollado por Ollama", + "success": { + "modelInstalled": "Modelo {{modelName}} instalado exitosamente", + "modelRemoved": "Modelo {{modelName}} eliminado exitosamente" } }, "nodeAddress": "Dirección del Nodo", @@ -397,6 +415,14 @@ "browse": "Explorar Suscripciones Públicas", "label": "Mis Suscripciones" }, + "tools": { + "emptyState": { + "search": { + "text": "No se encontraron herramientas para la consulta de búsqueda" + } + }, + "label": "Herramientas Shinkai" + }, "vectorFs": { "actions": { "addNew": "Añadir nuevo", @@ -466,4 +492,4 @@ "workflowPlayground": { "label": "Área de Juego de Flujo de Trabajo" } -} +} \ No newline at end of file diff --git a/libs/shinkai-i18n/locales/id-ID.json b/libs/shinkai-i18n/locales/id-ID.json index ec1ad8e80..b281f01ef 100644 --- a/libs/shinkai-i18n/locales/id-ID.json +++ b/libs/shinkai-i18n/locales/id-ID.json @@ -76,14 +76,17 @@ "clearSearch": "Hapus Pencarian", "clickToUpload": "Klik untuk mengunggah atau seret dan lepas", "comingSoon": "Segera hadir - Akhir Agustus", + "configure": "Konfigurasi", "connect": "Hubungkan", "continue": "Lanjutkan", "copy": "Salin", + "create": "Buat", "delete": "Hapus", "disconnect": "Putuskan Koneksi", "done": "Selesai", "edit": "Edit", "editMessage": "Edit Pesan", + "enabled": "Diaktifkan", "file": "Berkas", "fileWithCount_one": "{{count}} Berkas", "fileWithCount_other": "{{count}} Berkas", @@ -95,6 +98,7 @@ "getStarted": "Mulai", "iAgree": "Saya Setuju", "install": "Instal", + "installed": "Terinstal", "logInShinkaiHosting": "Masuk ke Hosting Shinkai", "moreOptions": "Opsi Lainnya", "next": "Berikutnya", @@ -341,6 +345,20 @@ "label": "Sidebar" } }, + "sheet": { + "actions": { + "createProject": "Buat Proyek", + "deleteProject": "Hapus Proyek", + "deleteProjectConfirmationDescription": "Proyek ini akan segera dihapus. Anda tidak dapat mengurungkan tindakan ini.", + "deleteProjectConfirmationTitle": "Hapus Proyek ini?" + }, + "emptyStateDescription": "Mulai menghubungkan data Anda dengan Lembar Shinkai!", + "emptyStateTitle": "Tidak ada Lembar ditemukan.", + "form": { + "projectName": "Nama Proyek" + }, + "label": "Lembar Shinkai" + }, "shinkaiNode": { "manager": "Manajer Node Shinkai", "models": { @@ -348,20 +366,20 @@ "modelInstalled": "Kesalahan saat menginstal model {{modelName}}", "modelRemoved": "Kesalahan saat menghapus model {{modelName}}" }, - "poweredByOllama": "Didukung oleh Ollama", - "success": { - "modelInstalled": "Model {{modelName}} berhasil diinstal", - "modelRemoved": "Model {{modelName}} berhasil dihapus" - }, "labels": { + "bookPages": "Hingga {{pages}} Halaman Konten", "models": "Model", "quality": "Kualitas", - "tags": "Tag", - "bookPages": "Hingga {{pages}} Halaman Konten", "showAll": "Tampilkan semua model", "showRecommended": "Tampilkan model yang direkomendasikan", - "visionCapability": "Gambar ke Teks", - "textCapability": "Generasi Teks" + "tags": "Tag", + "textCapability": "Generasi Teks", + "visionCapability": "Gambar ke Teks" + }, + "poweredByOllama": "Didukung oleh Ollama", + "success": { + "modelInstalled": "Model {{modelName}} berhasil diinstal", + "modelRemoved": "Model {{modelName}} berhasil dihapus" } }, "nodeAddress": "Alamat Node", @@ -397,6 +415,14 @@ "browse": "Telusuri Langganan Publik", "label": "Langganan Saya" }, + "tools": { + "emptyState": { + "search": { + "text": "Tidak ada alat ditemukan untuk kueri pencarian" + } + }, + "label": "Alat-alat Shinkai" + }, "vectorFs": { "actions": { "addNew": "Tambah Baru", @@ -466,4 +492,4 @@ "workflowPlayground": { "label": "Taman Bermain Alur Kerja" } -} +} \ No newline at end of file diff --git a/libs/shinkai-i18n/locales/ja-JP.json b/libs/shinkai-i18n/locales/ja-JP.json index 73e87e032..312750725 100644 --- a/libs/shinkai-i18n/locales/ja-JP.json +++ b/libs/shinkai-i18n/locales/ja-JP.json @@ -76,14 +76,17 @@ "clearSearch": "検索をクリア", "clickToUpload": "クリックしてアップロードするか、ドラッグアンドドロップ", "comingSoon": "近日公開 - 8月末", + "configure": "設定", "connect": "接続", "continue": "続行", "copy": "コピー", + "create": "作成する", "delete": "削除", "disconnect": "切断", "done": "完了", "edit": "編集", "editMessage": "メッセージを編集", + "enabled": "有効", "file": "ファイル", "fileWithCount_one": "{{count}} ファイル", "fileWithCount_other": "{{count}} ファイル", @@ -95,6 +98,7 @@ "getStarted": "開始", "iAgree": "同意します", "install": "インストール", + "installed": "インストール済み", "logInShinkaiHosting": "Shinkai Hostingにログイン", "moreOptions": "その他のオプション", "next": "次へ", @@ -341,6 +345,20 @@ "label": "サイドバー" } }, + "sheet": { + "actions": { + "createProject": "プロジェクトを作成", + "deleteProject": "プロジェクトを削除", + "deleteProjectConfirmationDescription": "このプロジェクトはすぐに削除されます。この操作は元に戻すことができません。", + "deleteProjectConfirmationTitle": "このプロジェクトを削除しますか?" + }, + "emptyStateDescription": "データを深海シートに接続し始めましょう!", + "emptyStateTitle": "シートが見つかりません。", + "form": { + "projectName": "プロジェクト名" + }, + "label": "深海シート" + }, "shinkaiNode": { "manager": "Shinkaiノードマネージャー", "models": { @@ -348,20 +366,20 @@ "modelInstalled": "モデル {{modelName}} のインストール中にエラーが発生しました", "modelRemoved": "モデル {{modelName}} の削除中にエラーが発生しました" }, - "poweredByOllama": "Ollamaの提供", - "success": { - "modelInstalled": "モデル {{modelName}} が正常にインストールされました", - "modelRemoved": "モデル {{modelName}} が正常に削除されました" - }, "labels": { + "bookPages": "最大{{pages}}ページのコンテンツ", "models": "モデル", "quality": "品質", - "tags": "タグ", - "bookPages": "最大{{pages}}ページのコンテンツ", "showAll": "すべてのモデルを表示", "showRecommended": "おすすめのモデルを表示", - "visionCapability": "画像からテキストへ", - "textCapability": "テキスト生成" + "tags": "タグ", + "textCapability": "テキスト生成", + "visionCapability": "画像からテキストへ" + }, + "poweredByOllama": "Ollamaの提供", + "success": { + "modelInstalled": "モデル {{modelName}} が正常にインストールされました", + "modelRemoved": "モデル {{modelName}} が正常に削除されました" } }, "nodeAddress": "ノードアドレス", @@ -397,6 +415,14 @@ "browse": "パブリックサブスクリプションを閲覧", "label": "マイサブスクリプション" }, + "tools": { + "emptyState": { + "search": { + "text": "検索クエリに一致するツールは見つかりませんでした" + } + }, + "label": "深海ツール" + }, "vectorFs": { "actions": { "addNew": "新規追加", @@ -466,4 +492,4 @@ "workflowPlayground": { "label": "ワークフロープレイグラウンド" } -} +} \ No newline at end of file diff --git a/libs/shinkai-i18n/locales/zh-CN.json b/libs/shinkai-i18n/locales/zh-CN.json index 92ef4791e..4ccd1951d 100644 --- a/libs/shinkai-i18n/locales/zh-CN.json +++ b/libs/shinkai-i18n/locales/zh-CN.json @@ -76,14 +76,17 @@ "clearSearch": "清除搜索", "clickToUpload": "点击上传或拖放", "comingSoon": "即将到来 - 八月底", + "configure": "配置", "connect": "连接", "continue": "继续", "copy": "复制", + "create": "创建", "delete": "删除", "disconnect": "断开连接", "done": "完成", "edit": "编辑", "editMessage": "编辑消息", + "enabled": "已启用", "file": "文件", "fileWithCount_one": "{{count}} 个文件", "fileWithCount_other": "{{count}} 个文件", @@ -95,6 +98,7 @@ "getStarted": "开始", "iAgree": "我同意", "install": "安装", + "installed": "已安装", "logInShinkaiHosting": "登录Shinkai Hosting", "moreOptions": "更多选项", "next": "下一个", @@ -341,6 +345,20 @@ "label": "侧边栏" } }, + "sheet": { + "actions": { + "createProject": "创建项目", + "deleteProject": "删除项目", + "deleteProjectConfirmationDescription": "此项目将立即被删除。您无法撤销此操作。", + "deleteProjectConfirmationTitle": "删除此项目?" + }, + "emptyStateDescription": "开始使用深海表格连接您的数据!", + "emptyStateTitle": "未找到表格。", + "form": { + "projectName": "项目名称" + }, + "label": "深海表格" + }, "shinkaiNode": { "manager": "Shinkai 节点管理器", "models": { @@ -348,20 +366,20 @@ "modelInstalled": "安装模型 {{modelName}} 时出错", "modelRemoved": "移除模型 {{modelName}} 时出错" }, - "poweredByOllama": "由 Ollama 提供支持", - "success": { - "modelInstalled": "成功安装模型 {{modelName}}", - "modelRemoved": "成功移除模型 {{modelName}}" - }, "labels": { + "bookPages": "最多 {{pages}} 页内容", "models": "模型", "quality": "质量", - "tags": "标签", - "bookPages": "最多 {{pages}} 页内容", "showAll": "显示所有模型", "showRecommended": "显示推荐模型", - "visionCapability": "图像转文本", - "textCapability": "文本生成" + "tags": "标签", + "textCapability": "文本生成", + "visionCapability": "图像转文本" + }, + "poweredByOllama": "由 Ollama 提供支持", + "success": { + "modelInstalled": "成功安装模型 {{modelName}}", + "modelRemoved": "成功移除模型 {{modelName}}" } }, "nodeAddress": "节点地址", @@ -397,6 +415,14 @@ "browse": "浏览公共订阅", "label": "我的订阅" }, + "tools": { + "emptyState": { + "search": { + "text": "未找到与搜索查询匹配的工具" + } + }, + "label": "深海工具" + }, "vectorFs": { "actions": { "addNew": "添加新文件", @@ -466,4 +492,4 @@ "workflowPlayground": { "label": "工作流程游乐场" } -} +} \ No newline at end of file diff --git a/libs/shinkai-i18n/src/lib/default/index.ts b/libs/shinkai-i18n/src/lib/default/index.ts index 7c30de80e..be81b1a95 100644 --- a/libs/shinkai-i18n/src/lib/default/index.ts +++ b/libs/shinkai-i18n/src/lib/default/index.ts @@ -333,6 +333,9 @@ export default { common: { search: 'Search', next: 'Next', + enabled: 'Enabled', + configure: 'Configure', + create: 'Create', restore: 'Restore', retry: 'Retry', copy: 'Copy', @@ -481,6 +484,29 @@ export default { 'Error registering your Shinkai Desktop installation. Please ensure your EVM Address was not used previously to register a different installation.', }, }, + sheet: { + label: 'Shinkai Sheet', + emptyStateTitle: 'No Sheets found.', + emptyStateDescription: 'Start connecting your data with Shinkai Sheet!', + actions: { + createProject: 'Create Project', + deleteProject: 'Delete Project', + deleteProjectConfirmationTitle: 'Delete this Project?', + deleteProjectConfirmationDescription: + 'This project will be deleted immediately. You can not undo this action.', + }, + form: { + projectName: 'Project Name', + }, + }, + tools: { + label: 'Shinkai Tools', + emptyState: { + search: { + text: 'No tools found for the search query', + }, + }, + }, disconnect: { modalTitle: 'Disconnect Shinkai', modalDescription: diff --git a/package-lock.json b/package-lock.json index 884507205..71a4641bb 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@shinkai/source", - "version": "0.7.35", + "version": "0.7.36", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@shinkai/source", - "version": "0.7.35", + "version": "0.7.36", "hasInstallScript": true, "license": "SEE LICENSE IN LICENSE", "workspaces": [ @@ -28100,9 +28100,9 @@ ] }, "node_modules/micromatch": { - "version": "4.0.7", - "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.7.tgz", - "integrity": "sha512-LPP/3KorzCwBxfeUuZmaR6bG2kdeHSbe0P2tY3FLRU4vYrjYz5hI4QZwV0njUx3jeuKe67YukQ1LSPZBKDqO/Q==", + "version": "4.0.8", + "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.8.tgz", + "integrity": "sha512-PXwfBhYu0hBCPw8Dn0E+WDYb7af3dSLVWKi3HGv84IdF4TyFoC0ysxFd0Goxw7nSv4T/PzEJQxsYsEiFCKo2BA==", "dependencies": { "braces": "^3.0.3", "picomatch": "^2.3.1" diff --git a/package.json b/package.json index d851b220c..fe32979b6 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@shinkai/source", - "version": "0.7.35", + "version": "0.7.36", "license": "SEE LICENSE IN LICENSE", "files": [ "LICENSE"