UNPKG

@sap/adp-common

Version:
335 lines 28.9 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.Messages = void 0; /* istanbul ignore file */ exports.Messages = { PROJECT: "Project", MODULE: "Module", USERNAME: "Username", PASSWORD: "Password", APPLICATION: "Application", ABAP: "ABAP", CLOUD_FOUNDRY: "CF", S4HANA_CLOUD: "S4HANACLOUD", DESTINATION: "Destination", ORGANIZATION: "Organization", ENDPOINT_API: "CF API endpoint URL", APPROUTER: "Approuter", SPACE: "Organization space", COMPONENT_USAGE: "Component usage", ODATA_SERVICE: "OData service", ODATA_ANNOTATION: "OData Annotation", SAPUI5_MODEL: "SAPUI5 Model", TRANSPORT_REQUEST_NUMBER: "Transport Request Number", MANDATORY_FIELD: "Mandatory field", INPUT_CANNOT_BE_EMPTY_ERROR: (input) => `${input} cannot be empty`, SELECT_CANNOT_BE_EMPTY_ERROR: (select) => `${select} has to be selected`, BASIC_INFORMATION_STEP: "Adaptation Project - Basic Information", BASIC_INFORMATION_STEP_DESCRIPTION: "You are about to create a new App Variant. App Variant inherits the properties of the source application. The changes that you make will reflect only in the app variant and not in the source application.", CONFIGURATION_STEP: "Adaptation Project - Configuration", /** * FLP Configuration */ FLP_CONFIGURATION_TYPE_LABEL: (flpConfigurationType) => `Selected FLP Configuration type is: ${flpConfigurationType}`, FLP_CONFIGURATION: "FLP configuration", FLP_ADD_NEW_TILE: "Add new tile", FLP_REPLACE_EXISTING_TILE: "Replace the existing app tile", DEPLOY_CONFIG_LABEL: "Add Deployment configuration?", FLP_CONFIGURATION_STEP: "Fiori Launchpad Configuration", FLP_CONFIGURATION_STEP_DESCRIPTION: "Configure Fiori Launchpad Settings", DEPLOY_CONFIG_STET: "Deployment Configuration", DEPLOY_CONFIG_STEP_DESCRIPTION: "Configure Deployment Settings", // FLP Info FLP_TITLE_INFO: "Enter title for your FLP configuration", FLP_SUBTITLE_INFO: "Enter subtitle for your FLP configuration", FLP_ICON_INFO: "Enter icon path for your FLP configuration", // FLP Labels FLP_TITLE_LABEL: "Title", FLP_SUBTITLE_LABEL: "Subtitle", FLP_ACTION_LABEL: "Action", FLP_ICON_LABEL: "Icon", FLP_PARAMETERS: "Parameters", FLP_PARAMETERS_INFO: "Original application target mapping and the default parameters can be found in Fiori reference library under Implementation Information -> Configuration -> Target Mapping(s) in", // Deploy config Labels SAPUI5_ABAP_REPOSITORY_LABEL: "SAPUI5 ABAP Repository", DEPLOY_CONFIG_DESCRIPTION_LABEL: "Deployment description", DEPLOY_CONFIG_PACKAGE_LABEL: "Package", DEPLOY_CONFIG_TRANSPORT_REQUEST_LABEL: "Transport request", PROJECT_NAME_INTERNAL_PROMPT_LABEL: "Project name", PROJECT_NAME_EXTERNAL_PROMPT_LABEL: "Project name", PROJECT_NAME_CF_INTERNAL_PROMPT_LABEL: "Module name", PROJECT_NAME_CF_EXTERNAL_PROMPT_LABEL: "Module name", APPLICATION_TITLE_PROMPT_LABEL: "Application title", NAMESPACE_PROMPT_LABEL: "Namespace", SYSTEM: "System", CLIENT: "Client", SYSTEM_URL: "System URL", SYSTEM_PROMPT_LABEL: "Select system", PROJECT_TYPE_LABEL: "Select project type", PROJECT_TYPE: "Project type", PROJECT_TYPE_INFO_LABEL: (projectType) => `The only available project type from the selected system is: ${projectType}.`, SYSTEM_CLIENT_PROMPT_LABEL: "System client", SYSTEM_CLIENT_MANDATORY_ERROR: "System client can contain only digits.", APPLICATION_PROMPT_LABEL: "Select application", APPLICATION_INFO_PROMPT_LABEL: "Have in mind that synchronous views are detected for this application and controller extensions are not supported for such views. Controller extension functionality on these views will be disabled.", FIORI_ID_PROMPT_LABEL: "Fiori ID", FIORI_ID_PROMPT_HINT: 'This is an one-time, semantic identifier for the app variant. The Fiori ID will be shown in the "About" section of the app for ease of identification and will also be available in the Fiori Apps Reference Library.', ACH_PROMPT_LABEL: "Application Component Hierarchy", ACH_PROMPT_HINT: "The purpose of ACH components is to enable the support organization to indicate which BCP/ticket component might be responsible for a particular issue.", USERNAME_PROMPT_LABEL: "Enter the user name for the backend system", PASSWORD_PROMPT_LABEL: "Enter the password for the backend system", UI5_VERSION_LABEL: "Select SAP UI5 version", CURRENT_UI5_VERSION_LABEL: (currentUI5Version) => `UI5 version: ${currentUI5Version}`, UI5_VERSION_NOT_DETECTED: "The UI5 version of the selected system could not be determined. You will be able to create and edit Adaptation project with the newest version, but it will not be usable on this system until system`s UI5 version is not upgraded to at least 1.71.", UI5_VERSION_NOT_REACHABLE: "The url of the UI5 version you have selected is not reachable. <URL> should be made accessible through cloud connector and destination configuration in order to be consumed within SAPUI5 Adaptation project and its Adaptation Editor.", UI5_VERSION_NOT_AVAILABLE: "The SAPUI5 version you have selected is not available as public version on http://ui5.sap.com. Please select a different version.", CREATE_EXTENSION_PROJECT_LABEL: "Do you want to create an Extension Project instead?", CREATE_EXTENSION_PROJECT_FROM_BASE_APP_WITH_SYNC_VIEWS_LABEL: "Do you want to create an Extension Project instead? It will give you the ability to create controller extensions for the synchronous views as well as the asynchronous.", PROJECT_NAME_UPPERCASE_LETTERS_ERROR: (isCfMode) => `${isCfMode ? exports.Messages.MODULE : exports.Messages.PROJECT} name cannot contain uppercase letters.`, PROJECT_NAME_EXTERNAL_LENGTH_ERROR: (isCfMode) => `${isCfMode ? exports.Messages.MODULE : exports.Messages.PROJECT} name cannot contain more than 61 characters or end with "component".`, PROJECT_NAME_INTERNAL_LENGTH_ERROR: (isCfMode) => `${isCfMode ? exports.Messages.MODULE : exports.Messages.PROJECT} name cannot start with "customer" or contain more than 61 characters or end with "component".`, EXTERNAL_PROJECT_NAME_VALIDATION_ERROR: (isCfMode) => `The ${isCfMode ? exports.Messages.MODULE.toLocaleLowerCase() : exports.Messages.PROJECT.toLocaleLowerCase()} name must contain only Latin alphanumeric characters. Different parts can be separated by period and every part must start with a letter.`, INTERNAL_PROJECT_NAME_VALIDATION_ERROR: (isCfMode) => `The ${isCfMode ? exports.Messages.MODULE.toLocaleLowerCase() : exports.Messages.PROJECT.toLocaleLowerCase()} name must contain only Latin alphanumeric characters and it must have at least two parts. The different parts must be separated by period and every part must start with a letter.`, DUPLICATE_PROJECT_NAME_VALIDATION_ERROR: "A module with this name already exists in your workspace", NAMESPACE_SAME_AS_PROJECT_NAME_ERROR: "Namespace should be the same as Project Name.", NAMESPACE_SHOULD_START_WITH_CUSTOMER_ERROR: 'The namespace must start with "customer." and must contain only Latin alphanumeric characters. Different parts can be separated by period and every part must start with a letter.', NAMESPACE_MAXLENGTH_VALIDATION_ERROR: 'Namespace cannot contain more than 61 characters or end with "component".', NAMESPACE_VALIDATION_ERROR: "The namespace must contain only Latin alphanumeric characters. Different parts can be separated by period and every part must start with a letter.", ACH_MANDATORY_ERROR: "Application Component Hierarchy can contain only capital letters, digits, and dashes.", I18N_KEY_GUIDELINES_MESSAGE: "#Make sure you provide a unique prefix to the newly added keys in this file, to avoid overriding of SAP Fiori application keys.", I18N_KEY_APPLICATION_DO_NOT_SUPPORT_MANIFEST: "Select a different application. The selected application is not supported by Adaptation Project. Please refer to SAPUI5 Adaptation Project documentation for more information.", I18N_KEY_APPLICATION_DO_NOT_SUPPORT_ADAPTATION: "Select a different application. Selected application does not support Flexibility and therefore it does not support Adaptation Project.", ADAPTATIONPROJECT_NOT_SUPPORTED: "NOTE: The selected application is not supported by Adaptation Project", ADAPTATIONPROJECTPLUGIN_SMARTTEMPLATE_PROJECT_CHECK: "Select a different application. Adaptation project doesn't support the selected application.", CANNOT_LOAD_APPLICATIONS_ERROR: "Cannot load applications from the system.", CANNOT_GET_MANIFEST_URL_ERROR: "Cannot get manifest url.", DESTINATION_HOST_NOT_FOUND: "Destination host not found.", LOGIN_CF: "Login to Cloud Foundry", CLOUD_FOUNDRY_NOT_INSTALLED: "Cloud Foundry is not installed in your space.", BUSINESS_SERVICE: "Business service", SELECT_BUSINESS_SERVICE: "Select business service", BASE_APP: "Base application", SELECT_BASE_APP_LABEL: "Select base application", SELECT_ORGANIZATION_LABEL: "Select organization", SELECT_SPACE_LABEL: "Select organization space", API_ENDPOINT_LABEL: "Enter Cloud Foundry API endpoint URL", BUSINESS_SOLUTION_NAME: "Business solution name", BUSINESS_SOLUTION_LABEL: "Enter a unique name for the business solution of the project", INBOUND_ID_LABEL: "Inbound ID", SEMANTIC_OBJECT_LABEL: "Semantic object", PROPERTY_PATH_LABEL: "Property path", PARAMETER_NAME_LABEL: "Parameter name", PROPERTY_VALUE_TYPE_LABEL: "Property value type", PROPERTY_VALUE_LABEL: "Property value", CANNOT_RECIEVE_TOKEN_ERROR_MSG: "Cannot receive token.", LOGIN_FAILED_MSG: "Login failed.", LOGIN_SUCCESS_MSG: "Login successful", LOGIN_ERROR_MESSAGE: (statusCode, statusText) => `Login failed: ${statusCode} ${statusText}`, CANNOT_GET_ORGANIZATIONS: "Cannot get organizations.", CANNOT_GET_SPACES: "Cannot get spaces.", INVALID_GUID_MSG: "Invalid guid.", PROMPT_PATH_TO_ROOT: "Specify the path to the project root", ERROR_PROJECT_DOES_NOT_EXIST: "The project does not exist.", ERROR_INVALID_PROJECT_PATH: "Provide the path to the MTA project where you want to have your Adaptation Project created", NO_PROJECT_PATH_ERR_MSG: "Project path is missing.", YES: "Yes", NO: "No", SELECT_APPROUTER_LABEL: "Select your HTML5 application runtime", ERROR_PARSING_UI5_VERSIONS: "An error occurred when trying to parse UI5 versions.", ERROR_RETRIEVING_UI5_VERSIONS: "An error occurred when trying to retrieve UI5 versions", SUCCESSFUL_LOGIN: "You have been automatically logged in to: ", NO_SERVICES_ERROR: "No adaptable business service found in the MTA", BUSINESS_SOLUTION_NAME_SEGMENTS_ERR: "Business solution name must consist of at least two segments and they should be separated by period.", SERVICE_NOT_EXISTS: "The service chosen does not exist in cockpit or the user is not member of the needed space.", LOGGED_OUT_ERROR: "The generator will not be able to continue because you have been logged out from Cloud Foundry while using it. Please start it again and make sure you stay logged in.", INSTALLATION_FAILED_MESSAGE: "Installation of dependencies failed.", NOT_LOGGED_IN: "You are not logged in to Cloud Foundry.", V4_APP_NOT_OFFICIAL: "You have selected an app based on SAP Fiori elements for OData V4. Note the following important information when you create adaptation changes: https://wiki.wdf.sap.corp/wiki/display/fioritech/Adaptation+Project+Support", ONLY_LOGGED_USERS: "Only logged in users", USERNAME_PROMPT_EXTERNAL_LABEL: "Enter email for the backend system", SELECT_ENV: "Select environment", CF_RETRY_ATTEMPT: `CF Token is expired, retry attempt 1.`, VERSION_CANNOT_BE_EMPTY: "Version cannot be empty", DO_NOT_USE_CONSOLE_GENERATOR: "Please do not use the console version of this generator, but use the UI version of it which can be started from its tile after using the command 'Open Template Wizard'.", TARGET_ENV: "Target environment", PROVIDE_CREDENTIALS: "Provide credentials.", PROJECT_FOLDER: "Project folder path", PROJECT_PATH: "Project path", PROVIDE_PATH: "Provide path to MTA project.", APP_DETAILS: "Application Details", SETUP_APP: "Setup application details.", NOT_ABAP_SYSTEM: "The system that you have selected is not an ABAP On-Premise system. Adaptation Project is supported only on such systems, so please choose ABAP On-Premise system.", FAILED_TO_PARSE_XS_APP_JSON_IN_APP_ZIP: (reason) => `Failed to parse xs-app.json. Reason: ${reason}`, FAILED_TO_PARSE_MANIFEST_JSON_IN_APP_ZIP: (reason) => `Failed to parse manifest.json. Reason: ${reason}`, NOT_SUPPORTED_ADP_OVER_ADP: "You have selected Adaptation Project as base. The selected system has SAPUI5 version lower than 1.90 and it does not support Adaptation Project as а base for a new Adaptation Project. You will be able to create such а project, but after deployment it will not work until the UI5 version of the system is updated.", PARTIALLY_SUPPORTED_ADP_OVER_ADP: "You have selected Adaptation Project as а base. The selected system has SAPUI5 version lower than 1.96 and in order for your Adaptation Project based on Adaptation Project to work after deployment, you will need to apply SAP Note 756 SP0 on your system.", INFO_MESSAGE_MORE_SEARCH_RESULTS: (numResults) => `More than ${numResults} results, keep typing to narrow down`, // SUB GENERATOR MESSAGES /** * Tooltip messages */ TOOLTIP_MESSAGE: (value) => `If needed enter any additional ${value} in the "key1":"value1","key2":"value2" format`, SETTINGS_TOOLTIP_MESSAGE: (value) => `If needed enter any additional ${value} settings in the "key1":"value1","key2":"value2" format`, MODEL: "model", ANNOTATION: "annotation", PROJECT_NAME_TOOLTIP: (isInternalMode, isCfMode) => { const label = isCfMode ? exports.Messages.PROJECT_NAME_CF_INTERNAL_PROMPT_LABEL : exports.Messages.PROJECT_NAME_INTERNAL_PROMPT_LABEL; return isInternalMode ? `${exports.Messages.INPUT_CANNOT_BE_EMPTY_ERROR(label)}. ${exports.Messages.PROJECT_NAME_INTERNAL_LENGTH_ERROR(isCfMode)} ${exports.Messages.INTERNAL_PROJECT_NAME_VALIDATION_ERROR(isCfMode)}` : `${exports.Messages.INPUT_CANNOT_BE_EMPTY_ERROR(label)}. ${exports.Messages.PROJECT_NAME_EXTERNAL_LENGTH_ERROR(isCfMode)} ${exports.Messages.EXTERNAL_PROJECT_NAME_VALIDATION_ERROR(isCfMode)}`; }, INBOUND_ID_TOOLTIP: "Enter the Id of the inbound that you want to change", INBOUND_ID_SUB_GEN_TOOLTIP: "The inbound that will get this change", PROPERTY_PATH_TOOLTIP: "Enter the path of the property of the inbound that you want to change", PARAMETER_PATH_TOOLTIP: "Enter the name of the parameter", PROPERTY_VALUE_TYPE_TOOLTIP: "Select the type of the value you want to enter", PROPERTY_VALUE_TOOLTIP: "Enter the value of the property that you want to set", TARGET_ENV_TOOLTIP: "Select the target environment for your Adaptation Project", APPLICATION_TITLE_TOOLTIP: "Enter an application title for your application variant", SYSTEM_TOOTIP: "Select a system to load its application list", APPLICATION_TOOLTIP: "Select the application for which you want to create an app variant", UI5_VERSION_TOOLTIP: "Select the SAP UI5 version you want to use for preview of your app variant", CURRENT_UI5_VERSION_TOOLTIP: "This is the current latest UI5 version which is available in cloud systems", CF_API_ENDPOINT_TOOLTIP: "Enter the URL for your CF API endpoint", USERNAME_TOOLTIP: "Enter your username for the backend system", PASSWORD_TOOLTIP: "Enter your password for the backend system", ORGANIZATION_TOOLTIP: "Select the organization you need from your CF instance", ORGANIZATION_SPACE_TOOLTIP: "Select the space that you need from the selected organization", PROJECT_PATH_TOOLTIP: "Select the path to the root of your project", APPROUTER_TOOLTIP: "Select the HTML5 application runtime that you want to use", BUSINESS_SERVICE_TOOLTIP: "Select the business service you want to use", BASE_APPLICATION_TOOLTIP: "Select the base application you want to use", SYSTEM_DEPLOY_TOOLTIP: "Select the system to deploy to", PACKAGE_TOOLTIP: "Enter the package to use for deployment", TRANSPORT_TOOLTIP: "Enter the transport request number to use for deployment", OPERATION_TOOLTIP: "Select if you want to update or undeploy the already deployed project", ODATA_SERVICE_TOOLTIP: "Select the OData service you want to replace", ODATA_SOURCE_URI_TOOLTIP: "Enter the URI for the new OData source", ODATA_SERVICE_NAME_TOOLTIP: "Enter a name for the OData service you want to add", ODATA_SERVICE_URI_TOOLTIP: "Enter the URI for the OData service you want to add", ODATA_SAPUI5_MODEL_NAME_TOOLTIP: "Enter a name for the SAPUI5 model you want to use from the service", ODATA_ANNOTATION_DATA_SOURCE_NAME_TOOLTIP: "Enter a name for the OData annotation data source", ODATA_ANNOTATION_DATA_SOURCE_URI_TOOLTIP: "Enter URI for the OData annotation data source", ODATA_SERVICE_ANNOTATION_FILE_TOOLTIP: "Select the OData service you want to add annotation file to", ANNOTATION_XML_TOOLTIP: "Select the annotation file source", SELECT_ANNOTATION_FILE_TOOLTIP: "Select the annotation file from your workspace", COMPONENT_USAGE_ID_TOOLTIP: "Enter the component usage ID you want to add", COMPONENT_NAME_TOOLTIP: "Enter the name of the component you want to add", IS_LAZY_TOOLTIP: "Select if the component should be lazy or not", SEMANTIC_OBJECT_TOOLTIP: "Enter the semantic object for the inbound which will be created for your adaptation project", ACTION_TOOLTIP: "Enter the action for the inbound which will be created for your adaptation project", INBOUNDID_TOOLTIP: "Choose the inboundID that will be used to set the FLP tile configuration", PARAMETERS_TOOLTIP: "Enter the value for the parameters in the Target Mappings section from the URL mentioned above", SAPUI5_ABAP_REPOSITORY_TOOLTIP: "Enter the SAPUI5 ABAP Repository that should be used for the deployment of your Adaptation Project. Expected format is '/<namespace>/<repository_name>' if you want to add a namespace or just a single repository name as a string. Namespace can be up to 8 symbols and repository name can be up to 15 symbols. Both the SAPUI5 ABAP Repository and the package that will be used should start in the same way, i.e. a namespace or a Z, Y or 'SAP'", DEPLOYMENT_DESCRIPTION_TOOLTIP: "Enter a description for your deployment", DEPLOYMENT_PACKAGE_TOOLTIP: "Enter a package who has ABAP Language Version 'ABAP for Cloud Development'. Both the SAPUI5 ABAP Repository and the package that will be used should start in the same way, i.e. a namespace or a Z, Y or 'SAP'", DEPLOYMENT_TRANSPORT_TOOLTIP: "Enter transport number for the entered package", PROJECT_TYPE_TOOLTIP: "Select the type of the project you want to create", TRANSPORT_INPUT_CHOICE: "How do you want to enter Transport Request", PACKAGE_INPUT_CHOICE: "How do you want to enter the Package", /** * Inputs default values */ APPLICATION_TITLE_DEFAULT_VALUE: "App Variant Title", COMPONENT_USAGE_SHOULD_ADD_LIBRARY_TOOLTIP: "Choose if you want to add library reference", COMPONENT_USAGE_LIBRARY_IS_LAZY_TOOLTIP: "Choose if you want the library reference to be lazy or not", COMPONENT_USAGE_LIBRARY_REFERENCE_TOOLTIP: "Enter the library reference", ODATA_ANNOTATION_SOURCE_URI_TOOLTIP: "Server side annotations have been detected for the selected OData service. If needed, enter new annotation data source URI for the changed service", ODATA_SERVICE_VERSION_TOOLTIP: "Select the version of OData of the service you want to add", CRASH_MESSAGE_CF: "There is a problem with communication with the CF API Endpoint. You have probably logged in different endpoint than the one you have created your project from.", CRASH_MESSAGE_ABAP: "There is problem with communication with the backend.", /** * Inputs */ ODATA_SERVICE_NAME_INPUT: "OData Service Name", ODATE_SERVICE_URI_INPUT: "OData Service URI", ODATA_SERVICE_VERSION: "OData Version", ODATA_SERVICE_MODEL_NAME_INPUT: "OData Service SAPUI5 Model Name", ODATA_SERVICE_MODEL_SETTINGS_INPUT: "OData Service SAPUI5 Model Settings", ODATA_ANNOTATION_DATA_SOURCE_NAME_INPUT: "OData Annotation Data Source Name", ODATA_ANNOTATION_DATA_SOURCE_URI_INPUT: "OData Annotation Data Source URI", ODATA_ANNOTATION_SETTINGS: "OData Annotation Settings", COMPONENT_USAGE_ID_INPUT: "Component Usage ID", COMPONENT_NAME_INPUT: "Component Name", IS_LAZY_INPUT: "Is Lazy", COMPONENT_IS_LAZY: "Set Component as Lazy", LIBRARY_IS_LAZY: "Set Library as Lazy", COMPONENT_SETTINGS_INPUT: "Component Settings", COMPONENT_DATA_INPUT: "Component Data", COMPONENT_USAGE_ADDITINAL_LIBRARY: "Do you want to add library reference?", COMPONENT_USAGE_LIBRARY_REFERENCE: "Library reference", ODATA_SERVICE_URI_INFO: (isCfMode) => `Have in mind that common OData Service path prefixes are ${isCfMode ? "'odata/v2/'" : "'/sap/opu/odata/'"} or ${isCfMode ? "'odata/v4/'" : "'/sap/opu/odata4/'"}`, ODATA_SERVICE_URI_VERSION_INFO: (versionOne, versionTwo) => `Have in mind that you are trying to replace OData ${versionOne} Service with OData ${versionTwo} Service`, ODATA_ANNOTATION_SERVICE_URI_VERSION_INFO: (versionOne, versionTwo) => `Have in mind that you are trying to replace OData Annotation ${versionOne} Service with OData Annotation ${versionTwo} Service`, ODATA_VERSION_DISCOMPARISON_WITH_URI_INFO: (versionOne, versionTwo) => `Have in mind that, based on the URL you entered you might be trying to add ${versionOne} service, but have selected ${versionTwo} instead`, /** * General messages */ SUCCESSFULLY_RETRIEVED_PROJECT_DATA: (msg) => `Successfully retrieved project data\n${msg}`, DESTINATION_REQUIRES_AUTHENTICATION: (reqAuth, destinationName) => `Destination ${destinationName} requires authentication: [${reqAuth}]`, DESTINATION_URL: (destinationUrl) => `Destination URL: ${destinationUrl}`, MANIFEST_URL: (manifestUrl) => `Manifest URL: ${manifestUrl}`, ODATA_SOURCES_FROM_MANIFEST: (msg) => `OData Sources from Manifest:\n${msg}`, ODATA_TARGET_SOURCES: (msg) => `OData Target Sources:\n${msg}`, CURRENT_ODATA_SERVICES: (msg) => `Current OData Services:\n${msg}`, CHANGE_OBJECT_STRINGIFIED: (msg) => `Change Object:\n${msg}`, CURRENT_ANSWERS: (msg) => `Current Generator Answers:${msg}`, EMPTY_ANNOTATION_FILE_INFO: "Empty annotation file will be created in webapp/changes/annotations folder of your project", ANNOTATION_FILE_WITH_INVALID_FILE_EXTENSION_INFO: "Have in mind that you have not selected an XML file", ADD_LIBRARY_REFERENCE_CHANGE: "Adding Library Reference Change", ADD_ANNOTATION_CHANGE: "Adding OData Annotation Change", NO_OPENED_WORKSPACE_FOLDER: "There is currently no opened workspace folder.", /** * Errors */ ERROR_EMPTY_XML_ANNOTATION: "Annotation XML cannot be empty", ERROR_MISSING_REQUIRED_DATA: "Please provide all required data", ERROR_INVALID_XML_ANNOTATION: "Invalid XML", ERROR_EMPTY_INPUT: "Value cannot be empty", ERROR_USERNAME: "Username cannot be empty", ERROR_PASSWORD: "Password cannot be empty", ERROR_UNABLE_TO_GET_PROJECT_FILES: (error) => `\nUnable to get project files.\n${error}`, ERROR_COULD_NOT_READ_WRITE_TO_FILE: (error) => `\nA problem occured while reading/writing file.\n${error}`, ERROR_UNABLE_TO_GET_MANIFEST_URL: (error) => `\nCannot get manifest url.\n${error}`, ERROR_UNABLE_TO_GET_IF_PROJECT_REQUIRES_AUTH: (error) => `Could not get if project requires authentication\n${error}`, ERROR_MANIFEST_CONTAINS_NO_ODATA_SERVICES: "Manifest contains no OData Services.", ERROR_COULD_NOT_RETRIEVE_MANIFEST: (error) => `\nCould not retrieve manifest.\n${error}`, ERROR_INPUT_CANNOT_BE_EMPTY: (input) => `${input} cannot be empty`, ERROR_INPUT_CANNOT_HAVE_SPACES: (input) => `${input} cannot contains spaces`, ERROR_INPUT_INVALID_VALUE_FOR_PREFIX: (input, prefix) => `${input} should start with '${prefix}'`, ERROR_INPUT_INVALID_VALUE: (input) => `Invalid ${input}`, ERROR_BINDING_IS_IN_INCORRECT_FORMAT: "Binding is in inccorect format (e.g. {{value}} )", ERROR_OBJECT_IS_IN_INCORRECT_FORMAT: 'Object is in incorrect format (e.g. { "key": "value" } )', ERROR_NUMBER_IS_IN_INCORRECT_FORMAT: "Number is in inccorect format (e.g. 5 )", ERROR_BOOLEAN_IS_IN_INCORRECT_FORMAT: "Boolean is in inccorect format (e.g. false | true )", ERROR_DUPLICATED_VALUE: (component) => `${component} with the same name was already added to the project`, ERROR_EXISTING_ANNOTATION_FILE: "There is already an annotation file with the same name, please choose another file or rename the file and select it again", ERROR_UNABLE_TO_VALIDATE_ANNOTATION_FILE: (error) => `A problem occured while trying to validate annotation file.\n${error}`, ERROR_FILE_DOES_NOT_EXIST: "The file doesn't exist", ERROR_INVALID_VALUE_FOR_SPECIAL_CHARACTERS: (input) => `${input} must contain only Latin alphanumeric characters or the following symbols: "-","_","$" and "."`, ERROR_MISSING_PROPERTY_IN_UI5_DEPLOY: (property) => `Property ${property} in ui5-deploy.yaml is missing`, ERROR_SEMANTIC_OBJECT_INVALID_CHARACTERS_ERROR_MESSAGE: (input) => `${input} must contain only Latin alphanumeric characters or the following symbols: "_" and "."`, CANNOT_LOAD_SYSTEMS: "Cannot load systems!", DUPLICATE_NAME_VALIDATION_ERROR: (input1, input2) => `${input1} must be different from ${input2}`, ERROR_FLP_MISSING_PROPERTY: "At least one of Title, Subtitle and Icon should have a value.", ERROR_INVALID_FLP_PRIORITY: "Invalid Priority. Priority should contains only digits.", INVALID_SAPUI5_ABAP_REPOSITORY_MESSAGE: "Repository name does not match the expected format. Expected format is '/<namespace>/<repository_name>' or just a single repository name as a string. Namespace can be up to 8 symbols and repository name can be up to 15 symbols. Only alphanumeric and _ symbols are allowed", INVALID_DEPLOYMENT_PACKAGE_MESSAGES: { INVALID_FORMAT: "Package name does not match the expected format. Expected format is '/<namespace>/<package_name>' or just a single package name as a string. If namespace is not specified package name should starts with '$', 'Z', 'Y' or 'SAP'. Only alphanumeric and _ symbols are allowed", INVALID_STARTING_PREFIX: "Entered package can start with either namespace, '$', 'Z', 'Y' or 'SAP'", INVALID_REPOSITORY_STARTING_PREFIX: (prefix) => `Entered package starts with '${prefix}'. The SAPUI5 ABAP Repository value that have been entered should also start with the same character`, INVALID_REPOSITORY_NAMESPACE: "Both the SAPUI5 ABAP Repository and the Package that will be used should start in the same way, i.e. a namespace or capital letters 'Z', 'Y' or 'SAP'", INVALID_CLOUD_PACKAGE: "The package entered is not meant to be used for cloud deployments. You should either use cloud package or go back to the project type selection and select On Premise" }, ERROR_INVALID_FLP_PARAMS: "The key+value set has been entered incorrectly.", INVALID_SAPUI5_ABAP_REPOSITORY: "SAPUI5 ABAP Repository name cannot contain more than 15 characters and should contain only alphanumerical characters and '_'", ERROR_INVALID_FLP_ITEM: (item, maxCount) => `${item} should contain only alphanumerical characters and '_' up to ${maxCount} characters`, ERROR_EMPTY_PACKAGE_INPUT_CHOICE: "Please choose how you want to enter Package.", ERROR_PROMPT_ABAP_PACKAGE_NOT_FOUND: "Package list cannot be fetched. Please enter the Package manually.", ERROR_EMPTY_TRANSPORT_INPUT_CHOICE: "Please choose how you want to enter Transport", ERROR_TRANSPORT_LIST_MISSING_PRE_REQS: "Name (SAPUI5 ABAP Repository) and Package are required to retrieve the existing Transport Requests", ERROR_TRANSPORT_NO_EXISTING_LIST: "Transport Request list cannot be fetched. Please enter Transport Request manually.", ERROR_NEWER_SAP_UI_NEEDED: "To use this option your backend system must have newer version of SAP_UI. For more information, refer to the documentation.", ERROR_CLOUD_SYSTEM_FOR_INTERNAL_USERS: "You have selected system that does not support OnPremise adaptation projects. Please select such system." }; //# sourceMappingURL=messages.js.map