25 MB lightweight cross-platform database client for 100+ databases, including MySQL, PostgreSQL, SQLite, Redis, MongoDB, DuckDB, SQL Server, and Dameng. Built-in AI, MCP Server, CLI, desktop and Docker. | 轻量级跨平台数据库管理工具,支持 MySQL、PostgreSQL、SQLite、Redis、MongoDB、达梦等 100+ 数据库,提供桌面端、Docker、CLI、内置 AI 助手和 MCP。
TypeScript aicliclickhousedatabasedatabase-clientdatabase-managementdockerguimcpmongodbmysqlpostgresqlredisrustsql-serversqlitetaurivue
fix: shorten icon theme copy by platform
zipg00d78d8b6ab2
diff --git a/apps/desktop/src/components/editor/EditorSettingsDialog.vue b/apps/desktop/src/components/editor/EditorSettingsDialog.vueindex 21514dfbcf..8adc1f9398 100644--- a/apps/desktop/src/components/editor/EditorSettingsDialog.vue+++ b/apps/desktop/src/components/editor/EditorSettingsDialog.vue@@ -90,7 +90,7 @@ import { executableStatementRangeCacheForDoc, executableStatementRangeStartingAtimport { EMPTY_TABLE_COLUMN_TEMPLATE_DATA_TYPE, parseTableColumnTemplateFields, TABLE_COLUMN_TEMPLATE_DATABASE_TYPES } from "@/lib/table/tableColumnTemplates";import { DEFAULT_SQL_VARIABLE_SYNTAX_TOGGLES, normalizeSqlVariableSyntaxOverrides, SQL_VARIABLE_SYNTAX_DATABASE_TYPES, SQL_VARIABLE_SYNTAX_KEYS, SQL_VARIABLE_SYNTAX_TOKENS, type SqlVariableSyntaxOverrides, type SqlVariableSyntaxToggles } from "@/lib/sql/sqlVariableSyntax";import { buildMcpCodexConfig, buildMcpJsonConfig, buildMcpOpenCodeConfig, buildMcpVsCodeConfig, type McpEnvEntry, type McpLaunchConfig } from "@/lib/mcp/mcpConfigTemplates";-import { isWindows } from "@/lib/backend/platform";+import { isMacOS, isWindows } from "@/lib/backend/platform";import { combineDataTypeForDatabase, dataTypeLengthInputValue, getDataTypeOptions, getDefaultLengthForType, isDataTypeLengthDisabled, splitDataType } from "@/lib/table/tableStructureEditorState";import { useToast } from "@/composables/useToast";import type { DatabaseType, SqlSnippet } from "@/types/database";@@ -437,6 +437,7 @@ const iconThemeDescRef = {default: ref<HTMLElement | null>(null),black: ref<HTMLElement | null>(null),};+const iconThemeBlackDescriptionText = computed(() => (isMacOS() ? t("settings.iconThemeBlackDescriptionMac") : t("settings.iconThemeBlackDescription")));const layoutDescTruncated = { separated: ref<boolean>(false), classic: ref<boolean>(false) };const layoutDescRefs = {separated: ref<HTMLElement | null>(null),@@ -3101,11 +3102,11 @@ onUnmounted(cleanupPreviewEditor);<TooltipTrigger as-child><div class="w-full min-w-0 text-left"><div class="text-sm font-medium">{{ t("settings.iconThemeBlack") }}</div>- <div :ref="(el) => setIconThemeDescRef('black', el)" class="text-xs text-muted-foreground truncate">{{ t("settings.iconThemeBlackDescription") }}</div>+ <div :ref="(el) => setIconThemeDescRef('black', el)" class="text-xs text-muted-foreground truncate">{{ iconThemeBlackDescriptionText }}</div></div></TooltipTrigger><TooltipContent v-if="iconThemeDescTruncated.black.value" class="max-w-[320px] text-xs leading-relaxed">- {{ t("settings.iconThemeBlackDescription") }}+ {{ iconThemeBlackDescriptionText }}</TooltipContent></Tooltip></TooltipProvider>diff --git a/apps/desktop/src/i18n/locales/en.ts b/apps/desktop/src/i18n/locales/en.tsindex c8ee18c846..838b09f5a2 100644--- a/apps/desktop/src/i18n/locales/en.ts+++ b/apps/desktop/src/i18n/locales/en.ts@@ -2981,7 +2981,8 @@ export default {iconThemeDefault: "Default",iconThemeDefaultDescription: "Use the color DBX app icon.",iconThemeBlack: "Black",- iconThemeBlackDescription: "Use the black in-app logo. On macOS, the Dock icon keeps the color mark on a black background, while the menu bar icon follows the system appearance.",+ iconThemeBlackDescription: "Use the black DBX logo in the app.",+ iconThemeBlackDescriptionMac: "Use the black logo in the app; Dock uses a black plate, menu bar follows the system.",showTrayIcon: "Show tray/menu bar icon",showTrayIconDescription: "When disabled, no icon is shown, but closing the window still hides DBX in the background as before.",quitOnClose: "Quit when closing window",diff --git a/apps/desktop/src/i18n/locales/es.ts b/apps/desktop/src/i18n/locales/es.tsindex 075da9bb07..c613f10989 100644--- a/apps/desktop/src/i18n/locales/es.ts+++ b/apps/desktop/src/i18n/locales/es.ts@@ -2875,7 +2875,8 @@ export default withEnglishFallback({iconThemeDefault: "Predeterminado",iconThemeDefaultDescription: "Usar el icono de color de DBX.",iconThemeBlack: "Negro",- iconThemeBlackDescription: "Usa el logo negro dentro de la aplicación. En macOS, el Dock conserva la marca de color sobre un fondo negro y la barra de menús sigue la apariencia del sistema.",+ iconThemeBlackDescription: "Usa el logo negro de DBX en la aplicación.",+ iconThemeBlackDescriptionMac: "Usa el logo negro en la app; Dock usa fondo negro y la barra de menús sigue el sistema.",showTrayIcon: "Mostrar icono en bandeja/barra de menú",showTrayIconDescription: "Si está desactivado, no se muestra el icono, pero cerrar la ventana sigue ocultando DBX en segundo plano como antes.",quitOnClose: "Salir al cerrar la ventana",diff --git a/apps/desktop/src/i18n/locales/it.ts b/apps/desktop/src/i18n/locales/it.tsindex 57aa7c445a..4fece9199c 100644--- a/apps/desktop/src/i18n/locales/it.ts+++ b/apps/desktop/src/i18n/locales/it.ts@@ -2873,7 +2873,8 @@ export default withEnglishFallback({iconThemeDefault: "Predefinito",iconThemeDefaultDescription: "Utilizza l'icona colorata dell'app DBX.",iconThemeBlack: "Nero",- iconThemeBlackDescription: "Usa il logo nero nell'app. Su macOS, il Dock mantiene il marchio colorato su uno sfondo nero e l'icona della barra dei menu segue il sistema.",+ iconThemeBlackDescription: "Usa il logo DBX nero nell'app.",+ iconThemeBlackDescriptionMac: "Usa il logo nero nell'app; il Dock usa una base nera e la barra menu segue il sistema.",showTrayIcon: "Mostra icona nella barra delle applicazioni/menu",showTrayIconDescription: "Se disattivato, non viene mostrata alcuna icona, ma la chiusura della finestra nasconderà comunque DBX in background.",quitOnClose: "Esci alla chiusura della finestra",diff --git a/apps/desktop/src/i18n/locales/ja.ts b/apps/desktop/src/i18n/locales/ja.tsindex 8ea57f0e93..68a77e2aee 100644--- a/apps/desktop/src/i18n/locales/ja.ts+++ b/apps/desktop/src/i18n/locales/ja.ts@@ -2874,7 +2874,8 @@ export default withEnglishFallback({iconThemeDefault: "デフォルト",iconThemeDefaultDescription: "カラーDBXアプリアイコンを使用。",iconThemeBlack: "黒",- iconThemeBlackDescription: "アプリ内ロゴは黒いマークを使用します。macOSのDockは黒い背景にカラーマークを表示し、メニューバーアイコンはシステム表示に従います。",+ iconThemeBlackDescription: "アプリ内で黒いDBXロゴを使用。",+ iconThemeBlackDescriptionMac: "アプリ内は黒いロゴ、Dockは黒い背景、メニューバーはシステムに従います。",showTrayIcon: "トレイ/メニューバーアイコンを表示",showTrayIconDescription: "無効時はアイコンが表示されませんが、ウィンドウを閉じると従来通りDBXはバックグラウンドに隠れます。",quitOnClose: "ウィンドウを閉じるときに終了",diff --git a/apps/desktop/src/i18n/locales/pt-BR.ts b/apps/desktop/src/i18n/locales/pt-BR.tsindex ae58428624..3c7a7c9060 100644--- a/apps/desktop/src/i18n/locales/pt-BR.ts+++ b/apps/desktop/src/i18n/locales/pt-BR.ts@@ -2875,7 +2875,8 @@ export default withEnglishFallback({iconThemeDefault: "Padrão",iconThemeDefaultDescription: "Usar o ícone colorido do app DBX.",iconThemeBlack: "Preto",- iconThemeBlackDescription: "Use o logo preto dentro do aplicativo. No macOS, o Dock mantém a marca colorida sobre fundo preto e o ícone da barra de menus segue o sistema.",+ iconThemeBlackDescription: "Use o logo preto da DBX no app.",+ iconThemeBlackDescriptionMac: "No app, usa o logo preto; o Dock usa base preta e a barra de menus segue o sistema.",showTrayIcon: "Mostrar ícone na bandeja/barra de menus",showTrayIconDescription: "Quando desativado, nenhum ícone é exibido, mas fechar a janela ainda oculta o DBX em segundo plano como antes.",quitOnClose: "Sair ao fechar a janela",diff --git a/apps/desktop/src/i18n/locales/zh-CN.ts b/apps/desktop/src/i18n/locales/zh-CN.tsindex 516b483503..6f37c4656e 100644--- a/apps/desktop/src/i18n/locales/zh-CN.ts+++ b/apps/desktop/src/i18n/locales/zh-CN.ts@@ -2980,7 +2980,8 @@ export default withEnglishFallback({iconThemeDefault: "默认",iconThemeDefaultDescription: "使用彩色 DBX 应用图标。",iconThemeBlack: "黑色",- iconThemeBlackDescription: "应用内 Logo 使用黑色标识;macOS Dock 使用纯黑底板和彩色标识,菜单栏图标仍跟随系统外观。",+ iconThemeBlackDescription: "应用内使用黑色 DBX 标识。",+ iconThemeBlackDescriptionMac: "应用内使用黑色标识;Dock 使用黑色底板,菜单栏跟随系统。",showTrayIcon: "显示系统托盘/菜单栏图标",showTrayIconDescription: "关闭后不显示图标,但关闭窗口仍会像之前一样隐藏到后台。",quitOnClose: "关闭窗口时退出程序",diff --git a/apps/desktop/src/i18n/locales/zh-TW.ts b/apps/desktop/src/i18n/locales/zh-TW.tsindex a5788e7f41..30b7557543 100644--- a/apps/desktop/src/i18n/locales/zh-TW.ts+++ b/apps/desktop/src/i18n/locales/zh-TW.ts@@ -2729,7 +2729,8 @@ export default withEnglishFallback({iconThemeDefault: "預設",iconThemeDefaultDescription: "使用彩色 DBX 應用程式圖示。",iconThemeBlack: "黑色",- iconThemeBlackDescription: "應用程式內 Logo 使用黑色標誌;macOS Dock 使用純黑底板和彩色標誌,選單列圖示仍跟隨系統外觀。",+ iconThemeBlackDescription: "應用程式內使用黑色 DBX 標誌。",+ iconThemeBlackDescriptionMac: "應用程式內使用黑色標誌;Dock 使用黑色底板,選單列跟隨系統。",showTrayIcon: "顯示系統匣/選單欄圖示",showTrayIconDescription: "關閉後不顯示圖示,但關閉視窗仍會像之前一樣隱藏到後台。",quitOnClose: "關閉視窗時退出程式",