Skip to content

armgit / dbx

Public Imported from GitHub
0

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。

fix(driver): generalize runtime connection wording

OOMEcho708d45cea9c5
diff --git a/apps/desktop/src/i18n/__tests__/featureMessages.spec.ts b/apps/desktop/src/i18n/__tests__/featureMessages.spec.ts
index 068399f85f..3773bbba93 100644
--- a/apps/desktop/src/i18n/__tests__/featureMessages.spec.ts
+++ b/apps/desktop/src/i18n/__tests__/featureMessages.spec.ts
@@ -54,6 +54,7 @@ const FEATURE_MESSAGES: FeatureMessages[] = [
},
{ feature: "offline Agent export", keys: ["driverStore.offlineExport*"] },
{ feature: "offline Agent import", keys: ["driverStore.offlineImport*", "driverStore.offlineJreImport*"] },
+ { feature: "driver runtime connection-owned message (#10412)", keys: ["driverStore.runtimeControlConnectionOwned"], translated: true },
{ feature: "multi-database execution and export progress", keys: ["multiDbExecute.*", "exportProgress.*"], locales: ["en", "zh-CN"] },
{ feature: "process list batch terminate", keys: under("processList", ["batchTerminate", "batchTerminateTitle", "batchTerminateConfirm", "batchTerminateRunning", "batchTerminateSummary"]) },
{ feature: "cached result fallback", keys: ["grid.cachedResultUnavailable", "grid.reexecuteQuery"] },
diff --git a/apps/desktop/src/i18n/locales/az.ts b/apps/desktop/src/i18n/locales/az.ts
index a84346a79b..4a1e852cd2 100644
--- a/apps/desktop/src/i18n/locales/az.ts
+++ b/apps/desktop/src/i18n/locales/az.ts
@@ -8504,7 +8504,7 @@ export default withEnglishFallback({
runtimeActions: "Əməliyyatlar",
runtimeStop: "Dayandır",
runtimeRestart: "Yenidən başlat",
- runtimeControlConnectionOwned: "Bu icra mühitini dayandırmaq üçün verilənlər bazası əlaqəsini bağlayın.",
+ runtimeControlConnectionOwned: "Bu icra mühitini dayandırmaq üçün əlaqəli bağlantını bağlayın.",
runtimeStopSuccess: "{label} icra mühiti dayandırıldı",
runtimeStopFailed: "{label} dayandırıla bilmədi: {error}",
runtimeRestartSuccess: "{label} icra mühiti yenidən başladıldı",
diff --git a/apps/desktop/src/i18n/locales/en.ts b/apps/desktop/src/i18n/locales/en.ts
index 97bd86fe49..298882f678 100644
--- a/apps/desktop/src/i18n/locales/en.ts
+++ b/apps/desktop/src/i18n/locales/en.ts
@@ -9219,7 +9219,7 @@ export default {
runtimeActions: "Actions",
runtimeStop: "Stop",
runtimeRestart: "Restart",
- runtimeControlConnectionOwned: "Close the database connection to stop this runtime.",
+ runtimeControlConnectionOwned: "Close the associated connection to stop this runtime.",
runtimeStopSuccess: "{label} runtime stopped",
runtimeStopFailed: "Failed to stop {label}: {error}",
runtimeRestartSuccess: "{label} runtime restarted",
diff --git a/apps/desktop/src/i18n/locales/es.ts b/apps/desktop/src/i18n/locales/es.ts
index dff815f321..695e397296 100644
--- a/apps/desktop/src/i18n/locales/es.ts
+++ b/apps/desktop/src/i18n/locales/es.ts
@@ -8550,7 +8550,7 @@ export default withEnglishFallback({
runtimeActions: "Acciones",
runtimeStop: "Detener",
runtimeRestart: "Reiniciar",
- runtimeControlConnectionOwned: "Cierra la conexión de base de datos para detener este runtime.",
+ runtimeControlConnectionOwned: "Cierra la conexión asociada para detener este runtime.",
runtimeStopSuccess: "Runtime de {label} detenido",
runtimeStopFailed: "Error al detener {label}: {error}",
runtimeRestartSuccess: "Runtime de {label} reiniciado",
diff --git a/apps/desktop/src/i18n/locales/it.ts b/apps/desktop/src/i18n/locales/it.ts
index 0bf17e17ed..f1a2e4a4f0 100644
--- a/apps/desktop/src/i18n/locales/it.ts
+++ b/apps/desktop/src/i18n/locales/it.ts
@@ -8476,7 +8476,7 @@ export default withEnglishFallback({
runtimeActions: "Azioni",
runtimeStop: "Arresta",
runtimeRestart: "Riavvia",
- runtimeControlConnectionOwned: "Chiudi la connessione al database per arrestare questo runtime.",
+ runtimeControlConnectionOwned: "Chiudi la connessione associata per arrestare questo runtime.",
runtimeStopSuccess: "Runtime {label} arrestato",
runtimeStopFailed: "Arresto di {label} non riuscito: {error}",
runtimeRestartSuccess: "Runtime {label} riavviato",
diff --git a/apps/desktop/src/i18n/locales/ja.ts b/apps/desktop/src/i18n/locales/ja.ts
index 3a685bcdba..1f6b69bf4d 100644
--- a/apps/desktop/src/i18n/locales/ja.ts
+++ b/apps/desktop/src/i18n/locales/ja.ts
@@ -8518,7 +8518,7 @@ export default withEnglishFallback({
runtimeActions: "操作",
runtimeStop: "停止",
runtimeRestart: "再起動",
- runtimeControlConnectionOwned: "このランタイムを停止するにはデータベース接続を閉じてください。",
+ runtimeControlConnectionOwned: "このランタイムを停止するには、関連する接続を閉じてください。",
runtimeStopSuccess: "{label} ランタイムを停止しました",
runtimeStopFailed: "{label} の停止に失敗しました: {error}",
runtimeRestartSuccess: "{label} ランタイムを再起動しました",
diff --git a/apps/desktop/src/i18n/locales/ko.ts b/apps/desktop/src/i18n/locales/ko.ts
index 8312763ab4..37f92e27de 100644
--- a/apps/desktop/src/i18n/locales/ko.ts
+++ b/apps/desktop/src/i18n/locales/ko.ts
@@ -8220,7 +8220,7 @@ export default withEnglishFallback({
runtimeActions: "작업",
runtimeStop: "중지",
runtimeRestart: "다시 시작",
- runtimeControlConnectionOwned: "이 런타임을 중지하려면 데이터베이스 연결을 닫으세요.",
+ runtimeControlConnectionOwned: "이 런타임을 중지하려면 관련 연결을 닫으세요.",
runtimeStopSuccess: "{label} 런타임 중지됨",
runtimeStopFailed: "{label} 중지 실패: {error}",
runtimeRestartSuccess: "{label} 런타임 다시 시작됨",
diff --git a/apps/desktop/src/i18n/locales/pt-BR.ts b/apps/desktop/src/i18n/locales/pt-BR.ts
index 31adde4c54..c7d5187c1e 100644
--- a/apps/desktop/src/i18n/locales/pt-BR.ts
+++ b/apps/desktop/src/i18n/locales/pt-BR.ts
@@ -8476,7 +8476,7 @@ export default withEnglishFallback({
runtimeActions: "Ações",
runtimeStop: "Parar",
runtimeRestart: "Reiniciar",
- runtimeControlConnectionOwned: "Feche a conexão de banco de dados para parar este runtime.",
+ runtimeControlConnectionOwned: "Feche a conexão associada para parar este runtime.",
runtimeStopSuccess: "Runtime {label} parado",
runtimeStopFailed: "Falha ao parar {label}: {error}",
runtimeRestartSuccess: "Runtime {label} reiniciado",
diff --git a/apps/desktop/src/i18n/locales/ru.ts b/apps/desktop/src/i18n/locales/ru.ts
index 655115fda8..eede3cb95f 100644
--- a/apps/desktop/src/i18n/locales/ru.ts
+++ b/apps/desktop/src/i18n/locales/ru.ts
@@ -9711,7 +9711,7 @@ export default withEnglishFallback({
runtimeActions: "Действия",
runtimeStop: "Остановить",
runtimeRestart: "Перезапустить",
- runtimeControlConnectionOwned: "Закройте подключение к базе данных, чтобы остановить эту среду выполнения.",
+ runtimeControlConnectionOwned: "Закройте связанное подключение, чтобы остановить эту среду выполнения.",
runtimeStopSuccess: "Среда выполнения {label} остановлена",
runtimeStopFailed: "Не удалось остановить {label}: {error}",
runtimeRestartSuccess: "Среда выполнения {label} перезапущена",
diff --git a/apps/desktop/src/i18n/locales/tr.ts b/apps/desktop/src/i18n/locales/tr.ts
index 5fe3db8665..b6e6a608d1 100644
--- a/apps/desktop/src/i18n/locales/tr.ts
+++ b/apps/desktop/src/i18n/locales/tr.ts
@@ -8374,7 +8374,7 @@ export default withEnglishFallback({
runtimeActions: "İşlemler",
runtimeStop: "Durdur",
runtimeRestart: "Yeniden başlat",
- runtimeControlConnectionOwned: "Bu çalışma zamanını durdurmak için veritabanı bağlantısını kapatın.",
+ runtimeControlConnectionOwned: "Bu çalışma zamanını durdurmak için ilgili bağlantıyı kapatın.",
runtimeStopSuccess: "{label} çalışma zamanı durduruldu",
runtimeStopFailed: "{label} durdurulamadı: {error}",
runtimeRestartSuccess: "{label} çalışma zamanı yeniden başlatıldı",
diff --git a/apps/desktop/src/i18n/locales/zh-CN.ts b/apps/desktop/src/i18n/locales/zh-CN.ts
index c1cb73ee18..6066249950 100644
--- a/apps/desktop/src/i18n/locales/zh-CN.ts
+++ b/apps/desktop/src/i18n/locales/zh-CN.ts
@@ -9182,7 +9182,7 @@ export default withEnglishFallback({
runtimeActions: "操作",
runtimeStop: "停止",
runtimeRestart: "重启",
- runtimeControlConnectionOwned: "关闭数据库连接后即可停止此运行时。",
+ runtimeControlConnectionOwned: "关闭相关连接后即可停止此运行时。",
runtimeStopSuccess: "{label} 运行时已停止",
runtimeStopFailed: "停止 {label} 失败: {error}",
runtimeRestartSuccess: "{label} 运行时已重启",
diff --git a/apps/desktop/src/i18n/locales/zh-TW.ts b/apps/desktop/src/i18n/locales/zh-TW.ts
index d949a93da0..1de5e10429 100644
--- a/apps/desktop/src/i18n/locales/zh-TW.ts
+++ b/apps/desktop/src/i18n/locales/zh-TW.ts
@@ -7779,7 +7779,7 @@ export default withEnglishFallback({
runtimeActions: "操作",
runtimeStop: "停止",
runtimeRestart: "重新啟動",
- runtimeControlConnectionOwned: "關閉資料庫連線後即可停止此執行環境。",
+ runtimeControlConnectionOwned: "關閉相關連線後即可停止此執行環境。",
runtimeStopSuccess: "{label} 執行環境已停止",
runtimeStopFailed: "停止 {label} 失敗: {error}",
runtimeRestartSuccess: "{label} 執行環境已重新啟動",