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。

2.8 KB
Raw Blame
export const sqlServerTraceMessages = {
  title: "SQL Server Activity Trace",
  start: "Start",
  pause: "Pause polling",
  resume: "Resume",
  stop: "Stop",
  clear: "Clear events",
  export: "Export filtered events as CSV",
  database: "Database",
  selectDatabase: "Select a database",
  maxEvents: "Event limit",
  duration: "Duration (min)",
  statements: "Statements",
  statementsHint: "Capture statements inside stored procedures. This event can add significant overhead.",
  highCost: "Higher overhead",
  elapsed: "{seconds}s",
  eventCount: "Showing {visible} / {total} events",
  permissionHint: "Requires ALTER ANY EVENT SESSION and server-state viewing permissions",
  filterSql: "Filter procedure or SQL text",
  filterLogin: "Login",
  filterClient: "Client or host",
  filterSession: "Session ID",
  noEvents: "Start tracing, then execute SQL or a stored procedure in another session.",
  noMatches: "No events match the current filters.",
  statuses: {
    idle: "Ready",
    starting: "Starting",
    running: "Running",
    paused: "Polling paused",
    stopping: "Stopping",
    stopped: "Stopped",
    error: "Error",
  },
  eventTypes: {},
  columns: {
    time: "Time",
    event: "Event",
    database: "Database",
    sql: "Procedure / SQL and parameters",
    duration: "Duration ms",
    cpu: "CPU ms",
    reads: "Reads",
    writes: "Writes",
    rows: "Rows",
    session: "Session",
    login: "Login",
    host: "Host",
    client: "Client",
    result: "Result",
  },
  autoStopped: {
    duration: "Activity trace stopped after reaching the duration limit.",
    events: "Activity trace stopped after reaching the event limit.",
  },
  capabilityErrors: {
    "unsupported-version": "SQL Server {version} does not support this Extended Events trace. SQL Server 2008 or later is required.",
    "unsupported-engine": "This SQL Server edition uses database-scoped Extended Events, which are not supported in the first release.",
    "alter-permission": "The current login lacks ALTER ANY EVENT SESSION permission.",
    "view-permission": "The current login lacks the server-state permission required to read trace events.",
    "missing-capability": "This SQL Server instance is missing required Extended Events capabilities: {capabilities}.",
  },
};

// Polish interface overrides; retains all keys from the canonical English object.
export const sqlServerTraceMessagesPl = {
  ...sqlServerTraceMessages,
  title: "Śledzenie aktywności SQL Server",
  start: "Uruchom",
  pause: "Wstrzymaj odpytywanie",
  resume: "Wznów",
  stop: "Zatrzymaj",
  clear: "Wyczyść zdarzenia",
  export: "Eksportuj przefiltrowane zdarzenia do CSV",
  database: "Baza danych",
  selectDatabase: "Wybierz bazę danych",
  maxEvents: "Limit zdarzeń",
  duration: "Czas trwania (min)",
  statements: "Instrukcje",
};