Database governance built for humans and agents — controlling changes and access across every major database.
Go cicddata-governancedata-maskingdata-securitydatabase-accessdatabase-governancedevopsdevsecopsflywaygitopsliquibasemongodbmysqloraclepostgresqlschema-migrationssecuritysql-clientsqlservertidb
refactor: react component (#19892)
ecmadaoa484e5039da7
diff --git a/frontend/src/react/components/ExprEditor.tsx b/frontend/src/react/components/ExprEditor.tsxindex c6f0a71f9e..77cd2d39e8 100644--- a/frontend/src/react/components/ExprEditor.tsx+++ b/frontend/src/react/components/ExprEditor.tsx@@ -39,6 +39,7 @@ import {} from "@/plugins/cel";import { EnvironmentLabel } from "@/react/components/EnvironmentLabel";import { Input } from "@/react/components/ui/input";+import { SearchInput } from "@/react/components/ui/search-input";import {Select,SelectContent,@@ -383,12 +384,13 @@ function SearchableSelect({<PortaledDropdownanchorRef={triggerRef}dropdownRef={dropdownRef}- className="w-56 bg-white border border-control-border rounded-sm shadow-md"+ matchAnchorWidth+ className="bg-white border border-control-border rounded-sm shadow-md"><div className="p-1 border-b border-control-border">- <input+ <SearchInputautoFocus- className="w-full h-8 px-2 text-sm rounded-xs border border-control-border outline-none"+ className="h-8"placeholder={t("common.filter-by-name")}value={search}onChange={(e) => handleSearchChange(e.target.value)}@@ -581,12 +583,13 @@ function MultiSearchableSelect({<PortaledDropdownanchorRef={triggerRef}dropdownRef={dropdownRef}- className="w-56 bg-white border border-control-border rounded-sm shadow-md"+ matchAnchorWidth+ className="bg-white border border-control-border rounded-sm shadow-md"><div className="p-1 border-b border-control-border">- <input+ <SearchInputautoFocus- className="w-full h-8 px-2 text-sm rounded-xs border border-control-border outline-none"+ className="h-8"placeholder={t("common.filter-by-name")}value={search}onChange={(e) => handleSearchChange(e.target.value)}@@ -1075,9 +1078,9 @@ function ValueInput({if (inputType === "INPUT") {if (isNumberValue) {return (- <input+ <Inputtype="number"- className="h-8 px-2 text-sm rounded-xs border border-control-border bg-white disabled:opacity-50 max-w-20"+ className="h-8 max-w-20"value={getNumberValue()}disabled={readonly}onChange={(e) => setNumberValue(Number(e.target.value))}diff --git a/frontend/src/react/components/IssueTable.tsx b/frontend/src/react/components/IssueTable.tsxindex 32de9314d9..80f65f1f31 100644--- a/frontend/src/react/components/IssueTable.tsx+++ b/frontend/src/react/components/IssueTable.tsx@@ -12,6 +12,7 @@ import {} from "@/react/components/AdvancedSearch";import { HumanizeTs } from "@/react/components/HumanizeTs";import { Button } from "@/react/components/ui/button";+import { Input } from "@/react/components/ui/input";import { Tooltip } from "@/react/components/ui/tooltip";import { useClickOutside } from "@/react/hooks/useClickOutside";import { useEscapeKey } from "@/react/hooks/useEscapeKey";@@ -178,17 +179,15 @@ function TimeRangePicker({<label className="text-xs text-control-light">{t("common.from")}</label>- <input+ <Inputtype="date"- className="border border-control-border rounded-sm px-2 py-1 text-sm"value={from}max={dayjs().format("YYYY-MM-DD")}onChange={(e) => setFrom(e.target.value)}/><label className="text-xs text-control-light">{t("common.to")}</label>- <input+ <Inputtype="date"- className="border border-control-border rounded-sm px-2 py-1 text-sm"value={to}max={dayjs().format("YYYY-MM-DD")}onChange={(e) => setTo(e.target.value)}diff --git a/frontend/src/react/locales/en-US.json b/frontend/src/react/locales/en-US.jsonindex 021260e249..d3e2201c71 100644--- a/frontend/src/react/locales/en-US.json+++ b/frontend/src/react/locales/en-US.json@@ -219,9 +219,22 @@"under-review": "Under review","draft": "Draft","error": "Error",- "type-to-search": "Type to search...",+ "type-to-search": "Type to search","comment": "Comment",- "clear-filters": "Clear filters"+ "clear-filters": "Clear filters",+ "admin": "Admin",+ "continue-anyway": "Continue anyway",+ "creating": "Creating",+ "custom": "Custom",+ "detailed-guide": "detailed guide",+ "minutes": "Minutes",+ "overview": "Overview",+ "password": "Password",+ "read-only": "Read-only",+ "updating": "Updating",+ "user": "User",+ "username": "Username",+ "write-only": "write only"},"common.add": "Add","common.admin": "Admin",@@ -412,7 +425,8 @@"with-diff": "With diff"},"unassign-alert-description": "The selected databases will be removed from the project",- "unassign-alert-title": "Unassign databases"+ "unassign-alert-title": "Unassign databases",+ "sync-complete-for-instance": "Sync complete for instance '{{0}}'"},"database-group": {"condition": {@@ -434,7 +448,9 @@"encoding": "Encoding","failed-to-sync-schema": "Failed to sync schema","start-to-sync-schema": "Start to sync schema",- "successfully-synced-schema": "Successfully synced schema"+ "successfully-synced-schema": "Successfully synced schema",+ "n-databases-had-sync-errors": "{{0}} database(s) had sync errors",+ "syncing-databases-for-instance": "Syncing databases for {{0}}..."},"db.failed-to-sync-schema": "Failed to sync schema","db.n-databases-had-sync-errors": "{{0}} database(s) had sync errors",@@ -536,7 +552,177 @@"sync-all-tip": "Database sync is asynchronous and might take a few seconds to minutes","sync-new": "Only sync new databases"},- "syncing": "Syncing ..."+ "syncing": "Syncing ...",+ "account-locator": "Account Locator",+ "authentication-database": "Authentication Database",+ "connection-info": "Connection info",+ "connection-options": "Connection Options",+ "create-gcp-credentials": "To create credentials, see",+ "database-region": "Database Region",+ "endpoint": "Endpoint",+ "external-id": "External ID",+ "external-id-description": "External ID for additional security when assuming role (optional)",+ "external-id-placeholder": "optional-external-id",+ "external-link": "External Link",+ "external-secret-azure": {+ "secret-name": "Secret name",+ "vault-url": "Key Vault URL",+ "secret-name-tips": "The name of the secret stored in Azure Key Vault.",+ "vault-url-tips": "The Key Vault URL should be like \"https://myvault.vault.azure.net/\"."+ },+ "external-secret-gcp": {+ "secret-name": "Secret full name",+ "secret-name-tips": "The secret name should be like \"projects/project-id/secrets/secret-id\"."+ },+ "external-secret-vault": {+ "vault-auth-type": {+ "approle": {+ "role-id": "Auth role id",+ "secret-env-name": "Environment name",+ "secret-id": "Auth secret id",+ "secret-plain-text": "Plain text",+ "self": "AppRole"+ },+ "token": {+ "self": "Token"+ },+ "self": "Auth type"+ },+ "vault-secret-key": "Secret key",+ "vault-secret-path": "Secret path",+ "vault-secret-engine-name": "Secret engine name",+ "vault-secret-engine-tips": "Only support KV v2 engine.",+ "vault-tls-config": "Vault TLS Configuration (Optional)",+ "vault-url": "Vault URL"+ },+ "external-secret": {+ "key-name": "Secret key",+ "secret-name": "Secret name"+ },+ "failed-to-connect-instance": "Failed to connect instance.",+ "failed-to-connect-instance-localhost": "If you run Bytebase with Docker, please try \"host.docker.internal\" for the host address.",+ "find-gcp-project-id": "To find GCP Project ID, see",+ "find-gcp-project-id-and-instance-id": "To find GCP Project ID and instance ID, see",+ "grants": "Grants",+ "host-or-socket": "Host or Socket",+ "iam-extension": {+ "client-id": "Client ID",+ "client-secret": "Client Secret",+ "credential-source": "Credential Source",+ "specific-credential": "Specific Credential",+ "tenant-id": "Tenant ID",+ "saas-default-credential-restriction": "Default credentials are not available in Bytebase Cloud for security. Please provide specific credentials."+ },+ "info-panel": {+ "no-info": "No additional information available for this engine."+ },+ "instance-id": "Instance ID",+ "instance-name": "Instance Name",+ "no-extra-params-configured": "No extra connection parameters configured",+ "no-params-yet-add-above": "No parameters configured yet. Add parameters using the form above.",+ "no-password": "No password",+ "parameter-name-placeholder": "Parameter name",+ "parameter-value-placeholder": "Parameter value",+ "password-type": {+ "aws-iam": "AWS RDS IAM",+ "azure-iam": "Azure IAM",+ "google-iam": "Google Cloud SQL IAM",+ "password": "Password",+ "external-secret-aws": "AWS Secrets Manager",+ "external-secret-azure": "Azure Key Vault",+ "external-secret-gcp": "GCP Secret Manager",+ "external-secret-vault": "Vault (KV v2)"+ },+ "password-write-only": "YOUR_DB_PWD - write only",+ "port": "Port",+ "project-id": "Project ID",+ "role-arn": "Role ARN",+ "role-arn-description": "IAM role to assume for cross-account access. Leave empty for same-account access.",+ "role-arn-placeholder": "arn:aws:iam::123456789012:role/CrossAccountRole",+ "scan-interval": {+ "default-never": "Default (never)",+ "description": "Bytebase periodically syncs instance schema and detects anomalies.",+ "self": "Scan Interval",+ "min-value": "Min value {{value}} minutes"+ },+ "section": {+ "basic-info": "Basic Info",+ "connection": "Connection"+ },+ "sentence": {+ "console": {+ "snowflake": "The external console URL managing this instance (e.g. AWS RDS console, your in-house DB instance console)"+ },+ "create-admin-user": "This is the connection user used by Bytebase to perform DDL and DML (non-SELECT) operations.",+ "create-admin-user-non-sql": "This is the connection user used by Bytebase to perform write and admin operations.",+ "create-readonly-user": "This is the connection used by Bytebase to perform read-only operations such as SELECT query.",+ "create-readonly-user-non-sql": "This is the connection used by Bytebase to perform read-only operations.",+ "create-user-example": {+ "postgresql": {+ "warn": "If the connecting instance is managed by the cloud provider, then SUPERUSER is not available and you should create the user via that provider's admin console. The created user will have provider specific semi-SUPERUSER privileges. You should grant Bytebase privileges with 'GRANT role_name TO bytebase;' for all existing roles, otherwise Bytebase may not access existing databases or tables.",+ "template": "Below is an example to create user '{{user}}' with password {{password}} and grant the user with the needed privileges. If the connecting instance is self-hosted, then you can grant SUPERUSER."+ },+ "clickhouse": {+ "sql-driven-workflow": "SQL-driven workflow",+ "template": "Below is an example to create user '{{user}}' with password {{password}} and grant the user with the needed privileges. First you need to enable ClickHouse SQL-driven workflow {{link}} and then run the following query to create the user."+ },+ "mysql": {+ "template": "Below is an example to create user {{user}}@% with password {{password}} and grant the user with the needed privileges."+ },+ "redis": {+ "template": "Below is an example to create user {{user}} with password {{password}} and grant the user with the needed privileges."+ },+ "snowflake": {+ "template": "Below is an example to create user '{{user}}' with password {{password}} for {{warehouse}} and grant the user with the needed privileges."+ }+ },+ "firewall-info": "If you use inbound firewall rules for your database instance, please refer to Bytebase Cloud connection instruction.",+ "host": {+ "none-snowflake": "e.g. host.docker.internal {{'|'}} host ip {{'|'}} local socket"+ },+ "proxy": {+ "snowflake": "For proxy server, append {{'@'}}PROXY_HOST and specify PROXY_PORT in the port"+ },+ "aws-rds": {+ "mysql": {+ "template": "Below is an example to create user {{user}}@% and grant the user with the needed privileges."+ },+ "postgresql": {+ "template": "Below is an example to create user '{{user}}' and grant the user with the needed privileges."+ }+ },+ "google-cloud-sql": {+ "instance-name": "Instance Connection Name",+ "instance-name-tips": "The instance connection name should like {{instance}}.",+ "mysql": {+ "template": "Create a service account named {{user}}, then add it in your Google Cloud SQL as IAM user {{user}}@'%'. Grant this user with the needed privileges."+ },+ "postgresql": {+ "template": "Create a service account named {{user}}, then add it in your Google Cloud SQL as IAM user {{user}}@project-id.iam. Grant the user with the needed privileges."+ }+ }+ },+ "show-how-to-create": "Show how to create",+ "snowflake-web-console": "Snowflake Web Console",+ "successfully-connected-instance": "Successfully connected instance.",+ "sync-databases": {+ "add-database": "+ Add database, press enter to submit",+ "description": "Only sync selected databases.",+ "search-database": "Search database",+ "self": "Sync Databases",+ "sync-all": "Sync all databases"+ },+ "test-connection": "Test Connection",+ "type-or-paste-credentials-write-only": "Type or paste CREDENTIALS - write only",+ "unable-to-connect": "Bytebase is unable to connect the instance. We recommend you to review the connection info again. But it's OK to ignore this warning for now. You can still fix the connection info from the instance detail page after creation.\n\nError detail: {{0}}",+ "users": "Users",+ "your-snowflake-account-locator": "Your Snowflake account locator",+ "testing-connection": "Testing Connection...",+ "new-instance": "New Instance",+ "no-environment": "This instance has not been bound to the environment",+ "restore-instance-instance-name-to-normal-state": "Restore instance '{{0}}' to normal state?",+ "successfully-created-instance-createdinstance-name": "Successfully created instance '{{0}}'.",+ "successfully-updated-instance-instance-name": "Successfully updated instance '{{0}}'."},"instance.account-locator": "Account Locator","instance.archive-instance-instance-name": "Archive instance '{{0}}'?",@@ -757,8 +943,11 @@"error": {"key-duplicated": "Duplicated keys","key-necessary": "Key is required",- "max-value-length-exceeded": "Value's length cannot exceed {{length}} characters"- }+ "max-value-length-exceeded": "Value's length cannot exceed {{length}} characters",+ "value-necessary": "Value is required"+ },+ "add-label": "Add label",+ "empty-label-value": "Empty"},"label.add-label": "Add label","label.empty-label-value": "Empty",@@ -1598,7 +1787,8 @@"license": "License","missing-license-attention": "You need to assign license to the instance to enable this feature.","used-and-total-license": "Assigned / Total Instance License",- "used-and-total-user": "Active / Total User Limit"+ "used-and-total-user": "Active / Total User Limit",+ "n-license-remain": "{{n}} remaining"},"max-instance-count": "Max instance count","plan": {@@ -1735,59 +1925,59 @@}},"agent": {- "assistant-title": "Bytebase Assistant",+ "assistant-title": "AI Assistant","resize": "Resize","minimize": "Minimize","close": "Close",- "input-placeholder": "Ask anything...",+ "input-placeholder": "Ask AI anything...","send": "Send",- "args": "Args:",- "result": "Result:",+ "args": "Args",+ "result": "Result","stop": "Stop","interrupted": "Interrupted",- "retry-last-chat-turn": "Retry last turn",- "interrupted-retry-hint": "Retry reruns the interrupted turn with the current page state.",- "new-chat": "New chat",- "rename-chat-placeholder": "Enter a chat name",- "archive-chat": "Archive",- "unarchive-chat": "Unarchive",- "delete-chat": "Delete",+ "retry-last-chat-turn": "Retry",+ "interrupted-retry-hint": "The conversation was interrupted. You can retry or send a new message.",+ "new-chat": "New Chat",+ "rename-chat-placeholder": "Enter chat name",+ "archive-chat": "Archive chat",+ "unarchive-chat": "Unarchive chat",+ "delete-chat": "Delete chat","active-only-chats": "Active only","archived-only-chats": "Archived only",- "archive-chat-confirmation": "Archive this chat?",- "delete-chat-confirmation": "Delete this chat?",+ "archive-chat-confirmation": "Are you sure you want to archive this chat?",+ "delete-chat-confirmation": "Are you sure you want to delete this chat? This action cannot be undone.","chat-list-label": "Chats",- "chat-default-title": "New chat",+ "chat-default-title": "New Chat","chat-archived-label": "Archived","chat-status-idle": "Idle","chat-status-running": "Running",- "chat-status-awaiting-user": "Awaiting input",+ "chat-status-awaiting-user": "Awaiting user","chat-status-error": "Error","chat-status-interrupted": "Interrupted",- "chat-total-tokens": "Tokens used: {{count}}",+ "chat-total-tokens": "Total tokens","reply": "Reply","confirm": "Confirm","cancel": "Cancel",- "pending-input-hint": "Reply below to continue this chat.",- "pending-confirm-hint": "Choose confirm or cancel to continue this chat.",- "pending-choose-hint": "Choose an option to continue this chat.",- "tool-ask-user": "Awaiting your response",- "tool-ask-user-input": "Input requested",- "tool-ask-user-confirm": "Confirmation requested",- "tool-ask-user-choose": "Choice requested",+ "pending-input-hint": "Please provide input above",+ "pending-confirm-hint": "Please confirm or cancel above",+ "pending-choose-hint": "Please select an option above",+ "tool-ask-user": "Asking user",+ "tool-ask-user-input": "Provide input",+ "tool-ask-user-confirm": "Confirm action",+ "tool-ask-user-choose": "Choose an option","tool-response-submitted": "Response submitted",- "tool-prompt": "Prompt:",- "tool-default-value": "Default:",- "tool-options": "Options:",- "tool-answer": "Answer:",- "tool-value": "Value:",+ "tool-prompt": "Prompt",+ "tool-default-value": "Default",+ "tool-options": "Options",+ "tool-answer": "Answer",+ "tool-value": "Value","tool-completed": "Completed",- "tool-failed": "Completed with issues",+ "tool-failed": "Failed","ai-not-configured": {- "title": "AI Assistant isn’t configured for this workspace",- "description": "To continue with the page agent, enable AI Assistant in workspace settings.",- "configure": "Configure AI",- "contact-admin": "Please contact your org administrator to configure AI Assistant."+ "title": "AI Not Configured",+ "description": "AI is not configured for this workspace.",+ "configure": "Configure",+ "contact-admin": "Contact your workspace admin to configure AI."}},"changelog": {@@ -1808,5 +1998,51 @@"self_one": "Stage","self_other": "Stages"}+ },+ "data-source": {+ "additional-node-addresses": "Additional Node Addresses",+ "connection-string-schema": "Connection String Schema",+ "connection-type": "Connection Type",+ "delete-read-only-data-source": "Delete read-only data source",+ "direct-connection": "Direct Connection",+ "extra-params": {+ "description": "Additional parameters for database connection string",+ "self": "Extra Parameters"+ },+ "private-key-passphrase": "Private Key Passphrase",+ "private-key-passphrase-tip": "Optional passphrase for encrypted private keys",+ "read-replica-host": "Read-replica Host",+ "read-replica-port": "Read-replica Port",+ "replica-set": "Replica Set",+ "snowflake-keypair-tip": "Key-pair authentication",+ "ssh-connection": "SSH Connection",+ "ssh-type": {+ "none": "None",+ "tunnel-and-private-key": "Tunnel + Private Key"+ },+ "ssh": {+ "host": "Server",+ "password": "Password",+ "port": "Port",+ "private-key": "Private Key",+ "ssh-key": "SSH Key",+ "user": "User"+ },+ "ssl-connection": "SSL Connection",+ "ssl": {+ "ca-cert": "CA Certificate",+ "client-cert": "Client Certificate",+ "client-key": "Client Key",+ "verify-certificate": "Verify TLS certificate",+ "verify-certificate-tooltip": "Enable TLS certificate verification for secure connections. Disable only for development or when certificates cannot be properly validated (e.g., self-signed certs, VPN environments). Warning: Disabling verification is insecure"+ },+ "no-read-only-data-source": "No read-only data source",+ "private-key-passphrase-placeholder": "Leave empty if your private key is not encrypted"+ },+ "setting": {+ "label": {+ "key-placeholder": "Label key...",+ "value-placeholder": "Label value..."+ }}}diff --git a/frontend/src/react/locales/es-ES.json b/frontend/src/react/locales/es-ES.jsonindex 1e5435fd7f..0b6ef076e8 100644--- a/frontend/src/react/locales/es-ES.json+++ b/frontend/src/react/locales/es-ES.json@@ -219,9 +219,22 @@"under-review": "En revisión","draft": "Borrador","error": "Error",- "type-to-search": "Escriba para buscar...",+ "type-to-search": "Escriba para buscar","comment": "Comentario",- "clear-filters": "Limpiar filtros"+ "clear-filters": "Limpiar filtros",+ "admin": "Admin",+ "continue-anyway": "De todas maneras, continúe",+ "creating": "Creando...",+ "custom": "Personalizado",+ "detailed-guide": "guía detallada",+ "minutes": "Minutos",+ "overview": "Resumen",+ "password": "Contraseña",+ "read-only": "Solo lectura",+ "updating": "Actualizando...",+ "user": "Usuario",+ "username": "Nombre de usuario",+ "write-only": "solo escritura"},"common.add": "Agregar","common.admin": "Admin",@@ -412,7 +425,8 @@"with-diff": "With diff"},"unassign-alert-description": "Las bases de datos seleccionadas serán eliminadas del proyecto",- "unassign-alert-title": "Desasignar bases de datos"+ "unassign-alert-title": "Desasignar bases de datos",+ "sync-complete-for-instance": "Sincronización completada para la instancia '{{0}}'"},"database-group": {"condition": {@@ -434,7 +448,9 @@"encoding": "Codificación","failed-to-sync-schema": "Error al sincronizar el esquema","start-to-sync-schema": "Comenzar a sincronizar el esquema",- "successfully-synced-schema": "Esquema sincronizado exitosamente"+ "successfully-synced-schema": "Esquema sincronizado exitosamente",+ "n-databases-had-sync-errors": "{{0}} base(s) de datos tuvieron errores de sincronización",+ "syncing-databases-for-instance": "Sincronizando bases de datos para {{0}}..."},"db.failed-to-sync-schema": "No se pudo sincronizar el esquema","db.n-databases-had-sync-errors": "{{0}} base(s) de datos tuvieron errores de sincronización",@@ -536,7 +552,177 @@"sync-all-tip": "La sincronización de la base de datos es asincrónica y puede tardar entre unos segundos y minutos.","sync-new": "Sincronizar únicamente bases de datos nuevas"},- "syncing": "Sincronizando..."+ "syncing": "Sincronizando...",+ "account-locator": "Localizadora de cuentas",+ "authentication-database": "Base de datos de autenticación",+ "connection-info": "Información de conexión",+ "connection-options": "Opciones de conexión",+ "create-gcp-credentials": "Para crear credenciales, consulte",+ "database-region": "Región de la base de datos",+ "endpoint": "Punto final",+ "external-id": "ID externo",+ "external-id-description": "ID externo para seguridad adicional al asumir el rol (opcional)",+ "external-id-placeholder": "ID externo opcional",+ "external-link": "Enlace externo",+ "external-secret-azure": {+ "secret-name": "Nombre del secreto",+ "vault-url": "URL del Key Vault",+ "secret-name-tips": "El nombre del secreto almacenado en Azure Key Vault.",+ "vault-url-tips": "La URL del Key Vault debe ser similar a \"https://myvault.vault.azure.net/\"."+ },+ "external-secret-gcp": {+ "secret-name": "nombre completo secreto",+ "secret-name-tips": "El nombre secreto debería ser similar a \"projects/project-id/secrets/secret-id\"."+ },+ "external-secret-vault": {+ "vault-auth-type": {+ "approle": {+ "role-id": "Auth role id",+ "secret-env-name": "Nombre del entorno",+ "secret-id": "Auth secret id",+ "secret-plain-text": "Texto sin formato",+ "self": "AppRole"+ },+ "token": {+ "self": "Token"+ },+ "self": "Tipo de autenticación"+ },+ "vault-secret-key": "Secret key",+ "vault-secret-path": "Secret path",+ "vault-secret-engine-name": "Secret engine name",+ "vault-secret-engine-tips": "Solo admite motor KV v2.",+ "vault-tls-config": "Configuración TLS de Vault (opcional)",+ "vault-url": "Vault URL"+ },+ "external-secret": {+ "key-name": "Clave secreta",+ "secret-name": "Nombre secreto"+ },+ "failed-to-connect-instance": "Error al conectar la instancia.",+ "failed-to-connect-instance-localhost": "Si ejecuta Bytebase con Docker, intente \"host.docker.internal\" para la dirección del host.",+ "find-gcp-project-id": "Para encontrar el ID del proyecto de GCP, consulta",+ "find-gcp-project-id-and-instance-id": "Para encontrar el ID de proyecto y el ID de instancia de GCP, consulte",+ "grants": "Concesiones",+ "host-or-socket": "Host o Socket",+ "iam-extension": {+ "client-id": "Client ID",+ "client-secret": "Client Secret",+ "credential-source": "Credential Source",+ "specific-credential": "Credencial específica",+ "tenant-id": "Tenant ID",+ "saas-default-credential-restriction": "Las credenciales predeterminadas no están disponibles en Bytebase Cloud por seguridad. Proporcione credenciales específicas."+ },+ "info-panel": {+ "no-info": "No hay información adicional disponible para este motor."+ },+ "instance-id": "ID de la instancia",+ "instance-name": "Nombre de la instancia",+ "no-extra-params-configured": "No hay parámetros de conexión adicionales configurados",+ "no-params-yet-add-above": "No hay parámetros configurados todavía. \nAgregue parámetros usando el formulario anterior.",+ "no-password": "Sin contraseña",+ "parameter-name-placeholder": "Nombre de parámetro",+ "parameter-value-placeholder": "Valor de parámetro",+ "password-type": {+ "aws-iam": "AWS RDS IAM",+ "azure-iam": "Azure IAM",+ "google-iam": "Google Cloud SQL IAM",+ "password": "Contraseña",+ "external-secret-aws": "AWS Secrets Manager",+ "external-secret-azure": "Azure Key Vault",+ "external-secret-gcp": "GCP Secret Manager",+ "external-secret-vault": "Vault (KV v2)"+ },+ "password-write-only": "SU_DB_PWD - solo escritura",+ "port": "Puerto",+ "project-id": "ID del proyecto",+ "role-arn": "ARN del rol",+ "role-arn-description": "Rol IAM para asumir en acceso entre cuentas. Dejar vacío para acceso en la misma cuenta.",+ "role-arn-placeholder": "arn:aws:iam::123456789012:role/CrossAccountRole",+ "scan-interval": {+ "default-never": "Predeterminado (nunca)",+ "description": "Bytebase sincroniza periódicamente el esquema de instancia y detecta anomalías.",+ "self": "Intervalo de escaneo",+ "min-value": "Valor mínimo {{value}} minutos"+ },+ "section": {+ "basic-info": "Información básica",+ "connection": "Conexión"+ },+ "sentence": {+ "console": {+ "snowflake": "La URL de la consola externa que administra esta instancia (por ejemplo, la consola de AWS RDS, la consola de la instancia de base de datos interna)"+ },+ "create-admin-user": "Este es el usuario de conexión utilizado por Bytebase para realizar operaciones DDL y DML (no SELECT).",+ "create-admin-user-non-sql": "Este es el usuario de conexión utilizado por Bytebase para realizar operaciones de escritura y administración.",+ "create-readonly-user": "Esta es la conexión utilizada por Bytebase para realizar operaciones de solo lectura como la consulta SELECT.",+ "create-readonly-user-non-sql": "Esta es la conexión utilizada por Bytebase para realizar operaciones de solo lectura.",+ "create-user-example": {+ "postgresql": {+ "warn": "Si la instancia de conexión es administrada por el proveedor de la nube, entonces SUPERUSER no está disponible y debes crear el usuario a través de la consola de administración del proveedor. El usuario creado tendrá privilegios semi-SUPERUSER específicos del proveedor. Debes otorgar privilegios de Bytebase con 'GRANT role_name TO bytebase;' para todos los roles existentes, de lo contrario Bytebase puede no tener acceso a las bases de datos o tablas existentes.",+ "template": "A continuación se muestra un ejemplo para crear el usuario '{{user}}' con la contraseña {{password}} y otorgar al usuario los privilegios necesarios. Si la instancia de conexión está alojada por ti mismo, puedes otorgar SUPERUSER."+ },+ "clickhouse": {+ "sql-driven-workflow": "Flujo de trabajo impulsado por SQL",+ "template": "A continuación se muestra un ejemplo para crear el usuario '{{user}}' con la contraseña {{password}} y otorgar al usuario los privilegios necesarios. Primero debe habilitar el flujo de trabajo impulsado por SQL de ClickHouse {{link}} y luego ejecutar la siguiente consulta para crear el usuario."+ },+ "mysql": {+ "template": "A continuación se muestra un ejemplo para crear el usuario {{user}}@% con la contraseña {{password}} y otorgarle al usuario los privilegios necesarios."+ },+ "redis": {+ "template": "A continuación se muestra un ejemplo para crear el usuario {{user}} con la contraseña {{password}} y otorgar al usuario los privilegios necesarios."+ },+ "snowflake": {+ "template": "A continuación se muestra un ejemplo para crear el usuario 'bytebase' con la contraseña {{password}} para {{warehouse}} y otorgar al usuario los privilegios necesarios."+ }+ },+ "firewall-info": "Si usa reglas de firewall entrante para su instancia de base de datos, consulte la instrucción de conexión de Bytebase Cloud.",+ "host": {+ "none-snowflake": "por ejemplo, host.docker.internal {{'|'}} host ip {{'|'}} local socket"+ },+ "proxy": {+ "snowflake": "Para el servidor proxy, agregue {{'@'}}PROXY_HOST y especifique PROXY_PORT en el puerto"+ },+ "aws-rds": {+ "mysql": {+ "template": "A continuación se muestra un ejemplo para crear el usuario {{user}}@% y otorgarle los privilegios necesarios."+ },+ "postgresql": {+ "template": "A continuación se muestra un ejemplo para crear el usuario '{{user}}' y otorgarle los privilegios necesarios."+ }+ },+ "google-cloud-sql": {+ "instance-name": "Nombre de conexión de instancia",+ "instance-name-tips": "El nombre de la conexión de la instancia debería ser {{instance}}.",+ "mysql": {+ "template": "Cree una cuenta de servicio llamada {{user}} y luego agréguela en su Google Cloud SQL como usuario de IAM {{user}}@'%'. Otorgue a este usuario los privilegios necesarios."+ },+ "postgresql": {+ "template": "Cree una cuenta de servicio llamada {{user}} y luego agréguela en su Google Cloud SQL como usuario de IAM {{user}}@project-id.iam. Otorgue al usuario los privilegios necesarios."+ }+ }+ },+ "show-how-to-create": "Mostrar cómo crear",+ "snowflake-web-console": "Consola web de Snowflake",+ "successfully-connected-instance": "Instancia conectada correctamente.",+ "sync-databases": {+ "add-database": "+ Agregar base de datos, presione enter para enviar",+ "description": "Sincronizar sólo bases de datos seleccionadas.",+ "search-database": "Buscar en la base de datos",+ "self": "Sincronizar bases de datos",+ "sync-all": "Sincronizar todas las bases de datos"+ },+ "test-connection": "Probar conexión",+ "type-or-paste-credentials-write-only": "Escriba o pegue las CREDENCIALES - solo escritura",+ "unable-to-connect": "Bytebase no puede conectar la instancia. Le recomendamos que revise la información de conexión nuevamente. Pero está bien ignorar esta advertencia por ahora. Aún puede solucionar la información de conexión desde la página de detalles de la instancia después de la creación.\n\nDetalle del error: {{0}}",+ "users": "Usuarios",+ "your-snowflake-account-locator": "Su localizador de cuentas Snowflake",+ "testing-connection": "Probando conexión...",+ "new-instance": "Nueva instancia",+ "no-environment": "Esta instancia no ha sido ligada al entorno.",+ "restore-instance-instance-name-to-normal-state": "¿Restaurar la instancia '{{0}}' al estado normal?",+ "successfully-created-instance-createdinstance-name": "Se ha creado correctamente la instancia '{{0}}'.",+ "successfully-updated-instance-instance-name": "Se ha actualizado correctamente la instancia '{{0}}'."},"instance.account-locator": "Localizadora de cuentas","instance.archive-instance-instance-name": "¿Archivar la instancia '{{0}}'?",@@ -757,8 +943,11 @@"error": {"key-duplicated": "Claves duplicadas","key-necessary": "Se requiere una clave",- "max-value-length-exceeded": "La longitud del valor no puede exceder {{length}} caracteres"- }+ "max-value-length-exceeded": "La longitud del valor no puede exceder {{length}} caracteres",+ "value-necessary": "Se requiere un valor"+ },+ "add-label": "Agregar etiqueta",+ "empty-label-value": "Valor"},"label.add-label": "Agregar etiqueta","label.empty-label-value": "Valor",@@ -1598,7 +1787,8 @@"license": "Licencia","missing-license-attention": "Debe asignar una licencia a la instancia para habilitar esta función.","used-and-total-license": "Licencia asignada / total",- "used-and-total-user": "Límite de usuarios activos/totales"+ "used-and-total-user": "Límite de usuarios activos/totales",+ "n-license-remain": "permanecer {{n}}"},"max-instance-count": "Recuento máximo de instancias","plan": {@@ -1735,59 +1925,59 @@}},"agent": {- "assistant-title": "Asistente de Bytebase",- "resize": "Resize",+ "assistant-title": "Asistente de IA",+ "resize": "Redimensionar","minimize": "Minimizar","close": "Cerrar",- "input-placeholder": "Pregunta lo que sea...",+ "input-placeholder": "Pregunta algo a la IA...","send": "Enviar",- "args": "Argumentos:",- "result": "Resultado:",+ "args": "Argumentos",+ "result": "Resultado","stop": "Detener","interrupted": "Interrumpido",- "retry-last-chat-turn": "Reintentar el último turno",- "interrupted-retry-hint": "Reintentar vuelve a ejecutar el turno interrumpido con el estado actual de la página.",+ "retry-last-chat-turn": "Reintentar",+ "interrupted-retry-hint": "La conversación fue interrumpida. Puede reintentar o enviar un nuevo mensaje.","new-chat": "Nuevo chat",- "rename-chat-placeholder": "Introduce un nombre para el chat",- "archive-chat": "Archivar",- "unarchive-chat": "Desarchivar",- "delete-chat": "Eliminar",- "active-only-chats": "Solo activas",- "archived-only-chats": "Solo archivadas",- "archive-chat-confirmation": "¿Archivar este chat?",- "delete-chat-confirmation": "¿Eliminar este chat?",+ "rename-chat-placeholder": "Ingrese el nombre del chat",+ "archive-chat": "Archivar chat",+ "unarchive-chat": "Desarchivar chat",+ "delete-chat": "Eliminar chat",+ "active-only-chats": "Solo activos",+ "archived-only-chats": "Solo archivados",+ "archive-chat-confirmation": "¿Está seguro de que desea archivar este chat?",+ "delete-chat-confirmation": "¿Está seguro de que desea eliminar este chat? Esta acción no se puede deshacer.","chat-list-label": "Chats","chat-default-title": "Nuevo chat","chat-archived-label": "Archivado","chat-status-idle": "Inactivo",- "chat-status-running": "En ejecución",- "chat-status-awaiting-user": "Esperando entrada",+ "chat-status-running": "Ejecutando",+ "chat-status-awaiting-user": "Esperando usuario","chat-status-error": "Error","chat-status-interrupted": "Interrumpido",- "chat-total-tokens": "Tokens usados: {{count}}",+ "chat-total-tokens": "Tokens totales","reply": "Responder","confirm": "Confirmar","cancel": "Cancelar",- "pending-input-hint": "Responde abajo para continuar este chat.",- "pending-confirm-hint": "Elige confirmar o cancelar para continuar este chat.",- "pending-choose-hint": "Elige una opción para continuar este chat.",- "tool-ask-user": "Esperando tu respuesta",- "tool-ask-user-input": "Se requiere una entrada",- "tool-ask-user-confirm": "Se requiere confirmación",- "tool-ask-user-choose": "Se requiere una selección",+ "pending-input-hint": "Proporcione la entrada arriba",+ "pending-confirm-hint": "Confirme o cancele arriba",+ "pending-choose-hint": "Seleccione una opción arriba",+ "tool-ask-user": "Preguntando al usuario",+ "tool-ask-user-input": "Proporcionar entrada",+ "tool-ask-user-confirm": "Confirmar acción",+ "tool-ask-user-choose": "Elija una opción","tool-response-submitted": "Respuesta enviada",- "tool-prompt": "Pregunta:",- "tool-default-value": "Valor predeterminado:",- "tool-options": "Opciones:",- "tool-answer": "Respuesta:",- "tool-value": "Valor:",+ "tool-prompt": "Indicación",+ "tool-default-value": "Predeterminado",+ "tool-options": "Opciones",+ "tool-answer": "Respuesta",+ "tool-value": "Valor","tool-completed": "Completado",- "tool-failed": "Completado con problemas",+ "tool-failed": "Fallido","ai-not-configured": {- "title": "El asistente de IA no está configurado para este espacio de trabajo",- "description": "Para continuar con el agente de página, habilita el asistente de IA en la configuración del espacio de trabajo.",- "configure": "Configurar IA",- "contact-admin": "Ponte en contacto con el administrador de tu organización para configurar el asistente de IA."+ "title": "IA no configurada",+ "description": "La IA no está configurada para este espacio de trabajo.",+ "configure": "Configurar",+ "contact-admin": "Contacte al administrador de su espacio de trabajo para configurar la IA."}},"changelog": {@@ -1808,5 +1998,51 @@"self_one": "Etapa","self_other": "Etapas"}+ },+ "data-source": {+ "additional-node-addresses": "Direcciones de nodos adicionales",+ "connection-string-schema": "Esquema de cadena de conexión",+ "connection-type": "Tipo de conección",+ "delete-read-only-data-source": "Eliminar origen de datos de solo lectura",+ "direct-connection": "Direct Connection",+ "extra-params": {+ "description": "Parámetros adicionales para la cadena de conexión de la base de datos",+ "self": "Parámetros adicionales"+ },+ "private-key-passphrase": "Frase de contraseña de clave privada",+ "private-key-passphrase-tip": "Frase de contraseña opcional para claves privadas cifradas",+ "read-replica-host": "Anfitrión de réplica de lectura",+ "read-replica-port": "Puerto de réplica de lectura",+ "replica-set": "Conjunto de réplicas",+ "snowflake-keypair-tip": "Autenticación de par de claves",+ "ssh-connection": "Conexión SSH",+ "ssh-type": {+ "none": "Ninguno",+ "tunnel-and-private-key": "Túnel + Clave Privada"+ },+ "ssh": {+ "host": "Anfitrión",+ "password": "Contraseña",+ "port": "Puerto",+ "private-key": "Clave Privada",+ "ssh-key": "Clave del SSH",+ "user": "Nombre de usuario"+ },+ "ssl-connection": "Conexión SSL",+ "ssl": {+ "ca-cert": "Certificado de CA",+ "client-cert": "Certificado del cliente",+ "client-key": "Clave del cliente",+ "verify-certificate": "Verificar certificado TLS",+ "verify-certificate-tooltip": "Habilitar la verificación del certificado TLS para conexiones seguras. Deshabilitar solo para desarrollo o cuando los certificados no se pueden validar correctamente (por ejemplo, certificados autofirmados, entornos VPN). Advertencia: Deshabilitar la verificación es inseguro"+ },+ "no-read-only-data-source": "Sin fuente de datos de solo lectura",+ "private-key-passphrase-placeholder": "Deje vacío si su clave privada no está cifrada"+ },+ "setting": {+ "label": {+ "key-placeholder": "Clave de etiqueta...",+ "value-placeholder": "Valor de etiqueta..."+ }}}diff --git a/frontend/src/react/locales/ja-JP.json b/frontend/src/react/locales/ja-JP.jsonindex 82c864688e..e3fce37239 100644--- a/frontend/src/react/locales/ja-JP.json+++ b/frontend/src/react/locales/ja-JP.json@@ -219,9 +219,22 @@"under-review": "レビュー中","draft": "下書き","error": "間違い",- "type-to-search": "検索するには入力...",+ "type-to-search": "入力して検索","comment": "コメント",- "clear-filters": "フィルタをクリア"+ "clear-filters": "フィルタをクリア",+ "admin": "管理者",+ "continue-anyway": "まだ続けたい",+ "creating": "作成...",+ "custom": "カスタマイズ",+ "detailed-guide": "詳細ガイド",+ "minutes": "分",+ "overview": "概要",+ "password": "パスワード",+ "read-only": "読み取り専用",+ "updating": "更新中...",+ "user": "ユーザー",+ "username": "ユーザー名",+ "write-only": "書き込み専用"},"common.add": "追加","common.admin": "管理者",@@ -412,7 +425,8 @@"with-diff": "With diff"},"unassign-alert-description": "選択したデータベースがプロジェクトから削除されます",- "unassign-alert-title": "データベースの割り当てを解除する"+ "unassign-alert-title": "データベースの割り当てを解除する",+ "sync-complete-for-instance": "インスタンス '{{0}}' の同期が完了しました"},"database-group": {"condition": {@@ -434,7 +448,9 @@"encoding": "エンコーディング","failed-to-sync-schema": "スキーマの同期に失敗しました","start-to-sync-schema": "スキーマの同期を開始します",- "successfully-synced-schema": "スキーマの同期に成功しました"+ "successfully-synced-schema": "スキーマの同期に成功しました",+ "n-databases-had-sync-errors": "{{0}} 個のデータベースで同期エラーが発生しました",+ "syncing-databases-for-instance": "{{0}} のデータベースを同期中..."},"db.failed-to-sync-schema": "スキーマの同期に失敗しました","db.n-databases-had-sync-errors": "{{0}} 個のデータベースで同期エラーが発生しました",@@ -536,7 +552,177 @@"sync-all-tip": "データベースの同期は非同期で、数秒から数分かかる場合があります。","sync-new": "新しいデータベースのみを同期する"},- "syncing": "同期中 ..."+ "syncing": "同期中 ...",+ "account-locator": "アカウントロケーター",+ "authentication-database": "認証データベース",+ "connection-info": "接続情報",+ "connection-options": "接続オプション",+ "create-gcp-credentials": "認証情報の作成方法については、を参照してください",+ "database-region": "データベース領域",+ "endpoint": "エンドポイント",+ "external-id": "外部 ID",+ "external-id-description": "ロールを引き受ける際の追加セキュリティ用の外部 ID(オプション)",+ "external-id-placeholder": "オプションの外部 ID",+ "external-link": "外部リンク",+ "external-secret-azure": {+ "secret-name": "シークレット名",+ "vault-url": "Key Vault URL",+ "secret-name-tips": "Azure Key Vault に保存されているシークレットの名前。",+ "vault-url-tips": "Key Vault URL は「https://myvault.vault.azure.net/」のような形式である必要があります。"+ },+ "external-secret-gcp": {+ "secret-name": "キーのフルパス",+ "secret-name-tips": "キーへのフルパスは、「projects/project-id/secrets/secret-id」のようなものである必要があります。"+ },+ "external-secret-vault": {+ "vault-auth-type": {+ "approle": {+ "role-id": "認証ロールID",+ "secret-env-name": "環境変数名",+ "secret-id": "認証シークレットID",+ "secret-plain-text": "プレーンテキスト",+ "self": "AppRole"+ },+ "token": {+ "self": "トークン"+ },+ "self": "認証タイプ"+ },+ "vault-secret-key": "秘密鍵",+ "vault-secret-path": "秘密の道",+ "vault-secret-engine-name": "シークレットエンジン名",+ "vault-secret-engine-tips": "KV v2 ストレージのみをサポートします",+ "vault-tls-config": "Vault TLS 構成 (オプション)",+ "vault-url": "ボールトの URL"+ },+ "external-secret": {+ "key-name": "秘密鍵",+ "secret-name": "秘密の名前"+ },+ "failed-to-connect-instance": "インスタンスへの接続に失敗しました。",+ "failed-to-connect-instance-localhost": "Docker デプロイメントを使用している場合は、ホスト アドレスとして「host.docker.internal」を使用してみてください。",+ "find-gcp-project-id": "GCP プロジェクト ID とインスタンス ID を表示するには、次を参照してください。",+ "find-gcp-project-id-and-instance-id": "GCP プロジェクト ID の確認方法については、次を参照してください",+ "grants": "権限",+ "host-or-socket": "ホストまたはソケット",+ "iam-extension": {+ "client-id": "Client ID",+ "client-secret": "Client Secret",+ "credential-source": "Credential Source",+ "specific-credential": "特定の資格情報",+ "tenant-id": "Tenant ID",+ "saas-default-credential-restriction": "セキュリティ上の理由により、Bytebase Cloud ではデフォルトの認証情報は使用できません。具体的な認証情報を入力してください。"+ },+ "info-panel": {+ "no-info": "このエンジンの追加情報はありません。"+ },+ "instance-id": "インスタンスID",+ "instance-name": "@:common.instance@:instance.name",+ "no-extra-params-configured": "追加の接続パラメーターは構成されていません",+ "no-params-yet-add-above": "まだ構成されていません。\n上記のフォームを使用してパラメーターを追加します。",+ "no-password": "パスワードがありません",+ "parameter-name-placeholder": "パラメーター名",+ "parameter-value-placeholder": "パラメーター値",+ "password-type": {+ "aws-iam": "AWS RDS IAM",+ "azure-iam": "Azure IAM",+ "google-iam": "Google Cloud SQL IAM",+ "password": "パスワード",+ "external-secret-aws": "AWS シークレットマネージャー",+ "external-secret-azure": "Azure Key Vault",+ "external-secret-gcp": "GCP シークレット マネージャー",+ "external-secret-vault": "ボールト (KV v2)"+ },+ "password-write-only": "YOUR_DB_PWD - 書き込み専用",+ "port": "ポート",+ "project-id": "プロジェクトID",+ "role-arn": "ロール ARN",+ "role-arn-description": "クロスアカウントアクセス用の IAM ロール。同一アカウントアクセスの場合は空のままにしてください。",+ "role-arn-placeholder": "arn:aws:iam::123456789012:role/CrossAccountRole",+ "scan-interval": {+ "default-never": "デフォルト (なし)",+ "description": "Bytebase は定期的にインスタンスのスキーマを同期し、異常検出を実行します。",+ "self": "スキャン間隔",+ "min-value": "最短 {{value}} 分"+ },+ "section": {+ "basic-info": "基本情報",+ "connection": "接続"+ },+ "sentence": {+ "console": {+ "snowflake": "この インスタンス を管理する外部コンソール URL (AWS RDS コンソール、データベース コンソールなど)"+ },+ "create-admin-user": "これは、データベースに接続し、DDL および DML (非 SELECT) 操作を実行するために Bytebase によって使用されるユーザーです。",+ "create-admin-user-non-sql": "これは、データベースに接続し、書き込みおよび管理操作を実行するために Bytebase によって使用されるユーザーです。",+ "create-readonly-user": "これは、データベースに接続し、SELECT などの読み取り専用操作を実行するために Bytebase によって使用されるユーザーです。",+ "create-readonly-user-non-sql": "これは、データベースに接続して読み取り専用操作を実行するために Bytebase によって使用されるユーザーです。",+ "create-user-example": {+ "postgresql": {+ "warn": "接続しているインスタンスがクラウド サービス プロバイダーによって管理されている場合、SUPERUSER は使用できないため、プロバイダーの管理者コンソールを通じてユーザーを作成する必要があります。作成したユーザーには、ベンダー固有の準 SUPERUSER 権限が与えられます。 「GRANT role_name TO bytebase;」ステートメントを使用して、すべてのロールに Bytebase 権限を付与する必要があります。そうしないと、Bytebase に既存のデータベースまたはテーブルを操作する権限がない可能性があり、操作が失敗します。",+ "template": "ユーザー {{user}}、パスワード {{password}} を作成し、必要な権限を付与する例は次のとおりです。接続しているインスタンスが自己ホスト型の場合は、SUPERUSER を付与できます。"+ },+ "clickhouse": {+ "sql-driven-workflow": "SQLワークフロー",+ "template": "ユーザー {{user}}、パスワード {{password}} を作成し、必要な権限を付与する例は次のとおりです。次のコマンドを実行してユーザーを作成する前に、{{link}} を有効にする必要があります。"+ },+ "mysql": {+ "template": "ユーザー {{user}}、パスワード {{password}} を作成し、必要な権限を付与する例は次のとおりです。"+ },+ "redis": {+ "template": "ユーザー {{user}}、パスワード {{password}} を作成し、必要な権限を付与する例は次のとおりです。"+ },+ "snowflake": {+ "template": "ユーザー {{user}}、パスワード {{password}}、ウェアハウス {{warehouse}} を作成し、必要な権限を付与する例は次のとおりです。"+ }+ },+ "firewall-info": "データベースインスタンスにインバウンドファイアウォールルールを使用する場合は、ByteBase Cloud Connection命令を参照してください。",+ "host": {+ "none-snowflake": "たとえば、host.docker.internal {{'|'}} host ip {{'|'}} local socket"+ },+ "proxy": {+ "snowflake": "プロキシ サーバーの場合は、{{'@'}}PROXY_HOST を追加し、ポートに PROXY_PORT を指定します。"+ },+ "aws-rds": {+ "mysql": {+ "template": "以下は、ユーザー {{user}}@% を作成し、そのユーザーに必要な権限を付与する例です。"+ },+ "postgresql": {+ "template": "以下は、ユーザー '{{user}}' を作成し、そのユーザーに必要な権限を付与する例です。"+ }+ },+ "google-cloud-sql": {+ "instance-name": "インスタンス接続名",+ "instance-name-tips": "インスタンス接続名は {{instance}} である必要があります。",+ "mysql": {+ "template": "{{user}} という名前のサービス アカウントを作成し、IAM ユーザー {{user}}@'%' として Google Cloud SQL に追加します。このユーザーに必要な権限を付与します。"+ },+ "postgresql": {+ "template": "{{user}} という名前のサービス アカウントを作成し、IAM ユーザー {{user}}@project-id.iam として Google Cloud SQL に追加します。ユーザーに必要な権限を付与します。"+ }+ }+ },+ "show-how-to-create": "作成方法",+ "snowflake-web-console": "スノーフレークウェブコンソール",+ "successfully-connected-instance": "インスタンスに正常に接続されました。",+ "sync-databases": {+ "add-database": "+ データベースを追加し、Enterキーを押して送信します",+ "description": "選択したデータベースのみを同期します。",+ "search-database": "データベースを検索",+ "self": "データベースを同期する",+ "sync-all": "すべてのデータベースを同期する"+ },+ "test-connection": "テスト接続",+ "type-or-paste-credentials-write-only": "資格情報を入力または貼り付けます - 書き込みのみ",+ "unable-to-connect": "Bytebase はインスタンスに接続できません。接続情報を再度確認することをお勧めします。ただし、今のところこの警告は無視してかまいません。作成後もインスタンスの詳細ページで接続情報を修正できます。\n\nエラーの詳細:{{0}}",+ "users": "ユーザー",+ "your-snowflake-account-locator": "Snowflake アカウント ロケーター",+ "testing-connection": "接続テスト中...",+ "new-instance": "新しいインスタンス",+ "no-environment": "このインスタンスは環境にバインドされていません",+ "restore-instance-instance-name-to-normal-state": "インスタンス '{{0}}' を通常の状態に復元しますか?",+ "successfully-created-instance-createdinstance-name": "インスタンス '{{0}}' が正常に作成されました。",+ "successfully-updated-instance-instance-name": "インスタンス '{{0}}' が正常に更新されました。"},"instance.account-locator": "アカウントロケーター","instance.archive-instance-instance-name": "インスタンス '{{0}}' をアーカイブしますか?",@@ -757,8 +943,11 @@"error": {"key-duplicated": "キーが繰り返されました","key-necessary": "キーを指定する必要があります",- "max-value-length-exceeded": "値は {{length}} 文字を超えることはできません"- }+ "max-value-length-exceeded": "値は {{length}} 文字を超えることはできません",+ "value-necessary": "値を指定する必要があります"+ },+ "add-label": "タグ付けする",+ "empty-label-value": "ヌル"},"label.add-label": "タグ付けする","label.empty-label-value": "ヌル",@@ -1598,7 +1787,8 @@"license": "ライセンス","missing-license-attention": "この機能のロックを解除するには、インスタンスにライセンスを割り当ててください。","used-and-total-license": "割り当てられた/合計インスタンスライセンス",- "used-and-total-user": "アクティブ/合計ユーザー制限"+ "used-and-total-user": "アクティブ/合計ユーザー制限",+ "n-license-remain": "残り {{n}}"},"max-instance-count": "最大インスタンス数","plan": {@@ -1735,59 +1925,59 @@}},"agent": {- "assistant-title": "Bytebase アシスタント",- "resize": "Resize",+ "assistant-title": "AI アシスタント",+ "resize": "リサイズ","minimize": "最小化","close": "閉じる",- "input-placeholder": "何でも質問してください...",+ "input-placeholder": "AI に何でも聞いてください...","send": "送信",- "args": "引数:",- "result": "結果:",+ "args": "引数",+ "result": "結果","stop": "停止","interrupted": "中断",- "retry-last-chat-turn": "直前のターンを再試行",- "interrupted-retry-hint": "再試行すると、現在のページ状態で中断されたターンをやり直します。",+ "retry-last-chat-turn": "再試行",+ "interrupted-retry-hint": "会話が中断されました。再試行するか、新しいメッセージを送信できます。","new-chat": "新しいチャット",- "rename-chat-placeholder": "チャット名を入力してください",- "archive-chat": "アーカイブ",+ "rename-chat-placeholder": "チャット名を入力",+ "archive-chat": "チャットをアーカイブ","unarchive-chat": "アーカイブ解除",- "delete-chat": "削除",+ "delete-chat": "チャットを削除","active-only-chats": "アクティブのみ",- "archived-only-chats": "アーカイブのみ",+ "archived-only-chats": "アーカイブ済みのみ","archive-chat-confirmation": "このチャットをアーカイブしますか?",- "delete-chat-confirmation": "このチャットを削除しますか?",+ "delete-chat-confirmation": "このチャットを削除しますか?この操作は元に戻せません。","chat-list-label": "チャット","chat-default-title": "新しいチャット","chat-archived-label": "アーカイブ済み",- "chat-status-idle": "待機中",+ "chat-status-idle": "アイドル","chat-status-running": "実行中",- "chat-status-awaiting-user": "入力待ち",+ "chat-status-awaiting-user": "ユーザー待ち","chat-status-error": "エラー","chat-status-interrupted": "中断",- "chat-total-tokens": "使用済みトークン: {{count}}",+ "chat-total-tokens": "合計トークン数","reply": "返信","confirm": "確認","cancel": "キャンセル",- "pending-input-hint": "このチャットを続けるには、下に返信してください。",- "pending-confirm-hint": "このチャットを続けるには、確認またはキャンセルを選択してください。",- "pending-choose-hint": "このチャットを続けるには、選択肢を選んでください。",- "tool-ask-user": "あなたの回答を待っています",- "tool-ask-user-input": "入力が必要です",- "tool-ask-user-confirm": "確認が必要です",- "tool-ask-user-choose": "選択が必要です",- "tool-response-submitted": "回答を送信しました",- "tool-prompt": "質問:",- "tool-default-value": "既定値:",- "tool-options": "選択肢:",- "tool-answer": "回答:",- "tool-value": "値:",+ "pending-input-hint": "上に入力してください",+ "pending-confirm-hint": "上で確認またはキャンセルしてください",+ "pending-choose-hint": "上のオプションから選択してください",+ "tool-ask-user": "ユーザーに質問中",+ "tool-ask-user-input": "入力を提供",+ "tool-ask-user-confirm": "操作を確認",+ "tool-ask-user-choose": "オプションを選択",+ "tool-response-submitted": "回答が送信されました",+ "tool-prompt": "プロンプト",+ "tool-default-value": "デフォルト",+ "tool-options": "オプション",+ "tool-answer": "回答",+ "tool-value": "値","tool-completed": "完了",- "tool-failed": "問題ありで完了",+ "tool-failed": "失敗","ai-not-configured": {- "title": "このワークスペースでは AI アシスタントが設定されていません",- "description": "ページエージェントを続けるには、ワークスペース設定で AI アシスタントを有効にしてください。",- "configure": "AI を設定",- "contact-admin": "AI アシスタントを設定するには、組織の管理者に連絡してください。"+ "title": "AI 未設定",+ "description": "このワークスペースでは AI が設定されていません。",+ "configure": "設定",+ "contact-admin": "ワークスペース管理者に AI の設定を依頼してください。"}},"changelog": {@@ -1808,5 +1998,51 @@"self_one": "ステージ","self_other": "ステージ"}+ },+ "data-source": {+ "additional-node-addresses": "追加のノードアドレス",+ "connection-string-schema": "接続文字列モード",+ "connection-type": "接続タイプ",+ "delete-read-only-data-source": "読み取り専用データソースを削除する",+ "direct-connection": "Direct Connection",+ "extra-params": {+ "description": "データベース接続文字列の追加パラメーター",+ "self": "追加のパラメーター"+ },+ "private-key-passphrase": "秘密鍵のパスフレーズ",+ "private-key-passphrase-tip": "暗号化された秘密鍵のオプションパスフレーズ",+ "read-replica-host": "リードレプリカホスト",+ "read-replica-port": "リードレプリカポート",+ "replica-set": "レプリカセット",+ "snowflake-keypair-tip": "キーペア認証",+ "ssh-connection": "SSH接続",+ "ssh-type": {+ "none": "なし",+ "tunnel-and-private-key": "トンネル + 秘密鍵"+ },+ "ssh": {+ "host": "サーバ",+ "password": "パスワード",+ "port": "ポート",+ "private-key": "秘密鍵",+ "ssh-key": "SSHキー",+ "user": "ユーザー名"+ },+ "ssl-connection": "SSL接続",+ "ssl": {+ "ca-cert": "CA証明書",+ "client-cert": "クライアント証明書",+ "client-key": "クライアントキー",+ "verify-certificate": "TLS証明書を検証",+ "verify-certificate-tooltip": "安全な接続のためにTLS証明書の検証を有効にします。開発環境や証明書が適切に検証できない場合(自己署名証明書、VPN環境など)にのみ無効にしてください。警告:検証を無効にすることは安全ではありません"+ },+ "no-read-only-data-source": "読み取り専用データソースがありません",+ "private-key-passphrase-placeholder": "秘密鍵が暗号化されていない場合は空のままにしてください"+ },+ "setting": {+ "label": {+ "key-placeholder": "タグキー...",+ "value-placeholder": "タグ値…"+ }}}diff --git a/frontend/src/react/locales/vi-VN.json b/frontend/src/react/locales/vi-VN.jsonindex 404a70e058..9ae6e495f8 100644--- a/frontend/src/react/locales/vi-VN.json+++ b/frontend/src/react/locales/vi-VN.json@@ -219,9 +219,22 @@"under-review": "Đang xem xét","draft": "Bản nháp","error": "Lỗi",- "type-to-search": "Nhập để tìm kiếm...",+ "type-to-search": "Nhập để tìm kiếm","comment": "Bình luận",- "clear-filters": "Xóa bộ lọc"+ "clear-filters": "Xóa bộ lọc",+ "admin": "Quản trị viên",+ "continue-anyway": "Tiếp tục",+ "creating": "Đang tạo...",+ "custom": "Tùy chỉnh",+ "detailed-guide": "Hướng dẫn chi tiết",+ "minutes": "Phút",+ "overview": "Tổng quan",+ "password": "Mật khẩu",+ "read-only": "Chỉ đọc",+ "updating": "Đang cập nhật...",+ "user": "Người dùng",+ "username": "Tên người dùng",+ "write-only": "chỉ ghi"},"common.add": "Thêm","common.admin": "Quản trị viên",@@ -412,7 +425,8 @@"with-diff": "With diff"},"unassign-alert-description": "Các cơ sở dữ liệu đã chọn sẽ bị xóa khỏi dự án",- "unassign-alert-title": "Hủy gán cơ sở dữ liệu"+ "unassign-alert-title": "Hủy gán cơ sở dữ liệu",+ "sync-complete-for-instance": "Đồng bộ hoàn tất cho instance '{{0}}'"},"database-group": {"condition": {@@ -434,7 +448,9 @@"encoding": "Mã hóa","failed-to-sync-schema": "Đồng bộ hóa lược đồ thất bại","start-to-sync-schema": "Bắt đầu đồng bộ hóa lược đồ",- "successfully-synced-schema": "Đồng bộ hóa lược đồ thành công"+ "successfully-synced-schema": "Đồng bộ hóa lược đồ thành công",+ "n-databases-had-sync-errors": "{{0}} cơ sở dữ liệu gặp lỗi đồng bộ",+ "syncing-databases-for-instance": "Đang đồng bộ hóa cơ sở dữ liệu cho {{0}}..."},"db.failed-to-sync-schema": "Không đồng bộ hóa được lược đồ","db.n-databases-had-sync-errors": "{{0}} cơ sở dữ liệu gặp lỗi đồng bộ",@@ -536,7 +552,177 @@"sync-all-tip": "Đồng bộ cơ sở dữ liệu không đồng bộ và có thể mất vài giây đến vài phút","sync-new": "Chỉ đồng bộ cơ sở dữ liệu mới"},- "syncing": "Đang đồng bộ hóa ..."+ "syncing": "Đang đồng bộ hóa ...",+ "account-locator": "Định vị tài khoản",+ "authentication-database": "Cơ sở dữ liệu xác thực",+ "connection-info": "Thông tin kết nối",+ "connection-options": "Tùy chọn kết nối",+ "create-gcp-credentials": "Để tạo thông tin xác thực, xem",+ "database-region": "Khu vực cơ sở dữ liệu",+ "endpoint": "Điểm cuối",+ "external-id": "ID bên ngoài",+ "external-id-description": "ID bên ngoài để bảo mật bổ sung khi đảm nhận vai trò (tùy chọn)",+ "external-id-placeholder": "ID bên ngoài tùy chọn",+ "external-link": "Liên kết ngoài",+ "external-secret-azure": {+ "secret-name": "Tên bí mật",+ "vault-url": "URL Key Vault",+ "secret-name-tips": "Tên của bí mật được lưu trữ trong Azure Key Vault.",+ "vault-url-tips": "URL Key Vault phải giống như \"https://myvault.vault.azure.net/\"."+ },+ "external-secret-gcp": {+ "secret-name": "Tên đầy đủ bí mật",+ "secret-name-tips": "Tên bí mật phải giống như \"projects/project-id/secrets/secret-id\"."+ },+ "external-secret-vault": {+ "vault-auth-type": {+ "approle": {+ "role-id": "ID vai trò xác thực",+ "secret-env-name": "Tên môi trường",+ "secret-id": "ID bí mật xác thực",+ "secret-plain-text": "Văn bản thuần",+ "self": "AppRole"+ },+ "token": {+ "self": "Mã thông báo"+ },+ "self": "Loại xác thực"+ },+ "vault-secret-key": "Khóa bí mật",+ "vault-secret-path": "Đường dẫn bí mật",+ "vault-secret-engine-name": "Tên công cụ bí mật",+ "vault-secret-engine-tips": "Chỉ hỗ trợ công cụ KV v2.",+ "vault-tls-config": "Cấu hình Vault TLS (Tùy chọn)",+ "vault-url": "URL Vault"+ },+ "external-secret": {+ "key-name": "Khóa bí mật",+ "secret-name": "Tên bí mật"+ },+ "failed-to-connect-instance": "Không kết nối được với phiên bản.",+ "failed-to-connect-instance-localhost": "Nếu bạn chạy Bytebase bằng Docker, vui lòng thử \"host.docker.internal\" cho địa chỉ máy chủ.",+ "find-gcp-project-id": "Để tìm ID dự án GCP, xem",+ "find-gcp-project-id-and-instance-id": "Để tìm ID dự án GCP và ID phiên bản, xem",+ "grants": "Quyền",+ "host-or-socket": "Máy chủ hoặc Socket",+ "iam-extension": {+ "client-id": "Client ID",+ "client-secret": "Client Secret",+ "credential-source": "Credential Source",+ "specific-credential": "Chứng chỉ cụ thể",+ "tenant-id": "Tenant ID",+ "saas-default-credential-restriction": "Thông tin xác thực mặc định không khả dụng trong Bytebase Cloud vì lý do bảo mật. Vui lòng cung cấp thông tin xác thực cụ thể."+ },+ "info-panel": {+ "no-info": "Không có thông tin bổ sung cho engine này."+ },+ "instance-id": "ID phiên bản",+ "instance-name": "Tên phiên bản",+ "no-extra-params-configured": "Không có thông số kết nối bổ sung được cấu hình",+ "no-params-yet-add-above": "Chưa có thông số nào được cấu hình. \nThêm tham số bằng cách sử dụng biểu mẫu trên.",+ "no-password": "Không có mật khẩu",+ "parameter-name-placeholder": "Tên tham số",+ "parameter-value-placeholder": "Giá trị tham số",+ "password-type": {+ "aws-iam": "AWS RDS IAM",+ "azure-iam": "Azure IAM",+ "google-iam": "Google Cloud SQL IAM",+ "password": "Mật khẩu",+ "external-secret-aws": "AWS Secrets Manager",+ "external-secret-azure": "Azure Key Vault",+ "external-secret-gcp": "GCP Secret Manager",+ "external-secret-vault": "Vault (KV v2)"+ },+ "password-write-only": "YOUR_DB_PWD - chỉ ghi",+ "port": "Cổng",+ "project-id": "ID dự án",+ "role-arn": "ARN vai trò",+ "role-arn-description": "Vai trò IAM để đảm nhận cho truy cập xuyên tài khoản. Để trống cho truy cập cùng tài khoản.",+ "role-arn-placeholder": "arn:aws:iam::123456789012:role/CrossAccountRole",+ "scan-interval": {+ "default-never": "Mặc định (không bao giờ)",+ "description": "Bytebase định kỳ đồng bộ lược đồ phiên bản và phát hiện bất thường.",+ "self": "Khoảng thời gian quét",+ "min-value": "Giá trị nhỏ nhất {{value}} phút"+ },+ "section": {+ "basic-info": "Thông tin cơ bản",+ "connection": "Kết nối"+ },+ "sentence": {+ "console": {+ "snowflake": "URL bảng điều khiển bên ngoài quản lý phiên bản này (ví dụ: bảng điều khiển AWS RDS, bảng điều khiển phiên bản cơ sở dữ liệu nội bộ của bạn)"+ },+ "create-admin-user": "Đây là người dùng kết nối được Bytebase sử dụng để thực hiện các hoạt động DDL và DML (không phải SELECT).",+ "create-admin-user-non-sql": "Đây là người dùng kết nối được Bytebase sử dụng để thực hiện các hoạt động ghi và quản trị.",+ "create-readonly-user": "Đây là kết nối được Bytebase sử dụng để thực hiện các hoạt động chỉ đọc như truy vấn SELECT.",+ "create-readonly-user-non-sql": "Đây là kết nối được Bytebase sử dụng để thực hiện các hoạt động chỉ đọc.",+ "create-user-example": {+ "postgresql": {+ "warn": "Nếu phiên bản kết nối được quản lý bởi nhà cung cấp đám mây, thì SUPERUSER không khả dụng và bạn nên tạo người dùng thông qua bảng điều khiển quản trị của nhà cung cấp đó. Người dùng đã tạo sẽ có các đặc quyền bán SUPERUSER cụ thể của nhà cung cấp. Bạn nên cấp các đặc quyền Bytebase với 'GRANT role_name TO bytebase;' cho tất cả các vai trò hiện có, nếu không Bytebase có thể không truy cập được các cơ sở dữ liệu hoặc bảng hiện có.",+ "template": "Dưới đây là ví dụ để tạo người dùng '{{user}}' với mật khẩu {{password}} và cấp cho người dùng các đặc quyền cần thiết. Nếu phiên bản kết nối được tự lưu trữ, thì bạn có thể cấp SUPERUSER."+ },+ "clickhouse": {+ "sql-driven-workflow": "Quy trình công việc dựa trên SQL",+ "template": "Dưới đây là ví dụ để tạo người dùng '{{user}}' với mật khẩu {{password}} và cấp cho người dùng các đặc quyền cần thiết. Đầu tiên, bạn cần bật {{link}} quy trình công việc dựa trên SQL và sau đó chạy truy vấn sau để tạo người dùng."+ },+ "mysql": {+ "template": "Dưới đây là ví dụ để tạo người dùng {{user}}@% với mật khẩu {{password}} và cấp cho người dùng các đặc quyền cần thiết."+ },+ "redis": {+ "template": "Dưới đây là ví dụ để tạo người dùng {{user}} với mật khẩu {{password}} và cấp cho người dùng các đặc quyền cần thiết."+ },+ "snowflake": {+ "template": "Dưới đây là ví dụ để tạo người dùng '{{user}}' với mật khẩu {{password}} cho {{warehouse}} và cấp cho người dùng các đặc quyền cần thiết."+ }+ },+ "firewall-info": "Nếu bạn sử dụng các quy tắc tường lửa gửi đến cho thể hiện cơ sở dữ liệu của mình, vui lòng tham khảo Hướng dẫn kết nối đám mây Bytebase.",+ "host": {+ "none-snowflake": "ví dụ: host.docker.internal {{'|'}} địa chỉ IP máy chủ {{'|'}} local socket"+ },+ "proxy": {+ "snowflake": "Đối với máy chủ proxy, thêm {{'@'}}PROXY_HOST và chỉ định PROXY_PORT trong cổng"+ },+ "aws-rds": {+ "mysql": {+ "template": "Dưới đây là ví dụ để tạo người dùng {{user}}@% và cấp cho người dùng các đặc quyền cần thiết."+ },+ "postgresql": {+ "template": "Dưới đây là ví dụ để tạo người dùng '{{user}}' và cấp cho người dùng các đặc quyền cần thiết."+ }+ },+ "google-cloud-sql": {+ "instance-name": "Tên kết nối phiên bản",+ "instance-name-tips": "Tên kết nối phiên bản phải giống như {{instance}}.",+ "mysql": {+ "template": "Tạo một tài khoản dịch vụ có tên {{user}}, sau đó thêm nó vào Google Cloud SQL của bạn với tư cách là người dùng IAM {{user}}@'%'. Cấp cho người dùng này các đặc quyền cần thiết."+ },+ "postgresql": {+ "template": "Tạo một tài khoản dịch vụ có tên {{user}}, sau đó thêm nó vào Google Cloud SQL của bạn với tư cách là người dùng IAM {{user}}@project-id.iam. Cấp cho người dùng các đặc quyền cần thiết."+ }+ }+ },+ "show-how-to-create": "Hiển thị cách tạo",+ "snowflake-web-console": "Bảng điều khiển web Snowflake",+ "successfully-connected-instance": "Đã kết nối thành công với phiên bản.",+ "sync-databases": {+ "add-database": "+ Thêm cơ sở dữ liệu, nhấn enter để gửi",+ "description": "Chỉ đồng bộ các cơ sở dữ liệu đã chọn.",+ "search-database": "Tìm kiếm cơ sở dữ liệu",+ "self": "Đồng bộ cơ sở dữ liệu",+ "sync-all": "Đồng bộ tất cả cơ sở dữ liệu"+ },+ "test-connection": "Kiểm tra kết nối",+ "type-or-paste-credentials-write-only": "Nhập hoặc dán THÔNG TIN XÁC THỰC - chỉ ghi",+ "unable-to-connect": "Bytebase không thể kết nối với phiên bản. Chúng tôi khuyên bạn nên xem xét lại thông tin kết nối. Nhưng bạn có thể bỏ qua cảnh báo này ngay bây giờ. Bạn vẫn có thể sửa thông tin kết nối từ trang chi tiết phiên bản sau khi tạo.\n\nChi tiết lỗi: {{0}}",+ "users": "Người dùng",+ "your-snowflake-account-locator": "Định vị tài khoản Snowflake của bạn",+ "testing-connection": "Đang kiểm tra kết nối...",+ "new-instance": "Phiên bản mới",+ "no-environment": "Trường hợp này không bị ràng buộc với môi trường",+ "restore-instance-instance-name-to-normal-state": "Khôi phục phiên bản '{{0}}' về trạng thái bình thường?",+ "successfully-created-instance-createdinstance-name": "Đã tạo thành công phiên bản '{{0}}'.",+ "successfully-updated-instance-instance-name": "Đã cập nhật thành công phiên bản '{{0}}'."},"instance.account-locator": "Định vị tài khoản","instance.archive-instance-instance-name": "Lưu trữ phiên bản '{{0}}'?",@@ -757,8 +943,11 @@"error": {"key-duplicated": "Khóa trùng lặp","key-necessary": "Khóa là bắt buộc",- "max-value-length-exceeded": "Độ dài giá trị không được vượt quá {{length}} ký tự"- }+ "max-value-length-exceeded": "Độ dài giá trị không được vượt quá {{length}} ký tự",+ "value-necessary": "Giá trị là bắt buộc"+ },+ "add-label": "Thêm nhãn",+ "empty-label-value": "Trống"},"label.add-label": "Thêm nhãn","label.empty-label-value": "Trống",@@ -1598,7 +1787,8 @@"license": "Giấy phép","missing-license-attention": "Bạn cần gán giấy phép cho phiên bản để bật tính năng này.","used-and-total-license": "Giấy phép phiên bản đã gán / Tổng số",- "used-and-total-user": "Giới hạn người dùng đang hoạt động / Tổng số"+ "used-and-total-user": "Giới hạn người dùng đang hoạt động / Tổng số",+ "n-license-remain": "còn lại {{n}}"},"max-instance-count": "Số lượng phiên bản tối đa","plan": {@@ -1735,59 +1925,59 @@}},"agent": {- "assistant-title": "Trợ lý Bytebase",- "resize": "Resize",+ "assistant-title": "Trợ lý AI",+ "resize": "Thay đổi kích thước","minimize": "Thu nhỏ","close": "Đóng",- "input-placeholder": "Hỏi bất cứ điều gì...",+ "input-placeholder": "Hỏi AI bất cứ điều gì...","send": "Gửi",- "args": "Tham số:",- "result": "Kết quả:",+ "args": "Tham số",+ "result": "Kết quả","stop": "Dừng","interrupted": "Bị gián đoạn",- "retry-last-chat-turn": "Thử lại lượt trước",- "interrupted-retry-hint": "Thử lại sẽ chạy lại lượt bị gián đoạn với trạng thái trang hiện tại.",- "new-chat": "Chat mới",- "rename-chat-placeholder": "Nhập tên chat",- "archive-chat": "Lưu trữ",+ "retry-last-chat-turn": "Thử lại",+ "interrupted-retry-hint": "Cuộc trò chuyện đã bị gián đoạn. Bạn có thể thử lại hoặc gửi tin nhắn mới.",+ "new-chat": "Cuộc trò chuyện mới",+ "rename-chat-placeholder": "Nhập tên cuộc trò chuyện",+ "archive-chat": "Lưu trữ cuộc trò chuyện","unarchive-chat": "Bỏ lưu trữ",- "delete-chat": "Xóa",+ "delete-chat": "Xóa cuộc trò chuyện","active-only-chats": "Chỉ hoạt động",- "archived-only-chats": "Chỉ lưu trữ",- "archive-chat-confirmation": "Lưu trữ chat này?",- "delete-chat-confirmation": "Xóa chat này?",- "chat-list-label": "Các chat",- "chat-default-title": "Chat mới",+ "archived-only-chats": "Chỉ đã lưu trữ",+ "archive-chat-confirmation": "Bạn có chắc chắn muốn lưu trữ cuộc trò chuyện này?",+ "delete-chat-confirmation": "Bạn có chắc chắn muốn xóa cuộc trò chuyện này? Hành động này không thể hoàn tác.",+ "chat-list-label": "Cuộc trò chuyện",+ "chat-default-title": "Cuộc trò chuyện mới","chat-archived-label": "Đã lưu trữ","chat-status-idle": "Rảnh","chat-status-running": "Đang chạy",- "chat-status-awaiting-user": "Đang chờ nhập",+ "chat-status-awaiting-user": "Đang chờ người dùng","chat-status-error": "Lỗi","chat-status-interrupted": "Bị gián đoạn",- "chat-total-tokens": "Token đã dùng: {{count}}",+ "chat-total-tokens": "Tổng số token","reply": "Trả lời","confirm": "Xác nhận","cancel": "Hủy",- "pending-input-hint": "Hãy trả lời bên dưới để tiếp tục chat này.",- "pending-confirm-hint": "Chọn xác nhận hoặc hủy để tiếp tục chat này.",- "pending-choose-hint": "Chọn một tùy chọn để tiếp tục chat này.",- "tool-ask-user": "Đang chờ phản hồi của bạn",- "tool-ask-user-input": "Cần nhập dữ liệu",- "tool-ask-user-confirm": "Cần xác nhận",- "tool-ask-user-choose": "Cần lựa chọn",- "tool-response-submitted": "Đã gửi phản hồi",- "tool-prompt": "Câu hỏi:",- "tool-default-value": "Giá trị mặc định:",- "tool-options": "Tùy chọn:",- "tool-answer": "Câu trả lời:",- "tool-value": "Giá trị:",- "tool-completed": "Hoàn tất",- "tool-failed": "Hoàn tất kèm vấn đề",+ "pending-input-hint": "Vui lòng cung cấp đầu vào ở trên",+ "pending-confirm-hint": "Vui lòng xác nhận hoặc hủy ở trên",+ "pending-choose-hint": "Vui lòng chọn một tùy chọn ở trên",+ "tool-ask-user": "Đang hỏi người dùng",+ "tool-ask-user-input": "Cung cấp đầu vào",+ "tool-ask-user-confirm": "Xác nhận hành động",+ "tool-ask-user-choose": "Chọn một tùy chọn",+ "tool-response-submitted": "Phản hồi đã được gửi",+ "tool-prompt": "Lời nhắc",+ "tool-default-value": "Mặc định",+ "tool-options": "Tùy chọn",+ "tool-answer": "Câu trả lời",+ "tool-value": "Giá trị",+ "tool-completed": "Đã hoàn thành",+ "tool-failed": "Thất bại","ai-not-configured": {- "title": "Trợ lý AI chưa được cấu hình cho workspace này",- "description": "Để tiếp tục với page agent, hãy bật Trợ lý AI trong cài đặt workspace.",- "configure": "Cấu hình AI",- "contact-admin": "Vui lòng liên hệ quản trị viên của tổ chức để cấu hình Trợ lý AI."+ "title": "AI chưa được cấu hình",+ "description": "AI chưa được cấu hình cho không gian làm việc này.",+ "configure": "Cấu hình",+ "contact-admin": "Liên hệ quản trị viên không gian làm việc để cấu hình AI."}},"changelog": {@@ -1808,5 +1998,51 @@"self_one": "Giai đoạn","self_other": "Các giai đoạn"}+ },+ "data-source": {+ "additional-node-addresses": "Địa chỉ nút bổ sung",+ "connection-string-schema": "Lược đồ chuỗi kết nối",+ "connection-type": "Loại kết nối",+ "delete-read-only-data-source": "Xóa nguồn dữ liệu chỉ đọc",+ "direct-connection": "Kết nối trực tiếp",+ "extra-params": {+ "description": "Các tham số bổ sung cho chuỗi kết nối cơ sở dữ liệu",+ "self": "Thông số bổ sung"+ },+ "private-key-passphrase": "Mật khẩu khóa riêng",+ "private-key-passphrase-tip": "Mật khẩu tùy chọn cho khóa riêng được mã hóa",+ "read-replica-host": "Máy chủ bản sao đọc",+ "read-replica-port": "Cổng bản sao đọc",+ "replica-set": "Bộ bản sao",+ "snowflake-keypair-tip": "Xác thực cặp khóa",+ "ssh-connection": "Kết nối SSH",+ "ssh-type": {+ "none": "Không có",+ "tunnel-and-private-key": "Đường hầm + Khóa riêng"+ },+ "ssh": {+ "host": "Máy chủ",+ "password": "Mật khẩu",+ "port": "Cổng",+ "private-key": "Khóa riêng",+ "ssh-key": "Khóa SSH",+ "user": "Người dùng"+ },+ "ssl-connection": "Kết nối SSL",+ "ssl": {+ "ca-cert": "Chứng chỉ CA",+ "client-cert": "Chứng chỉ máy khách",+ "client-key": "Khóa máy khách",+ "verify-certificate": "Xác minh chứng chỉ TLS",+ "verify-certificate-tooltip": "Bật xác minh chứng chỉ TLS để kết nối an toàn. Chỉ tắt cho môi trường phát triển hoặc khi không thể xác thực chứng chỉ đúng cách (ví dụ: chứng chỉ tự ký, môi trường VPN). Cảnh báo: Tắt xác minh là không an toàn"+ },+ "no-read-only-data-source": "Không có nguồn dữ liệu chỉ đọc",+ "private-key-passphrase-placeholder": "Để trống nếu khóa riêng của bạn không được mã hóa"+ },+ "setting": {+ "label": {+ "key-placeholder": "Khóa nhãn...",+ "value-placeholder": "Giá trị nhãn..."+ }}}diff --git a/frontend/src/react/locales/zh-CN.json b/frontend/src/react/locales/zh-CN.jsonindex 883155a66f..a0258151d6 100644--- a/frontend/src/react/locales/zh-CN.json+++ b/frontend/src/react/locales/zh-CN.json@@ -219,9 +219,22 @@"under-review": "审批中","draft": "草稿","error": "错误",- "type-to-search": "输入搜索...",+ "type-to-search": "输入以搜索","comment": "评论",- "clear-filters": "清除过滤"+ "clear-filters": "清除过滤",+ "admin": "管理员",+ "continue-anyway": "仍要继续",+ "creating": "创建中...",+ "custom": "自定义",+ "detailed-guide": "详细指南",+ "minutes": "分钟",+ "overview": "概览",+ "password": "密码",+ "read-only": "只读",+ "updating": "更新中...",+ "user": "用户",+ "username": "用户名",+ "write-only": "仅写入"},"common.add": "添加","common.admin": "管理员",@@ -412,7 +425,8 @@"with-diff": "有差异"},"unassign-alert-description": "选定的数据库将从项目中移除",- "unassign-alert-title": "取消分配数据库"+ "unassign-alert-title": "取消分配数据库",+ "sync-complete-for-instance": "实例 '{{0}}' 同步完成"},"database-group": {"condition": {@@ -434,7 +448,9 @@"encoding": "编码","failed-to-sync-schema": "同步 schema 失败","start-to-sync-schema": "开始同步 schema",- "successfully-synced-schema": "成功同步 schema"+ "successfully-synced-schema": "成功同步 schema",+ "n-databases-had-sync-errors": "{{0}} 个数据库同步出错",+ "syncing-databases-for-instance": "正在同步 {{0}} 的数据库..."},"db.failed-to-sync-schema": "同步 schema 失败","db.n-databases-had-sync-errors": "{{0}} 个数据库同步出错",@@ -536,7 +552,177 @@"sync-all-tip": "数据库同步是异步的,可能需要几秒到几分钟","sync-new": "仅同步新数据库"},- "syncing": "同步中 ..."+ "syncing": "同步中 ...",+ "account-locator": "账户定位符",+ "authentication-database": "认证数据库",+ "connection-info": "连接信息",+ "connection-options": "连接选项",+ "create-gcp-credentials": "创建凭据的方法见",+ "database-region": "数据库区域",+ "endpoint": "端点",+ "external-id": "外部 ID",+ "external-id-description": "承担角色时用于额外安全性的外部 ID(可选)",+ "external-id-placeholder": "可选的外部 ID",+ "external-link": "外部链接",+ "external-secret-azure": {+ "secret-name": "密钥名称",+ "vault-url": "Key Vault URL",+ "secret-name-tips": "存储在 Azure Key Vault 中的密钥名称。",+ "vault-url-tips": "Key Vault URL 应类似于 \"https://myvault.vault.azure.net/\""+ },+ "external-secret-gcp": {+ "secret-name": "密钥完整路径",+ "secret-name-tips": "密钥完整路径应类似于 \"projects/project-id/secrets/secret-id\""+ },+ "external-secret-vault": {+ "vault-auth-type": {+ "approle": {+ "role-id": "Auth role id",+ "secret-env-name": "环境变量名",+ "secret-id": "Auth secret id",+ "secret-plain-text": "明文",+ "self": "AppRole"+ },+ "token": {+ "self": "Token"+ },+ "self": "认证方式"+ },+ "vault-secret-key": "Secret key",+ "vault-secret-path": "Secret path",+ "vault-secret-engine-name": "Secret engine name",+ "vault-secret-engine-tips": "仅支持 KV v2 储存",+ "vault-tls-config": "Vault TLS 配置(可选)",+ "vault-url": "Vault URL"+ },+ "external-secret": {+ "key-name": "Secret key",+ "secret-name": "Secret name"+ },+ "failed-to-connect-instance": "连接到实例失败。",+ "failed-to-connect-instance-localhost": "如果您使用的 Docker 部署,请尝试使用 \"host.docker.internal\" 作为 Host 地址。",+ "find-gcp-project-id": "查看 GCP 项目 ID 的方法见",+ "find-gcp-project-id-and-instance-id": "查看 GCP 项目 ID 与实例 ID 的方法见",+ "grants": "权限",+ "host-or-socket": "Host 或 Socket",+ "iam-extension": {+ "client-id": "Client ID",+ "client-secret": "Client Secret",+ "credential-source": "凭证来源",+ "specific-credential": "指定凭证",+ "tenant-id": "Tenant ID",+ "saas-default-credential-restriction": "出于安全考虑,Bytebase Cloud 不支持使用默认凭证。请提供具体凭证。"+ },+ "info-panel": {+ "no-info": "暂无该引擎的额外信息。"+ },+ "instance-id": "实例 ID",+ "instance-name": "实例名称",+ "no-extra-params-configured": "没有配置的额外连接参数",+ "no-params-yet-add-above": "尚未配置参数。\n使用上面的形式添加参数。",+ "no-password": "无密码",+ "parameter-name-placeholder": "参数名称",+ "parameter-value-placeholder": "参数值",+ "password-type": {+ "aws-iam": "AWS RDS IAM",+ "azure-iam": "Azure IAM",+ "google-iam": "Google Cloud SQL IAM",+ "password": "密码",+ "external-secret-aws": "AWS Secrets Manager",+ "external-secret-azure": "Azure Key Vault",+ "external-secret-gcp": "GCP Secret Manager",+ "external-secret-vault": "Vault (KV v2)"+ },+ "password-write-only": "YOUR_DB_PWD - 仅写入",+ "port": "端口",+ "project-id": "项目 ID",+ "role-arn": "角色 ARN",+ "role-arn-description": "用于跨账户访问的 IAM 角色。同账户访问请留空。",+ "role-arn-placeholder": "arn:aws:iam::123456789012:role/CrossAccountRole",+ "scan-interval": {+ "default-never": "默认(永不)",+ "description": "Bytebase 会定期同步实例的 schema 以及进行异常检测。",+ "self": "扫描间隔",+ "min-value": "最小值 {{value}} 分钟"+ },+ "section": {+ "basic-info": "基本信息",+ "connection": "连接"+ },+ "sentence": {+ "console": {+ "snowflake": "\b管理该实例的外部控制台 URL(如 AWS RDS 控制台,您的数据库控制台)"+ },+ "create-admin-user": "这是 Bytebase 用于连接数据库,执行 DDL 和 DML (非 SELECT) 操作的用户。",+ "create-admin-user-non-sql": "这是 Bytebase 用于连接数据库,执行写和管理操作的用户。",+ "create-readonly-user": "这是 Bytebase 用于连接数据库,执行诸如 SELECT 的只读操作的用户。",+ "create-readonly-user-non-sql": "这是 Bytebase 用于连接数据库,执行只读操作的用户。",+ "create-user-example": {+ "postgresql": {+ "warn": "如果您将要连接到的实例是由云服务供应商管理的话,那么 SUPERUSER 是不可用的,您需要通过供应商的管理员控制台来创建用户。您所创建的用户会拥有供应商特定的 semi-SUPERUSER 的权限。 您应该对所有 role 用 'GRANT role_name TO bytebase;' 语句赋予 Bytebase 权限,否则 Bytebase 可能没有权限操作已有的数据库或者表导致操作失败。",+ "template": "创建用户 {{user}},密码 {{password}},并授予必要权限的例子如下。如果您将要连接到的实例是自己托管的,那么您可以 grant SUPERUSER。"+ },+ "clickhouse": {+ "sql-driven-workflow": "SQL 工作流",+ "template": "创建用户 {{user}},密码 {{password}},并授予必要权限的例子如下。您需要首先启用 {{link}},才能执行以下创建用户的命令。"+ },+ "mysql": {+ "template": "创建用户 {{user}},密码 {{password}},并授予必要权限的例子如下。"+ },+ "redis": {+ "template": "创建用户 {{user}},密码 {{password}},并授予必要权限的例子如下。"+ },+ "snowflake": {+ "template": "创建用户 {{user}},密码 {{password}},warehouse 为{{warehouse}},并授予必要权限的例子如下。"+ }+ },+ "firewall-info": "如果您为数据库实例使用入站防火墙规则,请参阅 ByteBase Cloud Connection 文档。",+ "host": {+ "none-snowflake": "例如 host.docker.internal {{'|'}} ip {{'|'}} local socket"+ },+ "proxy": {+ "snowflake": "对于代理服务器,加上 {{'@'}}PROXY_HOST,并在端口里指定 PROXY_PORT"+ },+ "aws-rds": {+ "mysql": {+ "template": "下面是创建用户 {{user}}@% 并授予该用户所需权限的示例。"+ },+ "postgresql": {+ "template": "下面是创建用户\"{{user}}\"并授予该用户所需权限的示例。"+ }+ },+ "google-cloud-sql": {+ "instance-name": "实例连接名称",+ "instance-name-tips": "实例连接名称应为 {{instance}}。",+ "mysql": {+ "template": "创建一个名为 {{user}} 的服务帐户,然后将其作为 IAM 用户 {{user}}@'%' 添加到您的 Google Cloud SQL 中。授予此用户所需的权限。"+ },+ "postgresql": {+ "template": "创建一个名为 {{user}} 的服务帐户,然后将其作为 IAM 用户 {{user}}@project-id.iam 添加到您的 Google Cloud SQL 中。授予用户所需的权限。"+ }+ }+ },+ "show-how-to-create": "如何创建",+ "snowflake-web-console": "Snowflake Web 控制台",+ "successfully-connected-instance": "成功连接到实例。",+ "sync-databases": {+ "add-database": "+ 添加数据库,按回车键提交",+ "description": "仅同步选定的数据库。",+ "search-database": "搜索数据库",+ "self": "同步数据库",+ "sync-all": "同步所有数据库"+ },+ "test-connection": "测试连接",+ "type-or-paste-credentials-write-only": "输入或粘贴 CREDENTIALS - 仅写入",+ "unable-to-connect": "Bytebase 无法连接到实例。我们推荐您再检查一遍连接信息。但也可以暂时忽略此警告。您在创建后仍能在实例详细页里修复连接信息。\n\n错误详情:{{0}}",+ "users": "用户",+ "your-snowflake-account-locator": "您的 Snowflake 账户定位符",+ "testing-connection": "测试连接中...",+ "new-instance": "新实例",+ "no-environment": "此实例尚未绑定到环境",+ "restore-instance-instance-name-to-normal-state": "恢复实例'{{0}}'到正常状态?",+ "successfully-created-instance-createdinstance-name": "成功创建实例'{{0}}'。",+ "successfully-updated-instance-instance-name": "成功更新实例'{{0}}'。"},"instance.account-locator": "账户定位符","instance.archive-instance-instance-name": "归档实例'{{0}}'?",@@ -757,8 +943,11 @@"error": {"key-duplicated": "Key 重复了","key-necessary": "需要指定 Key",- "max-value-length-exceeded": "值的长度不能超过 {{length}} 字符"- }+ "max-value-length-exceeded": "值的长度不能超过 {{length}} 字符",+ "value-necessary": "需要指定值"+ },+ "add-label": "添加标签",+ "empty-label-value": "空"},"label.add-label": "添加标签","label.empty-label-value": "空",@@ -1598,7 +1787,8 @@"license": "证书","missing-license-attention": "请给实例分配证书以解锁该功能。","used-and-total-license": "已分配 / 总实例证书",- "used-and-total-user": "活跃/总用户限制"+ "used-and-total-user": "活跃/总用户限制",+ "n-license-remain": "剩余 {{n}} 个"},"max-instance-count": "最多实例数","plan": {@@ -1735,59 +1925,59 @@}},"agent": {- "assistant-title": "Bytebase 助手",+ "assistant-title": "AI 助手","resize": "调整大小","minimize": "最小化","close": "关闭",- "input-placeholder": "输入任何问题...",+ "input-placeholder": "向 AI 提问...","send": "发送",- "args": "参数:",- "result": "结果:",+ "args": "参数",+ "result": "结果","stop": "停止","interrupted": "已中断",- "retry-last-chat-turn": "重试上一轮",- "interrupted-retry-hint": "重试会基于当前页面状态重新运行已中断的这一轮。",- "new-chat": "新聊天",- "rename-chat-placeholder": "输入聊天名称",- "archive-chat": "归档",+ "retry-last-chat-turn": "重试",+ "interrupted-retry-hint": "对话已中断。您可以重试或发送新消息。",+ "new-chat": "新对话",+ "rename-chat-placeholder": "输入对话名称",+ "archive-chat": "归档对话","unarchive-chat": "取消归档",- "delete-chat": "删除",- "active-only-chats": "仅显示活跃",- "archived-only-chats": "仅显示已归档",- "archive-chat-confirmation": "要归档这个聊天吗?",- "delete-chat-confirmation": "要删除这个聊天吗?",- "chat-list-label": "聊天",- "chat-default-title": "新聊天",+ "delete-chat": "删除对话",+ "active-only-chats": "仅活跃",+ "archived-only-chats": "仅已归档",+ "archive-chat-confirmation": "确定要归档此对话吗?",+ "delete-chat-confirmation": "确定要删除此对话吗?此操作无法撤销。",+ "chat-list-label": "对话列表",+ "chat-default-title": "新对话","chat-archived-label": "已归档","chat-status-idle": "空闲","chat-status-running": "运行中",- "chat-status-awaiting-user": "等待输入",+ "chat-status-awaiting-user": "等待用户","chat-status-error": "错误","chat-status-interrupted": "已中断",- "chat-total-tokens": "已用令牌:{{count}}",+ "chat-total-tokens": "总 token 数","reply": "回复","confirm": "确认","cancel": "取消",- "pending-input-hint": "请在下方回复以继续当前聊天。",- "pending-confirm-hint": "请选择确认或取消以继续当前聊天。",- "pending-choose-hint": "请选择一个选项以继续当前聊天。",- "tool-ask-user": "等待你的回复",- "tool-ask-user-input": "需要输入",- "tool-ask-user-confirm": "需要确认",- "tool-ask-user-choose": "需要选择",+ "pending-input-hint": "请在上方提供输入",+ "pending-confirm-hint": "请在上方确认或取消",+ "pending-choose-hint": "请在上方选择一个选项",+ "tool-ask-user": "询问用户",+ "tool-ask-user-input": "提供输入",+ "tool-ask-user-confirm": "确认操作",+ "tool-ask-user-choose": "选择一个选项","tool-response-submitted": "已提交回复",- "tool-prompt": "提示:",- "tool-default-value": "默认值:",- "tool-options": "选项:",- "tool-answer": "回答:",- "tool-value": "值:",+ "tool-prompt": "提示",+ "tool-default-value": "默认",+ "tool-options": "选项",+ "tool-answer": "回答",+ "tool-value": "值","tool-completed": "已完成",- "tool-failed": "已完成,但存在问题",+ "tool-failed": "失败","ai-not-configured": {- "title": "此工作空间尚未配置 AI 助手",- "description": "要继续使用页面助手,请先在工作空间设置中启用 AI 助手。",- "configure": "配置 AI",- "contact-admin": "请联系你的组织管理员来配置 AI 助手。"+ "title": "AI 未配置",+ "description": "此工作区尚未配置 AI。",+ "configure": "配置",+ "contact-admin": "请联系工作区管理员配置 AI。"}},"changelog": {@@ -1808,5 +1998,51 @@"self_one": "阶段","self_other": "阶段"}+ },+ "data-source": {+ "additional-node-addresses": "附加节点地址",+ "connection-string-schema": "连接串模式",+ "connection-type": "连接类型",+ "delete-read-only-data-source": "删除只读数据源",+ "direct-connection": "Direct Connection",+ "extra-params": {+ "description": "数据库连接字符串的其他参数",+ "self": "额外的参数"+ },+ "private-key-passphrase": "私钥密码",+ "private-key-passphrase-tip": "加密私钥的可选密码",+ "read-replica-host": "只读副本 Host",+ "read-replica-port": "只读副本端口",+ "replica-set": "副本集",+ "snowflake-keypair-tip": "密钥对认证",+ "ssh-connection": "SSH 连接",+ "ssh-type": {+ "none": "不使用",+ "tunnel-and-private-key": "隧道 + 私钥"+ },+ "ssh": {+ "host": "服务器",+ "password": "密码",+ "port": "端口",+ "private-key": "私钥",+ "ssh-key": "SSH 密钥",+ "user": "用户名"+ },+ "ssl-connection": "SSL 连接",+ "ssl": {+ "ca-cert": "CA 证书",+ "client-cert": "客户端证书",+ "client-key": "客户端密钥",+ "verify-certificate": "验证 TLS 证书",+ "verify-certificate-tooltip": "启用 TLS 证书验证以确保安全连接。仅在开发环境或证书无法正确验证的情况下禁用(例如自签名证书、VPN 环境)。警告:禁用验证是不安全的"+ },+ "no-read-only-data-source": "没有只读数据源",+ "private-key-passphrase-placeholder": "如果私钥未加密,请留空"+ },+ "setting": {+ "label": {+ "key-placeholder": "标签 key...",+ "value-placeholder": "标签值…"+ }}}diff --git a/frontend/src/react/pages/project/ProjectPlanDashboardPage.tsx b/frontend/src/react/pages/project/ProjectPlanDashboardPage.tsxindex 47dce5ac94..d692b8e7e4 100644--- a/frontend/src/react/pages/project/ProjectPlanDashboardPage.tsx+++ b/frontend/src/react/pages/project/ProjectPlanDashboardPage.tsx@@ -21,6 +21,7 @@ import {} from "@/react/components/AdvancedSearch";import { EnvironmentLabel } from "@/react/components/EnvironmentLabel";import { Button } from "@/react/components/ui/button";+import { SearchInput } from "@/react/components/ui/search-input";import { Tooltip } from "@/react/components/ui/tooltip";import { useEscapeKey } from "@/react/hooks/useEscapeKey";import { PagedTableFooter, usePagedData } from "@/react/hooks/usePagedData";@@ -1038,9 +1039,7 @@ function DatabaseSelector({return (<div className="flex flex-col gap-y-2">- <input- type="text"- className="w-full border border-control-border rounded-sm px-3 py-2 text-sm focus:outline-none focus:border-accent"+ <SearchInputplaceholder={t("database.filter-database")}value={query}onChange={(e) => setQuery(e.target.value)}diff --git a/frontend/src/react/pages/project/export-center/DataExportPrepDrawer.tsx b/frontend/src/react/pages/project/export-center/DataExportPrepDrawer.tsxindex d320385e3b..76146c98a2 100644--- a/frontend/src/react/pages/project/export-center/DataExportPrepDrawer.tsx+++ b/frontend/src/react/pages/project/export-center/DataExportPrepDrawer.tsx@@ -460,9 +460,8 @@ export function DataExportPrepDrawer({</span></div>{passwordEnabled && (- <input+ <Inputtype="password"- className="w-full border border-control-border rounded-sm px-3 py-2 text-sm focus:outline-none focus:border-accent"value={password}placeholder={t("export-data.password-optional")}onChange={(e) => setPassword(e.target.value)}diff --git a/frontend/src/react/pages/settings/IDPDetailPage.tsx b/frontend/src/react/pages/settings/IDPDetailPage.tsxindex 02293ef62b..0bb4646700 100644--- a/frontend/src/react/pages/settings/IDPDetailPage.tsx+++ b/frontend/src/react/pages/settings/IDPDetailPage.tsx@@ -753,7 +753,7 @@ function ProviderConfigForm({<label className="block text-base font-semibold text-gray-800 mb-2">Port <span className="text-error">*</span></label>- <input+ <Inputtype="number"value={configForLDAP.port}onChange={(e) =>@@ -765,7 +765,6 @@ function ProviderConfigForm({min={1}max={65535}placeholder="389"- className="flex h-9 w-full rounded-xs border border-control-border bg-transparent px-3 py-1 text-sm"/></div></div>diff --git a/frontend/src/react/pages/settings/IDPsPage.tsx b/frontend/src/react/pages/settings/IDPsPage.tsxindex 21ff826084..47167b337f 100644--- a/frontend/src/react/pages/settings/IDPsPage.tsx+++ b/frontend/src/react/pages/settings/IDPsPage.tsx@@ -160,10 +160,10 @@ function ExternalURLInfo({ type }: { type: IdentityProviderType }) {{t("settings.sso.form.redirect-url")}</label><div className="flex items-center gap-x-2">- <input+ <Inputvalue={redirectUrl}readOnly- className="flex-1 px-3 py-2 border border-gray-300 rounded-sm bg-white text-sm font-mono text-gray-700"+ className="flex-1 font-mono"/><Button variant="outline" size="sm" onClick={handleCopy}>{t("common.copy")}@@ -826,7 +826,7 @@ function ProviderConfigForm({<label className="block text-base font-semibold text-gray-800 mb-2">Port <span className="text-error">*</span></label>- <input+ <Inputtype="number"value={configForLDAP.port}onChange={(e) =>@@ -838,7 +838,6 @@ function ProviderConfigForm({min={1}max={65535}placeholder="389"- className="flex h-9 w-full rounded-xs border border-control-border bg-transparent px-3 py-1 text-sm"/></div></div>diff --git a/frontend/src/react/pages/settings/MembersPage.tsx b/frontend/src/react/pages/settings/MembersPage.tsxindex ae0d174a29..a7a2ecd590 100644--- a/frontend/src/react/pages/settings/MembersPage.tsx+++ b/frontend/src/react/pages/settings/MembersPage.tsx@@ -564,7 +564,7 @@ function EnvironmentMultiSelect({<divclassName={cn("flex items-center flex-wrap gap-1 min-h-[2.25rem] w-full rounded-xs border border-control-border bg-transparent px-2 py-1 text-sm cursor-pointer",- open && "ring-2 ring-accent border-accent"+ open && "border-accent")}onClick={() => setOpen(!open)}>diff --git a/frontend/src/react/pages/settings/general/SQLEditorSection.tsx b/frontend/src/react/pages/settings/general/SQLEditorSection.tsxindex c0cebbfcf1..ea7ab6a8c9 100644--- a/frontend/src/react/pages/settings/general/SQLEditorSection.tsx+++ b/frontend/src/react/pages/settings/general/SQLEditorSection.tsx@@ -13,6 +13,7 @@ import {import { useTranslation } from "react-i18next";import { FeatureBadge } from "@/react/components/FeatureBadge";import { PermissionGuard } from "@/react/components/PermissionGuard";+import { Input } from "@/react/components/ui/input";import { useVueState } from "@/react/hooks/useVueState";import {DEFAULT_MAX_RESULT_SIZE_IN_MB,@@ -303,13 +304,13 @@ export const SQLEditorSection = forwardRef<</p><div className="mt-3 w-full flex flex-row justify-start items-center gap-4"><div className="relative w-60">- <input+ <Inputtype="number"value={state.maximumResultSize}min={1}disabled={!hasQueryPolicyFeature || !canSetWorkspaceProfile}onChange={(e) => handleNumberInput("maximumResultSize", e)}- className="w-full rounded-xs border border-control-border px-3 py-1.5 pr-12 text-sm disabled:opacity-50"+ className="pr-12"/><span className="absolute right-3 top-1/2 -translate-y-1/2 text-sm text-gray-500">MB@@ -339,13 +340,13 @@ export const SQLEditorSection = forwardRef<</p><div className="mt-3 w-full flex flex-row justify-start items-center gap-4"><div className="relative w-60">- <input+ <Inputtype="number"value={state.maximumResultRows}min={0}disabled={!hasQueryPolicyFeature || !canUpdatePolicy}onChange={(e) => handleNumberInput("maximumResultRows", e)}- className="w-full rounded-xs border border-control-border px-3 py-1.5 pr-16 text-sm disabled:opacity-50"+ className="pr-16"/><span className="absolute right-3 top-1/2 -translate-y-1/2 text-sm text-gray-500">{t("settings.general.workspace.maximum-sql-result.rows.rows")}@@ -377,7 +378,7 @@ export const SQLEditorSection = forwardRef<</p><div className="mt-3 w-full flex flex-row justify-start items-center gap-4"><div className="relative w-60">- <input+ <Inputtype="number"value={state.maxQueryTimeInSeconds}min={0}@@ -385,7 +386,7 @@ export const SQLEditorSection = forwardRef<onChange={(e) =>handleNumberInput("maxQueryTimeInSeconds", e)}- className="w-full rounded-xs border border-control-border px-3 py-1.5 pr-20 text-sm disabled:opacity-50"+ className="pr-20"/><span className="absolute right-3 top-1/2 -translate-y-1/2 text-sm text-gray-500">{t("settings.general.workspace.query-data-policy.seconds")}