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。

9.3 KB
Raw Blame
// Shared English fallback for locales that have not yet translated the Nacos access-control workspace.
export const nacosAccessControlTabs = {
  nacosAccessControl: "Nacos Access Control",
};

export const nacosAccessControlMessages = {
  loading: "Loading...",
  accessControlSidebarLabel: "Users & Roles",
  accessControlTitle: "Access control",
  accessControlDescription: "Manage Nacos users and role assignments",
  users: "Users",
  roleBindings: "Roles",
  accessControlUnavailable: "User and role management is unavailable for this connection.",
  accessPermissionEndpointUnavailable: "Namespace permissions are unavailable to the current account. User and role bindings remain visible in compatibility mode.",
  searchUsers: "Search users",
  filterUsername: "Filter username",
  filterRole: "Filter role",
  username: "Username",
  password: "Password",
  passwordUnchanged: "Leave empty to keep the current password",
  nickname: "Nickname",
  roles: "Roles",
  role: "Role",
  disabled: "Disabled",
  createUser: "Create user",
  editUser: "Edit user",
  resetUserPassword: "Reset password",
  passwordResetSucceeded: "Reset password for {username}",
  passwordResetFailed: "Failed to reset password: {message}",
  currentPasswordSaved: "The saved connection credential was updated and the connection will use the new password.",
  currentSessionPasswordUpdated: "The in-memory connection credential was updated for this session and was not saved to disk.",
  currentPasswordNotSaved: "This connection does not save passwords. Enter the new password when reconnecting.",
  deleteNamespace: "Delete namespace",
  deleteNamespaceDescription: "Delete namespace {name} ({id})? Its configurations and services may become inaccessible. This cannot be undone.",
  deletingNamespace: "Deleting...",
  namespaceDeleted: 'Namespace "{name}" deleted',
  deleteUser: "Delete user",
  noUsers: "No users found",
  noRoleBindings: "No role bindings found",
  createUserTitle: "Create Nacos user",
  createUserDescription: "Create a user for this Nacos service.",
  editUserTitle: "Edit r-nacos user",
  editUserDescription: "Update the user profile, roles, and namespace privileges.",
  resetUserTitle: "Reset Nacos user password",
  resetUserDescription: "Set a new password for this user.",
  userCredentialsRequired: "Username and password are required.",
  deleteUserTitle: "Delete Nacos user",
  deleteUserDescription: "Delete user {username}? This cannot be undone.",
  rnacosUserEnabledHint: "Disabled users cannot sign in to r-nacos.",
  rnacosRole0: "Manager",
  rnacosRole0Hint: "Full console management access",
  rnacosRole1: "Developer",
  rnacosRole1Hint: "Configuration and service development access",
  rnacosRole2: "Visitor",
  rnacosRole2Hint: "Read-only console access",
  namespacePrivileges: "Namespace privileges",
  namespaceWhitelist: "Namespace whitelist",
  namespaceBlacklist: "Namespace blacklist",
  namespaceListPlaceholder: "One namespace per line or comma-separated",
  namespaceSelectPlaceholder: "Select namespaces",
  namespaceSearchPlaceholder: "Search namespaces",
  namespaceSelectedCount: "{count} selected",
  namespaceRemoveSelection: "Remove {namespace}",
  noNamespacesAvailable: "No namespaces available",
  retryNamespaceList: "Try again",
  assignRole: "Assign role",
  assignRoleTitle: "Assign Nacos role",
  assignRoleDescription: "Bind a role to one Nacos user.",
  roleBindingRequired: "Username and role are required.",
  removeRole: "Remove role",
  removeRoleTitle: "Remove Nacos role",
  removeRoleDescription: "Remove role {role} from user {username}?",
  protectedRole: "The built-in administrator role cannot be removed from DBX.",
  close: "Close",
  accessSearchRoles: "Search roles",
  accessRoleCounts: "{members} members / {permissions} permissions",
  accessNoRoles: "No roles found",
  accessUserSubtitle: "Roles and effective namespace access",
  accessAssociatedRoles: "Associated roles",
  accessAssociatedRolesHint: "Permissions are inherited from every associated role.",
  accessNoAssociatedRoles: "No roles associated",
  accessEffectivePermissions: "Effective permissions",
  accessEffectivePermissionsHint: "Combined access with the role that grants each permission.",
  accessAction: "Action",
  accessSourceRole: "Source role",
  accessNoEffectivePermissions: "This user has no effective permissions",
  accessGlobalAdministrator: "Global administrator",
  accessNeedsRepair: "Needs repair",
  accessRoleSubtitle: "{members} associated members",
  accessIncompleteRoleHint: "This role has no members or namespace permissions. Add namespace permissions before saving; members may remain empty.",
  accessPermissionScope: "Permission scope",
  accessPermissionScopeHint: "Namespace rules managed by this role.",
  accessAllResources: "All resources",
  accessAdminBypassHint: "ROLE_ADMIN bypasses ordinary namespace permission checks.",
  accessNoRolePermissions: "No namespace permissions configured",
  accessMembers: "Members",
  accessMembersHint: "Users currently associated with this role.",
  accessNoMembers: "No associated members",
  accessOpenUser: "View user {username}",
  accessOpenRole: "View role {role}",
  accessAdvancedPermissions: "Advanced permissions",
  accessAdvancedPermissionsHint: "Raw rules are preserved exactly and are not overwritten by namespace editing.",
  accessRevokeRawPermission: "Revoke raw permission",
  accessRevokeRawPermissionHint: "This removes exactly the displayed role, resource, and action tuple.",
  accessSelectItem: "Select an item from the directory",
  accessCreateRole: "Create role",
  accessDeleteRole: "Delete role",
  accessReadOnly: "Read only",
  accessWriteOnly: "Write only",
  accessReadWrite: "Read and write",
  accessDeletedNamespace: "deleted namespace",
  accessPasswordRequired: "Enter a new password.",
  accessCredentialsRequired: "Username and password are required.",
  accessRoleMemberRequired: "A role requires at least one member.",
  accessRolePermissionRequired: "A role requires at least one namespace permission.",
  accessInlineUserRequired: "Every new user requires a username and password.",
  accessNoAssignableRoles: "No complete roles are available",
  accessTypeUsername: "Type {value} to confirm this high-risk account change",
  accessDeleteUserConfirmationLabel: "Enter the complete username to confirm deletion",
  accessDeleteUserConfirmationHint: "Enter this text exactly (case-sensitive):",
  accessDeleteUserConfirmationPlaceholder: "Complete username",
  accessMembersRequiredHint: "Select existing users or create users inline. At least one is required.",
  accessMembersOptionalHint: "An existing ordinary role may keep its permissions without any associated members.",
  accessInlineCreateUser: "Create user inline",
  accessAdminPermissionImmutable: "The global administrator permission is built into Nacos and cannot be edited as namespace rules.",
  accessPermissionRequiredHint: "Select namespaces, then set the action for each one.",
  accessUnassignedNamespaces: "Unassigned namespaces",
  accessGrantedNamespaces: "Granted namespaces",
  accessSearchNamespaces: "Search by namespace name or ID",
  accessNoUnassignedNamespaces: "No namespaces available to add",
  accessNoGrantedNamespaces: "Select namespaces to grant access",
  accessGrantNamespaces: "Grant selected namespaces",
  accessRevokeNamespaces: "Remove selected namespaces",
  accessDeleteRoleHint: "Deleting {role} removes every permission and member binding. Successful deletions are not restored after a partial failure.",
  accessTypeRole: "Type {value} to confirm role deletion",
  accessDeleteRoleConfirmationLabel: "Enter the complete role name to confirm deletion",
  accessDeleteRoleConfirmationHint: "Enter this text exactly (case-sensitive):",
  accessDeleteRoleConfirmationPlaceholder: "Complete role name",
  accessOperationResult: "Operation result",
  accessReenterPassword: "Enter the password again to retry",
  accessUndoCreated: "Undo created items",
  accessRetryFailed: "Retry failed steps",
  accessUserDialog: {
    create: "Create user",
    createHint: "Create an account and optionally associate existing roles.",
    roles: "Edit user roles",
    rolesHint: "Update roles associated with {username}.",
    password: "Reset password",
    passwordHint: "Set a new password for {username}.",
    delete: "Delete user",
    deleteHint: "Review role integrity before deleting {username}.",
  },
  accessRoleDialog: {
    create: "Create role",
    createHint: "Configure members and namespace permissions together.",
    edit: "Edit role",
    editHint: "Changes are applied as a reconciled set of member and permission operations.",
    delete: "Delete role",
    deleteHint: "This operation can partially succeed and cannot be undone automatically.",
  },
  accessOperationStatus: {
    running: "The operation is still running.",
    partial: "Some steps succeeded and some require attention.",
    succeeded: "Every step completed successfully.",
    failed: "The operation did not complete.",
    undoing: "Created items are being removed.",
    undone: "Created items were removed.",
  },
  accessStep: {
    createUser: "Create user",
    deleteUser: "Delete user",
    assignRole: "Associate role",
    removeRole: "Remove role association",
    grantPermission: "Grant permission",
    revokePermission: "Revoke permission",
  },
  rnacosAccessControlAuthDescription: "Enter the r-nacos console verification code to manage users and roles.",
};