ToolJet/cypress-tests/cypress/constants/texts/superAdminText.js
2025-11-12 17:52:28 +05:30

70 lines
2.8 KiB
JavaScript

export const instanceWorkspaceText = {
breadcrumbTitle: "All workspaces",
activeTab: "Active",
archivedTab: "Archived",
nameHeader: "Workspace name",
archiveCurrentWorkspaceTitle: "Archive current workspace",
archiveCurrentWorkspaceMessage:
"The current workspace will be archived. Select an active workspace to continue this session.",
archivedWorkspaceTitle: "Archived workspace",
archivedWorkspaceMessage:
"Your workspace and all app in it have been archived. Contact super admin to know more",
noResultFound: "No result found",
};
export const instanceAllUsersText = {
editUserDetails: "Edit user details",
archiveUser: "Archive user",
updateButton: "Update",
workspacesModalTitle: (name) => `Workspaces of ${name}`,
viewTableNameHeader: "NAME",
viewTableStatusHeader: "STATUS",
onlyAdminErrorToast: "Atleast one active admin is required",
userArchivedToast: "You have been archived from this instance. Contact super admin to know more.",
allUsersTabInInstance: "All Users",
archiveModalTitle: "Archive user",
archiveModalMessage:
"Archiving the user will restrict their access to all their workspaces and exclude them from the count of users covered by your plan. Are you sure you want to continue?",
archiveConfirmButton: "Archive",
unarchiveModalTitle: "Unarchive user",
unarchiveModalMessage:
"Unarchiving the user will activate them in the instance and include them in the count of users covered by your plan. Are you sure you want to continue?",
unarchiveConfirmButton: "Unarchive",
};
export const usersTableElementsInInstanceText = {
usersTableNameColumnHeader: "NAME",
usersTableStatusColumnHeader: "STATUS",
usersFilterLabel: "Showing",
};
export const whitelabelText = {
settingsPageTitle: "Settings",
breadcrumbTitle: "White labelling",
appLogoLabel: "App Logo",
pageTitleLabel: "Page Title",
faviconLabel: "Favicon",
appLogoHelp: "This will be used for branding across the app",
pageTitleHelp: "This will be used on the browser page title",
faviconHelp: "This will be displayed in the address bar of the browser",
saveButton: "Save changes",
cancelButton: "Cancel",
};
export const SMTP_TEXT = {
sectionTitle: "Email protocol (SMTP)",
stateDisabled: "Disabled",
stateEnabled: "Enabled",
envToggle: "Apply configuration from environment variables",
envHint: "If disabled, you can configure it from the form below",
host: "Host",
port: "Port",
username: "Username",
password: "Password",
senderEmail: "Sender's email",
docs: "Read documentation",
hostPlaceholder: "enter host",
portPlaceholder: "enter port",
userPlaceholder: "enter user",
passwordPlaceholder: "enter password",
};