PromucFlow_constructor/app/client/src/constants/messages.ts

193 lines
9.4 KiB
TypeScript
Raw Normal View History

export const ERROR_MESSAGE_SELECT_ACTION = "Please select an action";
export const ERROR_MESSAGE_SELECT_ACTION_TYPE = "Please select an action type";
export const ERROR_MESSAGE_NAME_EMPTY = "Please select a name";
2019-11-21 10:52:49 +00:00
export const ERROR_MESSAGE_CREATE_APPLICATION =
"We could not create the Application";
2019-11-25 09:15:11 +00:00
export const API_PATH_START_WITH_SLASH_ERROR = "Path cannot start with /";
export const FIELD_REQUIRED_ERROR = "This field is required";
export const VALID_FUNCTION_NAME_ERROR =
"Must be a valid variable name (camelCase)";
2020-05-25 09:32:01 +00:00
export const UNIQUE_NAME_ERROR = "Name must be unique";
2021-02-09 12:08:43 +00:00
export const NAME_SPACE_ERROR = "Name cannot have spaces";
2019-12-16 08:49:10 +00:00
export const FORM_VALIDATION_EMPTY_EMAIL = "Please enter an email";
export const FORM_VALIDATION_INVALID_EMAIL =
"Please provide a valid email address";
2021-02-09 12:08:43 +00:00
export const ENTER_VIDEO_URL = "Please provide a valid URL";
2019-12-16 08:49:10 +00:00
export const FORM_VALIDATION_EMPTY_PASSWORD = "Please enter the password";
2020-02-25 11:33:07 +00:00
export const FORM_VALIDATION_PASSWORD_RULE =
2019-12-16 08:49:10 +00:00
"Please provide a password with a minimum of 6 characters";
export const FORM_VALIDATION_INVALID_PASSWORD = FORM_VALIDATION_PASSWORD_RULE;
2019-12-16 08:49:10 +00:00
export const LOGIN_PAGE_SUBTITLE = "Use your organization email";
export const LOGIN_PAGE_TITLE = "Sign In to your account";
2019-12-16 08:49:10 +00:00
export const LOGIN_PAGE_EMAIL_INPUT_LABEL = "Email";
export const LOGIN_PAGE_PASSWORD_INPUT_LABEL = "Password";
export const LOGIN_PAGE_EMAIL_INPUT_PLACEHOLDER = "Email";
export const LOGIN_PAGE_PASSWORD_INPUT_PLACEHOLDER = "Password";
export const LOGIN_PAGE_INVALID_CREDS_ERROR =
2021-02-09 12:08:43 +00:00
"You may have entered incorrect/invalid credentials. Please try again or reset your password.";
2019-12-16 08:49:10 +00:00
export const LOGIN_PAGE_INVALID_CREDS_FORGOT_PASSWORD_LINK = "Reset Password";
export const NEW_TO_APPSMITH = "New to Appsmith?";
2019-12-16 08:49:10 +00:00
2021-02-09 12:08:43 +00:00
export const LOGIN_PAGE_LOGIN_BUTTON_TEXT = "Sign in";
2019-12-16 08:49:10 +00:00
export const LOGIN_PAGE_FORGOT_PASSWORD_TEXT = "Forgot Password";
export const LOGIN_PAGE_REMEMBER_ME_LABEL = "Remember";
export const LOGIN_PAGE_SIGN_UP_LINK_TEXT = "Sign up";
export const SIGNUP_PAGE_TITLE = "Create your free account";
2019-12-16 08:49:10 +00:00
export const SIGNUP_PAGE_SUBTITLE = "Use your organization email";
export const SIGNUP_PAGE_EMAIL_INPUT_LABEL = "Email";
export const SIGNUP_PAGE_EMAIL_INPUT_PLACEHOLDER = " Email";
export const SIGNUP_PAGE_NAME_INPUT_PLACEHOLDER = "Name";
export const SIGNUP_PAGE_NAME_INPUT_LABEL = "Name";
export const SIGNUP_PAGE_PASSWORD_INPUT_LABEL = "Password";
export const SIGNUP_PAGE_PASSWORD_INPUT_PLACEHOLDER = "Password";
export const SIGNUP_PAGE_LOGIN_LINK_TEXT = "Sign In";
2021-02-09 12:08:43 +00:00
export const SIGNUP_PAGE_NAME_INPUT_SUBTEXT = "What should we call you?";
2019-12-16 08:49:10 +00:00
export const SIGNUP_PAGE_SUBMIT_BUTTON_TEXT = "Sign Up";
2021-02-09 12:08:43 +00:00
export const ALREADY_HAVE_AN_ACCOUNT = "You may already have an account.";
2019-12-16 08:49:10 +00:00
export const SIGNUP_PAGE_SUCCESS = "Awesome! You have successfully registered.";
export const SIGNUP_PAGE_SUCCESS_LOGIN_BUTTON_TEXT = "Login";
export const RESET_PASSWORD_PAGE_PASSWORD_INPUT_LABEL = "New Password";
export const RESET_PASSWORD_PAGE_PASSWORD_INPUT_PLACEHOLDER = "New Password";
2021-02-09 12:08:43 +00:00
export const RESET_PASSWORD_LOGIN_LINK_TEXT = "Back to sign in page";
2019-12-16 08:49:10 +00:00
export const RESET_PASSWORD_PAGE_TITLE = "Reset Password";
export const RESET_PASSWORD_SUBMIT_BUTTON_TEXT = "Reset";
export const RESET_PASSWORD_PAGE_SUBTITLE =
"Create a new password for your account ";
2020-02-25 11:33:07 +00:00
export const RESET_PASSWORD_RESET_SUCCESS = "Your password has been reset"; //"Your password has been reset. Please login" (see next entry);
export const RESET_PASSWORD_RESET_SUCCESS_LOGIN_LINK = "Login";
2019-12-16 08:49:10 +00:00
export const RESET_PASSWORD_EXPIRED_TOKEN =
2021-02-09 12:08:43 +00:00
"This password reset link has expired. Please try generating a new link";
2019-12-16 08:49:10 +00:00
export const RESET_PASSWORD_INVALID_TOKEN =
2021-02-09 12:08:43 +00:00
"This password reset link is invalid. Please try generating a new link";
2019-12-16 08:49:10 +00:00
export const RESET_PASSWORD_FORGOT_PASSWORD_LINK = "Forgot Password";
export const FORGOT_PASSWORD_PAGE_EMAIL_INPUT_LABEL = "Email";
export const FORGOT_PASSWORD_PAGE_EMAIL_INPUT_PLACEHOLDER = "Email";
export const FORGOT_PASSWORD_PAGE_TITLE = "Reset Password";
export const FORGOT_PASSWORD_PAGE_SUBTITLE =
"We will send a reset link to the email below";
export const FORGOT_PASSWORD_PAGE_SUBMIT_BUTTON_TEXT = "Reset";
export const FORGOT_PASSWORD_SUCCESS_TEXT =
"A password reset link has been sent to";
export const PRIVACY_POLICY_LINK = "Privacy Policy";
export const TERMS_AND_CONDITIONS_LINK = "Terms and Conditions";
export const ERROR_500 =
2021-02-09 12:08:43 +00:00
"Whoops, something went wrong. This is unexpected, and we'll look into this.";
export const ERROR_0 =
"We could not connect to our servers. Please check your network connection";
2019-12-16 08:49:10 +00:00
export const ERROR_401 =
"We are unable to verify your identity. Please login again.";
export const ERROR_403 =
"Permission Denied. Please contact your admin to gain access.";
2019-12-10 13:30:16 +00:00
export const WIDGET_TYPE_VALIDATION_ERROR = "Value does not match type";
2020-03-31 10:40:52 +00:00
export const URL_HTTP_VALIDATION_ERROR = "Please enter a valid URL";
2020-04-20 05:42:46 +00:00
export const NAVIGATE_TO_VALIDATION_ERROR =
"Please enter a valid URL or page name";
2021-01-27 06:56:19 +00:00
export const PAGE_NOT_FOUND_ERROR =
"The page youre looking for either does not exist, or cannot be found";
export const INVALID_URL_ERROR = "Invalid URL";
export const INVITE_USERS_VALIDATION_EMAIL_LIST =
"Invalid Email address(es) found";
export const INVITE_USERS_VALIDATION_ROLE_EMPTY = "Please select a role";
export const INVITE_USERS_EMAIL_LIST_PLACEHOLDER = "Comma separated emails";
export const INVITE_USERS_ROLE_SELECT_PLACEHOLDER = "Select Role";
export const INVITE_USERS_ROLE_SELECT_LABEL = "Role";
export const INVITE_USERS_EMAIL_LIST_LABEL = "User emails";
export const INVITE_USERS_ADD_EMAIL_LIST_FIELD = "Add more";
export const INVITE_USERS_SUBMIT_BUTTON_TEXT = "Invite Users";
export const INVITE_USERS_SUBMIT_ERROR =
"We were unable to invite the users, please try again later";
export const INVITE_USERS_SUBMIT_SUCCESS =
"The users have been invited successfully";
export const INVITE_USERS_VALIDATION_EMAILS_EMPTY =
"Please enter the user emails";
export const CREATE_PASSWORD_PAGE_PASSWORD_INPUT_LABEL = "New Password";
export const CREATE_PASSWORD_PAGE_PASSWORD_INPUT_PLACEHOLDER = "New Password";
export const CREATE_PASSWORD_LOGIN_LINK_TEXT =
"Already know the password? Login";
export const CREATE_PASSWORD_PAGE_TITLE = "Set Password";
export const CREATE_PASSWORD_SUBMIT_BUTTON_TEXT = "Create";
export const CREATE_PASSWORD_PAGE_SUBTITLE =
"Set a new password for your account ";
2020-02-25 11:33:07 +00:00
export const CREATE_PASSWORD_RESET_SUCCESS = "Your password has been set";
export const CREATE_PASSWORD_RESET_SUCCESS_LOGIN_LINK = "Login";
export const CREATE_PASSWORD_EXPIRED_TOKEN =
"The invite link has expired. Please try requesting a new invite";
export const CREATE_PASSWORD_INVALID_TOKEN =
"The invite link is invalid. Please try request a new invite";
2020-02-03 12:19:10 +00:00
export const DELETING_APPLICATION = "Deleting application...";
export const DUPLICATING_APPLICATION = "Duplicating application...";
export const CURL_IMPORT_SUCCESS = "Curl Import Successfull";
export const FORGOT_PASSWORD_PAGE_LOGIN_LINK = "Back to Sign In";
export const ADD_API_TO_PAGE_SUCCESS_MESSAGE = "Api added to page.";
2020-03-06 09:45:21 +00:00
export const INPUT_WIDGET_DEFAULT_VALIDATION_ERROR = "Invalid input";
2020-03-30 08:16:43 +00:00
export const DATE_WIDGET_DEFAULT_VALIDATION_ERROR = "Date out of range";
2020-03-30 08:16:43 +00:00
export const AUTOFIT_ALL_COLUMNS = "Autofit all columns";
export const AUTOFIT_THIS_COLUMN = "Autofit this column";
export const AUTOFIT_COLUMN = "Autofit column";
2020-04-15 11:42:11 +00:00
export const TIMEZONE = "Timezone";
export const ENABLE_TIME = "Enable Time";
2020-05-14 06:06:20 +00:00
export const EDIT_APP = "Edit";
2020-08-13 09:33:44 +00:00
export const FORK_APP = "Fork App";
export const SIGN_IN = "Sign In";
2020-05-24 09:59:22 +00:00
export const LIGHTNING_MENU_DATA_API = "Use data from an API";
export const LIGHTNING_MENU_DATA_QUERY = "Use data from a Query";
export const LIGHTNING_MENU_DATA_TOOLTIP = "Quick start data binding";
export const LIGHTNING_MENU_DATA_WIDGET = "Use data from a Widget";
2020-05-26 04:09:40 +00:00
export const LIGHTNING_MENU_QUERY_CREATE_NEW = "Create new Query";
export const LIGHTNING_MENU_API_CREATE_NEW = "Create new API";
2020-05-24 09:59:22 +00:00
export const LIGHTNING_MENU_OPTION_TEXT = "Plain Text";
export const LIGHTNING_MENU_OPTION_JS = "Write JS";
export const LIGHTNING_MENU_OPTION_HTML = "Write HTML";
export const CHECK_REQUEST_BODY = "Please check request body to debug";
2020-06-23 03:58:42 +00:00
export const DONT_SHOW_THIS_AGAIN = "Don't show this again";
export const SHOW_REQUEST = "Show Request";
export const TABLE_FILTER_COLUMN_TYPE_CALLOUT =
"Change column datatype to see filter operators";
export const WIDGET_SIDEBAR_TITLE = "Widgets";
export const WIDGET_SIDEBAR_CAPTION = "Drag and drop a widget onto the canvas.";
export const GOOGLE_RECAPTCHA_KEY_ERROR =
"Google Re-Captcha Token Generation failed! Please check the Re-captcha Site Key.";
export const GOOGLE_RECAPTCHA_DOMAIN_ERROR =
"Google Re-Captcha Token Generation failed! Please check the allowed domains.";
export const SERVER_API_TIMEOUT_ERROR =
"Appsmith server is taking too long to respond. Please try again after some time";
export const DEFAULT_ERROR_MESSAGE = "There was an unexpected error";
export const REST_API_AUTHORIZATION_SUCCESSFUL =
"Authorization was successful!";
export const REST_API_AUTHORIZATION_FAILED =
"Authorization failed. Please check your details or try again.";
// Todo: improve this for appsmith_error error message
export const REST_API_AUTHORIZATION_APPSMITH_ERROR = "Something went wrong.";
export const LOCAL_STORAGE_QUOTA_EXCEEDED_MESSAGE =
"Error saving a key in localStorage. You have exceeded the allowed storage size limit";
export const LOCAL_STORAGE_NO_SPACE_LEFT_ON_DEVICE_MESSAGE =
"Error saving a key in localStorage. You have run out of disk space";