From f09f07885e52e5ba6492733b9ab0a30a3a6276f6 Mon Sep 17 00:00:00 2001 From: Travis Harris Date: Tue, 19 Mar 2024 09:34:28 -0700 Subject: [PATCH] chore(all): remove babel step to inject id to formatted messages and use eslint instead for compatibility with build tools (#4388) * chore(all): remove babel step to inject id to formatted messages and use eslint instead for compatibility with build tools * Fix package json * Fix snapshots * fix e2e test * Fix e2e tests --- .eslintrc.json | 7 +- Localize/lang/strings.json | 52 +- apps/data-mapper-standalone/jest.config.ts | 9 - apps/designer-standalone/jest.config.ts | 9 - apps/vs-code-react/jest.config.ts | 9 - .../components/searchableDropdown/index.tsx | 1 + .../app/designer/DesignerCommandBar/index.tsx | 4 + apps/vs-code-react/src/app/designer/app.tsx | 2 + apps/vs-code-react/src/app/export/export.tsx | 1 + .../instanceSelection/instanceSelection.tsx | 12 + .../src/app/export/navigation/navigation.tsx | 5 + .../src/app/export/status/status.tsx | 2 + .../app/export/summary/managedConnections.tsx | 5 + .../app/export/summary/newResourceGroup.tsx | 11 +- .../src/app/export/summary/summary.tsx | 11 +- .../src/app/export/validation/validation.tsx | 6 +- .../workflowsSelection/advancedOptions.tsx | 8 + .../app/export/workflowsSelection/filters.tsx | 4 + .../workflowsSelection/selectedList.tsx | 1 + .../workflowsSelection/workflowsSelection.tsx | 9 + babel.config.json | 11 +- libs/chatbot/jest.config.ts | 9 - libs/chatbot/src/lib/ui/chatbot.tsx | 24 +- libs/chatbot/src/lib/ui/panelheader.tsx | 5 + libs/data-mapper/jest.config.ts | 9 - .../addedFunctionBox/addedFunctionBox.tsx | 1 + .../breadcrumb/EditorBreadcrumb.tsx | 4 + .../canvasControls/CanvasControls.tsx | 5 + .../canvasToolbox/CanvasToolbox.tsx | 10 + .../src/lib/components/codeView/CodeView.tsx | 3 + .../commandBar/EditorCommandBar.tsx | 17 + .../configPanel/AddOrUpdateSchemaView.tsx | 7 + .../components/configPanel/ConfigPanel.tsx | 6 + .../configPanel/DefaultConfigView.tsx | 11 + .../configPanel/SelectExistingSchema.tsx | 4 + .../configPanel/UploadNewSchema.tsx | 2 + .../lib/components/edge/ConnectionEdge.tsx | 1 + .../floatingPanel/FloatingPanel.tsx | 1 + .../components/functionList/FunctionList.tsx | 2 + .../components/inputTypes/InputDropdown.tsx | 16 +- .../lib/components/nodeCard/SchemaCard.tsx | 3 + .../components/notification/Notification.tsx | 26 +- .../propertiesPane/PropertiesPane.tsx | 9 + .../propertiesPane/tabs/BoundedInputEntry.tsx | 3 + .../tabs/FunctionNodePropertiesTab.tsx | 5 + .../tabs/SchemaNodePropertiesTab.tsx | 4 + .../propertiesPane/tabs/TestTab.tsx | 5 + .../schemaSelection/SelectSchemaCard.tsx | 2 + .../SourceSchemaPlaceholder.tsx | 2 + .../src/lib/components/sidePane/SidePane.tsx | 4 + .../tabs/mapCheckerTab/MapCheckerTab.tsx | 5 + .../components/testMapPanel/TestMapPanel.tsx | 11 + .../components/tree/SchemaTreeSearchbar.tsx | 3 + .../src/lib/components/tree/TreeBranch.tsx | 2 + .../components/warningModal/WarningModal.tsx | 4 + .../src/lib/utils/MapChecker.Utils.ts | 9 + libs/designer-ui/jest.config.ts | 9 - libs/designer-ui/src/lib/about/index.tsx | 7 + .../src/lib/announcedmatches/index.tsx | 2 + .../ariaSearchResultsAlert.tsx | 1 + .../src/lib/arrayeditor/collapsedarray.tsx | 1 + .../lib/arrayeditor/expandedcomplexarray.tsx | 1 + .../lib/arrayeditor/expandedsimplearray.tsx | 3 + .../designer-ui/src/lib/arrayeditor/index.tsx | 2 + .../lib/authentication/AADOAuth/AADOAuth.tsx | 3 + .../CollapsedAuthentication.tsx | 2 + .../lib/authentication/MSIAuth/MSIAuth.tsx | 5 + .../authentication/MSIAuth/MSIAuthDefault.tsx | 4 + .../src/lib/authentication/index.tsx | 13 +- .../src/lib/authentication/util.ts | 57 +- .../src/lib/azureResourcePicker/index.tsx | 2 + .../src/lib/card/addActionCard/index.tsx | 6 + .../src/lib/card/cardcontextmenu.tsx | 1 + libs/designer-ui/src/lib/card/cardfooter.tsx | 7 + .../designer-ui/src/lib/card/emptycontent.tsx | 1 + libs/designer-ui/src/lib/card/index.tsx | 3 + .../src/lib/card/noActionCard/index.tsx | 1 + .../src/lib/card/subgraphCard/index.tsx | 5 + .../lib/chatbot/components/assistantError.tsx | 9 +- .../chatbot/components/assistantGreeting.tsx | 12 +- .../components/assistantReplyWithFlow.tsx | 10 +- .../src/lib/chatbot/components/chatBubble.tsx | 2 + .../chatbot/components/connectionStatus.tsx | 4 + .../components/connectionsSetupMessage.tsx | 2 + .../chatbot/components/feedbackMessage.tsx | 3 + .../chatbot/components/flowDiffPreview.tsx | 4 + .../operationsNeedAttentionMessage.tsx | 5 + .../components/progressCardWithStopButton.tsx | 1 + .../promptGuide/promptGuideCard.tsx | 8 + .../promptGuide/promptGuideContextualMenu.tsx | 11 + .../components/technicalErrorMessage.tsx | 1 + .../components/thumbsReactionButton.tsx | 2 + .../src/lib/chatbot/feedbackHelper.tsx | 3 + libs/designer-ui/src/lib/checkbox/index.tsx | 1 + libs/designer-ui/src/lib/code/index.tsx | 3 +- libs/designer-ui/src/lib/code/util.ts | 4 + libs/designer-ui/src/lib/colorizer/index.tsx | 4 +- libs/designer-ui/src/lib/combobox/index.tsx | 10 +- .../components/flowPreview.tsx | 7 + .../components/suggestedFlowSection.tsx | 9 + .../src/lib/copyinputcontrol/index.tsx | 1 + libs/designer-ui/src/lib/dialogs/alert.tsx | 1 + libs/designer-ui/src/lib/dialogs/confirm.tsx | 2 + .../lib/dictionary/collapsedDictionary.tsx | 1 + .../src/lib/dictionary/expandeddictionary.tsx | 2 + .../dictionary/expandeddictionarydelete.tsx | 1 + libs/designer-ui/src/lib/dictionary/index.tsx | 2 + .../lib/dynamicallyaddedparameter/helper.ts | 12 + .../lib/dynamicallyaddedparameter/index.tsx | 2 + .../designer-ui/src/lib/editor/base/index.tsx | 1 + .../lib/editor/base/plugins/ClearEditor.tsx | 2 + .../base/plugins/TokenPickerButtonLegacy.tsx | 6 +- .../editor/base/plugins/TokenTypeahead.tsx | 2 + .../base/plugins/tokenpickerbutton/index.tsx | 2 + .../src/lib/errorboundary/index.tsx | 1 + .../src/lib/errorsPanel/nodeErrorCard.tsx | 1 + .../workflowParametersErrorCard.tsx | 3 + .../floatingactionmenubase/helper.ts | 9 +- .../floatingactionmenubase/index.tsx | 1 + .../floatingactionmenuinputs/index.tsx | 7 +- .../floatingactionmenuoutputs/index.tsx | 4 + .../plugins/toolbar/DropdownBlockFormat.tsx | 12 +- .../src/lib/html/plugins/toolbar/Format.tsx | 13 + .../src/lib/html/plugins/toolbar/Toolbar.tsx | 1 + .../html/plugins/toolbar/helper/Dropdown.tsx | 2 + .../plugins/toolbar/helper/FontDropDown.tsx | 12 +- .../src/lib/identitydropdown/index.tsx | 2 + libs/designer-ui/src/lib/label/index.tsx | 1 + .../src/lib/modals/DeleteNodeModal.tsx | 10 + .../__snapshots__/request.spec.tsx.snap | 14 +- .../__snapshots__/requestpanel.spec.tsx.snap | 38 +- .../src/lib/monitoring/requestpanel/index.tsx | 5 + .../lib/monitoring/requestpanel/request.tsx | 5 + .../lib/monitoring/requestpanel/response.tsx | 4 + .../requestpanel/securedatasection.tsx | 1 + .../__snapshots__/retrypanel.spec.tsx.snap | 36 +- .../src/lib/monitoring/retrypanel/index.tsx | 7 + .../__test__/__snapshots__/raw.spec.tsx.snap | 4 +- .../__snapshots__/values.spec.tsx.snap | 8 +- .../__test__/__snapshots__/xml.spec.tsx.snap | 8 +- .../src/lib/monitoring/values/bodylink.tsx | 4 +- .../lib/monitoring/values/keyvaluepairs.tsx | 2 + .../monitoring/valuespanel/valuedownload.tsx | 1 + .../lib/monitoring/valuespanel/valuelist.tsx | 2 + .../src/lib/nodeCollapseToggle/index.tsx | 2 + libs/designer-ui/src/lib/overview/index.tsx | 6 + .../src/lib/overview/overviewcommandbar.tsx | 2 + .../src/lib/overview/overviewproperties.tsx | 6 + .../src/lib/overview/runhistory.tsx | 6 + libs/designer-ui/src/lib/pager/index.tsx | 7 + .../src/lib/panel/panelcontainer.tsx | 2 + .../src/lib/panel/panelcontent.tsx | 1 + .../src/lib/panel/panelheader/panelheader.tsx | 4 + .../panel/panelheader/panelheadercomment.tsx | 2 + .../panel/panelheader/panelheadertitle.tsx | 2 + .../recommendationpanel/browseResults.tsx | 2 + .../operationGroupDetails/HybridNotice.tsx | 3 + .../operationGroupDetails/index.tsx | 2 + .../operationGroupHeader/index.tsx | 3 + .../operationSearchCard/index.tsx | 1 + .../operationSearchGroup/index.tsx | 1 + .../operationSearchHeader/index.tsx | 24 +- .../recommendationpanel/searchResult.tsx | 2 + libs/designer-ui/src/lib/peek/index.tsx | 2 +- .../src/lib/picker/filepickereditor.tsx | 2 +- libs/designer-ui/src/lib/picker/picker.tsx | 2 + .../src/lib/picker/pickerHeader.tsx | 1 + .../designer-ui/src/lib/picker/pickerItem.tsx | 1 + .../src/lib/querybuilder/AddSection.tsx | 2 + .../src/lib/querybuilder/Group.tsx | 5 + libs/designer-ui/src/lib/querybuilder/Row.tsx | 4 + .../lib/querybuilder/SimpleQueryBuilder.tsx | 3 + .../src/lib/querybuilder/index.tsx | 1 + .../src/lib/recurrence/preview.tsx | 29 +- .../src/lib/recurrence/textInput.tsx | 9 +- libs/designer-ui/src/lib/recurrence/util.ts | 35 +- .../src/lib/schemaeditor/index.tsx | 4 + .../src/lib/searchabledropdown/index.tsx | 1 + libs/designer-ui/src/lib/searchbox/index.tsx | 1 + .../dictionary/simpledictionary.tsx | 1 + .../dictionary/simpledictionaryitem.tsx | 5 + .../settingexpressioneditor.tsx | 4 + .../settings/settingsection/settingtoggle.tsx | 2 + .../src/lib/staticResult/StaticResult.tsx | 3 + .../src/lib/staticResult/index.tsx | 11 +- .../propertyEditor/ItemMenuButton.tsx | 3 + .../lib/staticResult/propertyEditor/index.tsx | 6 + .../staticResult/staticResultProperties.tsx | 1 + .../lib/staticResult/staticResultProperty.tsx | 9 +- libs/designer-ui/src/lib/table/index.tsx | 12 +- libs/designer-ui/src/lib/token/inputToken.tsx | 1 + .../designer-ui/src/lib/tokenpicker/index.tsx | 1 + .../src/lib/tokenpicker/tokenpickerfooter.tsx | 4 + .../src/lib/tokenpicker/tokenpickerheader.tsx | 5 + .../src/lib/tokenpicker/tokenpickerpivot.tsx | 2 + .../tokenpickernodynamiccontent.tsx | 7 + .../tokenpickernomatches.tsx | 4 + .../tokenpickersection/tokenpickeroption.tsx | 2 + libs/designer-ui/src/lib/utils/utils.ts | 36 +- .../languageservice/templatefunctions.ts | 308 ++++++++- .../__tests__/workflowparameterField.spec.tsx | 5 + .../__tests__/workflowparameters.spec.tsx | 2 + .../workflowparameters/workflowparameter.tsx | 1 + .../workflowparameters/workflowparameters.tsx | 7 + .../workflowparametersButtons.tsx | 2 + .../workflowparametersField.tsx | 19 +- .../workflowparametersFooter.tsx | 1 + libs/designer/jest.config.ts | 9 - .../src/lib/common/exceptions/exception.ts | 1 + .../core/actions/bjsworkflow/initialize.ts | 5 +- .../bjsworkflow/operationdeserializer.ts | 4 +- .../core/actions/bjsworkflow/serializer.ts | 4 + .../parsers/BJSWorkflow/BJSDeserializer.ts | 1 + .../workflowparametersSlice.ts | 9 +- .../lib/core/utils/connectors/connections.ts | 10 +- libs/designer/src/lib/core/utils/outputs.ts | 9 +- .../lib/core/utils/parameters/dynamicdata.ts | 2 + .../src/lib/core/utils/parameters/helper.ts | 14 +- .../lib/core/utils/swagger/inputsbuilder.ts | 13 +- libs/designer/src/lib/core/utils/tokens.ts | 12 +- .../designer/src/lib/core/utils/validation.ts | 85 ++- libs/designer/src/lib/ui/Controls.tsx | 2 + .../lib/ui/CustomNodes/OperationCardNode.tsx | 4 + .../src/lib/ui/CustomNodes/ScopeCardNode.tsx | 5 + .../lib/ui/CustomNodes/SubgraphCardNode.tsx | 2 + .../src/lib/ui/connections/dropzone.tsx | 6 + .../connections/runAfterIndicator/index.tsx | 5 + .../src/lib/ui/menuItems/commentMenuItem.tsx | 3 + .../src/lib/ui/menuItems/copyMenuItem.tsx | 4 + .../src/lib/ui/menuItems/deleteMenuItem.tsx | 2 + .../src/lib/ui/menuItems/resubmitMenuItem.tsx | 2 + .../actionList/actionList.tsx | 1 + .../allConnections/connectionEntry.tsx | 7 + .../connectionsPanel/connectionsPanel.tsx | 3 + .../createConnection/createConnection.tsx | 13 + .../createConnectionWrapper.tsx | 1 + .../formInputs/connectionNameInput.tsx | 2 + .../formInputs/gatewayPicker.tsx | 3 + .../formInputs/legacyGatewayCheckbox.tsx | 4 +- .../formInputs/legacyMultiAuth.tsx | 4 + .../createConnection/iFrameTOS.tsx | 1 + .../selectConnection/connectionTable.tsx | 5 + .../selectConnection/selectConnection.tsx | 7 + .../lib/ui/panel/errorsPanel/errorsPanel.tsx | 13 +- .../ui/panel/errorsPanel/tabs/errorsTab.tsx | 6 + .../ui/panel/errorsPanel/tabs/warningsTab.tsx | 2 + .../panel/nodeDetailsPanel/tabs/aboutTab.tsx | 12 +- .../nodeDetailsPanel/tabs/codeViewTab.tsx | 7 +- .../tabs/monitoringTab/inputsPanel.tsx | 5 + .../tabs/monitoringTab/monitoringTab.tsx | 2 + .../tabs/monitoringTab/outputsPanel.tsx | 5 + .../tabs/monitoringTab/propertiesPanel.tsx | 7 + .../tabs/parametersTab/connectionDisplay.tsx | 6 + .../tabs/parametersTab/identityselector.tsx | 4 + .../tabs/parametersTab/index.tsx | 12 +- .../nodeDetailsPanel/tabs/requestTab.tsx | 2 + .../panel/nodeDetailsPanel/tabs/retryTab.tsx | 2 + .../nodeDetailsPanel/tabs/settingsTab.tsx | 7 +- .../tabs/testingTab/index.tsx | 12 +- .../panel/nodeSearchPanel/nodeSearchPanel.tsx | 2 + .../recommendation/azureResourceSelection.tsx | 17 +- .../recommendation/customSwaggerSelection.tsx | 5 +- .../recommendationPanelContext.tsx | 6 +- .../lib/ui/settings/sections/datahandling.tsx | 5 + .../src/lib/ui/settings/sections/general.tsx | 24 +- .../lib/ui/settings/sections/networking.tsx | 48 +- .../src/lib/ui/settings/sections/runafter.tsx | 3 + .../runafterActionSelector.tsx | 7 +- .../runafteractiondetails.tsx | 3 + .../runafteractionstatuses.tsx | 4 + .../src/lib/ui/settings/sections/security.tsx | 8 + .../src/lib/ui/settings/sections/tracking.tsx | 4 + .../src/lib/ui/settings/settingsection.tsx | 13 +- .../lib/ui/settings/validation/validation.ts | 8 + libs/logic-apps-shared/jest.config.ts | 9 - .../src/parsers/lib/common/helpers/utils.ts | 15 +- .../src/parsers/lib/common/schemaprocessor.ts | 4 +- .../src/parsers/lib/expression/builder.ts | 4 +- .../src/parsers/lib/expression/evaluator.ts | 6 +- .../parsers/lib/swagger/parameterprocessor.ts | 2 +- .../src/utils/src/lib/helpers/connections.ts | 1 + .../src/utils/src/lib/helpers/recurrence.ts | 444 ++++++++----- .../designer-client-services/jest.config.ts | 9 - .../src/lib/base/apimanagement.ts | 3 +- .../src/lib/base/appService.ts | 3 +- .../src/lib/base/connector.ts | 13 +- .../src/lib/base/function.ts | 3 +- .../src/lib/base/manifests/schedule.ts | 3 +- .../src/lib/connector.ts | 3 +- .../src/lib/consumption/run.ts | 4 +- .../src/lib/standard/connection.ts | 7 +- .../src/lib/standard/run.ts | 4 +- .../schemas/apiConnector.ts | 6 +- .../schemas/baseactionresult.ts | 8 +- .../schemas/flatfiledecoding.ts | 2 + .../schemas/flatfileencoding.ts | 2 + .../staticresultschema/schemas/httpresult.ts | 4 + .../staticresultschema/schemas/parseJson.ts | 18 +- .../lib/staticresultschema/schemas/query.ts | 3 + .../intl/src/compiled-lang/strings.en-XA.json | 404 ++++++------ .../intl/src/compiled-lang/strings.json | 196 +++--- package-lock.json | 583 ++++++++++++++++-- package.json | 2 +- 303 files changed, 2963 insertions(+), 890 deletions(-) diff --git a/.eslintrc.json b/.eslintrc.json index f23a345e504..3293582d2b7 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -73,6 +73,12 @@ "disallowTypeAnnotations": true } ], + "formatjs/enforce-id": [ + "error", + { + "idInterpolationPattern": "[sha512:contenthash:base64:6]" + } + ], "formatjs/enforce-placeholders": [ "error", { @@ -90,7 +96,6 @@ "formatjs/enforce-description": ["error", "literal"], "formatjs/no-multiple-whitespaces": [1], "formatjs/no-multiple-plurals": ["error"], - "formatjs/no-id": ["error"], "formatjs/no-complex-selectors": [ "error", { diff --git a/Localize/lang/strings.json b/Localize/lang/strings.json index 7497b47edd4..6ac57b9764d 100644 --- a/Localize/lang/strings.json +++ b/Localize/lang/strings.json @@ -6,6 +6,7 @@ "+FcXe9": "Faulted", "+HcevX": "Enter a valid boolean.", "+Jryh+": "Trigger", + "+KXX+O": "Select function from", "+M72+a": "Overview", "+Uvo/p": "Alt text for down chevron", "+ZSBrq": "Context menu for {title} card", @@ -154,6 +155,7 @@ "4D7H4R": "Runs {onDays}", "4Ekn9t": "Undo", "4IS4yp": "Retry Policy", + "4Levd5": "Send me an email when", "4Q7WzU": "Add a new connection", "4YKQAF": "Required. The unit of time specified in the interval.", "4aaixN": "Tour", @@ -189,6 +191,7 @@ "62Ypnr": "Error loading operation data", "63/zYN": "Required. The object to check if it is greater than value being compared to.", "632t9E": "Secure inputs of the operation", + "635Koz": "Every week on Monday", "63CC7M": "Error loading inputs", "63fQWE": "Show all advanced parameters", "6OSgRP": "Test map", @@ -211,7 +214,6 @@ "6ueRYm": "Start time", "6xRvni": "Data type", "6yFUar": "Outputs are required when status is \"Succeeded\"", - "70eoQu": "Select function from", "73iM9+": "Update source schema", "74e2xB": "Create a new connection", "78Vggn": "Enter username", @@ -248,7 +250,6 @@ "8ND+Yc": "Please enable managed identity for the logic app.", "8NFfuB": "Actions", "8NUqpR": "Describe how your flow should be changed. Add details where possible, including the connector to use and if any content should be included.", - "8Q7ns/": "Edit this flow to", "8U0KPg": "Required. The string to be URI encoded.", "8UfIAk": "Enter secret as plain text or use a secure parameter", "8Y5xpK": "Thursday", @@ -273,6 +274,7 @@ "9Jv3+1": "Returns an object with an additional property value pair", "9LLnyJ": "(UTC-03:00) Brasilia", "9QNZSj": "Revert your flow", + "9QS9a3": "Replace \"{selectedOperation}\" with", "9SuA/E": "12", "9W0lck": "Invalid split on value ''{splitOn}'', cannot find in outputs.", "9YGcT2": "ChildErrors", @@ -319,7 +321,6 @@ "BPYdTX": "Not specified", "BQCPY7": "Required. The string to decode the URL-unsafe characters from.", "BQSRV0": "Enter password as plain text or use a secure parameter", - "BQyLiu": "results found", "BS3gy8": "Sorry, something went wrong. Please try again.", "BSgavq": "Example: Monday, Friday", "BUutcC": "Expant list of sibling elements", @@ -420,7 +421,6 @@ "FslNgF": "Status", "FxQ2Ts": "(UTC+02:00) Tripoli", "G+XvKn": "Returns a string with each item of an array joined by a delimiter", - "G/CC5/": "Invalid split on format in '{splitOn}'.", "G0XYrd": "Required. The string that may contain the value.", "GAY7b8": "Returns the query from a URI", "GD3m4X": "Expanded", @@ -483,6 +483,7 @@ "IdOhPY": "{label} To add dynamic data, press the Alt + '/' keys.", "If+p6C": "(UTC+09:00) Yakutsk", "IsVhkH": "No properties", + "IsbbsG": "When a new item", "IxWip7": "(UTC+03:00) Moscow, St. Petersburg, Volgograd", "J/Kz1j": "Asynchronous Pattern", "J2Su6x": "Formatting options for font size", @@ -509,7 +510,6 @@ "K50znc": "Required. The object to add a new property to.", "K7/DnZ": "Output", "KBaGkS": "Change connection reference", - "KNDVnN": "Replace \"{selectedOperation}\" with", "KV4uky": "When a new item...", "KX1poC": "{actionCount, plural, one {# Case} =0 {0 Cases} other {# Cases}}", "KYX5Do": "Underline (⌘U)", @@ -551,7 +551,6 @@ "M/gUE8": "About", "M0bbZk": "Flow Checker", "M0xrm+": "Code view", - "M3kJsI": "Every week on Monday", "M4H0gh": "Remove", "M6U2LE": "The parameters will be saved when the workflow is saved. You can edit it here before save or edit it in the parameter page after save.", "M8Aqm4": "Optional. The name of the scoped action where you want the inputs and outputs from the top-level actions inside that scope.", @@ -614,7 +613,6 @@ "OKszbi": "Connection Name", "OOUSLP": "This function doesn't require any input.", "OOUTdW": "Loading all connectors...", - "OQud51": "Tell me more about", "OSHNZ2": "Comment", "OSP9JY": "Enter the audience.", "OVDEFP": "Report a bug", @@ -629,6 +627,7 @@ "OihxQE": "Optional. The locale to be used when parsing the date time string.", "OjGJ8Y": "Returns the host from a URI", "OnrO5/": "Select a managed identity", + "OrPVcU": "Invalid split on format in ''{splitOn}''.", "Ov7Ckz": "Missing required property ''{missingProperties}'' for authentication type ''{authType}''", "P+7G62": "Heading 3", "P+mWgV": "Pfx", @@ -749,7 +748,6 @@ "U7yRwM": "Validation Error", "UCNM4L": "To reference a parameter, use the dynamic content list.", "UEryJE": "Delete Workflow Action", - "UF3KjL": "Try using a Conversion function such as: {conversionFunctions}", "UHCVNK": "Replaces a string with a given string", "UIWX6p": "Logical Name", "UMPuUJ": "Delete {expressionValue}", @@ -757,7 +755,6 @@ "USVffu": "Content not shown due to security configuration.", "UT2ozj": "(UTC-07:00) Mountain Time (US & Canada)", "UVAfYj": "Required. The collection to take the last object from.", - "UW+fkB": "Send me an email when", "UYRIS/": "{fileName} (file name)", "UZiXVh": "Output", "Ufv5m9": "Schema node ''{nodeName}'' has an non-terminating connection chain", @@ -854,7 +851,6 @@ "Xv5CGN": "(UTC-05:00) Indiana (East)", "Xx/naD": "Required. The name of the action whose body outputs you want.", "Y/bcmG": "Password", - "Y04+GH": "Add an action", "Y0H9aX": "More Info", "Y5XAbg": "Select a Swagger Function App resource", "Y9kBz5": "Returns a binary representation of a data URI", @@ -915,6 +911,7 @@ "_+FcXe9.comment": "The status message to show in monitoring view.", "_+HcevX.comment": "Error validation message for Booleans", "_+Jryh+.comment": "Title for the triggers section in the suggested flow", + "_+KXX+O.comment": "Path to the function to select", "_+M72+a.comment": "Button text for whole overview", "_+Uvo/p.comment": "Alt text for down chevron", "_+ZSBrq.comment": "Accessibility label", @@ -1063,6 +1060,7 @@ "_4D7H4R.comment": "Recurrence schedule description on days of week at times", "_4Ekn9t.comment": "Undo", "_4IS4yp.comment": "title for retry policy setting", + "_4Levd5.comment": "Chatbot input start of sentence for creating a flow that the user should complete. Trailing space is intentional.", "_4Q7WzU.comment": "Aria label description for add button", "_4YKQAF.comment": "Required string parameter to represent the unit of time", "_4aaixN.comment": "Button text for tour and tutorial", @@ -1098,6 +1096,7 @@ "_62Ypnr.comment": "label for panel error", "_63/zYN.comment": "Required object parameter to compare to in less function", "_632t9E.comment": "description of the secure inputs setting", + "_635Koz.comment": "Chatbot input start of sentence for creating a flow that the user should complete. Trailing space is intentional.", "_63CC7M.comment": "The text for the loading inputs error.", "_63fQWE.comment": "Button tooltip to add all advanced parameters", "_6OSgRP.comment": "Test map panel header", @@ -1120,7 +1119,6 @@ "_6ueRYm.comment": "Start time text", "_6xRvni.comment": "The data type of the current node.", "_6yFUar.comment": "Error message for when status is succeded and outputs are not provided", - "_70eoQu.comment": "Path to the function to select", "_73iM9+.comment": "Header to update source schema", "_74e2xB.comment": "General description for creating a new connection.", "_78Vggn.comment": "Username placeholder text", @@ -1157,7 +1155,6 @@ "_8ND+Yc.comment": "Error Message for disabled managed identity", "_8NFfuB.comment": "Title text for actions in the suggested flow", "_8NUqpR.comment": "Chatbot prompt to edit the workflow description", - "_8Q7ns/.comment": "Chatbot query start of sentence for editing the workflow that the user can should complete.", "_8U0KPg.comment": "Required string parameter to be encoded using uriComponent function", "_8UfIAk.comment": "Secret Placeholder Text", "_8Y5xpK.comment": "Day of the week", @@ -1182,6 +1179,7 @@ "_9Jv3+1.comment": "Label for description of custom addProperty Function", "_9LLnyJ.comment": "Time zone value ", "_9QNZSj.comment": "Chatbot undo operation confirmation title", + "_9QS9a3.comment": "Chatbot input start of sentence for replacing an action that the user should complete. Trailing space is intentional.", "_9SuA/E.comment": "Hour of the day", "_9W0lck.comment": "Error message for when split on value not found in operation outputs. Do not remove the double single quotes around the placeholder text, as it is needed to wrap the placeholder text in single quotes.", "_9YGcT2.comment": "The title of the child errors field in the static result parseJson action", @@ -1228,7 +1226,6 @@ "_BPYdTX.comment": "The status message to show in monitoring view.", "_BQCPY7.comment": "Required string parameter to be decoded using decodeUriComponent function", "_BQSRV0.comment": "Basic Password Placeholder Text", - "_BQyLiu.comment": "shows how many results are returned after search", "_BS3gy8.comment": "Chatbot report a bug button", "_BSgavq.comment": "Placeholder for schedule days", "_BUutcC.comment": "Button that toggles list of elements to view", @@ -1329,7 +1326,6 @@ "_FslNgF.comment": "Column header text for status", "_FxQ2Ts.comment": "Time zone value ", "_G+XvKn.comment": "Label for description of the custom 'join' function", - "_G/CC5/.comment": "Error message for invalid split on value.", "_G0XYrd.comment": "Required text parameter to apply nthIndexOf function on", "_GAY7b8.comment": "Label for description of custom uriQuery Function", "_GD3m4X.comment": "Function display radio group option for expanded", @@ -1392,6 +1388,7 @@ "_IdOhPY.comment": "This is an a11y message meant to help screen reader users figure out how to insert dynamic data", "_If+p6C.comment": "Time zone value ", "_IsVhkH.comment": "No properties text", + "_IsbbsG.comment": "Chatbot input start of sentence for creating a flow that the user should complete. Trailing space is intentional.", "_IxWip7.comment": "Time zone value ", "_J/Kz1j.comment": "title for async pattern setting", "_J2Su6x.comment": "Label for Font size dropdown", @@ -1418,7 +1415,6 @@ "_K50znc.comment": "Required object parameter to add a property in addProperty function", "_K7/DnZ.comment": "The title of the output field in the static result parseJson action", "_KBaGkS.comment": "Button text to take the user to the 'change connection' component while in xrm connection reference mode", - "_KNDVnN.comment": "Chatbot input start of sentence for replacing an action that the user should complete. Trailing space is intentional.", "_KV4uky.comment": "Example of a sentence that the user should complete", "_KX1poC.comment": "This is the number of cases or options the program can take", "_KYX5Do.comment": "Command for underline text for Mac users", @@ -1460,7 +1456,6 @@ "_M/gUE8.comment": "The tab label for the about tab on the operation panel", "_M0bbZk.comment": "Header for the errors panel", "_M0xrm+.comment": "Code view title", - "_M3kJsI.comment": "Chatbot input start of sentence for creating a flow that the user should complete. Trailing space is intentional.", "_M4H0gh.comment": "Label to remove", "_M6U2LE.comment": "Text for Info Bar", "_M8Aqm4.comment": "Optional string parameter to determine specific actions inside top-level actions", @@ -1523,7 +1518,6 @@ "_OKszbi.comment": "Connection Name", "_OOUSLP.comment": "Function doesn't have or require inputs", "_OOUTdW.comment": "Message to show under the loading icon when loading connectors", - "_OQud51.comment": "Chatbot query start of sentence for asking for more explaination on an item that the user can should complete.", "_OSHNZ2.comment": "Label for the comment textfield", "_OSP9JY.comment": "MSI Audience Placeholder Text", "_OVDEFP.comment": "Text for button that allows user to report a bug in the chatbot experience", @@ -1538,6 +1532,7 @@ "_OihxQE.comment": "Optional string parameter to apply formatDateTime function with", "_OjGJ8Y.comment": "Label for description of custom uriHost Function", "_OnrO5/.comment": "A placeholder for the managed identity dropdown", + "_OrPVcU.comment": "Error message for invalid split on value.", "_Ov7Ckz.comment": "Error message when missing a required authentication property", "_P+7G62.comment": "Heading 3 text", "_P+mWgV.comment": "Client Certificate Pfx Label Display Name", @@ -1658,7 +1653,6 @@ "_U7yRwM.comment": "The title of the validation error field in the static result parseJson action", "_UCNM4L.comment": "Description for Workflow Parameters Part 2", "_UEryJE.comment": "Title for operation node", - "_UF3KjL.comment": "Suggest to the user to try a conversion function instead", "_UHCVNK.comment": "Label for description of custom replace Function", "_UIWX6p.comment": "Column header for connection reference logical name", "_UMPuUJ.comment": "Label to delete a value", @@ -1666,7 +1660,6 @@ "_USVffu.comment": "Message text to inform the customer that the data is secure", "_UT2ozj.comment": "Time zone value ", "_UVAfYj.comment": "The required collection parameter for applying the 'last' function.", - "_UW+fkB.comment": "Chatbot input start of sentence for creating a flow that the user should complete. Trailing space is intentional.", "_UYRIS/.comment": "Title for file name parameter", "_UZiXVh.comment": "The title of the output field in the static result http action", "_Ufv5m9.comment": "Body text for an unconnected required schema card", @@ -1763,7 +1756,6 @@ "_Xv5CGN.comment": "Time zone value ", "_Xx/naD.comment": "Required string parameter to determine action's body output wanted", "_Y/bcmG.comment": "Client Certificate Password Label Display Name", - "_Y04+GH.comment": "Chatbot input start of sentence for adding an action that the user should complete. Trailing space is intentional.", "_Y0H9aX.comment": "This is shown as an aria label on button as well as the tooltip that is shown after clicking the button", "_Y5XAbg.comment": "Select a Swagger Function App resource", "_Y9kBz5.comment": "Label for description of custom dataUriToBinary Function", @@ -1886,6 +1878,7 @@ "_dBxX0M.comment": "Text for the \"Add Trigger\" page header", "_dD8y1n.comment": "Label for editor toggle button when in collapsed mode", "_dDYCuU.comment": "Link text to open URL", + "_dKCp2j.comment": "Chatbot query start of sentence for asking for more explaination on an item that the user can should complete.", "_dL9V5t.comment": "Text to show label for managed identity selector", "_dMAC4C.comment": "Chatbot prompt to replace an action", "_dOpdsP.comment": "Update Expression", @@ -1911,6 +1904,7 @@ "_eHgfpz.comment": "Swagger url input error message", "_eHgi14.comment": "Required string parameter to determine variable wanted", "_eHsOsm.comment": "description of action timeout format description", + "_eI00kb.comment": "Chatbot query start of sentence for editing the workflow that the user can should complete.", "_eO1h/h.comment": "Chatbot introduction message to suggest what it can help with", "_eRvRWs.comment": "Label text for request start time", "_eT+b9W.comment": "Required number parameter to be divided by in div function", @@ -1920,7 +1914,6 @@ "_en/5A3.comment": "Button text to reassign actions", "_eo1YKX.comment": "description of the split on setting", "_epOMnV.comment": "Shared category name text", - "_eqAUdj.comment": "Chatbot input start of sentence for creating a flow that the user should complete. Trailing space is intentional.", "_evyGYj.comment": "Tooltip for the button to reassign actions", "_f/lWTW.comment": "Required object parameters to check for null in coalesce function", "_f1j0to.comment": "Optional end index parameter to obtain substring", @@ -1950,7 +1943,6 @@ "_gDY9xk.comment": "Label for description of custom div Function", "_gIK0WG.comment": "Required boolean parameter to determine which value if function should return", "_gIx5ys.comment": "label to make italic text for nonMac users", - "_gKEaXI.comment": "Accessibility label for a button to copy all text in a value box", "_gKq3Jv.comment": "Label of a button to go to the previous failed page option", "_gL4rVQ.comment": "title for retry policy none setting", "_gQt/0f.comment": "Label for conversion functions", @@ -2013,6 +2005,7 @@ "_iU5Fdh.comment": "Label for URI manipulation functions", "_iUs7pv.comment": "Cancel message appearing on a confirmation dialog.", "_iVMVAt.comment": "Placeholder for schedule hours", + "_iXW+2l.comment": "Chatbot input start of sentence for adding an action that the user should complete. Trailing space is intentional.", "_id4DBb.comment": "First part of the Copilot Get Started description for Suggested Flow section", "_idQjOP.comment": "Label for properties tab", "_ifnOUI.comment": "An accessability label that describes the code view tab", @@ -2069,6 +2062,7 @@ "_l36V56.comment": "This is a time duration in full non abbreviated format", "_l536iI.comment": "An accessability label that describes the monitoring tab", "_l72gf4.comment": "Dropdown text for legacy managed identity connection", + "_lA/sHA.comment": "Accessibility label for a button to copy all text in a value box", "_lB56l2.comment": "Error validation message for Numbers", "_lM9qrG.comment": "Time zone value ", "_lPTdSf.comment": "Button text for run trigger", @@ -2079,7 +2073,6 @@ "_lckgnb.comment": "Required collection parameter to apply reverse function on", "_lexzgJ.comment": "Message on failure to remove source node", "_lgs5sf.comment": "label text for stateless run mode", - "_lh0TuF.comment": "Label of the file path selection box", "_lhL/KL.comment": "Normal text", "_ljAOR6.comment": "Label for description of custom body Function", "_lkgjxD.comment": "Required string parameter for end time", @@ -2140,6 +2133,7 @@ "_nkk1mu.comment": "Label for description of custom addMinutes Function", "_nmFupX.comment": "Timed out run", "_no/SMg.comment": "Time zone value ", + "_nwLd4b.comment": "Label of the file path selection box", "_nx25nq.comment": "Hour of the day", "_ny75Ly.comment": "Parameter Field Value Placeholder Text", "_o/0SEj.comment": "Label for description of custom last Function", @@ -2268,6 +2262,7 @@ "_sys5gu.comment": "Authentication type", "_sytRna.comment": "Error message to show when loading dynamic inputs failed", "_t+XCkg.comment": "Required string parameter for destination time zone", + "_t/RPwA.comment": "shows how many results are returned after search", "_t9RwOi.comment": "Invalid expression alert", "_tAbbH8.comment": "Title for a too many inputs card", "_tAeKNh.comment": "Function display radio group option for simple", @@ -2317,6 +2312,7 @@ "_ui7GCl.comment": "Hour of the day", "_unMG8m.comment": "Label For Connector Type in About Panel", "_unMaeV.comment": "Heading section for Variable tokens", + "_ur3P27.comment": "Suggest to the user to try a conversion function instead", "_urAHv1.comment": "Hour of the day", "_usCZ7R.comment": "Time zone value ", "_ut5Med.comment": "Parameter Field Default Value Title", @@ -2512,6 +2508,7 @@ "dBxX0M": "Add a trigger", "dD8y1n": "Switch to key value mode", "dDYCuU": "Learn more", + "dKCp2j": "Tell me more about", "dL9V5t": "Managed identity", "dMAC4C": "Replace action", "dOpdsP": "Update", @@ -2537,6 +2534,7 @@ "eHgfpz": "Please enter a valid URL", "eHgi14": "Required. The name of the variable whose value you want.", "eHsOsm": "Specify the duration in ISO 8601 format", + "eI00kb": "Edit this flow to", "eO1h/h": "This assistant can help you learn about your workflows and Azure Logic Apps platform's capabilities and connectors.", "eRvRWs": "Start time", "eT+b9W": "Required. The number to divide the Dividend by.", @@ -2546,7 +2544,6 @@ "en/5A3": "Reassign", "eo1YKX": "Enable split-on to start an instance of the workflow per item in the selected array. Each instance can also have a distinct tracking id", "epOMnV": "Shared", - "eqAUdj": "When a new item", "evyGYj": "Reassign all connected actions to a new connection", "f/lWTW": "Required. The objects to check for null.", "f1j0to": "Optional. The index of where to stop extracting the substring.", @@ -2576,7 +2573,6 @@ "gDY9xk": "Returns the result from dividing the two numbers", "gIK0WG": "Required. A boolean value that determines which value the expression should return.", "gIx5ys": "Format text as italic. Shortcut: Ctrl+I", - "gKEaXI": "Copy the value of '{label}' to the clipboard", "gKq3Jv": "Previous failed", "gL4rVQ": "None", "gQt/0f": "Conversion functions", @@ -2639,6 +2635,7 @@ "iU5Fdh": "Manipulation functions", "iUs7pv": "Cancel", "iVMVAt": "Example: 0, 10", + "iXW+2l": "Add an action", "id4DBb": "After you review this AI generated flow suggestion, select", "idQjOP": "Properties", "ifnOUI": "Code View Tab", @@ -2695,6 +2692,7 @@ "l36V56": "{hours} hours {minutes} minutes", "l536iI": "Monitoring Tab", "l72gf4": "Managed Identity", + "lA/sHA": "Copy the value of ''{label}'' to the clipboard", "lB56l2": "Enter a valid number.", "lM9qrG": "(UTC+13:00) Nuku'alofa", "lPTdSf": "Run trigger", @@ -2705,7 +2703,6 @@ "lckgnb": "Required. The collection to reverse.", "lexzgJ": "Remove all references to element ' {nodeName} ' before you remove the element.", "lgs5sf": "Stateless run mode:", - "lh0TuF": "Dropdown to select filepath", "lhL/KL": "Normal", "ljAOR6": "Shorthand for actions('actionName').outputs.body", "lkgjxD": "Required. A string that contains the end time.", @@ -2766,6 +2763,7 @@ "nkk1mu": "Adds an integer number of minutes to a string timestamp passed in", "nmFupX": "Has timed out", "no/SMg": "(UTC+10:00) Brisbane", + "nwLd4b": "Dropdown to select filepath", "nx25nq": "19", "ny75Ly": "Enter default value for parameter.", "o/0SEj": "Returns the last element in the array or string passed in", @@ -2894,6 +2892,7 @@ "sys5gu": "Client Certificate", "sytRna": "Failed to retrieve dynamic inputs. Error details: ''{message}''", "t+XCkg": "Required. A string that contains the time zone name of the destination time zone. See https://msdn.microsoft.com/en-us/library/gg154758.aspx for details.", + "t/RPwA": "results found", "t9RwOi": "The expression is invalid.", "tAbbH8": "Too many inputs assigned", "tAeKNh": "Simple", @@ -2943,6 +2942,7 @@ "ui7GCl": "16", "unMG8m": "Connector type", "unMaeV": "Variables", + "ur3P27": "Try using a Conversion function such as: {conversionFunctions}", "urAHv1": "4", "usCZ7R": "(UTC+11:00) Magadan", "ut5Med": "Default Value", diff --git a/apps/data-mapper-standalone/jest.config.ts b/apps/data-mapper-standalone/jest.config.ts index e1ba75b2eaf..cf7bc40afea 100644 --- a/apps/data-mapper-standalone/jest.config.ts +++ b/apps/data-mapper-standalone/jest.config.ts @@ -8,15 +8,6 @@ export default { 'babel-jest', { presets: ['@nrwl/react/babel'], - plugins: [ - [ - 'formatjs', - { - idInterpolationPattern: '[sha512:contenthash:base64:6]', - ast: true, - }, - ], - ], }, ], }, diff --git a/apps/designer-standalone/jest.config.ts b/apps/designer-standalone/jest.config.ts index 222d43752d5..5d260f488a7 100644 --- a/apps/designer-standalone/jest.config.ts +++ b/apps/designer-standalone/jest.config.ts @@ -8,15 +8,6 @@ export default { 'babel-jest', { presets: ['@nrwl/react/babel'], - plugins: [ - [ - 'formatjs', - { - idInterpolationPattern: '[sha512:contenthash:base64:6]', - ast: true, - }, - ], - ], }, ], }, diff --git a/apps/vs-code-react/jest.config.ts b/apps/vs-code-react/jest.config.ts index 0d945f6f45d..65976921c99 100644 --- a/apps/vs-code-react/jest.config.ts +++ b/apps/vs-code-react/jest.config.ts @@ -8,15 +8,6 @@ export default { 'babel-jest', { presets: ['@nrwl/react/babel'], - plugins: [ - [ - 'formatjs', - { - idInterpolationPattern: '[sha512:contenthash:base64:6]', - ast: true, - }, - ], - ], }, ], }, diff --git a/apps/vs-code-react/src/app/components/searchableDropdown/index.tsx b/apps/vs-code-react/src/app/components/searchableDropdown/index.tsx index 90b0f3b5413..cf25feccf14 100644 --- a/apps/vs-code-react/src/app/components/searchableDropdown/index.tsx +++ b/apps/vs-code-react/src/app/components/searchableDropdown/index.tsx @@ -20,6 +20,7 @@ export const SearchableDropdown: React.FC = (props) => const intlText = { SEARCH_OPTIONS: intl.formatMessage({ defaultMessage: 'Search options', + id: 'R7LyKb', description: 'Search options description', }), }; diff --git a/apps/vs-code-react/src/app/designer/DesignerCommandBar/index.tsx b/apps/vs-code-react/src/app/designer/DesignerCommandBar/index.tsx index 3e14abea4b2..3e7c359d05c 100644 --- a/apps/vs-code-react/src/app/designer/DesignerCommandBar/index.tsx +++ b/apps/vs-code-react/src/app/designer/DesignerCommandBar/index.tsx @@ -79,18 +79,22 @@ export const DesignerCommandBar: React.FC = ({ isRefres const Resources = { DESIGNER_SAVE: intl.formatMessage({ defaultMessage: 'Save', + id: 'ZvAp7m', description: 'Button text for save', }), DESIGNER_PARAMETERS: intl.formatMessage({ defaultMessage: 'Parameters', + id: '+0ua83', description: 'Button text for parameters', }), MONITORING_VIEW_REFRESH: intl.formatMessage({ defaultMessage: 'Refresh', + id: 'pr9GwA', description: 'Button text for refresh', }), MONITORING_VIEW_RESUBMIT: intl.formatMessage({ defaultMessage: 'Resubmit', + id: 'sOnphB', description: 'Button text for resubmit', }), }; diff --git a/apps/vs-code-react/src/app/designer/app.tsx b/apps/vs-code-react/src/app/designer/app.tsx index 18e5e4fbcfe..8dcc908c80a 100644 --- a/apps/vs-code-react/src/app/designer/app.tsx +++ b/apps/vs-code-react/src/app/designer/app.tsx @@ -44,10 +44,12 @@ export const DesignerApp = () => { const intlText = { ERROR_APP: intl.formatMessage({ defaultMessage: 'Something went wrong', + id: 'XtVOMn', description: 'Something went wrong text', }), LOADING_APP: intl.formatMessage({ defaultMessage: 'Loading designer', + id: 'fZJWBR', description: 'Loading designer text', }), }; diff --git a/apps/vs-code-react/src/app/export/export.tsx b/apps/vs-code-react/src/app/export/export.tsx index f77d817cabe..41d66dbdf5f 100644 --- a/apps/vs-code-react/src/app/export/export.tsx +++ b/apps/vs-code-react/src/app/export/export.tsx @@ -15,6 +15,7 @@ export const ExportApp: React.FC = () => { const intlText = { EXPORT_LOGIC_APP: intl.formatMessage({ defaultMessage: 'Export logic app', + id: 'UKKffr', description: 'Export logic app text', }), }; diff --git a/apps/vs-code-react/src/app/export/instanceSelection/instanceSelection.tsx b/apps/vs-code-react/src/app/export/instanceSelection/instanceSelection.tsx index bb532b388a2..1dc394e2961 100644 --- a/apps/vs-code-react/src/app/export/instanceSelection/instanceSelection.tsx +++ b/apps/vs-code-react/src/app/export/instanceSelection/instanceSelection.tsx @@ -23,50 +23,62 @@ export const InstanceSelection: React.FC = () => { const intlText = { DIVIDER_REGIONS: intl.formatMessage({ defaultMessage: 'Regions', + id: 'w+aIAc', description: 'Divider title for azure regions', }), DIVIDER_ISE: intl.formatMessage({ defaultMessage: 'Integration service environments', + id: 'BbQXF+', description: 'Divider title for ISE', }), SELECT_TITLE: intl.formatMessage({ defaultMessage: 'Select logic app instance', + id: 'aIgACb', description: 'Select logic app instance title', }), SELECT_DESCRIPTION: intl.formatMessage({ defaultMessage: 'Select the logic apps that you want to export and combine into a single logic app instance.', + id: 'rQtQpJ', description: 'Select apps to export description', }), SELECTION_SUBSCRIPTION: intl.formatMessage({ defaultMessage: 'Select a subscription', + id: '4fP2Ko', description: 'Select a subscription', }), SELECTION_LOCATION: intl.formatMessage({ defaultMessage: 'Select a region or an integration service environment (ISE) instance', + id: 'e7LAHT', description: 'Select a region or an ISE instance', }), SELECT_OPTION: intl.formatMessage({ defaultMessage: 'Select an option', + id: '//Icb/', description: 'Select an option placeholder', }), EMPTY_SUBSCRIPTION: intl.formatMessage({ defaultMessage: 'No subscriptions available', + id: 'bUIrND', description: 'No subscriptions available', }), EMPTY_LOCATION: intl.formatMessage({ defaultMessage: 'No regions and integration service environment (ISE) instances available', + id: 'xxZDTu', description: 'No regions and ISE instances available text', }), SEARCH_SUBSCRIPTION: intl.formatMessage({ defaultMessage: 'Find and select subscription', + id: 'bGPcRT', description: 'Find and select subscription text', }), SEARCH_LOCATION: intl.formatMessage({ defaultMessage: 'Find and select region or integration service environment (ISE)', + id: 'gBRTE5', description: 'Find region or ISE text', }), LOADING: intl.formatMessage({ defaultMessage: 'Loading...', + id: '2EZWf6', description: 'Loading text', }), }; diff --git a/apps/vs-code-react/src/app/export/navigation/navigation.tsx b/apps/vs-code-react/src/app/export/navigation/navigation.tsx index de5d221bd2b..acca154c7d0 100644 --- a/apps/vs-code-react/src/app/export/navigation/navigation.tsx +++ b/apps/vs-code-react/src/app/export/navigation/navigation.tsx @@ -33,22 +33,27 @@ export const Navigation: React.FC = () => { const intlText = { NEXT: intl.formatMessage({ defaultMessage: 'Next', + id: '3Wcqsy', description: 'Next button', }), BACK: intl.formatMessage({ defaultMessage: 'Back', + id: '2XH9oW', description: 'Back button', }), EXPORT: intl.formatMessage({ defaultMessage: 'Export', + id: 'wPzyvX', description: 'Export button', }), EXPORT_WITH_WARNINGS: intl.formatMessage({ defaultMessage: 'Export with warnings', + id: 'pK0Ir8', description: 'Export with warnings button', }), FINISH: intl.formatMessage({ defaultMessage: 'finish', + id: 'mlxD6R', description: 'Finish button', }), }; diff --git a/apps/vs-code-react/src/app/export/status/status.tsx b/apps/vs-code-react/src/app/export/status/status.tsx index b5689acd2d0..6a4e9e840a4 100644 --- a/apps/vs-code-react/src/app/export/status/status.tsx +++ b/apps/vs-code-react/src/app/export/status/status.tsx @@ -13,6 +13,7 @@ export const Status: React.FC = () => { const intlText = { EXPORT_STATUS_TITLE: intl.formatMessage({ defaultMessage: 'Export status', + id: '3rpbrs', description: 'Export status title', }), }; @@ -56,6 +57,7 @@ const FinalStatusGadget: React.FC = ({ finalStatus }) => const exportNextStepsPath = intl.formatMessage( { defaultMessage: 'For next steps, review the {path} file.', + id: 's78iEA', description: 'Message for next steps after export', }, { diff --git a/apps/vs-code-react/src/app/export/summary/managedConnections.tsx b/apps/vs-code-react/src/app/export/summary/managedConnections.tsx index 194908ac8f3..7ded7623aa6 100644 --- a/apps/vs-code-react/src/app/export/summary/managedConnections.tsx +++ b/apps/vs-code-react/src/app/export/summary/managedConnections.tsx @@ -24,22 +24,27 @@ export const ManagedConnections: React.FC = () => { const intlText = { DEPLOY_MANAGED_CONNECTIONS: intl.formatMessage({ defaultMessage: 'Deploy managed connections', + id: 'tyEqTO', description: 'Deploy managed connections text', }), MANAGED_CONNECTIONS: intl.formatMessage({ defaultMessage: 'Deploy managed connections (recommended only for preproduction environments)', + id: 'UHWTjU', description: 'Deploy managed connections warning text', }), SELECT_OPTION: intl.formatMessage({ defaultMessage: 'Select an option', + id: '//Icb/', description: 'Select an option placeholder', }), RESOURCE_GROUP: intl.formatMessage({ defaultMessage: 'Resource group', + id: 'UKCoay', description: 'Resource group title', }), SEARCH_RESOURCE_GROUP: intl.formatMessage({ defaultMessage: 'Find and select resource group', + id: 'xJv0H1', description: 'Find and select resource group text', }), }; diff --git a/apps/vs-code-react/src/app/export/summary/newResourceGroup.tsx b/apps/vs-code-react/src/app/export/summary/newResourceGroup.tsx index c6a14e8ffd1..c049ae1556f 100644 --- a/apps/vs-code-react/src/app/export/summary/newResourceGroup.tsx +++ b/apps/vs-code-react/src/app/export/summary/newResourceGroup.tsx @@ -31,38 +31,47 @@ export const NewResourceGroup: React.FC = ({ onAddNewRes const intlText = { CREATE_NEW: intl.formatMessage({ defaultMessage: 'Create new', + id: 'XKQ/Lw', description: 'Create new text', }), RESOURCE_GROUP_DESCRIPTION: intl.formatMessage({ defaultMessage: 'A resource group is a container that holds related resources for an Azure solution.', + id: 'fU98Nt', description: 'Deploy managed connections warning text', }), OK: intl.formatMessage({ defaultMessage: 'OK', + id: '70cHmm', description: 'OK button', }), CANCEL: intl.formatMessage({ defaultMessage: 'Cancel', + id: 'qz9XeG', description: 'Cancel button', }), NAME: intl.formatMessage({ defaultMessage: 'Name', + id: '1kGBdP', description: 'Name button', }), INVALID_CHARS: intl.formatMessage({ defaultMessage: 'The name can contain only alphanumeric characters or the following symbols: . _ - ( )', + id: '9vOq5B', description: 'RResource group name - invalid characters error', }), INVALID_ENDING_CHAR: intl.formatMessage({ - defaultMessage: "The name can't end with a period.", + defaultMessage: `The name can't end with a period.`, + id: 'Pe0eMX', description: 'Resource group name ending error', }), INVALID_EXISTING_NAME: intl.formatMessage({ defaultMessage: 'A resource group with the same name already exists in the selected subscription.', + id: 'KtGlzI', description: 'Resource group existing name error', }), NEW: intl.formatMessage({ defaultMessage: 'New', + id: 'm3H+gL', description: 'New text', }), }; diff --git a/apps/vs-code-react/src/app/export/summary/summary.tsx b/apps/vs-code-react/src/app/export/summary/summary.tsx index eb4de3e92a3..e249cdb1837 100644 --- a/apps/vs-code-react/src/app/export/summary/summary.tsx +++ b/apps/vs-code-react/src/app/export/summary/summary.tsx @@ -24,35 +24,42 @@ export const Summary: React.FC = () => { const intlText = { COMPLETE_EXPORT_TITLE: intl.formatMessage({ defaultMessage: 'Finish export', + id: 'K7KJ+a', description: 'Finish export title', }), SELECT_LOCATION: intl.formatMessage({ defaultMessage: 'Select a destination to export your logic apps', + id: 'LzXRBP', description: 'Select a location description', }), OPEN_FILE_EXPLORER: intl.formatMessage({ defaultMessage: 'Browse', + id: 'GIoHnS', description: 'Browse with file explorer text', }), EXPORT_LOCATION: intl.formatMessage({ defaultMessage: 'Export location', + id: 'POHdG+', description: 'Export location text', }), NO_DETAILS: intl.formatMessage({ defaultMessage: 'No more details', + id: 'eSQI+e', description: 'No more details text', }), AFTER_EXPORT: intl.formatMessage({ defaultMessage: 'After export steps', + id: 'uWEWvx', description: 'After export steps title', }), ADDITIONAL_STEPS: intl.formatMessage({ - defaultMessage: - "After export, the following workflows require more steps to reestablish connections. You can find these steps in the following list or by reviewing the README file that's exported with the package.", + defaultMessage: `After export, the following workflows require more steps to reestablish connections. You can find these steps in the following list or by reviewing the README file that's exported with the package.`, + id: 'AlO/m6', description: 'Post export required steps text', }), PACKAGE_WARNING: intl.formatMessage({ defaultMessage: 'The export package URL experienced an unknown problem.', + id: 'YvBfGx', description: 'Package warning text', }), }; diff --git a/apps/vs-code-react/src/app/export/validation/validation.tsx b/apps/vs-code-react/src/app/export/validation/validation.tsx index 0742ada272e..9fbb7cb9725 100644 --- a/apps/vs-code-react/src/app/export/validation/validation.tsx +++ b/apps/vs-code-react/src/app/export/validation/validation.tsx @@ -22,15 +22,17 @@ export const Validation: React.FC = () => { const intlText = { WORKFLOW_GROUP_DISPLAY_NAME: intl.formatMessage({ defaultMessage: 'Workflow', + id: '42jhB0', description: 'Review export status title', }), REVIEW_TITLE: intl.formatMessage({ defaultMessage: 'Review export status', + id: 'Z1yTm5', description: 'Review export status title', }), REVIEW_DESCRIPTION: intl.formatMessage({ - defaultMessage: - "This section shows the export status for elements in your selected logic apps. For example, some parameters types aren't supported, and some connections might not successfully export. For guidance to resolve these issues, review the following steps.", + defaultMessage: `This section shows the export status for elements in your selected logic apps. For example, some parameters types aren't supported, and some connections might not successfully export. For guidance to resolve these issues, review the following steps.`, + id: 'bv6P+5', description: 'Review export description', }), }; diff --git a/apps/vs-code-react/src/app/export/workflowsSelection/advancedOptions.tsx b/apps/vs-code-react/src/app/export/workflowsSelection/advancedOptions.tsx index 1c7b2378f2a..ed759a94515 100644 --- a/apps/vs-code-react/src/app/export/workflowsSelection/advancedOptions.tsx +++ b/apps/vs-code-react/src/app/export/workflowsSelection/advancedOptions.tsx @@ -20,34 +20,42 @@ export const AdvancedOptions: React.FC = () => { const intlText = { ADVANCED_OPTIONS: intl.formatMessage({ defaultMessage: 'Advanced options', + id: 'AANqXs', description: 'Advanced options title', }), EXPORT_CONNECTION: intl.formatMessage({ defaultMessage: 'Export connection credentials', + id: 'IasIBo', description: 'Export connection credentials title', }), EXPORT_CONNECTION_DESCRIPTION: intl.formatMessage({ defaultMessage: 'Export the connection credentials for each application', + id: 'qMrEa5', description: 'Export the connection credentials for each application description', }), OFF: intl.formatMessage({ defaultMessage: 'Off', + id: 'nwlaY0', description: 'Off text', }), CLONE_CONNECTIONS: intl.formatMessage({ defaultMessage: 'Clone connections credentials', + id: 'Okr6Rk', description: 'Clone connections text', }), GENERATE_INFRAESTRUCTURE: intl.formatMessage({ defaultMessage: 'Generate infrastructure templates', + id: '1ilzLi', description: 'Generate infrastructure templates', }), INTEGRATION_ACCOUNT_SOURCE: intl.formatMessage({ defaultMessage: 'Default to integration account as source for transformations and schema validation', + id: 'Wr+bL6', description: 'Default to integration account as source for transformations and schema validation', }), EXPORT_CUSTOM_API_ACTIONS_TO_API_MANAGEMENT_ACTIONS: intl.formatMessage({ defaultMessage: 'Export custom connector actions as API Management actions', + id: 'KMOkYN', description: 'Export custom connector actions as API Management actions', }), }; diff --git a/apps/vs-code-react/src/app/export/workflowsSelection/filters.tsx b/apps/vs-code-react/src/app/export/workflowsSelection/filters.tsx index 8d69c1b5d6d..817b7a83145 100644 --- a/apps/vs-code-react/src/app/export/workflowsSelection/filters.tsx +++ b/apps/vs-code-react/src/app/export/workflowsSelection/filters.tsx @@ -8,18 +8,22 @@ export const Filters: React.FC = ({ dropdownOptions, onChangeResourceGroup, const intlText = { SEARCH_LOGIC_APP: intl.formatMessage({ defaultMessage: 'Search for logic app', + id: 'x2g49l', description: 'Search for logic app', }), FILTER_RESOURCE_GROUPS: intl.formatMessage({ defaultMessage: 'Filter by resource group', + id: '7KvIpv', description: 'Filter by resource group', }), SEARCH: intl.formatMessage({ defaultMessage: 'Search...', + id: 'Xem1jZ', description: 'Search placeholder', }), SEARCH_RESOURCE_GROUP: intl.formatMessage({ defaultMessage: 'Find and select resource group', + id: 'xJv0H1', description: 'Find and select resource group text', }), }; diff --git a/apps/vs-code-react/src/app/export/workflowsSelection/selectedList.tsx b/apps/vs-code-react/src/app/export/workflowsSelection/selectedList.tsx index 38a6df8a008..4e898aa45f2 100644 --- a/apps/vs-code-react/src/app/export/workflowsSelection/selectedList.tsx +++ b/apps/vs-code-react/src/app/export/workflowsSelection/selectedList.tsx @@ -20,6 +20,7 @@ export const SelectedList: React.FC = ({ isLoading, deselect const intlText = { SELECTED_APPS: intl.formatMessage({ defaultMessage: 'Selected logic apps', + id: 'fDpDnc', description: 'Selected logic apps title', }), }; diff --git a/apps/vs-code-react/src/app/export/workflowsSelection/workflowsSelection.tsx b/apps/vs-code-react/src/app/export/workflowsSelection/workflowsSelection.tsx index 5e57404a18a..f7c1518e19a 100644 --- a/apps/vs-code-react/src/app/export/workflowsSelection/workflowsSelection.tsx +++ b/apps/vs-code-react/src/app/export/workflowsSelection/workflowsSelection.tsx @@ -41,38 +41,47 @@ export const WorkflowsSelection: React.FC = () => { const intlText = { SELECT_TITLE: intl.formatMessage({ defaultMessage: 'Select logic apps to export', + id: 'A5rCk8', description: 'Select apps to export title', }), SELECT_DESCRIPTION: intl.formatMessage({ defaultMessage: 'Select the logic apps that you want to export and combine into a single logic app instance.', + id: '3rlDsf', description: 'Select logic apps to export description', }), SELECTION: intl.formatMessage({ defaultMessage: 'Select', + id: 'jcxLyd', description: 'Select logic apps to export description', }), SELECTION_ALL: intl.formatMessage({ defaultMessage: 'Select all', + id: '9dqnHP', description: 'Select all logic apps to export description', }), SELECT_WORKFLOW: intl.formatMessage({ defaultMessage: 'Select logic app', + id: 'yLua0Y', description: 'Select logic app to export description', }), LIMIT_INFO: intl.formatMessage({ defaultMessage: 'Selecting more than 15 logic apps affects the export experience performance.', + id: 'CB/Oue', description: 'Limit on selected logic apps warning text', }), NO_WORKFLOWS: intl.formatMessage({ defaultMessage: 'No workflows', + id: 'MvUPPh', description: 'No workflows text', }), NAME: intl.formatMessage({ defaultMessage: 'Resource name', + id: 'dr26iH', description: 'Resource name title', }), RESOURCE_GROUP: intl.formatMessage({ defaultMessage: 'Resource group', + id: 'UKCoay', description: 'Resource group title', }), }; diff --git a/babel.config.json b/babel.config.json index 88d1b8c8eb0..065aee77de5 100644 --- a/babel.config.json +++ b/babel.config.json @@ -1,12 +1,3 @@ { - "babelrcRoots": ["*"], - "plugins": [ - [ - "formatjs", - { - "idInterpolationPattern": "[sha512:contenthash:base64:6]", - "ast": true - } - ] - ] + "babelrcRoots": ["*"] } diff --git a/libs/chatbot/jest.config.ts b/libs/chatbot/jest.config.ts index 5dbef06522e..f230d7fcad1 100644 --- a/libs/chatbot/jest.config.ts +++ b/libs/chatbot/jest.config.ts @@ -8,15 +8,6 @@ export default { 'babel-jest', { presets: ['@nrwl/react/babel'], - plugins: [ - [ - 'formatjs', - { - idInterpolationPattern: '[sha512:contenthash:base64:6]', - ast: true, - }, - ], - ], }, ], '^.+\\.svg$': '../../__mocks__/svgTransform.js', diff --git a/libs/chatbot/src/lib/ui/chatbot.tsx b/libs/chatbot/src/lib/ui/chatbot.tsx index 35df1b44a02..89ecd4296d8 100644 --- a/libs/chatbot/src/lib/ui/chatbot.tsx +++ b/libs/chatbot/src/lib/ui/chatbot.tsx @@ -72,40 +72,49 @@ export const Chatbot = ({ return { chatInputPlaceholder: intl.formatMessage({ defaultMessage: 'Ask a question about this workflow or about Azure Logic Apps as a whole ...', + id: 'kXn5e0', description: 'Chabot input placeholder text', }), protectedMessage: intl.formatMessage({ defaultMessage: 'Your personal and company data are protected in this chat', + id: 'Yrw/Qt', description: 'Letting user know that their data is protected in the chatbot', }), submitButtonTitle: intl.formatMessage({ defaultMessage: 'Submit', + id: 'Oep6va', description: 'Submit button', }), actionsButtonTitle: intl.formatMessage({ defaultMessage: 'Actions', + id: 'Vqs8hE', description: 'Actions button', }), queryTemplates: { createFlow1SentenceStart: intl.formatMessage({ defaultMessage: 'Send me an email when ', + id: '4Levd5', description: 'Chatbot input start of sentence for creating a flow that the user should complete. Trailing space is intentional.', }), createFlow2SentenceStart: intl.formatMessage({ defaultMessage: 'Every week on Monday ', + id: '635Koz', description: 'Chatbot input start of sentence for creating a flow that the user should complete. Trailing space is intentional.', }), createFlow3SentenceStart: intl.formatMessage({ defaultMessage: 'When a new item ', + id: 'IsbbsG', description: 'Chatbot input start of sentence for creating a flow that the user should complete. Trailing space is intentional.', }), addActionSentenceStart: intl.formatMessage({ defaultMessage: 'Add an action ', + id: 'iXW+2l', description: 'Chatbot input start of sentence for adding an action that the user should complete. Trailing space is intentional.', }), replaceActionSentenceStartFormat: intl.formatMessage( { - defaultMessage: `Replace "{selectedOperation}" with `, + defaultMessage: 'Replace "{selectedOperation}" with ', + id: '9QS9a3', description: 'Chatbot input start of sentence for replacing an action that the user should complete. Trailing space is intentional.', }, @@ -113,52 +122,63 @@ export const Chatbot = ({ ), explainActionSentenceFormat: intl.formatMessage( { - defaultMessage: `Explain what the "{selectedOperation}" action does in this flow`, + defaultMessage: 'Explain what the "{selectedOperation}" action does in this flow', + id: 'VEbE93', description: 'Chatbot input sentence asking to explain what the selected action does in the flow.', }, { selectedOperation } ), explainFlowSentence: intl.formatMessage({ defaultMessage: 'Explain what this flow does', + id: 'vF+gWH', description: 'Chatbot query sentence that asks to explain what the workflow does', }), questionSentenceStart: intl.formatMessage({ defaultMessage: 'Tell me more about ', + id: 'dKCp2j', description: 'Chatbot query start of sentence for asking for more explaination on an item that the user can should complete.', }), editFlowSentenceStart: intl.formatMessage({ defaultMessage: 'Edit this flow to ', + id: 'eI00kb', description: 'Chatbot query start of sentence for editing the workflow that the user can should complete.', }), }, chatSuggestion: { saveButton: intl.formatMessage({ defaultMessage: 'Save this workflow', + id: 'OYWZE4', description: 'Chatbot suggestion button to save workflow', }), testButton: intl.formatMessage({ defaultMessage: 'Test this workflow', + id: 'tTIsTX', description: 'Chatbot suggestion button to test this workflow', }), }, assistantErrorMessage: intl.formatMessage({ defaultMessage: 'Sorry, something went wrong. Please try again.', + id: 'fvGvnA', description: 'Chatbot error message', }), progressCardText: intl.formatMessage({ defaultMessage: '🖊️ Working on it...', + id: 'O0tSvb', description: 'Chatbot card telling user that the AI response is being generated', }), progressCardSaveText: intl.formatMessage({ defaultMessage: '💾 Saving this flow...', + id: '4iyEAY', description: 'Chatbot card telling user that the workflow is being saved', }), progressCardStopButtonLabel: intl.formatMessage({ defaultMessage: 'Stop generating', + id: 'wP0/uB', description: 'Label for the button on the progress card that stops AI response generation', }), cancelGenerationText: intl.formatMessage({ defaultMessage: 'Copilot chat canceled', + id: 'JKZpcd', description: 'Chatbot card telling user that the AI response is being canceled', }), }; diff --git a/libs/chatbot/src/lib/ui/panelheader.tsx b/libs/chatbot/src/lib/ui/panelheader.tsx index 0535bd49099..9ee929ca001 100644 --- a/libs/chatbot/src/lib/ui/panelheader.tsx +++ b/libs/chatbot/src/lib/ui/panelheader.tsx @@ -14,22 +14,27 @@ export const CopilotPanelHeader = ({ closeCopilot }: CopilotPanelHeaderProps): J const intl = useIntl(); const headerTitle = intl.formatMessage({ defaultMessage: 'Workflow assistant', + id: '2Gh+Gd', description: 'Chatbot header title', }); const subtitleText = intl.formatMessage({ defaultMessage: 'Preview', + id: 'tu4TTM', description: 'Label in the chatbot header stating the chatbot feature is a preview', }); const protectedPillText = intl.formatMessage({ defaultMessage: 'Protected', + id: '+3rROX', description: 'Label in the chatbot header stating that the users information is protected in this chatbot', }); const protectedMessage = intl.formatMessage({ defaultMessage: 'Your personal and company data are protected in this chat', + id: 'Yrw/Qt', description: 'Letting user know that their data is protected in the chatbot', }); const closeButtonTitle = intl.formatMessage({ defaultMessage: 'Close', + id: 'ZihyUf', description: 'Label for the close button in the chatbot header', }); diff --git a/libs/data-mapper/jest.config.ts b/libs/data-mapper/jest.config.ts index 667ccdba49f..0458b4948f6 100644 --- a/libs/data-mapper/jest.config.ts +++ b/libs/data-mapper/jest.config.ts @@ -8,15 +8,6 @@ export default { 'babel-jest', { presets: ['@nrwl/react/babel'], - plugins: [ - [ - 'formatjs', - { - idInterpolationPattern: '[sha512:contenthash:base64:6]', - ast: true, - }, - ], - ], }, ], '^.+\\.svg$': '../../__mocks__/svgTransform.js', diff --git a/libs/data-mapper/src/lib/components/addedFunctionBox/addedFunctionBox.tsx b/libs/data-mapper/src/lib/components/addedFunctionBox/addedFunctionBox.tsx index a975a9eaddc..d2bc7174baa 100644 --- a/libs/data-mapper/src/lib/components/addedFunctionBox/addedFunctionBox.tsx +++ b/libs/data-mapper/src/lib/components/addedFunctionBox/addedFunctionBox.tsx @@ -27,6 +27,7 @@ export const AddedFunctionPlaceholder = () => { const placeholderMsgLoc = intl.formatMessage({ defaultMessage: 'Added Functions', + id: 'DS/WmZ', description: 'Main message displayed in the function placeholder', }); diff --git a/libs/data-mapper/src/lib/components/breadcrumb/EditorBreadcrumb.tsx b/libs/data-mapper/src/lib/components/breadcrumb/EditorBreadcrumb.tsx index ac805996f87..3166b183550 100644 --- a/libs/data-mapper/src/lib/components/breadcrumb/EditorBreadcrumb.tsx +++ b/libs/data-mapper/src/lib/components/breadcrumb/EditorBreadcrumb.tsx @@ -50,21 +50,25 @@ export const EditorBreadcrumb = ({ isCodeViewOpen, setIsCodeViewOpen }: EditorBr const startMappingLoc = intl.formatMessage({ defaultMessage: 'Select a target schema node to start mapping', + id: '0IRUjM', description: 'Breadcrumb message shown in overview', }); const showCodeLoc = intl.formatMessage({ defaultMessage: 'Show code', + id: 'MirIsS', description: 'Button to display the code view', }); const hideCodeLoc = intl.formatMessage({ defaultMessage: 'Hide code', + id: 'UR1CS5', description: 'Button to hide the code view', }); const chevronAriaDescription = intl.formatMessage({ defaultMessage: 'Expant list of sibling elements', + id: 'BUutcC', description: 'Button that toggles list of elements to view', }); diff --git a/libs/data-mapper/src/lib/components/canvasControls/CanvasControls.tsx b/libs/data-mapper/src/lib/components/canvasControls/CanvasControls.tsx index 8df422d9a62..49d81cbf659 100644 --- a/libs/data-mapper/src/lib/components/canvasControls/CanvasControls.tsx +++ b/libs/data-mapper/src/lib/components/canvasControls/CanvasControls.tsx @@ -38,26 +38,31 @@ export const CanvasControls = ({ displayMiniMap, toggleDisplayMiniMap }: CanvasC const zoomOutLoc = intl.formatMessage({ defaultMessage: 'Zoom out', + id: 'Yuu5CD', description: 'Label to zoom the canvas out', }); const zoomInLoc = intl.formatMessage({ defaultMessage: 'Zoom in', + id: 'g1zwch', description: 'Label to zoom the canvas in', }); const fitViewLoc = intl.formatMessage({ defaultMessage: 'Zoom to fit', + id: 'o3SfI4', description: 'Label to fit the whole canvas in view', }); const showMiniMapLoc = intl.formatMessage({ defaultMessage: 'Show mini-map', + id: 'Dhu3IS', description: 'Label to show the mini-map', }); const hideMiniMapLoc = intl.formatMessage({ defaultMessage: 'Hide mini-map', + id: 'wl7X0l', description: 'Label to hide the mini-map', }); diff --git a/libs/data-mapper/src/lib/components/canvasToolbox/CanvasToolbox.tsx b/libs/data-mapper/src/lib/components/canvasToolbox/CanvasToolbox.tsx index 1876a4fbf7e..18555ebdd10 100644 --- a/libs/data-mapper/src/lib/components/canvasToolbox/CanvasToolbox.tsx +++ b/libs/data-mapper/src/lib/components/canvasToolbox/CanvasToolbox.tsx @@ -54,41 +54,49 @@ export const CanvasToolbox = ({ canvasBlockHeight }: CanvasToolboxProps) => { const showSourceSchemaLoc = intl.formatMessage({ defaultMessage: 'Show source schema', + id: 'D/xTXV', description: 'Label to open source schema toolbox', }); const hideSourceSchemaLoc = intl.formatMessage({ defaultMessage: 'Hide source schema', + id: '1pjO9s', description: 'Label to close source schema toolbox', }); const showFunctionsLoc = intl.formatMessage({ defaultMessage: 'Show functions', + id: 'PvWTxR', description: 'Label to open Functions list', }); const hideFunctionsLoc = intl.formatMessage({ defaultMessage: 'Hide functions', + id: '1nODUD', description: 'Label to close Functions list', }); const functionLoc = intl.formatMessage({ defaultMessage: 'Function', + id: 'PSrCNL', description: 'Function', }); const sourceSchemaLoc = intl.formatMessage({ defaultMessage: 'Source schema', + id: 'VLc3FV', description: 'Source schema', }); const addSrcSchemaLoc = intl.formatMessage({ defaultMessage: 'Add a source schema first, then select elements to build your map', + id: 'h6vVbX', description: 'Message to add a source schema', }); const addLoc = intl.formatMessage({ defaultMessage: 'Add', + id: 'F9dR1Q', description: 'Add', }); @@ -128,6 +136,7 @@ export const CanvasToolbox = ({ canvasBlockHeight }: CanvasToolboxProps) => { const nodeList = [node, ...node.children]; const text = intl.formatMessage({ defaultMessage: 'Add children', + id: 'YCFhzp', description: 'Add the current node and its children to the map', }); return ( @@ -145,6 +154,7 @@ export const CanvasToolbox = ({ canvasBlockHeight }: CanvasToolboxProps) => { const nodeList = flattenSchemaNode(node); const text = intl.formatMessage({ defaultMessage: 'Add children (recursive)', + id: '20oqsp', description: 'Add the current node and its children to the map', }); return ( diff --git a/libs/data-mapper/src/lib/components/codeView/CodeView.tsx b/libs/data-mapper/src/lib/components/codeView/CodeView.tsx index ee9153e2b92..10d86931723 100644 --- a/libs/data-mapper/src/lib/components/codeView/CodeView.tsx +++ b/libs/data-mapper/src/lib/components/codeView/CodeView.tsx @@ -96,16 +96,19 @@ export const CodeView = ({ const codeViewLoc = intl.formatMessage({ defaultMessage: 'Code view', + id: 'M0xrm+', description: 'Code view title', }); const closeCodeViewLoc = intl.formatMessage({ defaultMessage: 'Close code view', + id: '3sJlV+', description: 'Close code view button', }); const noMapDefLoc = intl.formatMessage({ defaultMessage: 'Unable to generate data map definition', + id: 'sv+IcU', description: `Message to display when the data map definition can't be generated`, }); diff --git a/libs/data-mapper/src/lib/components/commandBar/EditorCommandBar.tsx b/libs/data-mapper/src/lib/components/commandBar/EditorCommandBar.tsx index 93909031d61..344a72b868d 100644 --- a/libs/data-mapper/src/lib/components/commandBar/EditorCommandBar.tsx +++ b/libs/data-mapper/src/lib/components/commandBar/EditorCommandBar.tsx @@ -86,70 +86,87 @@ export const EditorCommandBar = (props: EditorCommandBarProps) => { () => ({ COMMAND_BAR_ARIA: intl.formatMessage({ defaultMessage: 'Use left and right arrow keys to navigate between commands', + id: 'rd6fai', description: 'Aria describing the way to control the keyboard navigation', }), SAVE: intl.formatMessage({ defaultMessage: 'Save', + id: 'Sh10cw', description: 'Button text for save the changes', }), GENERATE: intl.formatMessage({ defaultMessage: 'Generate XSLT', + id: 'ylfgv1', description: 'Button text for generate the map xslt', }), UNDO: intl.formatMessage({ defaultMessage: 'Undo', + id: 'r43nMc', description: 'Button text for undo the last action', }), REDO: intl.formatMessage({ defaultMessage: 'Redo', + id: 'i1cwra', description: 'Button text for redo the last undone action', }), CTR_Z: intl.formatMessage({ defaultMessage: 'Ctrl + Z', + id: 'xFQXAI', description: 'Button text for the control-Z button combination to undo the last action', }), CTR_Y: intl.formatMessage({ defaultMessage: 'Ctrl + Y', + id: 'DysO/Q', description: 'Button text for the control-Y button combination to redo the last undone action', }), DISCARD: intl.formatMessage({ defaultMessage: 'Discard', + id: 'Q4TUFX', description: 'Button text for discard the unsaved changes', }), RUN_TEST: intl.formatMessage({ defaultMessage: 'Test', + id: 'iy8rNf', description: 'Button text for running test', }), SETTINGS: intl.formatMessage({ defaultMessage: 'Settings', + id: 'E7NzDN', description: 'Button text for opening the settings', }), TOUR_TUTORIAL: intl.formatMessage({ defaultMessage: 'Tour', + id: '4aaixN', description: 'Button text for tour and tutorial', }), GIVE_FEEDBACK: intl.formatMessage({ defaultMessage: 'Give feedback', + id: 'TEN+cR', description: 'Button text for submitting feedback', }), GLOBAL_SEARCH: intl.formatMessage({ defaultMessage: 'Global search', + id: '23uZn1', description: 'Button text for global search', }), PUBLISH: intl.formatMessage({ defaultMessage: 'Publish', + id: 'g4igOR', description: 'Button text for publish', }), GLOBAL_VIEW: intl.formatMessage({ defaultMessage: 'Overview', + id: '+M72+a', description: 'Button text for whole overview', }), CANVAS: intl.formatMessage({ defaultMessage: 'Canvas', + id: 'ww1mN/', description: 'Button text for showing the canvas view', }), DIVIDER: intl.formatMessage({ defaultMessage: 'Divider', + id: '3cZZKj', description: 'Aria label for divider', }), }), diff --git a/libs/data-mapper/src/lib/components/configPanel/AddOrUpdateSchemaView.tsx b/libs/data-mapper/src/lib/components/configPanel/AddOrUpdateSchemaView.tsx index 430c42396f8..de652bd60a4 100644 --- a/libs/data-mapper/src/lib/components/configPanel/AddOrUpdateSchemaView.tsx +++ b/libs/data-mapper/src/lib/components/configPanel/AddOrUpdateSchemaView.tsx @@ -55,26 +55,31 @@ export const AddOrUpdateSchemaView = ({ const replaceSchemaWarningLoc = intl.formatMessage({ defaultMessage: 'Replacing an existing schema with an incompatible schema might create errors in your map.', + id: '3QXY3z', description: 'Message bar warning about replacing existing schema', }); const addNewLoc = intl.formatMessage({ defaultMessage: 'Add new', + id: 'rv0Pn+', description: 'Add new option', }); const selectExistingLoc = intl.formatMessage({ defaultMessage: 'Select existing', + id: '2ZfzaY', description: 'Select existing option', }); const updateSourceSchemaHeaderMsg = intl.formatMessage({ defaultMessage: 'Update source schema', + id: '73iM9+', description: 'Header to update source schema', }); const updateTargetSchemaHeaderMsg = intl.formatMessage({ defaultMessage: 'Update target schema', + id: 'htj+eZ', description: 'Header to update target schema', }); @@ -105,6 +110,7 @@ export const AddOrUpdateSchemaView = ({ return [ intl.formatMessage({ defaultMessage: 'Add or select a source schema to use for your map.', + id: 'auUI93', description: 'label to inform to upload or select source schema to be used', }), ]; @@ -112,6 +118,7 @@ export const AddOrUpdateSchemaView = ({ return [ intl.formatMessage({ defaultMessage: 'Add or select a target schema to use for your map.', + id: 'jA6Wrp', description: 'label to inform to upload or select target schema to be used', }), ]; diff --git a/libs/data-mapper/src/lib/components/configPanel/ConfigPanel.tsx b/libs/data-mapper/src/lib/components/configPanel/ConfigPanel.tsx index 703a5b07d07..4ca197757a3 100644 --- a/libs/data-mapper/src/lib/components/configPanel/ConfigPanel.tsx +++ b/libs/data-mapper/src/lib/components/configPanel/ConfigPanel.tsx @@ -78,31 +78,37 @@ export const ConfigPanel = ({ const addLoc = intl.formatMessage({ defaultMessage: 'Add', + id: 'F9dR1Q', description: 'Add', }); const saveLoc = intl.formatMessage({ defaultMessage: 'Save', + id: '0CvRZW', description: 'Save', }); const cancelLoc = intl.formatMessage({ defaultMessage: 'Cancel', + id: '6PdOcy', description: 'Cancel', }); const configureLoc = intl.formatMessage({ defaultMessage: 'Configure', + id: 'LR/3Lr', description: 'Configure', }); const closeLoc = intl.formatMessage({ defaultMessage: 'Close', + id: 'wzEneQ', description: 'Close', }); const genericErrorMsg = intl.formatMessage({ defaultMessage: 'Failed to load the schema. Please try again.', + id: '6fDYzG', description: 'Load schema error message', }); diff --git a/libs/data-mapper/src/lib/components/configPanel/DefaultConfigView.tsx b/libs/data-mapper/src/lib/components/configPanel/DefaultConfigView.tsx index 3dc1f356426..566ef9d7213 100644 --- a/libs/data-mapper/src/lib/components/configPanel/DefaultConfigView.tsx +++ b/libs/data-mapper/src/lib/components/configPanel/DefaultConfigView.tsx @@ -23,56 +23,67 @@ export const DefaultConfigView = ({ setFunctionDisplayExpanded, useExpandedFunct const schemasSectionTitleLoc = intl.formatMessage({ defaultMessage: 'Schemas', + id: 'xC1zg3', description: 'Section header for the schema section', }); const schemasSectionDescLoc = intl.formatMessage({ defaultMessage: 'Add or replace your schemas.', + id: 'TY4HzZ', description: 'Description for the schema section', }); const sourceSchemaLabel = intl.formatMessage({ defaultMessage: 'Source schema', + id: 'UnrrzF', description: 'Label to inform the below schema name is for source schema', }); const targetSchemaLabel = intl.formatMessage({ defaultMessage: 'Target schema', + id: 'jUDhbs', description: 'Label to inform the below schema name is for target schema', }); const noSchemaAddedLoc = intl.formatMessage({ defaultMessage: 'No schema is added.', + id: 'nNWAAh', description: 'Placeholder when no schema has been added', }); const pencilIconLoc = intl.formatMessage({ defaultMessage: 'Pencil icon', + id: 'QdJUaS', description: 'Pencil icon aria label', }); const functionsSectionTitleLoc = intl.formatMessage({ defaultMessage: 'Functions', + id: 'lR7V87', description: 'Section header for the functions section', }); const functionsSectionDescriptionLoc = intl.formatMessage({ defaultMessage: 'Modify options regarding functions', + id: 'GyUe4C', description: 'Description for the functions section', }); const functionDisplayLoc = intl.formatMessage({ defaultMessage: 'Function display', + id: '+0yxlR', description: 'Label for the function display radio group', }); const functionDisplaySimpleLoc = intl.formatMessage({ defaultMessage: 'Simple', + id: 'tAeKNh', description: 'Function display radio group option for simple', }); const functionDisplayExpandedLoc = intl.formatMessage({ defaultMessage: 'Expanded', + id: 'GD3m4X', description: 'Function display radio group option for expanded', }); diff --git a/libs/data-mapper/src/lib/components/configPanel/SelectExistingSchema.tsx b/libs/data-mapper/src/lib/components/configPanel/SelectExistingSchema.tsx index 54a075b56ac..3b7e4f8106c 100644 --- a/libs/data-mapper/src/lib/components/configPanel/SelectExistingSchema.tsx +++ b/libs/data-mapper/src/lib/components/configPanel/SelectExistingSchema.tsx @@ -18,21 +18,25 @@ export const SelectExistingSchema = (props: SelectExistingSchemaProps) => { const intl = useIntl(); const folderLocationLabel = intl.formatMessage({ defaultMessage: 'Existing schemas from', + id: '2gOfQI', description: 'Schema dropdown aria label', }); const dropdownAriaLabel = intl.formatMessage({ defaultMessage: 'Select the schema for dropdown', + id: 'c4GQZE', description: 'Schema dropdown aria label', }); const schemaDropdownPlaceholder = useMemo(() => { if (props.schemaType === SchemaType.Source) { return intl.formatMessage({ defaultMessage: 'Select a source schema', + id: '3eeli7', description: 'Source schema dropdown placeholder', }); } else { return intl.formatMessage({ defaultMessage: 'Select a target schema', + id: 'XkBxv5', description: 'Target schema dropdown placeholder', }); } diff --git a/libs/data-mapper/src/lib/components/configPanel/UploadNewSchema.tsx b/libs/data-mapper/src/lib/components/configPanel/UploadNewSchema.tsx index 0e8bc5bbb83..0b2e692eebb 100644 --- a/libs/data-mapper/src/lib/components/configPanel/UploadNewSchema.tsx +++ b/libs/data-mapper/src/lib/components/configPanel/UploadNewSchema.tsx @@ -19,10 +19,12 @@ export const UploadNewSchema = (props: UploadNewSchemaProps) => { const intl = useIntl(); const uploadMessage = intl.formatMessage({ defaultMessage: 'Select a file to upload', + id: '2CXCOt', description: 'Placeholder for input to load a schema file', }); const browseLoc = intl.formatMessage({ defaultMessage: 'Browse', + id: 'syiNc+', description: 'Browse for file', }); diff --git a/libs/data-mapper/src/lib/components/edge/ConnectionEdge.tsx b/libs/data-mapper/src/lib/components/edge/ConnectionEdge.tsx index 466e08e4479..aee9acf0c4a 100644 --- a/libs/data-mapper/src/lib/components/edge/ConnectionEdge.tsx +++ b/libs/data-mapper/src/lib/components/edge/ConnectionEdge.tsx @@ -92,6 +92,7 @@ export const ConnectionEdge = (props: EdgeProps) => { const insertFnLoc = intl.formatMessage({ defaultMessage: 'Insert function', + id: 'MnThTq', description: 'Message to insert function', }); diff --git a/libs/data-mapper/src/lib/components/floatingPanel/FloatingPanel.tsx b/libs/data-mapper/src/lib/components/floatingPanel/FloatingPanel.tsx index 66607b67b2b..53370acdeeb 100644 --- a/libs/data-mapper/src/lib/components/floatingPanel/FloatingPanel.tsx +++ b/libs/data-mapper/src/lib/components/floatingPanel/FloatingPanel.tsx @@ -44,6 +44,7 @@ export const FloatingPanel = (props: FloatingPanelProps) => { const xLabel = intl.formatMessage({ defaultMessage: 'Close panel', + id: '0SSwxD', description: 'Label on button that closes floating panel', }); diff --git a/libs/data-mapper/src/lib/components/functionList/FunctionList.tsx b/libs/data-mapper/src/lib/components/functionList/FunctionList.tsx index fdf57379f37..8a32ea90955 100644 --- a/libs/data-mapper/src/lib/components/functionList/FunctionList.tsx +++ b/libs/data-mapper/src/lib/components/functionList/FunctionList.tsx @@ -187,11 +187,13 @@ export const FunctionList = () => { const searchLoc = intl.formatMessage({ defaultMessage: 'Search', + id: '2NXYYu', description: 'Search', }); const clearLoc = intl.formatMessage({ defaultMessage: 'Clear', + id: 'e9OvzW', description: 'Clear', }); diff --git a/libs/data-mapper/src/lib/components/inputTypes/InputDropdown.tsx b/libs/data-mapper/src/lib/components/inputTypes/InputDropdown.tsx index 47cad901170..3a6acbf87f7 100644 --- a/libs/data-mapper/src/lib/components/inputTypes/InputDropdown.tsx +++ b/libs/data-mapper/src/lib/components/inputTypes/InputDropdown.tsx @@ -93,26 +93,31 @@ export const InputDropdown = (props: InputDropdownProps) => { const customValueSchemaNodeTypeMismatchLoc = intl.formatMessage({ defaultMessage: `Warning: custom value does not match the schema node's type`, + id: 'sRpETS', description: 'Warning message for when custom value does not match schema node type', }); const customValueAllowedTypesMismatchLoc = intl.formatMessage({ - defaultMessage: `Warning: custom value does not match one of the allowed types for this input`, + defaultMessage: 'Warning: custom value does not match one of the allowed types for this input', + id: 'BCgiRh', description: `Warning message for when custom value does not match one of the function node input's allowed types`, }); const nodeTypeSchemaNodeTypeMismatchLoc = intl.formatMessage({ defaultMessage: `Warning: input node type does not match the schema node's type`, + id: '+0H8Or', description: 'Warning message for when input node type does not match schema node type', }); const nodeTypeAllowedTypesMismatchLoc = intl.formatMessage({ - defaultMessage: `Warning: input node type does not match one of the allowed types for this input.`, + defaultMessage: 'Warning: input node type does not match one of the allowed types for this input.', + id: 'yNtBUV', description: `Warning message for when input node type does not match one of the function node input's allowed types`, }); const customValueLoc = intl.formatMessage({ - defaultMessage: `(Custom value)`, + defaultMessage: '(Custom value)', + id: 'WgChTm', description: `Suffix for a custom value drop down value.`, }); @@ -316,6 +321,7 @@ export const InputDropdown = (props: InputDropdownProps) => { conversionMessage = intl.formatMessage( { defaultMessage: ' Try using a Conversion function such as: {conversionFunctions}', + id: 'ur3P27', description: `Suggest to the user to try a conversion function instead`, }, { @@ -405,12 +411,14 @@ const DataTypeLabel = (props: DataTypeLabelProps) => { } const numericalMessage = intl.formatMessage({ - defaultMessage: "Accepts 'Number', 'Integer', and 'Decimal' types.", + defaultMessage: `Accepts 'Number', 'Integer', and 'Decimal' types.`, + id: 'CyT8H7', description: `Explains that numerical type allows three different number types`, }); const dataTypeMessage = intl.formatMessage( { defaultMessage: 'Accepted data types: {type}', + id: 'J5TTF6', description: `Explains that numerical type allows three different number types`, }, { diff --git a/libs/data-mapper/src/lib/components/nodeCard/SchemaCard.tsx b/libs/data-mapper/src/lib/components/nodeCard/SchemaCard.tsx index 13af751543f..f399dd07be3 100644 --- a/libs/data-mapper/src/lib/components/nodeCard/SchemaCard.tsx +++ b/libs/data-mapper/src/lib/components/nodeCard/SchemaCard.tsx @@ -259,12 +259,14 @@ export const SchemaCard = (props: NodeProps) => { const contextMenu = useCardContextMenu(); const ariaDescribeChevron = intl.formatMessage({ defaultMessage: 'Navigate to element and view children', + id: 'vvSHR8', description: "Change context of the canvas to view that element's children", }); const RemoveMenuItem = () => { const deleteNode = intl.formatMessage({ defaultMessage: 'Remove', + id: 'WcnIF8', description: 'Remove card from canvas', }); return ( @@ -362,6 +364,7 @@ const NBadge = ({ isOutput }: NBadgeProps) => { const arrayMappingLabel = intl.formatMessage({ defaultMessage: 'Repeating', + id: 'j5z8Vd', description: 'Label for array connection', }); diff --git a/libs/data-mapper/src/lib/components/notification/Notification.tsx b/libs/data-mapper/src/lib/components/notification/Notification.tsx index 1a2596f8f62..0bf9eb458b3 100644 --- a/libs/data-mapper/src/lib/components/notification/Notification.tsx +++ b/libs/data-mapper/src/lib/components/notification/Notification.tsx @@ -107,21 +107,25 @@ export const Notification = (props: NotificationProps) => { const undoLoc = intl.formatMessage({ defaultMessage: 'Undo', + id: '4Ekn9t', description: 'Undo', }); const showMeLoc = intl.formatMessage({ defaultMessage: 'Show me', + id: 'uWf/I5', description: 'Button to open map checker', }); const issueLoc = intl.formatMessage({ defaultMessage: 'issue', + id: 'RnBddN', description: 'Issue, singular', }); const issuesLoc = intl.formatMessage({ defaultMessage: 'issues', + id: 'SJFVxf', description: 'Issues, plural', }); @@ -129,11 +133,13 @@ export const Notification = (props: NotificationProps) => { () => ({ [NotificationTypes.GenerateFailed]: intl.formatMessage({ defaultMessage: 'Failed to generate XSLT.', + id: 'e9bIKh', description: 'Message on failed generation', }), [NotificationTypes.MapHasErrorsAtSave]: intl.formatMessage( { defaultMessage: 'The current map contains {numOfIssues} {issue}.', + id: 'JAIV0h', description: 'Message when failing to save due to errors', }, { @@ -143,11 +149,13 @@ export const Notification = (props: NotificationProps) => { ), [NotificationTypes.SourceNodeRemoved]: intl.formatMessage({ defaultMessage: 'Source element removed from view.', + id: 'A5Ferh', description: 'Message on removing source node', }), [NotificationTypes.SourceNodeRemoveFailed]: intl.formatMessage( { defaultMessage: `Remove all references to element ' {nodeName} ' before you remove the element.`, + id: 'lexzgJ', description: 'Message on failure to remove source node', }, { @@ -157,36 +165,44 @@ export const Notification = (props: NotificationProps) => { [NotificationTypes.RepeatingConnectionCannotDelete]: intl.formatMessage( { defaultMessage: 'Remove all mappings within source element `{nodeName}` first.', + id: '3KPLpx', description: 'Message informing that mapping to child elements need to be deleted prior to selected one.', }, { nodeName: msgParam ?? '' } ), [NotificationTypes.TargetNodeCannotDelete]: intl.formatMessage({ - defaultMessage: `Target schema element cannot be deleted.`, + defaultMessage: 'Target schema element cannot be deleted.', + id: 'Xj0Gr/', description: 'Message informing that target element cannot be removed', }), [NotificationTypes.FunctionNodePartiallyDeleted]: intl.formatMessage({ - defaultMessage: `Function was removed from the current location and currently exists elsewhere.`, + defaultMessage: 'Function was removed from the current location and currently exists elsewhere.', + id: 'o/FgET', description: 'Message to show when deleting a connection that exists in multiple places.', }), [NotificationTypes.FunctionNodeDeleted]: intl.formatMessage({ - defaultMessage: `Function deleted.`, + defaultMessage: 'Function deleted.', + id: 'mE7w9G', description: 'Message on deleting connection', }), [NotificationTypes.ConnectionDeleted]: intl.formatMessage({ - defaultMessage: `Line deleted.`, + defaultMessage: 'Line deleted.', + id: 'B999mz', description: 'Message on deleting connection', }), [NotificationTypes.ArrayConnectionAdded]: intl.formatMessage({ defaultMessage: 'A line for the parent element is added automatically.', + id: 'lQNKUB', description: 'Describes connection being added', }), [NotificationTypes.CircularLogicError]: intl.formatMessage({ defaultMessage: 'Invalid connection, mapping must not form a closed loop.', + id: 'H5VikC', description: 'Error message for circular logic connection validation', }), [NotificationTypes.ElementsAndMappingsRemoved]: intl.formatMessage({ - defaultMessage: "Elements and mappings that aren't connected to a target element are removed.", + defaultMessage: `Elements and mappings that aren't connected to a target element are removed.`, + id: 'kcOhfh', description: 'The message to show when switching levels without connecting nodes or mappings to a target schema node.', }), }), diff --git a/libs/data-mapper/src/lib/components/propertiesPane/PropertiesPane.tsx b/libs/data-mapper/src/lib/components/propertiesPane/PropertiesPane.tsx index 8cda36b5e05..5fc4378a5d7 100644 --- a/libs/data-mapper/src/lib/components/propertiesPane/PropertiesPane.tsx +++ b/libs/data-mapper/src/lib/components/propertiesPane/PropertiesPane.tsx @@ -81,26 +81,31 @@ export const PropertiesPane = (props: PropertiesPaneProps) => { const sourceSchemaNodeLoc = intl.formatMessage({ defaultMessage: 'Source schema element', + id: 'Gi7czD', description: 'Label for source schema node', }); const targetSchemaNodeLoc = intl.formatMessage({ defaultMessage: 'Target schema element', + id: 'U086AA', description: 'Label for target schema node', }); const functionLoc = intl.formatMessage({ defaultMessage: 'Function', + id: 'mwEHSX', description: 'Label for function node', }); const propertiesLoc = intl.formatMessage({ defaultMessage: 'Properties', + id: 'idQjOP', description: 'Label for properties tab', }); const codeLoc = intl.formatMessage({ defaultMessage: 'Code', + id: 'xV4Koe', description: 'Label for code tab', }); @@ -111,21 +116,25 @@ export const PropertiesPane = (props: PropertiesPaneProps) => { const selectElementLoc = intl.formatMessage({ defaultMessage: 'Select an element to start configuring', + id: 'u9tr3k', description: 'Label for default message when no node selected', }); const expandLoc = intl.formatMessage({ defaultMessage: 'Expand', + id: 'VI5Sa8', description: 'Label to expand', }); const collapseLoc = intl.formatMessage({ defaultMessage: 'Collapse', + id: 'pH2uak', description: 'Label to collapse', }); const removeLoc = intl.formatMessage({ defaultMessage: 'Remove', + id: 'M4H0gh', description: 'Label to remove', }); diff --git a/libs/data-mapper/src/lib/components/propertiesPane/tabs/BoundedInputEntry.tsx b/libs/data-mapper/src/lib/components/propertiesPane/tabs/BoundedInputEntry.tsx index 655ce2ae2bf..77bfd55e60b 100644 --- a/libs/data-mapper/src/lib/components/propertiesPane/tabs/BoundedInputEntry.tsx +++ b/libs/data-mapper/src/lib/components/propertiesPane/tabs/BoundedInputEntry.tsx @@ -46,15 +46,18 @@ export const BoundedInputEntry = ({ index, input, functionData, connection, conn const relativePathMessage = intl.formatMessage({ defaultMessage: 'Select function from ', + id: '+KXX+O', description: 'Path to the function to select', }); const ariaLabel = intl.formatMessage({ defaultMessage: 'Dropdown to select filepath ', + id: 'nwLd4b', description: 'Label of the file path selection box', }); const noFilesFound = intl.formatMessage( { defaultMessage: 'No files found in {filePath}, please save XSLT to specified path to use this function', + id: 'rSa1Id', description: 'Files could not be found in specified path', }, { diff --git a/libs/data-mapper/src/lib/components/propertiesPane/tabs/FunctionNodePropertiesTab.tsx b/libs/data-mapper/src/lib/components/propertiesPane/tabs/FunctionNodePropertiesTab.tsx index 757b0a40f74..48a0a95e988 100644 --- a/libs/data-mapper/src/lib/components/propertiesPane/tabs/FunctionNodePropertiesTab.tsx +++ b/libs/data-mapper/src/lib/components/propertiesPane/tabs/FunctionNodePropertiesTab.tsx @@ -68,26 +68,31 @@ export const FunctionNodePropertiesTab = ({ functionData }: FunctionNodeProperti const addFieldLoc = intl.formatMessage({ defaultMessage: 'Add field', + id: 'ysoumb', description: 'Add input field', }); const inputLoc = intl.formatMessage({ defaultMessage: 'Input', + id: 'P6I90y', description: 'Input', }); const expressionLoc = intl.formatMessage({ defaultMessage: 'Expression', + id: 'uesaee', description: 'Expression', }); const functionNoReqInputLoc = intl.formatMessage({ defaultMessage: `This function doesn't require any input.`, + id: 'OOUSLP', description: `Function doesn't have or require inputs`, }); const removeInputLoc = intl.formatMessage({ defaultMessage: 'Remove input', + id: 'SLJkRn', description: 'Remove input', }); diff --git a/libs/data-mapper/src/lib/components/propertiesPane/tabs/SchemaNodePropertiesTab.tsx b/libs/data-mapper/src/lib/components/propertiesPane/tabs/SchemaNodePropertiesTab.tsx index a049e8725ed..b1f1ebff695 100644 --- a/libs/data-mapper/src/lib/components/propertiesPane/tabs/SchemaNodePropertiesTab.tsx +++ b/libs/data-mapper/src/lib/components/propertiesPane/tabs/SchemaNodePropertiesTab.tsx @@ -44,21 +44,25 @@ export const SchemaNodePropertiesTab = ({ currentNode }: SchemaNodePropertiesTab const nameLoc = intl.formatMessage({ defaultMessage: 'Name', + id: 'RFjYpH', description: 'Name of current node', }); const fullPathLoc = intl.formatMessage({ defaultMessage: 'Full path', + id: 'wPlTDB', description: 'Full path of current node', }); const dataTypeLoc = intl.formatMessage({ defaultMessage: 'Data type', + id: '6xRvni', description: 'The data type of the current node.', }); const inputLoc = intl.formatMessage({ defaultMessage: 'Input', + id: 'P6I90y', description: 'Input', }); diff --git a/libs/data-mapper/src/lib/components/propertiesPane/tabs/TestTab.tsx b/libs/data-mapper/src/lib/components/propertiesPane/tabs/TestTab.tsx index 7ced6b91ad8..8c4bc875de2 100644 --- a/libs/data-mapper/src/lib/components/propertiesPane/tabs/TestTab.tsx +++ b/libs/data-mapper/src/lib/components/propertiesPane/tabs/TestTab.tsx @@ -35,26 +35,31 @@ export const TestTab = ({ currentTargetSchemaNodeKey }: TestTabProps) => { const provideParamsLoc = intl.formatMessage({ defaultMessage: 'Provide parameters to test the output.', + id: 'sVQe34', description: 'The description for the test tab parameters.', }); const inputLoc = intl.formatMessage({ defaultMessage: 'Input', + id: 'P6I90y', description: 'Input', }); const outputLoc = intl.formatMessage({ defaultMessage: 'Output', + id: 'Ciol6I', description: 'Output', }); const runTestLoc = intl.formatMessage({ defaultMessage: 'Run test', + id: 'g7my78', description: 'Run test', }); const resetLoc = intl.formatMessage({ defaultMessage: 'Reset', + id: 'nSan4V', description: 'Reset', }); diff --git a/libs/data-mapper/src/lib/components/schemaSelection/SelectSchemaCard.tsx b/libs/data-mapper/src/lib/components/schemaSelection/SelectSchemaCard.tsx index f6d22797a20..bb709c5d404 100644 --- a/libs/data-mapper/src/lib/components/schemaSelection/SelectSchemaCard.tsx +++ b/libs/data-mapper/src/lib/components/schemaSelection/SelectSchemaCard.tsx @@ -56,11 +56,13 @@ export const SelectSchemaCard = ({ schemaType, style }: SelectSchemaCardProps) = if (schemaType === SchemaType.Source) { return intl.formatMessage({ defaultMessage: 'Add a source schema', + id: 'jQjteB', description: 'label to inform to add a source schema to be used', }); } else { return intl.formatMessage({ defaultMessage: 'Add a target schema', + id: 'IXy91L', description: 'label to inform to add a target schema to be used', }); } diff --git a/libs/data-mapper/src/lib/components/schemaSelection/SourceSchemaPlaceholder.tsx b/libs/data-mapper/src/lib/components/schemaSelection/SourceSchemaPlaceholder.tsx index 3548ef629f6..9a75b4d3aa4 100644 --- a/libs/data-mapper/src/lib/components/schemaSelection/SourceSchemaPlaceholder.tsx +++ b/libs/data-mapper/src/lib/components/schemaSelection/SourceSchemaPlaceholder.tsx @@ -30,11 +30,13 @@ export const SourceSchemaPlaceholder = ({ onClickSelectElement }: SourceSchemaPl const placeholderMsgLoc = intl.formatMessage({ defaultMessage: 'Select source schema elements to build your map', + id: 'rsdJcV', description: 'Main message displayed in the placeholder', }); const selectElementLoc = intl.formatMessage({ defaultMessage: 'Select element', + id: '5hWg4V', description: 'Select element', }); diff --git a/libs/data-mapper/src/lib/components/sidePane/SidePane.tsx b/libs/data-mapper/src/lib/components/sidePane/SidePane.tsx index 0646ba3e3e3..c36f93f035e 100644 --- a/libs/data-mapper/src/lib/components/sidePane/SidePane.tsx +++ b/libs/data-mapper/src/lib/components/sidePane/SidePane.tsx @@ -46,21 +46,25 @@ export const SidePane = ({ isExpanded, setIsExpanded, sidePaneTab, setSidePaneTa const targetSchemaLoc = intl.formatMessage({ defaultMessage: 'Target schema', + id: 'N0pS6Y', description: 'Target schema', }); const mapCheckerLoc = intl.formatMessage({ defaultMessage: 'Map checker', + id: 'm/jJ/5', description: 'Map checker', }); const expandLoc = intl.formatMessage({ defaultMessage: 'Expand', + id: 'LBH8UV', description: 'Button to expand a pane', }); const collapseLoc = intl.formatMessage({ defaultMessage: 'Collapse', + id: 'w8ijDZ', description: 'Button to collapse a pane', }); diff --git a/libs/data-mapper/src/lib/components/sidePane/tabs/mapCheckerTab/MapCheckerTab.tsx b/libs/data-mapper/src/lib/components/sidePane/tabs/mapCheckerTab/MapCheckerTab.tsx index 4c15f4e7eac..dba3fd7da1e 100644 --- a/libs/data-mapper/src/lib/components/sidePane/tabs/mapCheckerTab/MapCheckerTab.tsx +++ b/libs/data-mapper/src/lib/components/sidePane/tabs/mapCheckerTab/MapCheckerTab.tsx @@ -31,26 +31,31 @@ export const MapCheckerTab = () => { const errorTitleLoc = intl.formatMessage({ defaultMessage: 'Errors', + id: '4BH9uU', description: 'Error section title', }); const warningTitleLoc = intl.formatMessage({ defaultMessage: 'Warnings', + id: 'dwrqEc', description: 'Warnings section title', }); const infoTitleLoc = intl.formatMessage({ defaultMessage: 'Info', + id: 'bXFGpe', description: 'Info section title', }); const otherTitleLoc = intl.formatMessage({ defaultMessage: 'Other', + id: 'jHKc3w', description: 'Other section title', }); const noItemsLoc = intl.formatMessage({ defaultMessage: 'Your map is in perfect condition', + id: 'YlesUQ', description: 'Message displayed when map checker has no errors or warnings', }); diff --git a/libs/data-mapper/src/lib/components/testMapPanel/TestMapPanel.tsx b/libs/data-mapper/src/lib/components/testMapPanel/TestMapPanel.tsx index 024cb57d260..4c096446a01 100644 --- a/libs/data-mapper/src/lib/components/testMapPanel/TestMapPanel.tsx +++ b/libs/data-mapper/src/lib/components/testMapPanel/TestMapPanel.tsx @@ -79,56 +79,67 @@ export const TestMapPanel = ({ mapDefinition, isOpen, onClose }: TestMapPanelPro //#region Loc const testMapLoc = intl.formatMessage({ defaultMessage: 'Test map', + id: '6OSgRP', description: 'Test map panel header', }); const testLoc = intl.formatMessage({ defaultMessage: 'Test', + id: 'Sz8KN3', description: 'Test', }); const closeLoc = intl.formatMessage({ defaultMessage: 'Close', + id: 'wzEneQ', description: 'Close', }); const inputLoc = intl.formatMessage({ defaultMessage: 'Input', + id: 'P6I90y', description: 'Input', }); const outputLoc = intl.formatMessage({ defaultMessage: 'Output', + id: 'Ciol6I', description: 'Output', }); const pasteFromSampleLoc = intl.formatMessage({ defaultMessage: 'Paste from sample', + id: 'D5FIKL', description: 'Paste from sample', }); const inputDataOptionsLabelLoc = intl.formatMessage({ defaultMessage: 'Provide input data to test the map with', + id: 'i1Tufp', description: 'Label for input data option choice group', }); const statusCodeLoc = intl.formatMessage({ defaultMessage: 'Status code', + id: 'QGbUXX', description: 'Response status code for test map API', }); const responseBodyLoc = intl.formatMessage({ defaultMessage: 'Response body', + id: 'odQ554', description: 'Response body for test map API', }); const noXsltLoc = intl.formatMessage({ defaultMessage: 'Generate XSLT first before attempting to test mappings.', + id: 'ctI9Pp', description: 'Message on missing XSLT and attempting to test maps', }); const mismatchedXsltLoc = intl.formatMessage({ defaultMessage: 'The generated XSLT does not match the current mapping.', + id: 'NHnG2S', description: 'Message on mismatched XSLT and attempting to test maps', }); //#endregion diff --git a/libs/data-mapper/src/lib/components/tree/SchemaTreeSearchbar.tsx b/libs/data-mapper/src/lib/components/tree/SchemaTreeSearchbar.tsx index 651072c3bcd..bacafbea601 100644 --- a/libs/data-mapper/src/lib/components/tree/SchemaTreeSearchbar.tsx +++ b/libs/data-mapper/src/lib/components/tree/SchemaTreeSearchbar.tsx @@ -60,16 +60,19 @@ export const SchemaTreeSearchbar = ({ onSearch, onClear, filteredDataTypes, setF const searchLoc = intl.formatMessage({ defaultMessage: 'Search', + id: '2NXYYu', description: 'Search', }); const clearLoc = intl.formatMessage({ defaultMessage: 'Clear', + id: 'e9OvzW', description: 'Clear', }); const filterLoc = intl.formatMessage({ defaultMessage: 'Filter by data type', + id: 'GIUSQs', description: 'Filter by data type', }); diff --git a/libs/data-mapper/src/lib/components/tree/TreeBranch.tsx b/libs/data-mapper/src/lib/components/tree/TreeBranch.tsx index 4e340d77c34..7366c6c7962 100644 --- a/libs/data-mapper/src/lib/components/tree/TreeBranch.tsx +++ b/libs/data-mapper/src/lib/components/tree/TreeBranch.tsx @@ -40,11 +40,13 @@ const TreeBranch = >(props: TreeBranchProps) => { const expandTreeNodeLoc = intl.formatMessage({ defaultMessage: 'Expand tree node', + id: '2JA3gY', description: 'Expand tree node', }); const collapseTreeNodeLoc = intl.formatMessage({ defaultMessage: 'Collapse tree node', + id: 'td5//c', description: 'Collapse tree node', }); diff --git a/libs/data-mapper/src/lib/components/warningModal/WarningModal.tsx b/libs/data-mapper/src/lib/components/warningModal/WarningModal.tsx index 4fd99689b90..c6b3a42fa13 100644 --- a/libs/data-mapper/src/lib/components/warningModal/WarningModal.tsx +++ b/libs/data-mapper/src/lib/components/warningModal/WarningModal.tsx @@ -23,21 +23,25 @@ export const WarningModal: FunctionComponent = () => { const discardChangesTitleLoc = intl.formatMessage({ defaultMessage: 'Discard changes', + id: 'cR9RtV', description: 'Title for discard modal', }); const discardChangesMessageLoc = intl.formatMessage({ defaultMessage: 'Do you want to discard all unsaved changes?', + id: 'oVVPst', description: 'Discard warning message', }); const cancelLoc = intl.formatMessage({ defaultMessage: 'Cancel', + id: '6PdOcy', description: 'Cancel', }); const discardLoc = intl.formatMessage({ defaultMessage: 'Discard', + id: 'vlDynP', description: 'Discard', }); diff --git a/libs/data-mapper/src/lib/utils/MapChecker.Utils.ts b/libs/data-mapper/src/lib/utils/MapChecker.Utils.ts index dccd3ae5496..f2f411466a1 100644 --- a/libs/data-mapper/src/lib/utils/MapChecker.Utils.ts +++ b/libs/data-mapper/src/lib/utils/MapChecker.Utils.ts @@ -195,38 +195,47 @@ export const functionConnectionHasTooManyInputs = (functionData: FunctionData, c const mapCheckerResources = defineMessages({ inputTypeMismatchTitle: { defaultMessage: 'Input type mismatch', + id: 'wkvUUA', description: 'Title for the input type mismatch card', }, functionInputTypeMismatchBody: { defaultMessage: `Function ''{nodeName}'' has an input with a mismatched type`, + id: 'qr1lLG', description: 'Body text for the input type mismatch card', }, schemaInputTypeMismatchBody: { defaultMessage: `Schema node ''{nodeName}'' has an input with a mismatched type`, + id: 'E3+TAA', description: 'Body text for the input type mismatch card', }, functionMissingInputsTitle: { defaultMessage: 'Missing required inputs', + id: '/vWMKW', description: 'Title for a function missing a required input card', }, functionMissingInputsBody: { defaultMessage: `Function ''{functionName}'' has an non-terminating connection chain`, + id: 'XRK+gt', description: 'Body text for a function missing a required input card', }, requiredSchemaNodeTitle: { defaultMessage: 'Schema is missing required inputs', + id: 'dBWIjR', description: 'Title for an unconnected required schema card', }, requiredSchemaNodeBody: { defaultMessage: `Schema node ''{nodeName}'' has an non-terminating connection chain`, + id: 'Ufv5m9', description: 'Body text for an unconnected required schema card', }, functionExceedsMaxInputsTitle: { defaultMessage: 'Too many inputs assigned', + id: 'tAbbH8', description: 'Title for a too many inputs card', }, functionExceedsMaxInputsBody: { defaultMessage: `Function ''{functionName}'' has too many inputs assigned to it`, + id: '6gZ4I3', description: 'Body text for a too many inputs card', }, }); diff --git a/libs/designer-ui/jest.config.ts b/libs/designer-ui/jest.config.ts index a1d8c544b3d..4bb316bea6a 100644 --- a/libs/designer-ui/jest.config.ts +++ b/libs/designer-ui/jest.config.ts @@ -8,15 +8,6 @@ export default { 'babel-jest', { presets: ['@nrwl/react/babel'], - plugins: [ - [ - 'formatjs', - { - idInterpolationPattern: '[sha512:contenthash:base64:6]', - ast: true, - }, - ], - ], }, ], '^.+\\.svg$': '../../__mocks__/svgTransform.js', diff --git a/libs/designer-ui/src/lib/about/index.tsx b/libs/designer-ui/src/lib/about/index.tsx index 5c3685ad01c..c0738c32022 100644 --- a/libs/designer-ui/src/lib/about/index.tsx +++ b/libs/designer-ui/src/lib/about/index.tsx @@ -55,35 +55,42 @@ export const About = ({ const documentationURLDescription = intl.formatMessage({ defaultMessage: 'Learn more', + id: 'dDYCuU', description: 'Link text to open URL', }); const notAvailable = intl.formatMessage({ defaultMessage: 'Not available', + id: 'Gmya+V', description: 'Display text for when About content is not available', }); const noTags = intl.formatMessage({ defaultMessage: 'None', + id: 'YoQara', description: 'Display text for when About Panel has no Tags', }); const connectorMsg = intl.formatMessage({ defaultMessage: 'Connector', + id: '99vsJy', description: 'Label For Connector Name in About Panel', }); const operationNoteMsg = intl.formatMessage({ defaultMessage: 'Operation note', + id: 'YHsAKl', description: 'Label For Operation Description in About Panel', }); const tagsMessage = intl.formatMessage({ defaultMessage: 'Tags', + id: 'TgcgXE', description: 'Label For Tags in About Panel', }); const connectorTypeLabel = intl.formatMessage({ defaultMessage: 'Connector type', + id: 'unMG8m', description: 'Label For Connector Type in About Panel', }); return ( diff --git a/libs/designer-ui/src/lib/announcedmatches/index.tsx b/libs/designer-ui/src/lib/announcedmatches/index.tsx index a21d5eb0556..b6861bf71c2 100644 --- a/libs/designer-ui/src/lib/announcedmatches/index.tsx +++ b/libs/designer-ui/src/lib/announcedmatches/index.tsx @@ -16,11 +16,13 @@ export const AnnouncedMatches: React.FC = ({ count, isLoa const message = isLoading ? intl.formatMessage({ defaultMessage: 'Loading...', + id: 'gwEKLM', description: 'This is a message shown while loading. This announced text is read aloud with screen readers. Not shown in text.', }) : intl.formatMessage( { defaultMessage: '{count, plural, one {# item matched.} =0 {no items matched.} other {# items matched.}}', + id: 'klY9UN', description: 'This announced text is read aloud with screen readers. Not shown in text.', }, { diff --git a/libs/designer-ui/src/lib/ariaSearchResults/ariaSearchResultsAlert.tsx b/libs/designer-ui/src/lib/ariaSearchResults/ariaSearchResultsAlert.tsx index e64d317ed19..e85c51d04b2 100644 --- a/libs/designer-ui/src/lib/ariaSearchResults/ariaSearchResultsAlert.tsx +++ b/libs/designer-ui/src/lib/ariaSearchResults/ariaSearchResultsAlert.tsx @@ -4,6 +4,7 @@ export const AriaSearchResultsAlert = (props: { resultCount: number; resultDescr const intl = useIntl(); const ariaResultCount = intl.formatMessage({ defaultMessage: ' results found', + id: 't/RPwA', description: 'shows how many results are returned after search', }); return ( diff --git a/libs/designer-ui/src/lib/arrayeditor/collapsedarray.tsx b/libs/designer-ui/src/lib/arrayeditor/collapsedarray.tsx index 072212185c8..d035edb0068 100644 --- a/libs/designer-ui/src/lib/arrayeditor/collapsedarray.tsx +++ b/libs/designer-ui/src/lib/arrayeditor/collapsedarray.tsx @@ -51,6 +51,7 @@ export const CollapsedArray = ({ const editorPlaceHolder = intl.formatMessage({ defaultMessage: 'Enter an Array', + id: 'mAuMD+', description: 'Placeholder for empty collapsed array', }); diff --git a/libs/designer-ui/src/lib/arrayeditor/expandedcomplexarray.tsx b/libs/designer-ui/src/lib/arrayeditor/expandedcomplexarray.tsx index 66bb460bfb0..aa136b8172e 100644 --- a/libs/designer-ui/src/lib/arrayeditor/expandedcomplexarray.tsx +++ b/libs/designer-ui/src/lib/arrayeditor/expandedcomplexarray.tsx @@ -41,6 +41,7 @@ export const ExpandedComplexArray = ({ const addItemButtonLabel = intl.formatMessage({ defaultMessage: 'Add new item', + id: 'JWl/LD', description: 'Label to add item to array editor', }); diff --git a/libs/designer-ui/src/lib/arrayeditor/expandedsimplearray.tsx b/libs/designer-ui/src/lib/arrayeditor/expandedsimplearray.tsx index 48f662cde1c..e0db0b72d59 100644 --- a/libs/designer-ui/src/lib/arrayeditor/expandedsimplearray.tsx +++ b/libs/designer-ui/src/lib/arrayeditor/expandedsimplearray.tsx @@ -57,6 +57,7 @@ export const ExpandedSimpleArray = ({ const addItemButtonLabel = intl.formatMessage({ defaultMessage: 'Add new item', + id: 'JWl/LD', description: 'Label to add item to array editor', }); @@ -154,11 +155,13 @@ export const ItemMenuButton = ({ disabled, itemKey, visible, onDeleteItem }: Ite } const deleteButton = intl.formatMessage({ defaultMessage: 'Delete', + id: 'JErLDT', description: 'Delete label', }); const menuButton = intl.formatMessage({ defaultMessage: 'Menu', + id: 'z3VuE+', description: 'Menu label', }); diff --git a/libs/designer-ui/src/lib/arrayeditor/index.tsx b/libs/designer-ui/src/lib/arrayeditor/index.tsx index 38a1ad4ba9d..266a101decf 100644 --- a/libs/designer-ui/src/lib/arrayeditor/index.tsx +++ b/libs/designer-ui/src/lib/arrayeditor/index.tsx @@ -142,11 +142,13 @@ export const ArrayEditor: React.FC = ({ const expandedLabel: string = intl.formatMessage({ defaultMessage: 'Switch to input entire array', + id: 'EdeHLs', description: 'Label for editor toggle button when in expanded mode', }); const collapsedLabel: string = intl.formatMessage({ defaultMessage: 'Switch to detail inputs for array item', + id: 'HfinO2', description: 'Label for editor toggle button when in collapsed mode', }); diff --git a/libs/designer-ui/src/lib/authentication/AADOAuth/AADOAuth.tsx b/libs/designer-ui/src/lib/authentication/AADOAuth/AADOAuth.tsx index 95571acc749..c2b5d7754b5 100644 --- a/libs/designer-ui/src/lib/authentication/AADOAuth/AADOAuth.tsx +++ b/libs/designer-ui/src/lib/authentication/AADOAuth/AADOAuth.tsx @@ -76,6 +76,7 @@ export const ActiveDirectoryAuthentication = ({ const oAuthTypeLabel = intl.formatMessage({ defaultMessage: 'Credential Type', + id: 'CsPY74', description: 'Authentication OAuth Type Label', }); @@ -92,11 +93,13 @@ export const ActiveDirectoryAuthentication = ({ const oAuthTypeSecretLabel = intl.formatMessage({ defaultMessage: 'Secret', + id: 'rDDPpJ', description: 'Authentication OAuth Secret Type Label', }); const oAuthTypeCertificateLabel = intl.formatMessage({ defaultMessage: 'Certificate', + id: 'VlvlX1', description: 'Authentication OAuth Certificate Type Label', }); diff --git a/libs/designer-ui/src/lib/authentication/CollapsedAuthentication.tsx b/libs/designer-ui/src/lib/authentication/CollapsedAuthentication.tsx index 7ea4736568a..147ebb8a0a9 100644 --- a/libs/designer-ui/src/lib/authentication/CollapsedAuthentication.tsx +++ b/libs/designer-ui/src/lib/authentication/CollapsedAuthentication.tsx @@ -57,6 +57,7 @@ export const CollapsedAuthentication = ({ setErrorMessage( intl.formatMessage({ defaultMessage: 'Invalid Authentication Value', + id: 'OBO/HE', description: 'Error message for invalid Auth in authentication editor', }) ); @@ -71,6 +72,7 @@ export const CollapsedAuthentication = ({ setErrorMessage( intl.formatMessage({ defaultMessage: 'Enter a valid JSON.', + id: 'mNaBPE', description: 'Error message for invalid JSON in authentication editor', }) ); diff --git a/libs/designer-ui/src/lib/authentication/MSIAuth/MSIAuth.tsx b/libs/designer-ui/src/lib/authentication/MSIAuth/MSIAuth.tsx index 740fa5fed30..7a5d9c68108 100644 --- a/libs/designer-ui/src/lib/authentication/MSIAuth/MSIAuth.tsx +++ b/libs/designer-ui/src/lib/authentication/MSIAuth/MSIAuth.tsx @@ -49,10 +49,12 @@ export const MSIAuthentication = ({ identity, msiProps, setCurrentProps, ...prop const MSIAuthLabel = intl.formatMessage({ defaultMessage: 'Managed identity', + id: '2TMGk7', description: 'Managed Identity Label', }); const MSIAuthPlaceholder = intl.formatMessage({ defaultMessage: 'Please select an identity', + id: 'cgq/+y', description: 'Placehodler text for dropdown', }); @@ -100,14 +102,17 @@ const getManagedIdentityData = ( const invalidUserAssignedManagedIdentity = intl.formatMessage({ defaultMessage: 'The entered identity is not associated with this Logic App.', + id: '3ewBbk', description: 'error message for invalid user', }); const systemAssignedManagedIdentity = intl.formatMessage({ defaultMessage: 'System-assigned managed identity', + id: 'i/SguY', description: 'Text for dropdown of system-assigned managed identity', }); const userIdentityNotSupported = intl.formatMessage({ defaultMessage: 'User identity is not supported when Logic App has system assigned managed identity enabled.', + id: '93svjx', description: 'error message for unspported identity', }); const userAssignedIdentities = containsUserAssignedIdentities(identity) ? getUserAssignedIdentities(identity) : undefined; diff --git a/libs/designer-ui/src/lib/authentication/MSIAuth/MSIAuthDefault.tsx b/libs/designer-ui/src/lib/authentication/MSIAuth/MSIAuthDefault.tsx index f4870e011f8..bb3a96efe99 100644 --- a/libs/designer-ui/src/lib/authentication/MSIAuth/MSIAuthDefault.tsx +++ b/libs/designer-ui/src/lib/authentication/MSIAuth/MSIAuthDefault.tsx @@ -30,20 +30,24 @@ export const MSIAuthenticationDefault = ({ const authNotEnabledError = intl.formatMessage({ defaultMessage: 'Please enable managed identity for the logic app.', + id: '8ND+Yc', description: 'Error Message for disabled managed identity', }); const systemAssignedManagedIdentity = intl.formatMessage({ defaultMessage: 'System-assigned managed identity', + id: '36RiST', description: 'System-assigned managed identity dropdown option text', }); const MSIAuthLabel = intl.formatMessage({ defaultMessage: 'Managed identity', + id: '2TMGk7', description: 'Managed Identity Label', }); const MSIAuthPlaceholder = intl.formatMessage({ defaultMessage: 'Please select an identity', + id: 'cgq/+y', description: 'Placehodler text for dropdown', }); diff --git a/libs/designer-ui/src/lib/authentication/index.tsx b/libs/designer-ui/src/lib/authentication/index.tsx index 7828c7fb517..1839ba327cb 100644 --- a/libs/designer-ui/src/lib/authentication/index.tsx +++ b/libs/designer-ui/src/lib/authentication/index.tsx @@ -192,16 +192,19 @@ export const AuthenticationEditor = ({ const authenticationTypeLabel = intl.formatMessage({ defaultMessage: 'Authentication Type', + id: 'ADM1Z8', description: 'Label for Authentication Type dropdown', }); const expandedLabel: string = intl.formatMessage({ defaultMessage: 'Switch to code view mode', + id: '8LhQeL', description: 'Label for editor toggle button when in expanded mode', }); const collapsedLabel: string = intl.formatMessage({ defaultMessage: 'Switch to default view mode', + id: 'qij+Vf', description: 'Label for editor toggle button when in collapsed mode', }); @@ -253,30 +256,30 @@ const getAuthenticationTypes = (supportedTypes: AuthenticationType[]): IDropdown case AuthenticationType.BASIC: return { key: type, - text: intl.formatMessage({ defaultMessage: 'Basic', description: 'Authentication type' }), + text: intl.formatMessage({ defaultMessage: 'Basic', id: 'tUlRzr', description: 'Authentication type' }), }; case AuthenticationType.CERTIFICATE: return { key: type, - text: intl.formatMessage({ defaultMessage: 'Client Certificate', description: 'Authentication type' }), + text: intl.formatMessage({ defaultMessage: 'Client Certificate', id: 'sys5gu', description: 'Authentication type' }), }; case AuthenticationType.OAUTH: return { key: type, - text: intl.formatMessage({ defaultMessage: 'Active Directory OAuth', description: 'Authentication type' }), + text: intl.formatMessage({ defaultMessage: 'Active Directory OAuth', id: 'n4V2Hi', description: 'Authentication type' }), }; case AuthenticationType.RAW: return { key: type, - text: intl.formatMessage({ defaultMessage: 'Raw', description: 'Authentication type' }), + text: intl.formatMessage({ defaultMessage: 'Raw', id: 'Tayrub', description: 'Authentication type' }), }; case AuthenticationType.MSI: return { key: type, - text: intl.formatMessage({ defaultMessage: 'Managed Identity', description: 'Authentication type' }), + text: intl.formatMessage({ defaultMessage: 'Managed Identity', id: 'iSb/hp', description: 'Authentication type' }), }; default: diff --git a/libs/designer-ui/src/lib/authentication/util.ts b/libs/designer-ui/src/lib/authentication/util.ts index fe67c22dded..5508187ecac 100644 --- a/libs/designer-ui/src/lib/authentication/util.ts +++ b/libs/designer-ui/src/lib/authentication/util.ts @@ -30,6 +30,7 @@ export const AUTHENTICATION_PROPERTIES = { AAD_OAUTH_AUDIENCE: { displayName: intl.formatMessage({ defaultMessage: 'Audience', + id: 'vX9WYS', description: 'Audience Label Display Name', }), name: 'audience', @@ -37,6 +38,7 @@ export const AUTHENTICATION_PROPERTIES = { key: 'aadOAuthAudience', placeHolder: intl.formatMessage({ defaultMessage: 'Enter the audience.', + id: 'gpUphl', description: 'Audience Placeholder Text', }), type: constants.SWAGGER.TYPE.STRING, @@ -45,6 +47,7 @@ export const AUTHENTICATION_PROPERTIES = { AAD_OAUTH_AUTHORITY: { displayName: intl.formatMessage({ defaultMessage: 'Authority', + id: '5SAQOb', description: 'Authority Label Display Name', }), name: 'authority', @@ -52,6 +55,7 @@ export const AUTHENTICATION_PROPERTIES = { key: 'aadOAuthAuthority', placeHolder: intl.formatMessage({ defaultMessage: 'Enter authority', + id: 'GDUGlm', description: 'Authority Placeholder Text', }), type: constants.SWAGGER.TYPE.STRING, @@ -60,6 +64,7 @@ export const AUTHENTICATION_PROPERTIES = { AAD_OAUTH_CERTIFICATE_PASSWORD: { displayName: intl.formatMessage({ defaultMessage: 'Password', + id: 'EjXdAm', description: 'OAuth Password Label Display Name', }), name: 'password', @@ -67,6 +72,7 @@ export const AUTHENTICATION_PROPERTIES = { key: 'aadOAuthTypeCertificatePassword', placeHolder: intl.formatMessage({ defaultMessage: 'Enter password as plain text or use a secure parameter', + id: 'mvrlkP', description: 'OAuth Password Placeholder Text', }), type: constants.SWAGGER.TYPE.STRING, @@ -75,6 +81,7 @@ export const AUTHENTICATION_PROPERTIES = { AAD_OAUTH_CERTIFICATE_PFX: { displayName: intl.formatMessage({ defaultMessage: 'Pfx', + id: '84D91Y', description: 'OAuth Pfx Label Display Name', }), format: constants.SWAGGER.FORMAT.BYTE, @@ -83,6 +90,7 @@ export const AUTHENTICATION_PROPERTIES = { key: 'aadOAuthTypeCertificatePfx', placeHolder: intl.formatMessage({ defaultMessage: 'Enter Pfx', + id: 'ahsVI/', description: 'OAuth Pfx Placeholder Text', }), type: constants.SWAGGER.TYPE.STRING, @@ -91,6 +99,7 @@ export const AUTHENTICATION_PROPERTIES = { AAD_OAUTH_CLIENT_ID: { displayName: intl.formatMessage({ defaultMessage: 'Client ID', + id: 'srpZD2', description: 'Client ID Label Display Name', }), name: 'clientId', @@ -98,6 +107,7 @@ export const AUTHENTICATION_PROPERTIES = { key: 'aadOAuthClientId', placeHolder: intl.formatMessage({ defaultMessage: 'Enter client ID', + id: 'DWsh56', description: 'Client ID Placeholder Text', }), type: constants.SWAGGER.TYPE.STRING, @@ -106,6 +116,7 @@ export const AUTHENTICATION_PROPERTIES = { AAD_OAUTH_SECRET: { displayName: intl.formatMessage({ defaultMessage: 'Secret', + id: 'OEEuUu', description: 'Secret Label Display Name', }), name: 'secret', @@ -113,6 +124,7 @@ export const AUTHENTICATION_PROPERTIES = { key: 'aadOAuthTypeSecret', placeHolder: intl.formatMessage({ defaultMessage: 'Enter secret as plain text or use a secure parameter', + id: '8UfIAk', description: 'Secret Placeholder Text', }), type: constants.SWAGGER.TYPE.STRING, @@ -121,6 +133,7 @@ export const AUTHENTICATION_PROPERTIES = { AAD_OAUTH_TENANT: { displayName: intl.formatMessage({ defaultMessage: 'Tenant', + id: 'X4gDhV', description: 'Tenant Label Display Name', }), name: 'tenant', @@ -128,6 +141,7 @@ export const AUTHENTICATION_PROPERTIES = { key: 'aadOAuthTenant', placeHolder: intl.formatMessage({ defaultMessage: 'Enter tenant', + id: 'No6CS+', description: 'Tenant Placeholder Text', }), type: constants.SWAGGER.TYPE.STRING, @@ -136,6 +150,7 @@ export const AUTHENTICATION_PROPERTIES = { BASIC_USERNAME: { displayName: intl.formatMessage({ defaultMessage: 'Username', + id: 'AnX5yC', description: 'Username Label Display Name', }), name: 'username', @@ -143,6 +158,7 @@ export const AUTHENTICATION_PROPERTIES = { key: 'basicUsername', placeHolder: intl.formatMessage({ defaultMessage: 'Enter username', + id: '78Vggn', description: 'Username placeholder text', }), type: constants.SWAGGER.TYPE.STRING, @@ -151,6 +167,7 @@ export const AUTHENTICATION_PROPERTIES = { BASIC_PASSWORD: { displayName: intl.formatMessage({ defaultMessage: 'Password', + id: 'SCCE6s', description: 'Basic Password Label Display Name', }), name: 'password', @@ -158,6 +175,7 @@ export const AUTHENTICATION_PROPERTIES = { key: 'basicPassword', placeHolder: intl.formatMessage({ defaultMessage: 'Enter password as plain text or use a secure parameter', + id: 'BQSRV0', description: 'Basic Password Placeholder Text', }), type: constants.SWAGGER.TYPE.STRING, @@ -166,6 +184,7 @@ export const AUTHENTICATION_PROPERTIES = { SERIALIZED_VALUE: { displayName: intl.formatMessage({ defaultMessage: 'Authentication', + id: '45ubha', description: 'Authentication Label Display Name', }), name: '', @@ -178,6 +197,7 @@ export const AUTHENTICATION_PROPERTIES = { CLIENT_CERTIFICATE_PASSWORD: { displayName: intl.formatMessage({ defaultMessage: 'Password', + id: 'Y/bcmG', description: 'Client Certificate Password Label Display Name', }), name: 'password', @@ -185,6 +205,7 @@ export const AUTHENTICATION_PROPERTIES = { key: 'clientCertificatePassword', placeHolder: intl.formatMessage({ defaultMessage: 'Enter password as plain text or use a secure parameter', + id: 'xN3GEX', description: 'Client Certificate Password Placeholder Text', }), type: constants.SWAGGER.TYPE.STRING, @@ -193,6 +214,7 @@ export const AUTHENTICATION_PROPERTIES = { CLIENT_CERTIFICATE_PFX: { displayName: intl.formatMessage({ defaultMessage: 'Pfx', + id: 'P+mWgV', description: 'Client Certificate Pfx Label Display Name', }), format: constants.SWAGGER.FORMAT.BYTE, @@ -201,6 +223,7 @@ export const AUTHENTICATION_PROPERTIES = { key: 'clientCertificatePfx', placeHolder: intl.formatMessage({ defaultMessage: 'Enter Pfx', + id: 'YOUfNf', description: 'Client Certificate Pfx Placeholder Text', }), type: constants.SWAGGER.TYPE.STRING, @@ -209,6 +232,7 @@ export const AUTHENTICATION_PROPERTIES = { MSI_AUDIENCE: { displayName: intl.formatMessage({ defaultMessage: 'Audience', + id: 'hvbclb', description: 'MSI Audience Label Display Name', }), name: 'audience', @@ -217,6 +241,7 @@ export const AUTHENTICATION_PROPERTIES = { // TODO: Replace audience placeholder specific to environment (public azure, fairfax, mooncake) placeHolder: intl.formatMessage({ defaultMessage: 'Enter the audience.', + id: 'OSP9JY', description: 'MSI Audience Placeholder Text', }), type: constants.SWAGGER.TYPE.STRING, @@ -225,6 +250,7 @@ export const AUTHENTICATION_PROPERTIES = { MSI_IDENTITY: { displayName: intl.formatMessage({ defaultMessage: 'Managed identity', + id: 'MLCQzX', description: 'Managed Identity Label Display Name', }), name: 'identity', @@ -232,6 +258,7 @@ export const AUTHENTICATION_PROPERTIES = { key: 'identity', placeHolder: intl.formatMessage({ defaultMessage: 'Please select an identity', + id: 'NoXs0l', description: 'MSI Identity Placeholder Text', }), type: constants.SWAGGER.TYPE.STRING, @@ -240,6 +267,7 @@ export const AUTHENTICATION_PROPERTIES = { RAW_VALUE: { displayName: intl.formatMessage({ defaultMessage: 'Value', + id: '90Q7Pw', description: 'Raw Value Label Display Name', }), name: 'value', @@ -247,6 +275,7 @@ export const AUTHENTICATION_PROPERTIES = { key: 'rawValue', placeHolder: intl.formatMessage({ defaultMessage: 'Enter the value of the Authorization header', + id: '1nvvw1', description: 'Raw Value Placeholder Text', }), type: constants.SWAGGER.TYPE.STRING, @@ -437,7 +466,8 @@ export const validateAuthenticationString = (s: string): string => { parsedSerializedValue = JSON.parse(s); if (parsedSerializedValue.type === undefined) { return intl.formatMessage({ - defaultMessage: "Missing authentication type property: 'type'.", + defaultMessage: `Missing authentication type property: 'type'.`, + id: 'kuFK3E', description: 'Invalid authentication without type property', }); } else { @@ -445,13 +475,15 @@ export const validateAuthenticationString = (s: string): string => { if (!Object.values(AuthenticationType).find((val) => authType === val)) { if (containsToken(authType)) { return intl.formatMessage({ - defaultMessage: "Missing authentication type property: 'type'.", + defaultMessage: `Missing authentication type property: 'type'.`, + id: 'kuFK3E', description: 'Invalid authentication without type property', }); } return intl.formatMessage( { - defaultMessage: "Unsupported authentication type ''{authType}''.", + defaultMessage: `Unsupported authentication type ''{authType}''.`, + id: '7zsUT3', description: 'Invalid authentication type', }, { authType } @@ -501,7 +533,8 @@ function checkForMissingOrInvalidProperties(authentication: any, authType: Authe (hasSecret && hasPassword) ) { return intl.formatMessage({ - defaultMessage: "Missing required properties 'secret' or 'pfx' and 'password' for authentication type 'ActiveDirectoryOAuth'.", + defaultMessage: `Missing required properties 'secret' or 'pfx' and 'password' for authentication type 'ActiveDirectoryOAuth'.`, + id: 'mYQFtf', description: 'OAuth Error message when missing properties', }); } @@ -512,14 +545,16 @@ function checkForMissingOrInvalidProperties(authentication: any, authType: Authe missingProperties.length === 1 ? intl.formatMessage( { - defaultMessage: "Missing required property ''{missingProperties}'' for authentication type ''{authType}''", + defaultMessage: `Missing required property ''{missingProperties}'' for authentication type ''{authType}''`, + id: 'Ov7Ckz', description: 'Error message when missing a required authentication property', }, { missingProperties: missingProperties[0], authType } ) : intl.formatMessage( { - defaultMessage: "Missing required properties ''{missingProperties}'' for authentication type ''{authType}''", + defaultMessage: `Missing required properties ''{missingProperties}'' for authentication type ''{authType}''`, + id: 'BGw6eH', description: 'Error message when missing multiple required authentication properties', }, { missingProperties: missingProperties.join(', '), authType } @@ -547,6 +582,7 @@ function checkForUnknownProperties(authentication: any, authType: Authentication if (containsToken(authenticationKey)) { return intl.formatMessage({ defaultMessage: 'Dynamic content not supported as properties in authentication.', + id: 'HzS2gJ', description: 'Error message for when putting token in authentication property', }); } @@ -559,14 +595,16 @@ function checkForUnknownProperties(authentication: any, authType: Authentication invalidProperties.length === 1 ? intl.formatMessage( { - defaultMessage: "Invalid property ''{invalidProperties}'' for authentication type ''{authType}''.", + defaultMessage: `Invalid property ''{invalidProperties}'' for authentication type ''{authType}''.`, + id: 'I1CYNA', description: 'Error message when having an invalid authentication property', }, { invalidProperties: invalidProperties[0], authType } ) : intl.formatMessage( { - defaultMessage: "The ''{invalidProperties}'' properties are invalid for the ''{authType}'' authentication type.", + defaultMessage: `The ''{invalidProperties}'' properties are invalid for the ''{authType}'' authentication type.`, + id: '5LV34t', description: 'Error message when having multiple invalid authentication properties', }, { invalidProperties: invalidProperties.join(', '), authType } @@ -601,7 +639,8 @@ function checkForInvalidValues(authentication: any): string { errorMessages.push( intl.formatMessage( { - defaultMessage: "The type for ''{authenticationKey}'' is ''{propertyType}''.", + defaultMessage: `The type for ''{authenticationKey}'' is ''{propertyType}''.`, + id: 'UnytRl', description: 'Error message when having invalid authentication property types', }, { authenticationKey, propertyType: currentProperty.type } diff --git a/libs/designer-ui/src/lib/azureResourcePicker/index.tsx b/libs/designer-ui/src/lib/azureResourcePicker/index.tsx index 6a67878bec5..76d057ff1ab 100644 --- a/libs/designer-ui/src/lib/azureResourcePicker/index.tsx +++ b/libs/designer-ui/src/lib/azureResourcePicker/index.tsx @@ -65,6 +65,7 @@ export const AzureResourcePicker = (props: AzureResourcePickerProps) => { const [searchTerm, setSearchTerm] = useState(null); const searchText = intl.formatMessage({ defaultMessage: 'Search', + id: 'qVgQfW', description: 'Search box placeholder text', }); const fuseObject = useMemo( @@ -165,6 +166,7 @@ export const ResourceEntry = (props: ResourceEntryProps) => { const noSubResourceText = intl.formatMessage({ defaultMessage: 'No resources of this type found under this subscription.', + id: 'jZjgYZ', description: 'Message to show when no resources are found', }); diff --git a/libs/designer-ui/src/lib/card/addActionCard/index.tsx b/libs/designer-ui/src/lib/card/addActionCard/index.tsx index 9ca7f4a218d..d1766ceb4c9 100644 --- a/libs/designer-ui/src/lib/card/addActionCard/index.tsx +++ b/libs/designer-ui/src/lib/card/addActionCard/index.tsx @@ -46,11 +46,13 @@ export const AddActionCard: React.FC = ({ addCardType, onCli const triggerTitle = intl.formatMessage({ defaultMessage: 'Add a trigger', + id: 'q1gfIs', description: 'Text on example trigger node', }); const actionTitle = intl.formatMessage({ defaultMessage: 'Add an action', + id: '7ZR1xr', description: 'Text on example action node', }); @@ -58,21 +60,25 @@ export const AddActionCard: React.FC = ({ addCardType, onCli const triggerTooltipHeading = intl.formatMessage({ defaultMessage: 'Triggers', + id: '3GINhd', description: 'Heading for a tooltip explaining Triggers', }); const triggerTooltipBody = intl.formatMessage({ defaultMessage: 'Triggers tell your app when to start running. Each workflow needs at least one trigger.', + id: 'VbMYd8', description: 'Description of what Triggers are, on a tooltip about Triggers', }); const actionTooltipHeading = intl.formatMessage({ defaultMessage: 'Actions', + id: 'MYgKHu', description: 'Heading for a tooltip explaining Actions', }); const actionTooltipBody = intl.formatMessage({ defaultMessage: 'Actions perform operations on data, communicate between systems, or run other tasks.', + id: '1dlfUe', description: 'Description of what Actions are, on a tooltip about Actions', }); diff --git a/libs/designer-ui/src/lib/card/cardcontextmenu.tsx b/libs/designer-ui/src/lib/card/cardcontextmenu.tsx index a9fa14a8f41..4a671017af7 100755 --- a/libs/designer-ui/src/lib/card/cardcontextmenu.tsx +++ b/libs/designer-ui/src/lib/card/cardcontextmenu.tsx @@ -31,6 +31,7 @@ export const CardContextMenu: React.FC = ({ contextMenuLoc const CARD_CONTEXT_MENU_ARIA_LABEL = intl.formatMessage( { defaultMessage: 'Context menu for {title} card', + id: '+ZSBrq', description: 'Accessibility label', }, { diff --git a/libs/designer-ui/src/lib/card/cardfooter.tsx b/libs/designer-ui/src/lib/card/cardfooter.tsx index 2ad1b43cb1f..d7d0067e3f8 100644 --- a/libs/designer-ui/src/lib/card/cardfooter.tsx +++ b/libs/designer-ui/src/lib/card/cardfooter.tsx @@ -50,30 +50,37 @@ export const CardFooter: React.FC = ({ const CONNECTION_NAME_DISPLAY = intl.formatMessage({ defaultMessage: 'Connection name', + id: 'XOzn/3', description: 'This is for a label for a badge, it is used for screen readers and not shown on the screen.', }); const CONNECTION_CONTAINER_CONNECTION_REQUIRED = intl.formatMessage({ defaultMessage: 'Connection required', + id: 'CG772M', description: 'This is for a label for a badge, it is used for screen readers and not shown on the screen.', }); const PANEL_STATIC_RESULT_TITLE = intl.formatMessage({ defaultMessage: 'Testing', + id: 'm7Y6Qf', description: 'Title for a tab panel', }); const MENU_STATIC_RESULT_ICON_TOOLTIP = intl.formatMessage({ defaultMessage: 'This Action has testing configured.', + id: 'iRjBf4', description: "This is a tooltip for the Status results badge shown on a card. It's shown when the baged is hovered over.", }); const COMMENT = intl.formatMessage({ defaultMessage: 'Comment', + id: 'VXBWrq', description: 'This is for a label for a badge, it is used for screen readers and not shown on the screen.', }); const SECURE_INPUTS_OUTPUTS_TITLE = intl.formatMessage({ defaultMessage: 'Secure inputs or outputs enabled.', + id: '0F6jmK', description: 'Secure inputs or outputs enabled.', }); const SECURE_INPUTS_OUTPUTS_TOOLTIP = intl.formatMessage({ defaultMessage: 'This operation has secure inputs or outputs enabled.', + id: 'byRkj+', description: 'This operation has secure inputs or outputs enabled.', }); diff --git a/libs/designer-ui/src/lib/card/emptycontent.tsx b/libs/designer-ui/src/lib/card/emptycontent.tsx index 6a621cf987d..c01603b66e3 100644 --- a/libs/designer-ui/src/lib/card/emptycontent.tsx +++ b/libs/designer-ui/src/lib/card/emptycontent.tsx @@ -5,6 +5,7 @@ export const EmptyContent: React.FC = () => { const intl = useIntl(); const emptyContentMessage = intl.formatMessage({ defaultMessage: 'Please select a card to see the content', + id: 'HfrUId', description: 'Empty Panel Content Message', }); return ( diff --git a/libs/designer-ui/src/lib/card/index.tsx b/libs/designer-ui/src/lib/card/index.tsx index 75fbe9c5cb1..3dade95f849 100644 --- a/libs/designer-ui/src/lib/card/index.tsx +++ b/libs/designer-ui/src/lib/card/index.tsx @@ -117,6 +117,7 @@ export const Card: React.FC = ({ withConnectorOnly: intl.formatMessage( { defaultMessage: '{connectorName} connector', + id: '6sSPNb', description: 'Alt text on action/trigger card when there is a connector name but no operation name', }, cardAltTextArgs @@ -124,6 +125,7 @@ export const Card: React.FC = ({ withOperationOnly: intl.formatMessage( { defaultMessage: '{operationName} operation', + id: '96JG8I', description: 'Alt text on action/trigger card when there is an operation name but no connector name', }, cardAltTextArgs @@ -131,6 +133,7 @@ export const Card: React.FC = ({ withConnectorAndOperation: intl.formatMessage( { defaultMessage: '{operationName} operation, {connectorName} connector', + id: 'ncW1Sw', description: 'Alt text on action/trigger card when there are both an operation name and connector name', }, cardAltTextArgs diff --git a/libs/designer-ui/src/lib/card/noActionCard/index.tsx b/libs/designer-ui/src/lib/card/noActionCard/index.tsx index 08f106f05af..4da4b9d7942 100644 --- a/libs/designer-ui/src/lib/card/noActionCard/index.tsx +++ b/libs/designer-ui/src/lib/card/noActionCard/index.tsx @@ -6,6 +6,7 @@ export const NoActionCard: React.FC = () => { const triggerTitle = intl.formatMessage({ defaultMessage: 'No actions', + id: 'i8xPfO', description: 'Text on a no actions node', }); diff --git a/libs/designer-ui/src/lib/card/subgraphCard/index.tsx b/libs/designer-ui/src/lib/card/subgraphCard/index.tsx index 626ddee646f..cb7fa16b4bc 100644 --- a/libs/designer-ui/src/lib/card/subgraphCard/index.tsx +++ b/libs/designer-ui/src/lib/card/subgraphCard/index.tsx @@ -48,6 +48,7 @@ export const SubgraphCard: React.FC = ({ const addCaseLabel = intl.formatMessage({ defaultMessage: 'Add Case', + id: 'sQ2vRs', description: 'add a case to switch statement', }); @@ -65,6 +66,7 @@ export const SubgraphCard: React.FC = ({ color: '#428000', title: intl.formatMessage({ defaultMessage: 'True', + id: '/WW7If', description: 'True', }), size: 'small', @@ -74,6 +76,7 @@ export const SubgraphCard: React.FC = ({ color: '#A4262C', title: intl.formatMessage({ defaultMessage: 'False', + id: 'PXa0D4', description: 'False', }), size: 'small', @@ -89,6 +92,7 @@ export const SubgraphCard: React.FC = ({ color: '#484F58', title: intl.formatMessage({ defaultMessage: 'Default', + id: 'FUuFlC', description: 'Default, the backup option if none other apply', }), size: 'small', @@ -98,6 +102,7 @@ export const SubgraphCard: React.FC = ({ color: '#486991', title: intl.formatMessage({ defaultMessage: 'Do', + id: 'c/+j08', description: 'Do, as in "to do an action"', }), size: 'small', diff --git a/libs/designer-ui/src/lib/chatbot/components/assistantError.tsx b/libs/designer-ui/src/lib/chatbot/components/assistantError.tsx index 8092f073bc2..e08e3a52331 100644 --- a/libs/designer-ui/src/lib/chatbot/components/assistantError.tsx +++ b/libs/designer-ui/src/lib/chatbot/components/assistantError.tsx @@ -15,23 +15,28 @@ export const AssistantError = ({ item }: AssistantErrorProps) => { const intl = useIntl(); const intlText = { flowCreatedDefaultMessage: intl.formatMessage({ - defaultMessage: "Here's your flow.", + defaultMessage: `Here's your flow.`, + id: 'TvPOXI', description: 'Chatbot report a bug button', }), technicalErrorDefaultMessage: intl.formatMessage({ defaultMessage: 'Sorry, something went wrong. Please try again.', + id: 'BS3gy8', description: 'Chatbot report a bug button', }), throttlingErrorDefaultMessage: intl.formatMessage({ defaultMessage: 'Sorry, Copilot is at capacity and temporarily unavailable — please try again in a little while.', + id: 'uZpzqY', description: 'Chatbot report a bug button', }), noAnswerDefaultMessage: intl.formatMessage({ - defaultMessage: "Sorry, I couldn't understand your request. Please rephrase it and try again.", + defaultMessage: `Sorry, I couldn't understand your request. Please rephrase it and try again.`, + id: 'dfKsgg', description: 'Chatbot report a bug button', }), flowUpdatedWithNoDiffDefaultMessage: intl.formatMessage({ defaultMessage: 'Your flow has been updated.', + id: 'FMA0Q0', description: 'Chatbot report a bug button', }), }; diff --git a/libs/designer-ui/src/lib/chatbot/components/assistantGreeting.tsx b/libs/designer-ui/src/lib/chatbot/components/assistantGreeting.tsx index 5116b8f84eb..64968f9ebdf 100644 --- a/libs/designer-ui/src/lib/chatbot/components/assistantGreeting.tsx +++ b/libs/designer-ui/src/lib/chatbot/components/assistantGreeting.tsx @@ -10,34 +10,42 @@ export const AssistantGreeting = ({ item }: { item: AssistantGreetingItem }) => const intlText = { greetingMessageFromOpenedFlow: intl.formatMessage({ defaultMessage: 'Welcome to the workflow assistant!', + id: 'Yuxprm', description: 'Chatbot greeting message from existing flow', }), subHeading1: intl.formatMessage({ - defaultMessage: "This assistant can help you learn about your workflows and Azure Logic Apps platform's capabilities and connectors.", + defaultMessage: `This assistant can help you learn about your workflows and Azure Logic Apps platform's capabilities and connectors.`, + id: 'eO1h/h', description: 'Chatbot introduction message to suggest what it can help with', }), subHeading2: intl.formatMessage({ defaultMessage: 'Some things you can ask:', + id: 'kEjmTx', description: 'Chatbot introduction message to suggest what it can help with', }), suggestedPromptItem1: intl.formatMessage({ defaultMessage: 'Describe this workflow.', + id: 'o5fYVy', description: 'Chatbot suggestion message to describe the workflow', }), suggestedPromptItem2: intl.formatMessage({ defaultMessage: 'Explain how to receive files from SFTP server.', + id: 'Pnt0Xj', description: 'Chatbot suggestion message to recieve specific files from SFTP server', }), suggestedPromptItem3: intl.formatMessage({ defaultMessage: 'How can I call an external endpoint?', + id: 'NhJPUn', description: 'Chatbot suggestion message to call an external endpoint', }), suggestedPromptItem4: intl.formatMessage({ defaultMessage: 'What is the concurrency setting of this workflow?', + id: 'WMX2ig', description: 'Chatbot suggestion message to get the concurrency setting of the workflow', }), outroMessage: intl.formatMessage({ - defaultMessage: "The workflow assistant is designed only to provide help and doesn't support workflow creation or editing.", + defaultMessage: `The workflow assistant is designed only to provide help and doesn't support workflow creation or editing.`, + id: 'Z8tBFS', description: 'Chatbot disclaimer message that workflow assistant can only provide help and not modify workflows', }), }; diff --git a/libs/designer-ui/src/lib/chatbot/components/assistantReplyWithFlow.tsx b/libs/designer-ui/src/lib/chatbot/components/assistantReplyWithFlow.tsx index 0df8fcefb5f..1b53abb18ca 100644 --- a/libs/designer-ui/src/lib/chatbot/components/assistantReplyWithFlow.tsx +++ b/libs/designer-ui/src/lib/chatbot/components/assistantReplyWithFlow.tsx @@ -18,37 +18,45 @@ export const AssistantReplyWithFlow: React.FC = ({ const intlText = { actionUndone: intl.formatMessage({ defaultMessage: 'Action undone', + id: 'JJyT88', description: 'Chatbot action was undone text', }), undo: intl.formatMessage({ defaultMessage: 'Undo', + id: 'hRVVdR', description: 'Chatbot undo button for undoing assistant change to flow', }), undoDialog: { title: intl.formatMessage({ defaultMessage: 'Revert your flow', + id: '9QNZSj', description: 'Chatbot undo operation confirmation title', }), learnMoreAriaLabel: intl.formatMessage({ defaultMessage: 'Learn more about undo operations', + id: 'BIzX3S', description: 'Aria label for undo operations in chatbot', }), primaryButtonActionText: intl.formatMessage({ defaultMessage: 'Revert', + id: 'eESljX', description: 'Chatbot undo operation confirm button text', }), secondaryButtonActionText: intl.formatMessage({ defaultMessage: 'Cancel', + id: 'srMbm9', description: 'Chatbot undo operation cancel button text', }), warningMessage: intl.formatMessage({ defaultMessage: `This will revert your workflow to the state it was in before Copilot's edit. If you made additional edits to the workflow after Copilot's, you will lose them. This action cannot be undone. Do you want to continue?`, + id: '7gUE8h', description: 'Warning description of what undoing operation will do to the workflow', }), }, defaultMessages: { flowUpdatedWithNoDiff: intl.formatMessage({ - defaultMessage: `Your flow has been updated.`, + defaultMessage: 'Your flow has been updated.', + id: '4hi3ks', description: 'Chatbot workflow has been updated message', }), }, diff --git a/libs/designer-ui/src/lib/chatbot/components/chatBubble.tsx b/libs/designer-ui/src/lib/chatbot/components/chatBubble.tsx index 436f745666f..ec7dfd48bd2 100644 --- a/libs/designer-ui/src/lib/chatbot/components/chatBubble.tsx +++ b/libs/designer-ui/src/lib/chatbot/components/chatBubble.tsx @@ -55,10 +55,12 @@ export const ChatBubble: React.FC = ({ const intlText = { aIGeneratedDisclaimer: intl.formatMessage({ defaultMessage: 'AI-generated content may be incorrect', + id: 'SHXdzU', description: 'Chatbot disclaimer message on AI-generated content potentially being incorrect', }), copyText: intl.formatMessage({ defaultMessage: 'Copy', + id: 'N7zEUZ', description: 'Chatbot copy button title', }), }; diff --git a/libs/designer-ui/src/lib/chatbot/components/connectionStatus.tsx b/libs/designer-ui/src/lib/chatbot/components/connectionStatus.tsx index 8580f67d82e..524fd53f433 100644 --- a/libs/designer-ui/src/lib/chatbot/components/connectionStatus.tsx +++ b/libs/designer-ui/src/lib/chatbot/components/connectionStatus.tsx @@ -12,14 +12,17 @@ export const ConnectionStatus: React.FC = ({ apiName, isC const intlText = { connectionsSetupCardDescription: intl.formatMessage({ defaultMessage: 'Set up these connections to use them in your flow.', + id: 'blRFVt', description: 'Chatbot connections setup card description', }), connectedText: intl.formatMessage({ defaultMessage: 'Connected to', + id: 'xvav7+', description: 'Chatbot text stating connection to api was made', }), notConnectedText: intl.formatMessage({ defaultMessage: 'Not connected to', + id: 'Ak2Lka', description: 'Chatbot text stating connection to api not made', }), }; @@ -57,6 +60,7 @@ export const ConnectionsLoading: React.FC = () => { const intlText = { connectionsLoading: intl.formatMessage({ defaultMessage: 'Connecting to apps and services', + id: 'qBNM3e', description: 'Chatbot connections loading text', }), }; diff --git a/libs/designer-ui/src/lib/chatbot/components/connectionsSetupMessage.tsx b/libs/designer-ui/src/lib/chatbot/components/connectionsSetupMessage.tsx index 478eca4807c..4126c986d70 100644 --- a/libs/designer-ui/src/lib/chatbot/components/connectionsSetupMessage.tsx +++ b/libs/designer-ui/src/lib/chatbot/components/connectionsSetupMessage.tsx @@ -41,10 +41,12 @@ const ConnectionsSetup: React.FC = ({ item }) => { const intlText = { skipText: intl.formatMessage({ defaultMessage: 'Skip', + id: 'dUbKuK', description: 'Chatbot conenction setup skip button text', }), connectionsSetupCardDescription: intl.formatMessage({ defaultMessage: 'Set up these connections to use them in your flow.', + id: 'EqX3Mi', description: 'Chatbot connections set up description text', }), }; diff --git a/libs/designer-ui/src/lib/chatbot/components/feedbackMessage.tsx b/libs/designer-ui/src/lib/chatbot/components/feedbackMessage.tsx index 4152608bc6f..af0ab9e009f 100644 --- a/libs/designer-ui/src/lib/chatbot/components/feedbackMessage.tsx +++ b/libs/designer-ui/src/lib/chatbot/components/feedbackMessage.tsx @@ -16,14 +16,17 @@ export const FeedbackMessage = ({ id, date, reaction, askFeedback, openFeedback const intlText = { feedbackCardPanelTitle: intl.formatMessage({ defaultMessage: 'Send feedback', + id: '9wX3u9', description: 'Chatbot feedback card title', }), feedbackCardThumbsDownLinkText: intl.formatMessage({ defaultMessage: 'Tell Microsoft how this feature could be improved', + id: 'jN0YES', description: 'Chatbot feedback card link asking how we can improve this feature', }), feedbackCardThumbsUpLinkText: intl.formatMessage({ defaultMessage: 'Tell Microsoft what you liked about this feature', + id: '5J9jne', description: 'Chatbot feedback card link asking what user liked about the feature', }), }; diff --git a/libs/designer-ui/src/lib/chatbot/components/flowDiffPreview.tsx b/libs/designer-ui/src/lib/chatbot/components/flowDiffPreview.tsx index a13bbb951ae..d6221ac2818 100644 --- a/libs/designer-ui/src/lib/chatbot/components/flowDiffPreview.tsx +++ b/libs/designer-ui/src/lib/chatbot/components/flowDiffPreview.tsx @@ -15,19 +15,23 @@ export const FlowDiffPreview: React.FC = (/*TODO: add pro const intlText = { checkActions: intl.formatMessage({ defaultMessage: 'Check these actions to see if any parameters need to be set.', + id: 'kHs5R4', description: 'Chatbot flow preview message reminding user to check workflow actions', }), updatingFlowCard: { addedOperation: intl.formatMessage({ defaultMessage: 'Added this action', + id: 'Vx6fwP', description: 'Chatbot added operation sentence format', }), removedOperation: intl.formatMessage({ defaultMessage: 'Removed this action', + id: 'LaFlFh', description: 'Chatbot removed operation sentence format', }), changedOperation: intl.formatMessage({ defaultMessage: 'Updated this action', + id: '6gblzt', description: 'Chatbot changed operation sentence format', }), }, diff --git a/libs/designer-ui/src/lib/chatbot/components/operationsNeedAttentionMessage.tsx b/libs/designer-ui/src/lib/chatbot/components/operationsNeedAttentionMessage.tsx index 231af2e1609..af20043d2f9 100644 --- a/libs/designer-ui/src/lib/chatbot/components/operationsNeedAttentionMessage.tsx +++ b/libs/designer-ui/src/lib/chatbot/components/operationsNeedAttentionMessage.tsx @@ -17,22 +17,27 @@ export const OperationsNeedingAttentionMessage: React.FC { const intlText = { addAction: intl.formatMessage({ defaultMessage: 'Add an action', + id: 'MGZRu4', description: 'Chatbot prompt to add action', }), addActionDescription: intl.formatMessage({ defaultMessage: 'Describe something your flow should do. Add details where possible, including the connector to use and if any content should be included.', + id: 'jlcMGg', description: 'Chatbot prompt to add action description', }), replaceAction: intl.formatMessage({ defaultMessage: 'Replace action', + id: 'dMAC4C', description: 'Chatbot prompt to replace an action', }), replaceActionDescription: intl.formatMessage({ defaultMessage: 'Describe something in your flow that should be replaced, as well as what should replace it. Add details where possible, including the connector to use and if any content should be included.', + id: 'WCASt1', description: 'Chatbot prompt to replace an action description', }), editFlow: intl.formatMessage({ defaultMessage: 'Edit Flow', + id: 'HfmDk9', description: 'Chatbot prompt to edit the workflow', }), editFlowDescription: intl.formatMessage({ defaultMessage: 'Describe how your flow should be changed. Add details where possible, including the connector to use and if any content should be included.', + id: '8NUqpR', description: 'Chatbot prompt to edit the workflow description', }), question: intl.formatMessage({ defaultMessage: 'Ask a question', + id: 'BynK4X', description: 'Chatbot prompt to ask a question', }), questionDescription: intl.formatMessage({ defaultMessage: 'Ask question related to your workflow or Logic Apps.', + id: 'uxQ143', description: 'Chatbot prompt to ask a question description', }), }; diff --git a/libs/designer-ui/src/lib/chatbot/components/promptGuide/promptGuideContextualMenu.tsx b/libs/designer-ui/src/lib/chatbot/components/promptGuide/promptGuideContextualMenu.tsx index a48aeae8545..42ff11482dd 100644 --- a/libs/designer-ui/src/lib/chatbot/components/promptGuide/promptGuideContextualMenu.tsx +++ b/libs/designer-ui/src/lib/chatbot/components/promptGuide/promptGuideContextualMenu.tsx @@ -53,47 +53,58 @@ export const PromptGuideContextualMenu = ({ createFlowSubMenuItems: { example1: intl.formatMessage({ defaultMessage: 'Send me an email when...', + id: 'yrYEmk', description: 'Example of a sentence that the user should complete', }), example2: intl.formatMessage({ defaultMessage: 'Every week on Monday...', + id: 'kKJMeM', description: 'Example of a sentence that the user should complete', }), example3: intl.formatMessage({ defaultMessage: 'When a new item...', + id: 'KV4uky', description: 'Example of a sentence that the user should complete', }), }, createFlow: intl.formatMessage({ defaultMessage: 'Create flow', + id: '6sGj3J', description: 'Chatbot create a flow text', }), explainFlow: intl.formatMessage({ defaultMessage: 'Explain flow', + id: 'GQnN3U', description: 'Chatbot prompt to explain the flow', }), addAction: intl.formatMessage({ defaultMessage: 'Add an action', + id: 'MGZRu4', description: 'Chatbot prompt to add action', }), replaceAction: intl.formatMessage({ defaultMessage: 'Replace action with', + id: 'l2YXln', description: 'Chatbot prompt to replace an action', }), editFlow: intl.formatMessage({ defaultMessage: 'Edit flow', + id: 'hwj1Ht', description: 'Chatbot prompt to edit the workflow', }), askQuestion: intl.formatMessage({ defaultMessage: 'Ask a question', + id: 'BynK4X', description: 'Chatbot prompt to ask a question', }), explainAction: intl.formatMessage({ defaultMessage: 'Explain action', + id: '50W8FI', description: 'Chatbot prompt to explain an action', }), title: intl.formatMessage({ defaultMessage: 'Get started', + id: 'Ggkf4s', description: 'Chatbot prompt guide menu title', }), }, diff --git a/libs/designer-ui/src/lib/chatbot/components/technicalErrorMessage.tsx b/libs/designer-ui/src/lib/chatbot/components/technicalErrorMessage.tsx index ad52a925c01..e050982a766 100644 --- a/libs/designer-ui/src/lib/chatbot/components/technicalErrorMessage.tsx +++ b/libs/designer-ui/src/lib/chatbot/components/technicalErrorMessage.tsx @@ -9,6 +9,7 @@ export const TechnicalErrorMessage = ({ message, chatSessionId }: TechnicalError const intl = useIntl(); const chatSessionText = intl.formatMessage({ defaultMessage: 'chat-session-id:', + id: 'YF1yZk', description: 'Chatbot session id', }); return ( diff --git a/libs/designer-ui/src/lib/chatbot/components/thumbsReactionButton.tsx b/libs/designer-ui/src/lib/chatbot/components/thumbsReactionButton.tsx index ba8a1b736bd..eb69fe7a1c5 100644 --- a/libs/designer-ui/src/lib/chatbot/components/thumbsReactionButton.tsx +++ b/libs/designer-ui/src/lib/chatbot/components/thumbsReactionButton.tsx @@ -33,10 +33,12 @@ export const ThumbsReactionButton: React.FC = ({ isV const intlText = { upvote: intl.formatMessage({ defaultMessage: 'Like', + id: 'XR4Sd/', description: 'Chatbot user feedback like button title', }), downvote: intl.formatMessage({ defaultMessage: 'Dislike', + id: 'yk7L+4', description: 'Chatbot user feedback dislike button title', }), }; diff --git a/libs/designer-ui/src/lib/chatbot/feedbackHelper.tsx b/libs/designer-ui/src/lib/chatbot/feedbackHelper.tsx index e65c3cbebc3..342dbd5a102 100644 --- a/libs/designer-ui/src/lib/chatbot/feedbackHelper.tsx +++ b/libs/designer-ui/src/lib/chatbot/feedbackHelper.tsx @@ -10,6 +10,7 @@ export function useReportBugButton(disabled: boolean): IButtonProps { const intlText = { reportBugButtonText: intl.formatMessage({ defaultMessage: 'Report a bug', + id: 'OVDEFP', description: 'Text for button that allows user to report a bug in the chatbot experience', }), }; @@ -34,6 +35,7 @@ export function useExternalLink(additionalDocURL?: string) { const intlText = { guideMoreInfoText: intl.formatMessage({ defaultMessage: 'For more detailed information, you can refer to the following resources', + id: '9yLPwo', description: 'Message instructing to follow below links for more detailed information', }), }; @@ -56,6 +58,7 @@ export function useAzureCopilotButton(azureButtonCallback?: () => void): IButton const intlText = { azureCopilotButtonText: intl.formatMessage({ defaultMessage: 'Open Azure Copilot', + id: '/X2+cq', description: 'Text for button that allows user to open azure copilot', }), }; diff --git a/libs/designer-ui/src/lib/checkbox/index.tsx b/libs/designer-ui/src/lib/checkbox/index.tsx index d4eab0b8947..d36fd2c04df 100644 --- a/libs/designer-ui/src/lib/checkbox/index.tsx +++ b/libs/designer-ui/src/lib/checkbox/index.tsx @@ -55,6 +55,7 @@ export const Checkbox: React.FC = ({ const moreInfoMessage = intl.formatMessage({ defaultMessage: 'More Info', + id: 'Y0H9aX', description: 'This is shown as an aria label on button as well as the tooltip that is shown after clicking the button', }); diff --git a/libs/designer-ui/src/lib/code/index.tsx b/libs/designer-ui/src/lib/code/index.tsx index 70d6c3a5612..0b8b68eb3d4 100644 --- a/libs/designer-ui/src/lib/code/index.tsx +++ b/libs/designer-ui/src/lib/code/index.tsx @@ -82,7 +82,8 @@ export function CodeEditor({ const getLabel = (label?: string): string => { return intl.formatMessage( { - defaultMessage: "{label} To add dynamic data, press the Alt + '/' keys.", + defaultMessage: `{label} To add dynamic data, press the Alt + '/' keys.`, + id: 'IdOhPY', description: 'This is an a11y message meant to help screen reader users figure out how to insert dynamic data', }, { label } diff --git a/libs/designer-ui/src/lib/code/util.ts b/libs/designer-ui/src/lib/code/util.ts index c669422b5d7..7a29ea8ecf3 100644 --- a/libs/designer-ui/src/lib/code/util.ts +++ b/libs/designer-ui/src/lib/code/util.ts @@ -26,6 +26,7 @@ export function buildInlineCodeTextFromToken(inputToken: Token, language: string intl.formatMessage( { defaultMessage: 'Unsupported Token Type: {var}', + id: 'XLUs2P', description: 'Exception for unsupported token types', }, { var: 'Variables' } @@ -38,6 +39,7 @@ export function buildInlineCodeTextFromToken(inputToken: Token, language: string intl.formatMessage( { defaultMessage: 'Unsupported Token Type: {controls}', + id: 'b9P8SA', description: 'Exception for unsupported token types', }, { controls: 'Controls' } @@ -50,6 +52,7 @@ export function buildInlineCodeTextFromToken(inputToken: Token, language: string intl.formatMessage( { defaultMessage: 'Unsupported Token Type: {expressions}', + id: '8baaNC', description: 'Exception for unsupported token types', }, { expressions: 'Expressions' } @@ -75,6 +78,7 @@ export function buildInlineCodeTextFromToken(inputToken: Token, language: string throw new ArgumentException( intl.formatMessage({ defaultMessage: 'Unsupported programming language.', + id: 'MIX4f9', description: 'The exception for an unsupported programming language.', }) ); diff --git a/libs/designer-ui/src/lib/colorizer/index.tsx b/libs/designer-ui/src/lib/colorizer/index.tsx index edbf1e0b82c..d2d4aefbc18 100644 --- a/libs/designer-ui/src/lib/colorizer/index.tsx +++ b/libs/designer-ui/src/lib/colorizer/index.tsx @@ -31,7 +31,8 @@ export const Colorizer: React.FC = ({ ariaLabel, code, language const intl = useIntl(); const copyAria = intl.formatMessage( { - defaultMessage: "Copy the value of '{label}' to the clipboard", + defaultMessage: `Copy the value of ''{label}'' to the clipboard`, + id: 'lA/sHA', description: 'Accessibility label for a button to copy all text in a value box', }, { @@ -41,6 +42,7 @@ export const Colorizer: React.FC = ({ ariaLabel, code, language const selectAria = intl.formatMessage( { defaultMessage: 'Select all text in {label}', + id: 'WK6hZX', description: 'Accessibility label for a button to select all text in a value box', }, { diff --git a/libs/designer-ui/src/lib/combobox/index.tsx b/libs/designer-ui/src/lib/combobox/index.tsx index ce6cf453f35..ac048af468c 100644 --- a/libs/designer-ui/src/lib/combobox/index.tsx +++ b/libs/designer-ui/src/lib/combobox/index.tsx @@ -122,7 +122,11 @@ export const Combobox = ({ key: 'isloading', value: 'isloading', disabled: true, - displayName: intl.formatMessage({ defaultMessage: 'Loading...', description: 'Loading text when items are being fetched' }), + displayName: intl.formatMessage({ + defaultMessage: 'Loading...', + id: 'kM+Mr0', + description: 'Loading text when items are being fetched', + }), type: 'loadingrender', }; const errorOption: ComboboxItem = { @@ -142,6 +146,7 @@ export const Combobox = ({ if (newOptions.length === 0) { const noValuesLabel = intl.formatMessage({ defaultMessage: 'No values match your search.', + id: '/KRvvg', description: 'Label for when no values match search value.', }); newOptions.push({ key: 'header', value: noValuesLabel, disabled: true, displayName: noValuesLabel }); @@ -151,6 +156,7 @@ export const Combobox = ({ const customValueLabel = intl.formatMessage( { defaultMessage: 'Use "{value}" as a custom value', + id: 'VptXzY', description: 'Label for button to allow user to create custom value in combobox from current input', }, { value: searchValue } @@ -251,6 +257,7 @@ export const Combobox = ({ const clearEditor = intl.formatMessage({ defaultMessage: 'Clear custom value', + id: 'zUgja+', description: 'Label for button to clear the editor', }); @@ -338,6 +345,7 @@ const getOptions = (options: ComboboxItem[]): IComboBoxOption[] => { const customValueLabel = intl.formatMessage({ defaultMessage: 'Enter custom value', + id: 'vrYqUF', description: 'Label for button to allow user to create custom value in combobox', }); diff --git a/libs/designer-ui/src/lib/copilotGetStarted/components/flowPreview.tsx b/libs/designer-ui/src/lib/copilotGetStarted/components/flowPreview.tsx index 47486c37c53..efcf9b5e8a4 100644 --- a/libs/designer-ui/src/lib/copilotGetStarted/components/flowPreview.tsx +++ b/libs/designer-ui/src/lib/copilotGetStarted/components/flowPreview.tsx @@ -30,18 +30,22 @@ export const FlowPreview: React.FC = ({ definition, dataAutoma const intlText = { flowPreviewTrigger: intl.formatMessage({ defaultMessage: 'Trigger', + id: '+Jryh+', description: 'Title for the triggers section in the suggested flow', }), flowPreviewTriggerDescription: intl.formatMessage({ defaultMessage: 'The flow starts when this happens', + id: 'VIN7lB', description: 'Description text for triggers in the suggested flow', }), flowPreviewActions: intl.formatMessage({ defaultMessage: 'Actions', + id: '8NFfuB', description: 'Title text for actions in the suggested flow', }), flowPreviewActionsDescription: intl.formatMessage({ defaultMessage: 'This is what the flow will do', + id: 'QoPTod', description: 'Description text for actions in the suggested flow', }), }; @@ -128,14 +132,17 @@ const OperationPreview: React.FC = ({ operationName, oper const intlText = { flowPreviewConditionTrueLabel: intl.formatMessage({ defaultMessage: 'True', + id: 'CBzSJo', description: 'Short label to represent when a condition is met.', }), flowPreviewConditionFalseLabel: intl.formatMessage({ defaultMessage: 'False', + id: 'aE+2gr', description: 'Short label to represent when a condition is not met.', }), flowPreviewSwitchDefaultLabel: intl.formatMessage({ defaultMessage: 'Default', + id: '9aj+el', description: 'Short label to represent the fallback behavior used by default if no other conditions were met.', }), }; diff --git a/libs/designer-ui/src/lib/copilotGetStarted/components/suggestedFlowSection.tsx b/libs/designer-ui/src/lib/copilotGetStarted/components/suggestedFlowSection.tsx index 6d2b9bfecaf..ec2a65f5e32 100644 --- a/libs/designer-ui/src/lib/copilotGetStarted/components/suggestedFlowSection.tsx +++ b/libs/designer-ui/src/lib/copilotGetStarted/components/suggestedFlowSection.tsx @@ -18,23 +18,28 @@ export const SuggestedFlowsSection: React.FC = () => { const intlText = { suggestedFlow: intl.formatMessage({ defaultMessage: 'Suggested flow', + id: 'Uxckds', description: 'Title for the suggested flow section', }), suggestedFlowDescriptionPart1: intl.formatMessage({ defaultMessage: 'After you review this AI generated flow suggestion, select', + id: 'id4DBb', description: 'First part of the Copilot Get Started description for Suggested Flow section', }), suggestedFlowDescriptionPart2: intl.formatMessage({ defaultMessage: 'to configure it', + id: 'O7HhyP', description: 'Second part of the Copilot Get Started description for Suggested Flow section', }), nextButtonText: intl.formatMessage({ defaultMessage: 'Next', + id: 'W+mUyI', description: 'Placeholder text for the Next button in the suggested workflow description', }), suggestedFlowNavigationPagination: intl.formatMessage( { defaultMessage: '{s1} of {s2}', + id: 'GZ8MDP', description: 'Shows how many suggested flows there are', }, { @@ -44,18 +49,22 @@ export const SuggestedFlowsSection: React.FC = () => { ), showDifferentSuggestion: intl.formatMessage({ defaultMessage: 'Show a different suggestion', + id: 'ZyDq4/', description: 'Text for the show different suggestion flow button', }), automationSuggestionDoesNotWork: intl.formatMessage({ defaultMessage: `This isn't what I'm looking for`, + id: 'hbOvB4', description: 'Dislike button text for suggested flow', }), previousSuggestedFlow: intl.formatMessage({ defaultMessage: 'Previous flow suggestion', + id: 'qy5WqY', description: 'Text for button that shows the previous flow suggestion', }), nextSuggestedFlow: intl.formatMessage({ defaultMessage: 'Next flow suggestion', + id: 'LElaX3', description: 'Text for button that shows the next flow suggestion', }), }; diff --git a/libs/designer-ui/src/lib/copyinputcontrol/index.tsx b/libs/designer-ui/src/lib/copyinputcontrol/index.tsx index 10a08ac97e4..d8af6732a4b 100644 --- a/libs/designer-ui/src/lib/copyinputcontrol/index.tsx +++ b/libs/designer-ui/src/lib/copyinputcontrol/index.tsx @@ -40,6 +40,7 @@ export const CopyInputControl = React.forwardRef = ({ hidden, message, title, onDismiss const okMessage = intl.formatMessage({ defaultMessage: 'OK', + id: 'uN4zFU', description: 'OK message appearing on a alert message modal.', }); return ( diff --git a/libs/designer-ui/src/lib/dialogs/confirm.tsx b/libs/designer-ui/src/lib/dialogs/confirm.tsx index 33c7a02491e..f2eaeb6f261 100644 --- a/libs/designer-ui/src/lib/dialogs/confirm.tsx +++ b/libs/designer-ui/src/lib/dialogs/confirm.tsx @@ -27,10 +27,12 @@ export const Confirm: React.FC = ({ hidden, message, title, onConf const okMessage = intl.formatMessage({ defaultMessage: 'OK', + id: '7GSk99', description: 'OK message appearing on a confirmation dialog.', }); const cancelMessage = intl.formatMessage({ defaultMessage: 'Cancel', + id: 'iUs7pv', description: 'Cancel message appearing on a confirmation dialog.', }); return ( diff --git a/libs/designer-ui/src/lib/dictionary/collapsedDictionary.tsx b/libs/designer-ui/src/lib/dictionary/collapsedDictionary.tsx index cb369666c01..133d48c500f 100644 --- a/libs/designer-ui/src/lib/dictionary/collapsedDictionary.tsx +++ b/libs/designer-ui/src/lib/dictionary/collapsedDictionary.tsx @@ -35,6 +35,7 @@ export const CollapsedDictionary = ({ const editorPlaceHolder = intl.formatMessage({ defaultMessage: 'Enter a valid JSON', + id: 'ox2Ou7', description: 'Placeholder for empty collapsed dictionary', }); diff --git a/libs/designer-ui/src/lib/dictionary/expandeddictionary.tsx b/libs/designer-ui/src/lib/dictionary/expandeddictionary.tsx index 3e6c54ce096..741c6aba6f4 100644 --- a/libs/designer-ui/src/lib/dictionary/expandeddictionary.tsx +++ b/libs/designer-ui/src/lib/dictionary/expandeddictionary.tsx @@ -43,10 +43,12 @@ export const ExpandedDictionary = ({ const keyPlaceholder = intl.formatMessage({ defaultMessage: 'Enter key', + id: 'pC2nr2', description: 'Placeholder text for Key', }); const valuePlaceholder = intl.formatMessage({ defaultMessage: 'Enter value', + id: 'zCsGWP', description: 'Placeholder text for Value', }); diff --git a/libs/designer-ui/src/lib/dictionary/expandeddictionarydelete.tsx b/libs/designer-ui/src/lib/dictionary/expandeddictionarydelete.tsx index 3211c3b21d4..165f99c24c2 100644 --- a/libs/designer-ui/src/lib/dictionary/expandeddictionarydelete.tsx +++ b/libs/designer-ui/src/lib/dictionary/expandeddictionarydelete.tsx @@ -20,6 +20,7 @@ export const DictionaryDeleteButton = ({ disabled, items, index, setItems }: Dic const deleteLabel = intl.formatMessage({ defaultMessage: 'Click to delete item', + id: 'wV3Lmd', description: 'Label to delete dictionary item', }); diff --git a/libs/designer-ui/src/lib/dictionary/index.tsx b/libs/designer-ui/src/lib/dictionary/index.tsx index fcc4528d791..fef0235761c 100644 --- a/libs/designer-ui/src/lib/dictionary/index.tsx +++ b/libs/designer-ui/src/lib/dictionary/index.tsx @@ -68,11 +68,13 @@ export const DictionaryEditor: React.FC = ({ const expandedLabel: string = intl.formatMessage({ defaultMessage: 'Switch to text mode', + id: 'xXVu2y', description: 'Label for editor toggle button when in expanded mode', }); const collapsedLabel: string = intl.formatMessage({ defaultMessage: 'Switch to key value mode', + id: 'dD8y1n', description: 'Label for editor toggle button when in collapsed mode', }); diff --git a/libs/designer-ui/src/lib/dynamicallyaddedparameter/helper.ts b/libs/designer-ui/src/lib/dynamicallyaddedparameter/helper.ts index 9c5e591bee3..219e09bd656 100644 --- a/libs/designer-ui/src/lib/dynamicallyaddedparameter/helper.ts +++ b/libs/designer-ui/src/lib/dynamicallyaddedparameter/helper.ts @@ -40,31 +40,37 @@ export function getDefaultTitleForDynamicallyAddedParameterType(type: Dynamicall case DynamicallyAddedParameterType.Text: return intl.formatMessage({ defaultMessage: 'Input', + id: 'e+GuGo', description: 'Placeholder title for a newly inserted Text parameter', }); case DynamicallyAddedParameterType.Boolean: return intl.formatMessage({ defaultMessage: 'Yes/No', + id: 'YUbSFS', description: 'Placeholder title for a newly inserted Boolean parameter', }); case DynamicallyAddedParameterType.File: return intl.formatMessage({ defaultMessage: 'File Content', + id: 'Gziyq8', description: 'Placeholder title for a newly inserted File parameter', }); case DynamicallyAddedParameterType.Email: return intl.formatMessage({ defaultMessage: 'Email', + id: 'g076bL', description: 'Placeholder title for a newly inserted Email parameter', }); case DynamicallyAddedParameterType.Number: return intl.formatMessage({ defaultMessage: 'Number', + id: 'BYrP8F', description: 'Placeholder title for a newly inserted Number parameter', }); case DynamicallyAddedParameterType.Date: return intl.formatMessage({ defaultMessage: 'Trigger date', + id: 'v+keTP', description: 'Placeholder title for a newly inserted Date parameter', }); } @@ -76,31 +82,37 @@ export function getDescriptionForDynamicallyAddedParameterType(type: Dynamically case DynamicallyAddedParameterType.Text: return intl.formatMessage({ defaultMessage: 'Please enter your input', + id: 'SgiTAh', description: 'Placeholder description for a newly inserted Text parameter', }); case DynamicallyAddedParameterType.Boolean: return intl.formatMessage({ defaultMessage: 'Please select yes or no', + id: 'EurkzL', description: 'Placeholder description for a newly inserted Boolean parameter', }); case DynamicallyAddedParameterType.File: return intl.formatMessage({ defaultMessage: 'Please select file or image', + id: 'fKYuwf', description: 'Placeholder description for a newly inserted File parameter', }); case DynamicallyAddedParameterType.Email: return intl.formatMessage({ defaultMessage: 'Enter an email address.', + id: 'FYtDP0', description: "The placeholder description for a newly inserted 'Email' parameter.", }); case DynamicallyAddedParameterType.Number: return intl.formatMessage({ defaultMessage: 'Please enter a number', + id: 'yuJBmK', description: 'Placeholder description for a newly inserted Number parameter', }); case DynamicallyAddedParameterType.Date: return intl.formatMessage({ defaultMessage: 'Please enter or select a date (YYYY-MM-DD)', + id: 'CvoqQ6', description: 'Placeholder description for a newly inserted Date parameter', }); } diff --git a/libs/designer-ui/src/lib/dynamicallyaddedparameter/index.tsx b/libs/designer-ui/src/lib/dynamicallyaddedparameter/index.tsx index f0b3ce7076b..c9b8eae3b0b 100644 --- a/libs/designer-ui/src/lib/dynamicallyaddedparameter/index.tsx +++ b/libs/designer-ui/src/lib/dynamicallyaddedparameter/index.tsx @@ -29,11 +29,13 @@ export const DynamicallyAddedParameter = (props: DynamicallyAddedParameterProps) const renderMenuButton = (): JSX.Element => { const menuButtonTitle = intl.formatMessage({ defaultMessage: 'Menu', + id: 'wXJALc', description: 'Open dynamically added parameter options menu', }); const deleteText = intl.formatMessage({ defaultMessage: 'Delete', + id: 'gkY5ya', description: 'Delete dynamic parameter corresponding to this row', }); diff --git a/libs/designer-ui/src/lib/editor/base/index.tsx b/libs/designer-ui/src/lib/editor/base/index.tsx index a46d39b135d..58d043437c9 100644 --- a/libs/designer-ui/src/lib/editor/base/index.tsx +++ b/libs/designer-ui/src/lib/editor/base/index.tsx @@ -142,6 +142,7 @@ export const BaseEditor = ({ const describedByMessage = intl.formatMessage({ defaultMessage: 'Add dynamic data or expressions by inserting a /', + id: 'Q5w4Do', description: 'This is an a11y message meant to help screen reader users figure out how to insert dynamic data', }); diff --git a/libs/designer-ui/src/lib/editor/base/plugins/ClearEditor.tsx b/libs/designer-ui/src/lib/editor/base/plugins/ClearEditor.tsx index 4344ac8c72b..d8daeecb2ea 100644 --- a/libs/designer-ui/src/lib/editor/base/plugins/ClearEditor.tsx +++ b/libs/designer-ui/src/lib/editor/base/plugins/ClearEditor.tsx @@ -11,11 +11,13 @@ export default function ClearEditor({ showButton }: ClearEditorProps): JSX.Eleme const [editor] = useLexicalComposerContext(); const buttonText = intl.formatMessage({ defaultMessage: 'Clear', + id: 'WGwH45', description: 'Label to clear editor', }); const buttonLabel = intl.formatMessage({ defaultMessage: 'Clear Editor', + id: 'YEHutH', description: 'Label to clear editor', }); diff --git a/libs/designer-ui/src/lib/editor/base/plugins/TokenPickerButtonLegacy.tsx b/libs/designer-ui/src/lib/editor/base/plugins/TokenPickerButtonLegacy.tsx index 25c8d53cbba..1858ab06b0c 100644 --- a/libs/designer-ui/src/lib/editor/base/plugins/TokenPickerButtonLegacy.tsx +++ b/libs/designer-ui/src/lib/editor/base/plugins/TokenPickerButtonLegacy.tsx @@ -50,14 +50,17 @@ export default function TokenPickerButtonLegacy({ const addContent = intl.formatMessage({ defaultMessage: 'Add dynamic content', + id: '3BZnxY', description: 'Label for button to open token picker', }); const addContentAltTextShow = intl.formatMessage({ defaultMessage: 'Button to add dynamic content if Token Picker is shown', + id: 'L0hujG', description: 'Text for if image does not show up', }); const addContentAltTextHide = intl.formatMessage({ defaultMessage: 'Button to add dynamic content if Token Picker is hidden', + id: 'pc0FCg', description: 'Text for if image does not show up', }); @@ -72,7 +75,8 @@ export default function TokenPickerButtonLegacy({ }; const dynamicContentButtonText = intl.formatMessage({ - defaultMessage: `Insert data from previous step (You can also add by typing Alt + / in the editor)`, + defaultMessage: 'Insert data from previous step (You can also add by typing Alt + / in the editor)', + id: '61iT9C', description: 'Label for button to open dynamic content token picker', }); diff --git a/libs/designer-ui/src/lib/editor/base/plugins/TokenTypeahead.tsx b/libs/designer-ui/src/lib/editor/base/plugins/TokenTypeahead.tsx index 9b18c88f814..559c68e5c5b 100644 --- a/libs/designer-ui/src/lib/editor/base/plugins/TokenTypeahead.tsx +++ b/libs/designer-ui/src/lib/editor/base/plugins/TokenTypeahead.tsx @@ -102,10 +102,12 @@ export const TokenTypeAheadPlugin = ({ isEditorFocused, hideTokenPickerOptions, const intl = useIntl(); const expressionButtonText = intl.formatMessage({ defaultMessage: 'Insert Expression', + id: 'Hbqlzk', description: 'Label for button to open expression token picker', }); const dynamicDataButtonText = intl.formatMessage({ defaultMessage: 'Insert Dynamic Content', + id: 'pMms92', description: 'Label for button to open dynamic content picker', }); const options: TokenOption[] = []; diff --git a/libs/designer-ui/src/lib/editor/base/plugins/tokenpickerbutton/index.tsx b/libs/designer-ui/src/lib/editor/base/plugins/tokenpickerbutton/index.tsx index 1f837cdcf5c..53516d736c7 100644 --- a/libs/designer-ui/src/lib/editor/base/plugins/tokenpickerbutton/index.tsx +++ b/libs/designer-ui/src/lib/editor/base/plugins/tokenpickerbutton/index.tsx @@ -114,11 +114,13 @@ export const TokenPickerButton = ({ const dynamicContentButtonText = intl.formatMessage({ defaultMessage: `Enter the data from previous step. You can also add data by typing the '/' character.`, + id: 'p1IEXb', description: 'Label for button to open dynamic content token picker', }); const expressionButtonText = intl.formatMessage({ defaultMessage: 'Insert Expression (You can also add by typing / in the editor)', + id: 'loxzZD', description: 'Label for button to open expression token picker', }); diff --git a/libs/designer-ui/src/lib/errorboundary/index.tsx b/libs/designer-ui/src/lib/errorboundary/index.tsx index 6a55f5e0724..93318f0db93 100644 --- a/libs/designer-ui/src/lib/errorboundary/index.tsx +++ b/libs/designer-ui/src/lib/errorboundary/index.tsx @@ -84,6 +84,7 @@ export class ErrorBoundaryInternal extends React.Component {intl.formatMessage({ defaultMessage: 'Error loading component.', + id: 'cmTCsW', description: 'This is a generic error message shown when something in the app fails to load.', })} diff --git a/libs/designer-ui/src/lib/errorsPanel/nodeErrorCard.tsx b/libs/designer-ui/src/lib/errorsPanel/nodeErrorCard.tsx index c1227616cd9..866cf0ef034 100644 --- a/libs/designer-ui/src/lib/errorsPanel/nodeErrorCard.tsx +++ b/libs/designer-ui/src/lib/errorsPanel/nodeErrorCard.tsx @@ -32,6 +32,7 @@ export const NodeErrorCard: React.FC = ({ id, level, title, const buttonHint = intl.formatMessage({ defaultMessage: 'Open operation', + id: 'bwlAWn', description: 'Hint for the button on the error card', }); diff --git a/libs/designer-ui/src/lib/errorsPanel/workflowParametersErrorCard.tsx b/libs/designer-ui/src/lib/errorsPanel/workflowParametersErrorCard.tsx index 056fed3ca99..9582b667b85 100644 --- a/libs/designer-ui/src/lib/errorsPanel/workflowParametersErrorCard.tsx +++ b/libs/designer-ui/src/lib/errorsPanel/workflowParametersErrorCard.tsx @@ -26,16 +26,19 @@ export const WorkflowParametersErrorCard: React.FC { const closeErrorButtonAriaLabel = intl.formatMessage({ defaultMessage: 'Close', + id: '9IDWMU', description: 'Close button aria label', }); diff --git a/libs/designer-ui/src/lib/floatingactionmenu/floatingactionmenuinputs/index.tsx b/libs/designer-ui/src/lib/floatingactionmenu/floatingactionmenuinputs/index.tsx index fe25838e462..54e74fb0ae6 100644 --- a/libs/designer-ui/src/lib/floatingactionmenu/floatingactionmenuinputs/index.tsx +++ b/libs/designer-ui/src/lib/floatingactionmenu/floatingactionmenuinputs/index.tsx @@ -146,9 +146,14 @@ export const FloatingActionMenuInputs = (props: FloatingActionMenuInputsProps): } }; - const collapsedTitle = intl.formatMessage({ defaultMessage: 'Add an input', description: 'Button to add a dynamically added parameter' }); + const collapsedTitle = intl.formatMessage({ + defaultMessage: 'Add an input', + id: 'DuoHXI', + description: 'Button to add a dynamically added parameter', + }); const expandedTitle = intl.formatMessage({ defaultMessage: 'Choose the type of user input', + id: '3X4FHS', description: 'Button to choose data type of the dynamically added parameter', }); diff --git a/libs/designer-ui/src/lib/floatingactionmenu/floatingactionmenuoutputs/index.tsx b/libs/designer-ui/src/lib/floatingactionmenu/floatingactionmenuoutputs/index.tsx index 713f5525876..298973c5d1f 100644 --- a/libs/designer-ui/src/lib/floatingactionmenu/floatingactionmenuoutputs/index.tsx +++ b/libs/designer-ui/src/lib/floatingactionmenu/floatingactionmenuoutputs/index.tsx @@ -75,6 +75,7 @@ export const FloatingActionMenuOutputs = (props: FloatingActionMenuOutputsProps) const onRenderValueField = (schemaKey: string): JSX.Element => { const placeholder = intl.formatMessage({ defaultMessage: 'Enter a value to respond with', + id: '4izAMi', description: 'Placeholder for output value field', }); const onDynamicallyAddedParameterValueChange = (schemaKey: string, newValue: ValueSegment[]) => { @@ -164,14 +165,17 @@ export const FloatingActionMenuOutputs = (props: FloatingActionMenuOutputsProps) const collapsedTitle = intl.formatMessage({ defaultMessage: 'Add an output', + id: 'kq+I5o', description: 'Button to add a dynamically added parameter', }); const expandedTitle = intl.formatMessage({ defaultMessage: 'Choose the type of output', + id: 'iE2+sy', description: 'Button to choose data type of the dynamically added parameter', }); const titlePlaceholder = intl.formatMessage({ defaultMessage: 'Enter a name', + id: 'Smo/VO', description: 'Placeholder for output title field', }); diff --git a/libs/designer-ui/src/lib/html/plugins/toolbar/DropdownBlockFormat.tsx b/libs/designer-ui/src/lib/html/plugins/toolbar/DropdownBlockFormat.tsx index fe18468ceb0..688f52ec486 100644 --- a/libs/designer-ui/src/lib/html/plugins/toolbar/DropdownBlockFormat.tsx +++ b/libs/designer-ui/src/lib/html/plugins/toolbar/DropdownBlockFormat.tsx @@ -70,12 +70,12 @@ export const BlockFormatDropDown = ({ editor, blockType, disabled = false }: Blo }; const TextNames = { - paragraphText: intl.formatMessage({ defaultMessage: 'Normal', description: 'Normal text' }), - h1Text: intl.formatMessage({ defaultMessage: 'Heading 1', description: 'Heading 1 text' }), - h2Text: intl.formatMessage({ defaultMessage: 'Heading 2', description: 'Heading 2 text' }), - h3Text: intl.formatMessage({ defaultMessage: 'Heading 3', description: 'Heading 3 text' }), - bulletListText: intl.formatMessage({ defaultMessage: 'Bullet List', description: 'Bullet List text' }), - numberListText: intl.formatMessage({ defaultMessage: 'Numbered List', description: 'Numbered List text' }), + paragraphText: intl.formatMessage({ defaultMessage: 'Normal', id: 'lhL/KL', description: 'Normal text' }), + h1Text: intl.formatMessage({ defaultMessage: 'Heading 1', id: 'Ttc0SM', description: 'Heading 1 text' }), + h2Text: intl.formatMessage({ defaultMessage: 'Heading 2', id: 'SGnTpt', description: 'Heading 2 text' }), + h3Text: intl.formatMessage({ defaultMessage: 'Heading 3', id: 'P+7G62', description: 'Heading 3 text' }), + bulletListText: intl.formatMessage({ defaultMessage: 'Bullet List', id: 'Lm9bnN', description: 'Bullet List text' }), + numberListText: intl.formatMessage({ defaultMessage: 'Numbered List', id: 'YWOKlU', description: 'Numbered List text' }), }; return ( diff --git a/libs/designer-ui/src/lib/html/plugins/toolbar/Format.tsx b/libs/designer-ui/src/lib/html/plugins/toolbar/Format.tsx index dfaf8530d7b..e025076a077 100644 --- a/libs/designer-ui/src/lib/html/plugins/toolbar/Format.tsx +++ b/libs/designer-ui/src/lib/html/plugins/toolbar/Format.tsx @@ -149,56 +149,69 @@ export const Format = ({ activeEditor, readonly }: FormatProps) => { const boldTitleMac = intl.formatMessage({ defaultMessage: 'Bold (⌘B)', + id: 'ciLkfU', description: 'Command for bold text for Mac users', }); const boldTitleMacAriaLabel = intl.formatMessage({ defaultMessage: 'Format text as bold. Shortcut: ⌘B', + id: 'S138/4', description: 'label to make bold text for Mac users', }); const boldTitleNonMac = intl.formatMessage({ defaultMessage: 'Bold (Ctrl+B)', + id: 'Lnqh6h', description: 'Command for bold text for non-mac users', }); const boldTitleNonMacAriaLabel = intl.formatMessage({ defaultMessage: 'Format text as bold. Shortcut: Ctrl+B', + id: 'YR1uWE', description: 'label to make bold text for nonMac users', }); const italicTitleMac = intl.formatMessage({ defaultMessage: 'Italic (⌘I)', + id: 'elD6+N', description: 'Command for italic text for Mac users', }); const italicTitleMacAriaLabel = intl.formatMessage({ defaultMessage: 'Format text as italic. Shortcut: ⌘I', + id: 'YdQw4/', description: 'label to make italic text for Mac users', }); const italicTitleNonMac = intl.formatMessage({ defaultMessage: 'Italic (Ctrl+I)', + id: 'dfmH55', description: 'Command for italic text for non-mac users', }); const italicTitleNonMacAriaLabel = intl.formatMessage({ defaultMessage: 'Format text as italic. Shortcut: Ctrl+I', + id: 'gIx5ys', description: 'label to make italic text for nonMac users', }); const underlineTitleMac = intl.formatMessage({ defaultMessage: 'Underline (⌘U)', + id: 'KYX5Do', description: 'Command for underline text for Mac users', }); const underlineTitleMacAriaLabel = intl.formatMessage({ defaultMessage: 'Format text as underline. Shortcut: ⌘U', + id: 'qBkxGU', description: 'label to make underline text for Mac users', }); const underlineTitleNonMac = intl.formatMessage({ defaultMessage: 'Underline (Ctrl+U)', + id: 'lwlg2K', description: 'Command for underline text for non-mac users', }); const underlineTitleNonMacAriaLabel = intl.formatMessage({ defaultMessage: 'Format text as underline. Shortcut: Ctrl+U', + id: 'YJlS8E', description: 'label to make underline text for nonMac users', }); const insertLinkLabel = intl.formatMessage({ defaultMessage: 'Insert Link', + id: 'tUCptx', description: 'label to insert link', }); diff --git a/libs/designer-ui/src/lib/html/plugins/toolbar/Toolbar.tsx b/libs/designer-ui/src/lib/html/plugins/toolbar/Toolbar.tsx index fa27b4cc49c..782eec06afe 100644 --- a/libs/designer-ui/src/lib/html/plugins/toolbar/Toolbar.tsx +++ b/libs/designer-ui/src/lib/html/plugins/toolbar/Toolbar.tsx @@ -176,6 +176,7 @@ export const Toolbar = ({ isRawText, isSwitchFromPlaintextBlocked, readonly = fa const toggleCodeViewMessage = intl.formatMessage({ defaultMessage: 'Toggle code view', + id: 'gA1dde', description: 'Label used for the toolbar button which switches between raw HTML (code) view and WYSIWIG (rich text) view', }); diff --git a/libs/designer-ui/src/lib/html/plugins/toolbar/helper/Dropdown.tsx b/libs/designer-ui/src/lib/html/plugins/toolbar/helper/Dropdown.tsx index 50a833af9e9..cca461b1506 100644 --- a/libs/designer-ui/src/lib/html/plugins/toolbar/helper/Dropdown.tsx +++ b/libs/designer-ui/src/lib/html/plugins/toolbar/helper/Dropdown.tsx @@ -79,11 +79,13 @@ export const DropDown = ({ const altTextForButtonIcon = intl.formatMessage({ defaultMessage: 'alt text for button icon', + id: '34Nt/B', description: 'alt text for button icon', }); const altTextForChevronDown = intl.formatMessage({ defaultMessage: 'Alt text for down chevron', + id: '+Uvo/p', description: 'Alt text for down chevron', }); diff --git a/libs/designer-ui/src/lib/html/plugins/toolbar/helper/FontDropDown.tsx b/libs/designer-ui/src/lib/html/plugins/toolbar/helper/FontDropDown.tsx index 3a9fef437a8..8481c81b686 100644 --- a/libs/designer-ui/src/lib/html/plugins/toolbar/helper/FontDropDown.tsx +++ b/libs/designer-ui/src/lib/html/plugins/toolbar/helper/FontDropDown.tsx @@ -38,8 +38,16 @@ export function FontDropDown({ editor, value, fontDropdownType, disabled = false const buttonAriaLabel = fontDropdownType === FontDropDownType.FONTFAMILY - ? intl.formatMessage({ defaultMessage: 'Formatting options for font family', description: 'Label for Font family dropdown' }) - : intl.formatMessage({ defaultMessage: 'Formatting options for font size', description: 'Label for Font size dropdown' }); + ? intl.formatMessage({ + defaultMessage: 'Formatting options for font family', + id: 'sYQDN+', + description: 'Label for Font family dropdown', + }) + : intl.formatMessage({ + defaultMessage: 'Formatting options for font size', + id: 'J2Su6x', + description: 'Label for Font size dropdown', + }); return ( = ({ defaultSelec const intl = useIntl(); const managedIdentityLabel = intl.formatMessage({ defaultMessage: 'Managed identity', + id: 'qGfwxW', description: 'A Label for a Dropdown', }); const managedIdentityPlaceholder = intl.formatMessage({ defaultMessage: 'Select a managed identity', + id: 'OnrO5/', description: 'A placeholder for the managed identity dropdown', }); diff --git a/libs/designer-ui/src/lib/label/index.tsx b/libs/designer-ui/src/lib/label/index.tsx index af981e74ad8..95b4acaaa90 100644 --- a/libs/designer-ui/src/lib/label/index.tsx +++ b/libs/designer-ui/src/lib/label/index.tsx @@ -49,6 +49,7 @@ const RequiredParameterMarker: React.FC = ({ isReq const ariaLabel = intl.formatMessage({ defaultMessage: 'Required', + id: 'qSt0Sb', description: 'Accessibility prefix for the input label', }); diff --git a/libs/designer-ui/src/lib/modals/DeleteNodeModal.tsx b/libs/designer-ui/src/lib/modals/DeleteNodeModal.tsx index 5643b76f8fb..9eff1bbbff0 100644 --- a/libs/designer-ui/src/lib/modals/DeleteNodeModal.tsx +++ b/libs/designer-ui/src/lib/modals/DeleteNodeModal.tsx @@ -21,21 +21,25 @@ export const DeleteNodeModal = (props: DeleteNodeModalProps) => { const operationNodeTitle = intl.formatMessage({ defaultMessage: 'Delete Workflow Action', + id: 'UEryJE', description: 'Title for operation node', }); const graphNodeTitle = intl.formatMessage({ defaultMessage: 'Delete Workflow Graph', + id: 'LBbhCu', description: 'Title for graph node', }); const switchCaseTitle = intl.formatMessage({ defaultMessage: 'Delete Switch Case', + id: 'V7k/GN', description: 'Title for switch case', }); const otherNodeTitle = intl.formatMessage({ defaultMessage: 'Node', + id: 'DDIIAQ', description: 'Title for other node', }); @@ -50,17 +54,20 @@ export const DeleteNodeModal = (props: DeleteNodeModalProps) => { const confirmText = intl.formatMessage({ defaultMessage: 'OK', + id: 'O9ZExg', description: 'Confirmation text for delete button', }); const cancelText = intl.formatMessage({ defaultMessage: 'Cancel', + id: 'ti5TEd', description: 'Text for cancel button', }); const bodyConfirmText = intl.formatMessage( { defaultMessage: 'Are you sure you want to delete {nodeId}?', + id: 'iHVVTl', description: 'Text for delete node modal body', }, { nodeId: {nodeName} } @@ -68,16 +75,19 @@ export const DeleteNodeModal = (props: DeleteNodeModalProps) => { const operationBodyMessage = intl.formatMessage({ defaultMessage: 'This step will be removed from the Logic App.', + id: '6lLsi+', description: 'Text for delete node modal body', }); const graphBodyMessage = intl.formatMessage({ defaultMessage: 'This will also remove all child steps.', + id: 'z9kH+0', description: 'Text for delete node modal body', }); const deleteLoadingMessage = intl.formatMessage({ defaultMessage: 'Deleting...', + id: 'HX3Xmx', description: 'Text for loading state of delete modal', }); diff --git a/libs/designer-ui/src/lib/monitoring/requestpanel/__test__/__snapshots__/request.spec.tsx.snap b/libs/designer-ui/src/lib/monitoring/requestpanel/__test__/__snapshots__/request.spec.tsx.snap index 5cc067ccc1d..3dd0e865b93 100644 --- a/libs/designer-ui/src/lib/monitoring/requestpanel/__test__/__snapshots__/request.spec.tsx.snap +++ b/libs/designer-ui/src/lib/monitoring/requestpanel/__test__/__snapshots__/request.spec.tsx.snap @@ -68,7 +68,7 @@ exports[`lib/monitoring/requestpanel/request should render 1`] = ` ); diff --git a/libs/designer/src/lib/ui/panel/recommendation/customSwaggerSelection.tsx b/libs/designer/src/lib/ui/panel/recommendation/customSwaggerSelection.tsx index 075e56134fc..4f19e0b6bee 100644 --- a/libs/designer/src/lib/ui/panel/recommendation/customSwaggerSelection.tsx +++ b/libs/designer/src/lib/ui/panel/recommendation/customSwaggerSelection.tsx @@ -43,12 +43,14 @@ export const CustomSwaggerSelection = (props: CustomSwaggerSelectionProps) => { const inputLabel = intl.formatMessage({ defaultMessage: 'Swagger Endpoint', + id: 'qUMXpq', description: 'Swagger endpoint input label', }); const inputPlaceholder = intl.formatMessage( { defaultMessage: 'Example: {url}', + id: 'IHMd3X', description: 'Swagger url input placeholder', }, { @@ -58,6 +60,7 @@ export const CustomSwaggerSelection = (props: CustomSwaggerSelectionProps) => { const urlErrorMessage = intl.formatMessage({ defaultMessage: 'Please enter a valid URL', + id: 'eHgfpz', description: 'Swagger url input error message', }); @@ -102,7 +105,7 @@ export const CustomSwaggerSelection = (props: CustomSwaggerSelectionProps) => { submitCallback(); }} > - {intl.formatMessage({ defaultMessage: 'Add Action', description: 'Add action button text' })} + {intl.formatMessage({ defaultMessage: 'Add Action', id: '2vnYre', description: 'Add action button text' })} ); diff --git a/libs/designer/src/lib/ui/panel/recommendation/recommendationPanelContext.tsx b/libs/designer/src/lib/ui/panel/recommendation/recommendationPanelContext.tsx index 905f89f3a68..525019eec96 100644 --- a/libs/designer/src/lib/ui/panel/recommendation/recommendationPanelContext.tsx +++ b/libs/designer/src/lib/ui/panel/recommendation/recommendationPanelContext.tsx @@ -187,15 +187,17 @@ export const RecommendationPanelContext = (props: CommonPanelProps) => { const intl = useIntl(); const returnToSearchText = intl.formatMessage({ defaultMessage: 'Return to search', + id: 'tH2pT1', description: 'Text for the Details page navigation heading', }); const headingText = isTrigger - ? intl.formatMessage({ defaultMessage: 'Add a trigger', description: 'Text for the "Add Trigger" page header' }) - : intl.formatMessage({ defaultMessage: 'Add an action', description: 'Text for the "Add Action" page header' }); + ? intl.formatMessage({ defaultMessage: 'Add a trigger', id: 'dBxX0M', description: 'Text for the "Add Trigger" page header' }) + : intl.formatMessage({ defaultMessage: 'Add an action', id: 'EUQDM6', description: 'Text for the "Add Action" page header' }); const closeButtonAriaLabel = intl.formatMessage({ defaultMessage: 'Close Add Action Panel', + id: 'Yg/vvm', description: 'Aria label for the close button in the Add Action Panel', }); return ( diff --git a/libs/designer/src/lib/ui/settings/sections/datahandling.tsx b/libs/designer/src/lib/ui/settings/sections/datahandling.tsx index 154a6b71ffd..d072fb93013 100644 --- a/libs/designer/src/lib/ui/settings/sections/datahandling.tsx +++ b/libs/designer/src/lib/ui/settings/sections/datahandling.tsx @@ -21,23 +21,28 @@ export const DataHandling = ({ const intl = useIntl(); const dataHandlingTitle = intl.formatMessage({ defaultMessage: 'Data Handling', + id: 'aK4iLW', description: 'title for data handling setting section', }); const requestSchemaValidationLabelText = intl.formatMessage({ defaultMessage: 'Schema Validation', + id: '7S2wtE', description: 'A label for the schema validation setting', }); const requestSchemaValidationLabelTooltip = intl.formatMessage({ defaultMessage: 'Validate request body against the schema provided. In case there is a mismatch, HTTP 400 will be returned', + id: 'lsH37F', description: 'tool tip explaining what schema validation setting does', }); const automaticDecompressionLabelText = intl.formatMessage({ defaultMessage: 'Automatic Decompression', + id: 'BeqBP7', description: 'A label for the automatic decompression setting', }); const automaticDecompressionLabelTooltip = intl.formatMessage({ defaultMessage: 'Decompress the request body if it is compressed using GZip or Deflate. This setting is only applicable for HTTP trigger', + id: 'PqUAbF', description: 'tool tip explaining what automatic decompression setting does', }); diff --git a/libs/designer/src/lib/ui/settings/sections/general.tsx b/libs/designer/src/lib/ui/settings/sections/general.tsx index bf8f7b0b51b..8125b86af22 100644 --- a/libs/designer/src/lib/ui/settings/sections/general.tsx +++ b/libs/designer/src/lib/ui/settings/sections/general.tsx @@ -50,82 +50,100 @@ export const General = ({ const isTrigger = nodesMetadata?.isRoot ?? false; const generalTitle = intl.formatMessage({ defaultMessage: 'General', + id: 'V+/c21', description: 'title for general setting section', }); const degreeOfParallelism = intl.formatMessage({ defaultMessage: 'Degree of Parallelism', + id: 'sW47JR', description: 'label for slider indicating the degree of parallelism', }); const splitOnTitle = intl.formatMessage({ defaultMessage: 'Split On', + id: 'FUhNu4', description: 'title for split on setting', }); const splitOnTooltipText = intl.formatMessage({ defaultMessage: 'Enable split-on to start an instance of the workflow per item in the selected array. Each instance can also have a distinct tracking id', + id: 'eo1YKX', description: 'description of the split on setting', }); const actionTimeoutTitle = intl.formatMessage({ defaultMessage: 'Action Timeout', + id: 'XKDZXi', description: 'title for action timeout setting', }); const actionTimeoutTooltipText = intl.formatMessage({ defaultMessage: 'Limit the maximum duration between the retries and asynchronous responses for this action. Note: This does not alter the request timeout of a single request', + id: 'qzaoRR', description: 'description of action timeout setting', }); const actionTimeoutFormatDescription = intl.formatMessage({ defaultMessage: 'Specify the duration in ISO 8601 format', + id: 'eHsOsm', description: 'description of action timeout format description', }); const concurrencyTitle = intl.formatMessage({ defaultMessage: 'Concurrency Control', + id: 'ZM1mRy', description: 'title for concurrency setting', }); const concurrencyTooltipText = intl.formatMessage({ defaultMessage: 'Control how new runs are queued', + id: '2MOA1x', description: 'tooltip text of concurrency setting', }); const concurrencyDescription = intl.formatMessage({ - defaultMessage: - "By default, Logic App instances run at the same time, or in parallel. This control changes how new runs are queued and can't be changed after enabling. To run as many parallel instances as possible, leave this control turned off. To limit the number of parallel runs, turn on this control, and select a limit. To run sequentially, select 1 as the limit.", + defaultMessage: `By default, Logic App instances run at the same time, or in parallel. This control changes how new runs are queued and can't be changed after enabling. To run as many parallel instances as possible, leave this control turned off. To limit the number of parallel runs, turn on this control, and select a limit. To run sequentially, select 1 as the limit.`, + id: 'bWBMhe', description: 'description of concurrency setting', }); const concurrencySubLabel = intl.formatMessage({ defaultMessage: 'Limit', + id: 'g7/EKC', description: 'sublabel for concurrency limit toggle button', }); const triggerConditionsTitle = intl.formatMessage({ defaultMessage: 'Trigger conditions', + id: 'YDoc9z', description: 'Title for trigger conditions setting', }); const triggerConditionsTooltipText = intl.formatMessage({ defaultMessage: 'Specify one or more expressions that must be true for the trigger to fire', + id: 'XJkBrZ', description: 'The description for the trigger condition expression setting.', }); const splitOnTrackingId = intl.formatMessage({ defaultMessage: 'Split-On Tracking Id', + id: 'Pl/fcn', description: 'Title for split on client tracking id setting', }); const splitOnTrackingIdTooltipText = intl.formatMessage({ defaultMessage: 'Distinct Tracking id for each split-on instance', + id: 'ahFd/S', description: 'Description of tracking id input field of split on setting', }); const arrayDropdownTitle = intl.formatMessage({ defaultMessage: 'Array', + id: 'Bewmet', description: 'Title for array dropdown input setting', }); const invokerConnectionTitle = intl.formatMessage({ - defaultMessage: "Use Invoker's Connection", + defaultMessage: `Use Invoker's Connection`, + id: 'bWOsvo', description: 'Title for invoker connection', }); const invokerConnectionTooltipText = intl.formatMessage({ defaultMessage: 'When enabled, this action will run with the user from the "Run as" setting in the Dataverse trigger', + id: 'LRAhSA', description: 'Description of invoker connection setting', }); const examplePlaceholderText = intl.formatMessage({ defaultMessage: 'Example:', + id: 'NzPnFS', description: 'Placeholder text for an example input field', }); diff --git a/libs/designer/src/lib/ui/settings/sections/networking.tsx b/libs/designer/src/lib/ui/settings/sections/networking.tsx index 4a834a8844f..cd89b964ffe 100644 --- a/libs/designer/src/lib/ui/settings/sections/networking.tsx +++ b/libs/designer/src/lib/ui/settings/sections/networking.tsx @@ -55,136 +55,164 @@ export const Networking = ({ const intl = useIntl(); const asyncPatternTitle = intl.formatMessage({ defaultMessage: 'Asynchronous Pattern', + id: 'J/Kz1j', description: 'title for async pattern setting', }); const asyncPatternTooltipText = intl.formatMessage({ - defaultMessage: - "With the asynchronous pattern, if the remote server indicates that the request is accepted for processing with a 202 (Accepted) response, the Logic Apps engine will keep polling the URL specified in the response's location header until reaching a terminal state.", + defaultMessage: `With the asynchronous pattern, if the remote server indicates that the request is accepted for processing with a 202 (Accepted) response, the Logic Apps engine will keep polling the URL specified in the response's location header until reaching a terminal state.`, + id: '8j+a0n', description: 'description of asynchronous pattern setting', }); const asyncResponseTitle = intl.formatMessage({ defaultMessage: 'Asynchronous Response', + id: 'i/b3Ko', description: 'title for asynchronous response setting', }); const asyncResponseTooltipText = intl.formatMessage({ defaultMessage: 'Asynchronous response allows a Logic App to respond with a 202 (Accepted) to indicate the request has been accepted for processing. A location header will be provided to retrieve the final state.', + id: 'qrxi0L', description: 'description of asynchronous response setting', }); const requestOptionsTitle = intl.formatMessage({ defaultMessage: 'Request Options - Timeout', + id: 'jO5Fet', description: 'title for request options setting', }); const requestOptionsPlaceholder = intl.formatMessage({ defaultMessage: 'Example: PT1S', + id: 'f7Janv', description: 'Placeholder for time setting, leave PT1S untranslated', }); const requestOptionsTooltipText = intl.formatMessage({ - defaultMessage: - "The maximum duration on a single outbound request from this action. If the request doesn't finish within this limit after running retries, the action fails", + defaultMessage: `The maximum duration on a single outbound request from this action. If the request doesn't finish within this limit after running retries, the action fails`, + id: 'Dm0zAO', description: 'description of request options duration setting', }); const requestOptionsDescription = intl.formatMessage({ defaultMessage: 'Specify the duration in ISO 8601 format', + id: 'WS55UF', description: 'description of request options duration setting', }); const requestOptionsSublabel = intl.formatMessage({ defaultMessage: 'Duration', + id: 'viee6C', description: 'sublabel for request options duration setting', }); const suppressWorkflowHeadersTitle = intl.formatMessage({ defaultMessage: 'Suppress workflow headers', + id: 'nZ4nLn', description: 'title for suppress workflow headers setting', }); const suppressWorkflowHeadersTooltipText = intl.formatMessage({ defaultMessage: 'Limit Logic Apps to not include workflow metadata headers in the outgoing request.', + id: 'mjS/k1', description: 'description of suppress woers setting', }); const paginationTitle = intl.formatMessage({ defaultMessage: 'Pagination', + id: 'iTKrs8', description: 'Title for pagination setting', }); const paginationTooltipText = intl.formatMessage({ defaultMessage: 'Retrieve more results up to the pagination limit', + id: 'cJkSrD', description: 'tooltip text of pagination setting', }); const paginationDescription = intl.formatMessage({ - defaultMessage: - "Retrieve items to meet the specified threshold by following the continuation token. Due to connector's page size, the number returned may exceed the threshold.", + defaultMessage: `Retrieve items to meet the specified threshold by following the continuation token. Due to connector's page size, the number returned may exceed the threshold.`, + id: 'C4NQ1J', description: 'description for pagination setting', }); const paginationPlaceholder = intl.formatMessage({ defaultMessage: 'Threshold of items to return', + id: 'm8z4Yr', description: 'placeholder for pagination setting', }); const threshold = intl.formatMessage({ defaultMessage: 'Threshold', + id: 'xQQ9ko', description: 'title for pagination user input', }); const workflowHeadersOnResponseTitle = intl.formatMessage({ defaultMessage: 'Suppress Workflow Headers on Response', + id: '+v1RlQ', description: 'title for workflow headers on response setting', }); const workflowHeadersOnResponseTooltipText = intl.formatMessage({ defaultMessage: 'Limit Logic Apps to not include workflow metadata headers in the response.', + id: 'XsktQ/', description: 'description of workflow headers on response setting', }); const networking = intl.formatMessage({ defaultMessage: 'Networking', + id: 'i4C4aB', description: 'title for networking setting section', }); const contentTransferTitle = intl.formatMessage({ defaultMessage: 'Content Transfer', + id: 'oLtwMw', description: 'title for content transfer setting', }); const contentTransferTooltip = intl.formatMessage({ defaultMessage: 'More details can be found at http://aka.ms/logicapps-chunk#upload-content-in-chunks', + id: 'V+xi3c', description: 'description of content transfer setting', }); const contentTransferDescription = intl.formatMessage({ defaultMessage: 'Specify the behavior and capabilities for transferring content over HTTP. Large messages may be split up into smaller requests to the connector to allow large message upload.', + id: 'SenWwt', description: 'description of content transfer setting', }); const contentTransferSublabel = intl.formatMessage({ defaultMessage: 'Allow chunking', + id: 'hMf2TA', description: 'sublabel for content transfer setting', }); // RETRY POLICY const retryPolicyTypeTitle = intl.formatMessage({ defaultMessage: 'Retry Policy', + id: '4IS4yp', description: 'title for retry policy setting', }); const retryPolicyTooltip = intl.formatMessage({ defaultMessage: 'The number of times to retry the request', + id: '1hPZqe', description: 'description of retry count setting', }); const retryPolicyTypeDescription = intl.formatMessage({ defaultMessage: 'A retry policy applies to intermittent failures, characterized as HTTP status codes 408, 429, and 5xx, in addition to any connectivity exceptions. The default is an exponential interval policy set to retry 4 times.', + id: 'zNesUZ', description: 'description of retry policy setting', }); const retryPolicyCountTitle = intl.formatMessage({ defaultMessage: 'Count', + id: 'XbtEq9', description: 'title for retry count setting', }); const retryPolicyCountPlaceholder = intl.formatMessage({ defaultMessage: 'Specify a retry count from 1 to 90', + id: 'uM1i27', description: 'placeholder for retry count setting', }); const retryPolicyIntervalTitle = intl.formatMessage({ defaultMessage: 'Interval', + id: 'V8A+1J', description: 'Title for retry interval setting', }); const retryPolicyIntervalDescription = intl.formatMessage({ defaultMessage: 'Specify interval in ISO 8601 format.', + id: 'h40rpg', description: 'description of retry interval setting', }); const retryPolicyIntervalPlaceholder = intl.formatMessage( { defaultMessage: 'Example: {example}', + id: 'qiIs4V', description: 'placeholder for retry interval setting', }, { @@ -193,11 +221,13 @@ export const Networking = ({ ); const retryPolicyMinIntervalTitle = intl.formatMessage({ defaultMessage: 'Minimum Interval', + id: 'r7vZ5a', description: 'title for retry minimum interval setting', }); const retryPolicyMinIntervalPlaceholder = intl.formatMessage( { defaultMessage: 'Example: {example}', + id: 'qiIs4V', description: 'placeholder for retry interval setting', }, { @@ -206,11 +236,13 @@ export const Networking = ({ ); const retryPolicyMaxIntervalTitle = intl.formatMessage({ defaultMessage: 'Maximum Interval', + id: 'AsqIUa', description: 'title for retry maximum interval setting', }); const retryPolicyMaxIntervalPlaceholder = intl.formatMessage( { defaultMessage: 'Example: {example}', + id: 'qiIs4V', description: 'placeholder for retry interval setting', }, { @@ -333,6 +365,7 @@ export const Networking = ({ { title: intl.formatMessage({ defaultMessage: 'Default', + id: '2uINs9', description: 'title for retry policy default setting', }), value: constants.RETRY_POLICY_TYPE.DEFAULT, @@ -340,6 +373,7 @@ export const Networking = ({ { title: intl.formatMessage({ defaultMessage: 'None', + id: 'gL4rVQ', description: 'title for retry policy none setting', }), value: constants.RETRY_POLICY_TYPE.NONE, @@ -347,6 +381,7 @@ export const Networking = ({ { title: intl.formatMessage({ defaultMessage: 'Exponential Interval', + id: '7zDk9N', description: 'title for retry policy exponential interval setting', }), value: constants.RETRY_POLICY_TYPE.EXPONENTIAL, @@ -354,6 +389,7 @@ export const Networking = ({ { title: intl.formatMessage({ defaultMessage: 'Fixed Interval', + id: 'Wb/cBR', description: 'title for retry policy fixed interval setting', }), value: constants.RETRY_POLICY_TYPE.FIXED, diff --git a/libs/designer/src/lib/ui/settings/sections/runafter.tsx b/libs/designer/src/lib/ui/settings/sections/runafter.tsx index cd55728fbab..2235fb0d393 100644 --- a/libs/designer/src/lib/ui/settings/sections/runafter.tsx +++ b/libs/designer/src/lib/ui/settings/sections/runafter.tsx @@ -25,14 +25,17 @@ export const RunAfter = ({ nodeId, readOnly = false, expanded, onHeaderClick }: const runAfterTitle = intl.formatMessage({ defaultMessage: 'Run After', + id: 'DyYcJZ', description: 'title for run after setting section', }); const lastActionErrorMessage = intl.formatMessage({ defaultMessage: 'Each action must have one or more run after configurations', + id: 'v7ipqH', description: 'error message for deselection of last run after action', }); const lastStatusErrorMessage = intl.formatMessage({ defaultMessage: 'Each run after configuration must have at least one status checked', + id: '1ZSzl6', description: 'error message for deselection of last run after status', }); diff --git a/libs/designer/src/lib/ui/settings/sections/runafterconfiguration/runafterActionSelector.tsx b/libs/designer/src/lib/ui/settings/sections/runafterconfiguration/runafterActionSelector.tsx index 79a06110670..e94d3bdc24e 100644 --- a/libs/designer/src/lib/ui/settings/sections/runafterconfiguration/runafterActionSelector.tsx +++ b/libs/designer/src/lib/ui/settings/sections/runafterconfiguration/runafterActionSelector.tsx @@ -63,9 +63,14 @@ export const RunAfterActionSelector = ({ readOnly }: { readOnly: boolean }) => { .filter(([key]) => !subNodes.includes(key) && key !== currentNodeId) .map(([key, value]) => ({ ...value, id: key })); }); - const RUN_AFTER_CONFIGURATION_FILTER_ACTIONS = intl.formatMessage({ defaultMessage: 'Filter Actions', description: 'Filter Actions' }); + const RUN_AFTER_CONFIGURATION_FILTER_ACTIONS = intl.formatMessage({ + defaultMessage: 'Filter Actions', + id: 'AHB418', + description: 'Filter Actions', + }); const RUN_AFTER_CONFIGURATION_SELECT_ACTIONS_TITLE = intl.formatMessage({ defaultMessage: 'Select Actions', + id: 'zTKAc9', description: 'Select Actions', }); diff --git a/libs/designer/src/lib/ui/settings/sections/runafterconfiguration/runafteractiondetails.tsx b/libs/designer/src/lib/ui/settings/sections/runafterconfiguration/runafteractiondetails.tsx index 3fbb4acbd1f..2000de1908b 100644 --- a/libs/designer/src/lib/ui/settings/sections/runafterconfiguration/runafteractiondetails.tsx +++ b/libs/designer/src/lib/ui/settings/sections/runafterconfiguration/runafteractiondetails.tsx @@ -60,10 +60,12 @@ export const RunAfterActionDetails = ({ const expandAriaLabel = intl.formatMessage({ defaultMessage: 'Expand', + id: 'iU1OJh', description: 'An accessible label for expand toggle icon', }); const collapseAriaLabel = intl.formatMessage({ defaultMessage: 'Collapse', + id: 'PQOiAc', description: 'An accessible label for collapse toggle icon', }); @@ -122,6 +124,7 @@ const DeleteButton = ({ visible, onDelete }: DeleteButtonProps): JSX.Element | n const MENU_DELETE = intl.formatMessage({ defaultMessage: 'Delete', + id: 's7nGyC', description: 'Delete Button', }); function handleDelete(e: MouseEvent): void { diff --git a/libs/designer/src/lib/ui/settings/sections/runafterconfiguration/runafteractionstatuses.tsx b/libs/designer/src/lib/ui/settings/sections/runafterconfiguration/runafteractionstatuses.tsx index b2a164fff09..19cd764e09a 100644 --- a/libs/designer/src/lib/ui/settings/sections/runafterconfiguration/runafteractionstatuses.tsx +++ b/libs/designer/src/lib/ui/settings/sections/runafterconfiguration/runafteractionstatuses.tsx @@ -19,6 +19,7 @@ export function RunAfterActionStatuses({ isReadOnly, statuses, onStatusChange }: id: RUN_AFTER_STATUS.SUCCEEDED, label: intl.formatMessage({ defaultMessage: 'Is successful', + id: 'rh5g4p', description: 'Successful run', }), icon: , @@ -27,6 +28,7 @@ export function RunAfterActionStatuses({ isReadOnly, statuses, onStatusChange }: id: RUN_AFTER_STATUS.TIMEDOUT, label: intl.formatMessage({ defaultMessage: 'Has timed out', + id: 'nmFupX', description: 'Timed out run', }), icon: , @@ -35,6 +37,7 @@ export function RunAfterActionStatuses({ isReadOnly, statuses, onStatusChange }: id: RUN_AFTER_STATUS.SKIPPED, label: intl.formatMessage({ defaultMessage: 'Is skipped', + id: 'I3mifR', description: 'Skipped run', }), icon: , @@ -43,6 +46,7 @@ export function RunAfterActionStatuses({ isReadOnly, statuses, onStatusChange }: id: RUN_AFTER_STATUS.FAILED, label: intl.formatMessage({ defaultMessage: 'Has failed', + id: 'O+3Y9f', description: 'Failed run', }), icon: , diff --git a/libs/designer/src/lib/ui/settings/sections/security.tsx b/libs/designer/src/lib/ui/settings/sections/security.tsx index c6d7ed91de8..3a7c4cc3e68 100644 --- a/libs/designer/src/lib/ui/settings/sections/security.tsx +++ b/libs/designer/src/lib/ui/settings/sections/security.tsx @@ -26,34 +26,42 @@ export const Security = ({ const operationInfo = useOperationInfo(nodeId); const onText = intl.formatMessage({ defaultMessage: 'On', + id: '2tTQ0A', description: 'label when setting is on', }); const offText = intl.formatMessage({ defaultMessage: 'Off', + id: '1htSs7', description: 'label when setting is off', }); const secureInputsTitle = intl.formatMessage({ defaultMessage: 'Secure Inputs', + id: '1ejxkP', description: 'title for the secure inputs setting', }); const secureInputsDescription = intl.formatMessage({ defaultMessage: 'Enabling secure inputs will automatically secure outputs.', + id: 'jfU6pn', description: 'description of the secure inputs setting', }); const secureInputsTooltipText = intl.formatMessage({ defaultMessage: 'Secure inputs of the operation', + id: '632t9E', description: 'description of the secure inputs setting', }); const secureOutputsTitle = intl.formatMessage({ defaultMessage: 'Secure Outputs', + id: 'FDWfqM', description: 'title for secure outputs setting', }); const secureOutputsTooltipText = intl.formatMessage({ defaultMessage: 'Secure outputs of the operation and references of output properties', + id: 'iSiVB0', description: 'description of secure outputs setting', }); const securityTitle = intl.formatMessage({ defaultMessage: 'Security', + id: 'ptkf0D', description: 'title of security setting section', }); diff --git a/libs/designer/src/lib/ui/settings/sections/tracking.tsx b/libs/designer/src/lib/ui/settings/sections/tracking.tsx index 6d82c2db288..7e414a5ed91 100644 --- a/libs/designer/src/lib/ui/settings/sections/tracking.tsx +++ b/libs/designer/src/lib/ui/settings/sections/tracking.tsx @@ -28,19 +28,23 @@ export const Tracking = ({ const trackedPropertiesTitle = intl.formatMessage({ defaultMessage: 'Tracked properties', + id: 'Pk4cb+', description: 'title for tracked properties setting', }); const clientIdTrackingTitle = intl.formatMessage({ defaultMessage: 'Custom Tracking Id', + id: 'SmCQys', description: 'title for client tracking id setting', }); const clientTrackingTootltipText = intl.formatMessage({ defaultMessage: 'Set the tracking id for the run. For split-on this tracking id is for the initiating request', + id: 'BvCnOv', description: 'description for client tracking id setting', }); const trackingTitle = intl.formatMessage({ defaultMessage: 'Tracking', + id: '0KMjv6', description: 'title for tracking component', }); diff --git a/libs/designer/src/lib/ui/settings/settingsection.tsx b/libs/designer/src/lib/ui/settings/settingsection.tsx index 9c46cb9af9e..c138c6b2a54 100644 --- a/libs/designer/src/lib/ui/settings/settingsection.tsx +++ b/libs/designer/src/lib/ui/settings/settingsection.tsx @@ -148,18 +148,22 @@ export const SettingsSection: FC = ({ const intl = useIntl(); const expandedLabel = intl.formatMessage({ defaultMessage: 'Expanded', + id: 'r4zp7m', description: 'A label to represent setting section being expanded', }); const collapsedLabel = intl.formatMessage({ defaultMessage: 'Collapsed', + id: 'PDMP/Z', description: 'A label to represent setting section being collapsed', }); const expandAriaLabel = intl.formatMessage({ defaultMessage: 'Click to Collapse', + id: 'hJbr09', description: 'An accessible label for button to collapse setting section', }); const collapseAriaLabel = intl.formatMessage({ defaultMessage: 'Click to Expand', + id: 'qdUeUk', description: 'An accessible label for button to expand setting section', }); const internalSettings = ( @@ -225,6 +229,7 @@ const Setting = ({ id, settings, isReadOnly }: { id?: string; settings: Settings const addNewParamText = intl.formatMessage( { defaultMessage: 'Showing {countShowing} of {countTotal}', + id: 'jTHUFb', description: 'Placeholder text for the number of advanced parameters showing', }, { @@ -235,22 +240,27 @@ const Setting = ({ id, settings, isReadOnly }: { id?: string; settings: Settings const addAllButtonText = intl.formatMessage({ defaultMessage: 'Show all', + id: 'yRDuqj', description: 'Button text to add all advanced parameters', }); const removeAllButtonText = intl.formatMessage({ defaultMessage: 'Clear all', + id: 'bt2CaQ', description: 'Button text to clear all advanced parameters', }); const addAllButtonTooltip = intl.formatMessage({ defaultMessage: 'Show all advanced parameters', + id: '63fQWE', description: 'Button tooltip to add all advanced parameters', }); const removeAllButtonTooltip = intl.formatMessage({ defaultMessage: 'Remove and clear all advanced parameters and their values', + id: 'AhvQ7r', description: 'Button tooltip to remove all advanced parameters', }); const advancedParametersLabel = intl.formatMessage({ defaultMessage: 'Advanced parameters', + id: 'XFzzaw', description: 'The label for advanced parameters', }); @@ -314,7 +324,8 @@ const Setting = ({ id, settings, isReadOnly }: { id?: string; settings: Settings const removeParamTooltip = intl.formatMessage( { - defaultMessage: "Remove parameter ''{parameterName}'' and its value", + defaultMessage: `Remove parameter ''{parameterName}'' and its value`, + id: 'uxt1xW', description: 'Tooltip for button to remove parameter. Do not remove the double single quotes around the display name, as it is needed to wrap the placeholder text.', }, diff --git a/libs/designer/src/lib/ui/settings/validation/validation.ts b/libs/designer/src/lib/ui/settings/validation/validation.ts index e46e8994b14..a68b87574d4 100644 --- a/libs/designer/src/lib/ui/settings/validation/validation.ts +++ b/libs/designer/src/lib/ui/settings/validation/validation.ts @@ -42,15 +42,18 @@ export const validateNodeSettings = ( const triggerConditionEmpty = intl.formatMessage({ defaultMessage: 'Trigger condition cannot be empty', + id: 'DsPDVB', description: 'error message for empty trigger condition', }); const pagingCount = intl.formatMessage({ defaultMessage: 'Paging count invalid. Value must be a number greater than 0', + id: '2pCFsW', description: 'error message for invalid paging count', }); const pagingCountMax = intl.formatMessage( { defaultMessage: 'Paging count exceeds maximum value of {max}', + id: 'QhKk80', description: 'error message for max-exceeding paging count', }, { max: constants.MAX_PAGING_COUNT } @@ -59,6 +62,7 @@ export const validateNodeSettings = ( const retryCountInvalidText = intl.formatMessage( { defaultMessage: 'Retry Policy count is invalid (Must be from {min} to {max})', + id: 'Z9PWl/', description: 'error message for invalid retry count', }, { @@ -68,21 +72,25 @@ export const validateNodeSettings = ( ); const retryIntervalInvalidText = intl.formatMessage({ defaultMessage: 'Retry Policy Interval is invalid, must match ISO 8601 duration format', + id: 'DEKsll', description: 'error message for invalid retry interval', }); const retryMinIntervalInvalidText = intl.formatMessage({ defaultMessage: 'Retry Policy Minimum Interval is invalid, must match ISO 8601 duration format', + id: 'X4SuNU', description: 'error message for invalid minimum retry interval', }); const retryMaxIntervalInvalidText = intl.formatMessage({ defaultMessage: 'Retry Policy Maximum Interval is invalid, must match ISO 8601 duration format', + id: 'F6+icQ', description: 'error message for maximum invalid retry interval', }); const requestOptionsInvalidText = intl.formatMessage({ defaultMessage: 'Timeout value is invalid, must match ISO 8601 duration format', + id: '6VV7OY', description: 'error message for invalid timeout value', }); diff --git a/libs/logic-apps-shared/jest.config.ts b/libs/logic-apps-shared/jest.config.ts index 120e6a5356b..c6201c3edb0 100644 --- a/libs/logic-apps-shared/jest.config.ts +++ b/libs/logic-apps-shared/jest.config.ts @@ -8,15 +8,6 @@ export default { 'babel-jest', { presets: ['@nrwl/react/babel'], - plugins: [ - [ - 'formatjs', - { - idInterpolationPattern: '[sha512:contenthash:base64:6]', - ast: true, - }, - ], - ], }, ], '^.+\\.svg$': '../../__mocks__/svgTransform.js', diff --git a/libs/logic-apps-shared/src/parsers/lib/common/helpers/utils.ts b/libs/logic-apps-shared/src/parsers/lib/common/helpers/utils.ts index 211853315e6..53da83f8672 100644 --- a/libs/logic-apps-shared/src/parsers/lib/common/helpers/utils.ts +++ b/libs/logic-apps-shared/src/parsers/lib/common/helpers/utils.ts @@ -59,10 +59,12 @@ export function getEnum(parameter: SchemaObject, required: boolean | undefined): const intl = getIntl(); const TrueDisplayName = intl.formatMessage({ defaultMessage: 'Yes', + id: 'k5tGEr', description: 'This is the boolean value for Yes', }); const FalseDisplayName = intl.formatMessage({ defaultMessage: 'No', + id: 'rAyuzv', description: 'This is the boolean value for No', }); @@ -240,20 +242,21 @@ export function getKnownTitles(name: string): string { const intl = getIntl(); switch (name) { case OutputKeys.Body: - return intl.formatMessage({ defaultMessage: 'Body', description: 'Display name for body outputs' }); + return intl.formatMessage({ defaultMessage: 'Body', id: 'ZCFMoe', description: 'Display name for body outputs' }); case OutputKeys.Headers: - return intl.formatMessage({ defaultMessage: 'Headers', description: 'Display name for headers in outputs' }); + return intl.formatMessage({ defaultMessage: 'Headers', id: 'N4dEVo', description: 'Display name for headers in outputs' }); case OutputKeys.Outputs: - return intl.formatMessage({ defaultMessage: 'Outputs', description: 'Display name for operation outputs' }); + return intl.formatMessage({ defaultMessage: 'Outputs', id: 'vT0DCP', description: 'Display name for operation outputs' }); case OutputKeys.Queries: - return intl.formatMessage({ defaultMessage: 'Queries', description: 'Display name for queries in outputs' }); + return intl.formatMessage({ defaultMessage: 'Queries', id: 'w16qh+', description: 'Display name for queries in outputs' }); case OutputKeys.StatusCode: - return intl.formatMessage({ defaultMessage: 'Status Code', description: 'Display name for status code in outputs' }); + return intl.formatMessage({ defaultMessage: 'Status Code', id: 'x10E1p', description: 'Display name for status code in outputs' }); case OutputKeys.Item: - return intl.formatMessage({ defaultMessage: 'Item', description: 'Display name for item output' }); + return intl.formatMessage({ defaultMessage: 'Item', id: 'oDHXKh', description: 'Display name for item output' }); case OutputKeys.PathParameters: return intl.formatMessage({ defaultMessage: 'Path Parameters', + id: 'BJNUxN', description: 'Display name for relative path parameters in trigger outputs', }); default: diff --git a/libs/logic-apps-shared/src/parsers/lib/common/schemaprocessor.ts b/libs/logic-apps-shared/src/parsers/lib/common/schemaprocessor.ts index 4c6a64fab10..e092659f7f9 100644 --- a/libs/logic-apps-shared/src/parsers/lib/common/schemaprocessor.ts +++ b/libs/logic-apps-shared/src/parsers/lib/common/schemaprocessor.ts @@ -167,7 +167,7 @@ export class SchemaProcessor { const title = this.options.isInputSchema ? schema.title || (this.options.currentKey === ParameterKeyUtility.WildIndexSegment - ? intl.formatMessage({ defaultMessage: 'Item', description: 'Label for single item inside an array.' }) + ? intl.formatMessage({ defaultMessage: 'Item', id: 'QbJDi7', description: 'Label for single item inside an array.' }) : this.options.currentKey) : schema.title; const originalTitlePrefix = this.options.titlePrefix; @@ -562,7 +562,7 @@ export class SchemaProcessor { const titleText = title ? title : key === ParameterKeyUtility.WildIndexSegment - ? intl.formatMessage({ defaultMessage: 'Item', description: 'Label for single item inside an array.' }) + ? intl.formatMessage({ defaultMessage: 'Item', id: 'QbJDi7', description: 'Label for single item inside an array.' }) : getKnownTitlesFromKey(keyPrefix) ?? getKnownTitles(name) ?? key; const titlePrefix = this.options.titlePrefix || this.options.summaryPrefix; diff --git a/libs/logic-apps-shared/src/parsers/lib/expression/builder.ts b/libs/logic-apps-shared/src/parsers/lib/expression/builder.ts index 9e224816f42..5de457630ab 100644 --- a/libs/logic-apps-shared/src/parsers/lib/expression/builder.ts +++ b/libs/logic-apps-shared/src/parsers/lib/expression/builder.ts @@ -57,6 +57,7 @@ export class ExpressionBuilder { * @return {string} */ public buildExpression(expression: Expression): string { + const intl = getIntl(); switch (expression.type) { case ExpressionType.NullLiteral: case ExpressionType.BooleanLiteral: @@ -71,9 +72,10 @@ export class ExpressionBuilder { default: throw new ExpressionBuilderException( - getIntl().formatMessage( + intl.formatMessage( { defaultMessage: `Invalid expression type ''{type}''.`, + id: 'yjierd', description: 'Error message on invalid expression type during building. Do not remove the double single quotes around the placeholder text, as it is needed to wrap the placeholder text in single quotes.', }, diff --git a/libs/logic-apps-shared/src/parsers/lib/expression/evaluator.ts b/libs/logic-apps-shared/src/parsers/lib/expression/evaluator.ts index 2162c11afa1..5ab4d8ca2f7 100644 --- a/libs/logic-apps-shared/src/parsers/lib/expression/evaluator.ts +++ b/libs/logic-apps-shared/src/parsers/lib/expression/evaluator.ts @@ -76,7 +76,7 @@ export class ExpressionEvaluator { // NOTE: This method is best effort to evaluate if the value is template expression, if (!expression) { throw new ExpressionEvaluatorException( - intl.formatMessage({ defaultMessage: 'Empty value', description: 'Error message on expression evaluation' }), + intl.formatMessage({ defaultMessage: 'Empty value', id: 'AEguAy', description: 'Error message on expression evaluation' }), ExpressionEvaluatorErrorCode.EMPTY_VALUE ); } @@ -125,7 +125,7 @@ export class ExpressionEvaluator { if (/^@/.test(expression)) { throw new ExpressionEvaluatorException( intl.formatMessage( - { defaultMessage: `Unrecognized expression ''{expression}''`, description: 'Error message on invalid expression' }, + { defaultMessage: `Unrecognized expression ''{expression}''`, id: 'Rq2U5n', description: 'Error message on invalid expression' }, { expression } ), ExpressionEvaluatorErrorCode.UNRECOGNIZED_EXPRESSION @@ -135,7 +135,7 @@ export class ExpressionEvaluator { if (/@{/.test(expression)) { throw new ExpressionEvaluatorException( intl.formatMessage( - { defaultMessage: `Unrecognized expression ''{expression}''`, description: 'Error message on invalid expression' }, + { defaultMessage: `Unrecognized expression ''{expression}''`, id: 'Rq2U5n', description: 'Error message on invalid expression' }, { expression } ), ExpressionEvaluatorErrorCode.UNRECOGNIZED_EXPRESSION diff --git a/libs/logic-apps-shared/src/parsers/lib/swagger/parameterprocessor.ts b/libs/logic-apps-shared/src/parsers/lib/swagger/parameterprocessor.ts index 37117310d5a..796cce4f3c2 100644 --- a/libs/logic-apps-shared/src/parsers/lib/swagger/parameterprocessor.ts +++ b/libs/logic-apps-shared/src/parsers/lib/swagger/parameterprocessor.ts @@ -298,7 +298,7 @@ export class ParametersProcessor { editorOptions: parameter[Constants.ExtensionProperties.EditorOptions], recommended: undefined, summary: intl.formatMessage( - { defaultMessage: '{fileName} (file name)', description: 'Title for file name parameter' }, + { defaultMessage: '{fileName} (file name)', id: 'UYRIS/', description: 'Title for file name parameter' }, { fileName: parameter[Constants.ExtensionProperties.Summary] } ), visibility: undefined, diff --git a/libs/logic-apps-shared/src/utils/src/lib/helpers/connections.ts b/libs/logic-apps-shared/src/utils/src/lib/helpers/connections.ts index 246c638346e..35498d05ef3 100644 --- a/libs/logic-apps-shared/src/utils/src/lib/helpers/connections.ts +++ b/libs/logic-apps-shared/src/utils/src/lib/helpers/connections.ts @@ -181,6 +181,7 @@ export function getIdentityDropdownOptions(managedIdentity: ManagedIdentity | un const { type, userAssignedIdentities } = managedIdentity; const systemAssigned = intl.formatMessage({ defaultMessage: 'System-assigned managed identity', + id: 'gc6v4X', description: 'Text for system assigned managed identity', }); diff --git a/libs/logic-apps-shared/src/utils/src/lib/helpers/recurrence.ts b/libs/logic-apps-shared/src/utils/src/lib/helpers/recurrence.ts index 989d48ee6fc..b285e055833 100644 --- a/libs/logic-apps-shared/src/utils/src/lib/helpers/recurrence.ts +++ b/libs/logic-apps-shared/src/utils/src/lib/helpers/recurrence.ts @@ -3,27 +3,27 @@ import type { IntlShape } from 'react-intl'; export const getFrequencyValues = (intl: IntlShape) => { return [ { - displayName: intl.formatMessage({ defaultMessage: 'Month', description: 'Frequency value ' }), + displayName: intl.formatMessage({ defaultMessage: 'Month', id: 'HH970i', description: 'Frequency value ' }), value: 'Month', }, { - displayName: intl.formatMessage({ defaultMessage: 'Week', description: 'Frequency value ' }), + displayName: intl.formatMessage({ defaultMessage: 'Week', id: 'V5f3ha', description: 'Frequency value ' }), value: 'Week', }, { - displayName: intl.formatMessage({ defaultMessage: 'Day', description: 'Frequency value ' }), + displayName: intl.formatMessage({ defaultMessage: 'Day', id: '5dCAjy', description: 'Frequency value ' }), value: 'Day', }, { - displayName: intl.formatMessage({ defaultMessage: 'Hour', description: 'Frequency value ' }), + displayName: intl.formatMessage({ defaultMessage: 'Hour', id: '0upuCv', description: 'Frequency value ' }), value: 'Hour', }, { - displayName: intl.formatMessage({ defaultMessage: 'Minute', description: 'Frequency value ' }), + displayName: intl.formatMessage({ defaultMessage: 'Minute', id: 'X/7je+', description: 'Frequency value ' }), value: 'Minute', }, { - displayName: intl.formatMessage({ defaultMessage: 'Second', description: 'Frequency value ' }), + displayName: intl.formatMessage({ defaultMessage: 'Second', id: 'aV/nLS', description: 'Frequency value ' }), value: 'Second', }, ]; @@ -32,206 +32,273 @@ export const getFrequencyValues = (intl: IntlShape) => { export const getTimezoneValues = (intl: IntlShape) => { return [ { - displayName: intl.formatMessage({ defaultMessage: '(UTC-12:00) International Date Line West', description: 'Time zone value ' }), + displayName: intl.formatMessage({ + defaultMessage: '(UTC-12:00) International Date Line West', + id: 'IS4vNX', + description: 'Time zone value ', + }), value: 'Dateline Standard Time', }, { - displayName: intl.formatMessage({ defaultMessage: '(UTC-11:00) Coordinated Universal Time-11', description: 'Time zone value ' }), + displayName: intl.formatMessage({ + defaultMessage: '(UTC-11:00) Coordinated Universal Time-11', + id: 'I41vZ/', + description: 'Time zone value ', + }), value: 'UTC-11', }, { - displayName: intl.formatMessage({ defaultMessage: '(UTC-10:00) Aleutian Islands', description: 'Time zone value ' }), + displayName: intl.formatMessage({ defaultMessage: '(UTC-10:00) Aleutian Islands', id: 'jQ7UzV', description: 'Time zone value ' }), value: 'Aleutian Standard Time', }, { - displayName: intl.formatMessage({ defaultMessage: '(UTC-10:00) Hawaii', description: 'Time zone value ' }), + displayName: intl.formatMessage({ defaultMessage: '(UTC-10:00) Hawaii', id: 'Q+ZZHI', description: 'Time zone value ' }), value: 'Hawaiian Standard Time', }, { - displayName: intl.formatMessage({ defaultMessage: '(UTC-09:30) Marquesas Islands', description: 'Time zone value ' }), + displayName: intl.formatMessage({ defaultMessage: '(UTC-09:30) Marquesas Islands', id: 'wtj07J', description: 'Time zone value ' }), value: 'Marquesas Standard Time', }, { - displayName: intl.formatMessage({ defaultMessage: '(UTC-09:00) Alaska', description: 'Time zone value ' }), + displayName: intl.formatMessage({ defaultMessage: '(UTC-09:00) Alaska', id: 'JzRzVp', description: 'Time zone value ' }), value: 'Alaskan Standard Time', }, { - displayName: intl.formatMessage({ defaultMessage: '(UTC-09:00) Coordinated Universal Time-09', description: 'Time zone value ' }), + displayName: intl.formatMessage({ + defaultMessage: '(UTC-09:00) Coordinated Universal Time-09', + id: 'u81zB9', + description: 'Time zone value ', + }), value: 'UTC-09', }, { - displayName: intl.formatMessage({ defaultMessage: '(UTC-08:00) Baja California', description: 'Time zone value ' }), + displayName: intl.formatMessage({ defaultMessage: '(UTC-08:00) Baja California', id: 'oO12r6', description: 'Time zone value ' }), value: 'Pacific Standard Time (Mexico)', }, { - displayName: intl.formatMessage({ defaultMessage: '(UTC-08:00) Coordinated Universal Time-08', description: 'Time zone value ' }), + displayName: intl.formatMessage({ + defaultMessage: '(UTC-08:00) Coordinated Universal Time-08', + id: 'IAmvpa', + description: 'Time zone value ', + }), value: 'UTC-08', }, { - displayName: intl.formatMessage({ defaultMessage: '(UTC-08:00) Pacific Time (US & Canada)', description: 'Time zone value ' }), + displayName: intl.formatMessage({ + defaultMessage: '(UTC-08:00) Pacific Time (US & Canada)', + id: 'tZIlCA', + description: 'Time zone value ', + }), value: 'Pacific Standard Time', }, { - displayName: intl.formatMessage({ defaultMessage: '(UTC-07:00) Arizona', description: 'Time zone value ' }), + displayName: intl.formatMessage({ defaultMessage: '(UTC-07:00) Arizona', id: 'DEu7oK', description: 'Time zone value ' }), value: 'US Mountain Standard Time', }, { - displayName: intl.formatMessage({ defaultMessage: '(UTC-07:00) Chihuahua, La Paz, Mazatlan', description: 'Time zone value ' }), + displayName: intl.formatMessage({ + defaultMessage: '(UTC-07:00) Chihuahua, La Paz, Mazatlan', + id: 'FL/0Zp', + description: 'Time zone value ', + }), value: 'Mountain Standard Time (Mexico)', }, { - displayName: intl.formatMessage({ defaultMessage: '(UTC-07:00) Mountain Time (US & Canada)', description: 'Time zone value ' }), + displayName: intl.formatMessage({ + defaultMessage: '(UTC-07:00) Mountain Time (US & Canada)', + id: 'UT2ozj', + description: 'Time zone value ', + }), value: 'Mountain Standard Time', }, { - displayName: intl.formatMessage({ defaultMessage: '(UTC-06:00) Central America', description: 'Time zone value ' }), + displayName: intl.formatMessage({ defaultMessage: '(UTC-06:00) Central America', id: 'eFnLWK', description: 'Time zone value ' }), value: 'Central America Standard Time', }, { - displayName: intl.formatMessage({ defaultMessage: '(UTC-06:00) Central Time (US & Canada)', description: 'Time zone value ' }), + displayName: intl.formatMessage({ + defaultMessage: '(UTC-06:00) Central Time (US & Canada)', + id: '83PYuA', + description: 'Time zone value ', + }), value: 'Central Standard Time', }, { - displayName: intl.formatMessage({ defaultMessage: '(UTC-06:00) Easter Island', description: 'Time zone value ' }), + displayName: intl.formatMessage({ defaultMessage: '(UTC-06:00) Easter Island', id: 'TjMkDP', description: 'Time zone value ' }), value: 'Easter Island Standard Time', }, { displayName: intl.formatMessage({ defaultMessage: '(UTC-06:00) Guadalajara, Mexico City, Monterrey', + id: 'ginGIZ', description: 'Time zone value ', }), value: 'Central Standard Time (Mexico)', }, { - displayName: intl.formatMessage({ defaultMessage: '(UTC-06:00) Saskatchewan', description: 'Time zone value ' }), + displayName: intl.formatMessage({ defaultMessage: '(UTC-06:00) Saskatchewan', id: '/RS9F7', description: 'Time zone value ' }), value: 'Canada Central Standard Time', }, { - displayName: intl.formatMessage({ defaultMessage: '(UTC-05:00) Bogota, Lima, Quito, Rio Branco', description: 'Time zone value ' }), + displayName: intl.formatMessage({ + defaultMessage: '(UTC-05:00) Bogota, Lima, Quito, Rio Branco', + id: 'kSK9Pq', + description: 'Time zone value ', + }), value: 'SA Pacific Standard Time', }, { - displayName: intl.formatMessage({ defaultMessage: '(UTC-05:00) Chetumal', description: 'Time zone value ' }), + displayName: intl.formatMessage({ defaultMessage: '(UTC-05:00) Chetumal', id: 'sFbnCs', description: 'Time zone value ' }), value: 'Eastern Standard Time (Mexico)', }, { - displayName: intl.formatMessage({ defaultMessage: '(UTC-05:00) Eastern Time (US & Canada)', description: 'Time zone value ' }), + displayName: intl.formatMessage({ + defaultMessage: '(UTC-05:00) Eastern Time (US & Canada)', + id: '7PtWvu', + description: 'Time zone value ', + }), value: 'Eastern Standard Time', }, { - displayName: intl.formatMessage({ defaultMessage: '(UTC-05:00) Haiti', description: 'Time zone value ' }), + displayName: intl.formatMessage({ defaultMessage: '(UTC-05:00) Haiti', id: 'fVG5aD', description: 'Time zone value ' }), value: 'Haiti Standard Time', }, { - displayName: intl.formatMessage({ defaultMessage: '(UTC-05:00) Havana', description: 'Time zone value ' }), + displayName: intl.formatMessage({ defaultMessage: '(UTC-05:00) Havana', id: 'Cb6IEq', description: 'Time zone value ' }), value: 'Cuba Standard Time', }, { - displayName: intl.formatMessage({ defaultMessage: '(UTC-05:00) Indiana (East)', description: 'Time zone value ' }), + displayName: intl.formatMessage({ defaultMessage: '(UTC-05:00) Indiana (East)', id: 'Xv5CGN', description: 'Time zone value ' }), value: 'US Eastern Standard Time', }, { - displayName: intl.formatMessage({ defaultMessage: '(UTC-04:00) Asuncion', description: 'Time zone value ' }), + displayName: intl.formatMessage({ defaultMessage: '(UTC-04:00) Asuncion', id: '/km5eO', description: 'Time zone value ' }), value: 'Paraguay Standard Time', }, { - displayName: intl.formatMessage({ defaultMessage: '(UTC-04:00) Atlantic Time (Canada)', description: 'Time zone value ' }), + displayName: intl.formatMessage({ + defaultMessage: '(UTC-04:00) Atlantic Time (Canada)', + id: 'YZ5Kwe', + description: 'Time zone value ', + }), value: 'Atlantic Standard Time', }, { - displayName: intl.formatMessage({ defaultMessage: '(UTC-04:00) Caracas', description: 'Time zone value ' }), + displayName: intl.formatMessage({ defaultMessage: '(UTC-04:00) Caracas', id: 'zkeKWE', description: 'Time zone value ' }), value: 'Venezuela Standard Time', }, { - displayName: intl.formatMessage({ defaultMessage: '(UTC-04:00) Cuiaba', description: 'Time zone value ' }), + displayName: intl.formatMessage({ defaultMessage: '(UTC-04:00) Cuiaba', id: 'cyEBus', description: 'Time zone value ' }), value: 'Central Brazilian Standard Time', }, { displayName: intl.formatMessage({ defaultMessage: '(UTC-04:00) Georgetown, La Paz, Manaus, San Juan', + id: 'NGJ00e', description: 'Time zone value ', }), value: 'SA Western Standard Time', }, { - displayName: intl.formatMessage({ defaultMessage: '(UTC-04:00) Santiago', description: 'Time zone value ' }), + displayName: intl.formatMessage({ defaultMessage: '(UTC-04:00) Santiago', id: 'n42uAO', description: 'Time zone value ' }), value: 'Pacific SA Standard Time', }, { - displayName: intl.formatMessage({ defaultMessage: '(UTC-04:00) Turks and Caicos', description: 'Time zone value ' }), + displayName: intl.formatMessage({ defaultMessage: '(UTC-04:00) Turks and Caicos', id: '7EZ2oY', description: 'Time zone value ' }), value: 'Turks And Caicos Standard Time', }, { - displayName: intl.formatMessage({ defaultMessage: '(UTC-03:30) Newfoundland', description: 'Time zone value ' }), + displayName: intl.formatMessage({ defaultMessage: '(UTC-03:30) Newfoundland', id: 'fifSPb', description: 'Time zone value ' }), value: 'Newfoundland Standard Time', }, { - displayName: intl.formatMessage({ defaultMessage: '(UTC-03:00) Araguaina', description: 'Time zone value ' }), + displayName: intl.formatMessage({ defaultMessage: '(UTC-03:00) Araguaina', id: 'NMpFs6', description: 'Time zone value ' }), value: 'Tocantins Standard Time', }, { - displayName: intl.formatMessage({ defaultMessage: '(UTC-03:00) Brasilia', description: 'Time zone value ' }), + displayName: intl.formatMessage({ defaultMessage: '(UTC-03:00) Brasilia', id: '9LLnyJ', description: 'Time zone value ' }), value: 'E. South America Standard Time', }, { - displayName: intl.formatMessage({ defaultMessage: '(UTC-03:00) Cayenne, Fortaleza', description: 'Time zone value ' }), + displayName: intl.formatMessage({ defaultMessage: '(UTC-03:00) Cayenne, Fortaleza', id: 'LdITnG', description: 'Time zone value ' }), value: 'SA Eastern Standard Time', }, { - displayName: intl.formatMessage({ defaultMessage: '(UTC-03:00) City of Buenos Aires', description: 'Time zone value ' }), + displayName: intl.formatMessage({ + defaultMessage: '(UTC-03:00) City of Buenos Aires', + id: 'GE14Xd', + description: 'Time zone value ', + }), value: 'Argentina Standard Time', }, { - displayName: intl.formatMessage({ defaultMessage: '(UTC-03:00) Greenland', description: 'Time zone value ' }), + displayName: intl.formatMessage({ defaultMessage: '(UTC-03:00) Greenland', id: 'uh/+ZN', description: 'Time zone value ' }), value: 'Greenland Standard Time', }, { - displayName: intl.formatMessage({ defaultMessage: '(UTC-03:00) Montevideo', description: 'Time zone value ' }), + displayName: intl.formatMessage({ defaultMessage: '(UTC-03:00) Montevideo', id: 'X2idLs', description: 'Time zone value ' }), value: 'Montevideo Standard Time', }, { - displayName: intl.formatMessage({ defaultMessage: '(UTC-03:00) Saint Pierre and Miquelon', description: 'Time zone value ' }), + displayName: intl.formatMessage({ + defaultMessage: '(UTC-03:00) Saint Pierre and Miquelon', + id: 'xSSfKC', + description: 'Time zone value ', + }), value: 'Saint Pierre Standard Time', }, { - displayName: intl.formatMessage({ defaultMessage: '(UTC-03:00) Salvador', description: 'Time zone value ' }), + displayName: intl.formatMessage({ defaultMessage: '(UTC-03:00) Salvador', id: '3MTSYZ', description: 'Time zone value ' }), value: 'Bahia Standard Time', }, { - displayName: intl.formatMessage({ defaultMessage: '(UTC-02:00) Coordinated Universal Time-02', description: 'Time zone value ' }), + displayName: intl.formatMessage({ + defaultMessage: '(UTC-02:00) Coordinated Universal Time-02', + id: 'HYhDYB', + description: 'Time zone value ', + }), value: 'UTC-02', }, { - displayName: intl.formatMessage({ defaultMessage: '(UTC-02:00) Mid-Atlantic - Old', description: 'Time zone value ' }), + displayName: intl.formatMessage({ defaultMessage: '(UTC-02:00) Mid-Atlantic - Old', id: 'Cb8pv0', description: 'Time zone value ' }), value: 'Mid-Atlantic Standard Time', }, { - displayName: intl.formatMessage({ defaultMessage: '(UTC-01:00) Azores', description: 'Time zone value ' }), + displayName: intl.formatMessage({ defaultMessage: '(UTC-01:00) Azores', id: '1hHFdx', description: 'Time zone value ' }), value: 'Azores Standard Time', }, { - displayName: intl.formatMessage({ defaultMessage: '(UTC-01:00) Cabo Verde Is.', description: 'Time zone value ' }), + displayName: intl.formatMessage({ defaultMessage: '(UTC-01:00) Cabo Verde Is.', id: 'yVFIAQ', description: 'Time zone value ' }), value: 'Cape Verde Standard Time', }, { - displayName: intl.formatMessage({ defaultMessage: '(UTC) Coordinated Universal Time', description: 'Time zone value ' }), + displayName: intl.formatMessage({ + defaultMessage: '(UTC) Coordinated Universal Time', + id: 'uE0A0s', + description: 'Time zone value ', + }), value: 'UTC', }, { - displayName: intl.formatMessage({ defaultMessage: '(UTC+00:00) Casablanca', description: 'Time zone value ' }), + displayName: intl.formatMessage({ defaultMessage: '(UTC+00:00) Casablanca', id: 'hza/cT', description: 'Time zone value ' }), value: 'Morocco Standard Time', }, { - displayName: intl.formatMessage({ defaultMessage: '(UTC+00:00) Dublin, Edinburgh, Lisbon, London', description: 'Time zone value ' }), + displayName: intl.formatMessage({ + defaultMessage: '(UTC+00:00) Dublin, Edinburgh, Lisbon, London', + id: '2hrQOL', + description: 'Time zone value ', + }), value: 'GMT Standard Time', }, { - displayName: intl.formatMessage({ defaultMessage: '(UTC+00:00) Monrovia, Reykjavik', description: 'Time zone value ' }), + displayName: intl.formatMessage({ defaultMessage: '(UTC+00:00) Monrovia, Reykjavik', id: 'Rp5pHU', description: 'Time zone value ' }), value: 'Greenwich Standard Time', }, { displayName: intl.formatMessage({ defaultMessage: '(UTC+01:00) Amsterdam, Berlin, Bern, Rome, Stockholm, Vienna', + id: 'x3dWOL', description: 'Time zone value ', }), value: 'W. Europe Standard Time', @@ -239,6 +306,7 @@ export const getTimezoneValues = (intl: IntlShape) => { { displayName: intl.formatMessage({ defaultMessage: '(UTC+01:00) Belgrade, Bratislava, Budapest, Ljubljana, Prague', + id: 'LV3k48', description: 'Time zone value ', }), value: 'Central Europe Standard Time', @@ -246,337 +314,393 @@ export const getTimezoneValues = (intl: IntlShape) => { { displayName: intl.formatMessage({ defaultMessage: '(UTC+01:00) Brussels, Copenhagen, Madrid, Paris', + id: 'YiOybp', description: 'Time zone value ', }), value: 'Romance Standard Time', }, { - displayName: intl.formatMessage({ defaultMessage: '(UTC+01:00) Sarajevo, Skopje, Warsaw, Zagreb', description: 'Time zone value ' }), + displayName: intl.formatMessage({ + defaultMessage: '(UTC+01:00) Sarajevo, Skopje, Warsaw, Zagreb', + id: 'yucvJE', + description: 'Time zone value ', + }), value: 'Central European Standard Time', }, { - displayName: intl.formatMessage({ defaultMessage: '(UTC+01:00) West Central Africa', description: 'Time zone value ' }), + displayName: intl.formatMessage({ defaultMessage: '(UTC+01:00) West Central Africa', id: 'EaTGcN', description: 'Time zone value ' }), value: 'W. Central Africa Standard Time', }, { - displayName: intl.formatMessage({ defaultMessage: '(UTC+01:00) Windhoek', description: 'Time zone value ' }), + displayName: intl.formatMessage({ defaultMessage: '(UTC+01:00) Windhoek', id: 'l/9YHQ', description: 'Time zone value ' }), value: 'Namibia Standard Time', }, { - displayName: intl.formatMessage({ defaultMessage: '(UTC+02:00) Amman', description: 'Time zone value ' }), + displayName: intl.formatMessage({ defaultMessage: '(UTC+02:00) Amman', id: 'PjBcG3', description: 'Time zone value ' }), value: 'Jordan Standard Time', }, { - displayName: intl.formatMessage({ defaultMessage: '(UTC+02:00) Athens, Bucharest', description: 'Time zone value ' }), + displayName: intl.formatMessage({ defaultMessage: '(UTC+02:00) Athens, Bucharest', id: 'zOvGF8', description: 'Time zone value ' }), value: 'GTB Standard Time', }, { - displayName: intl.formatMessage({ defaultMessage: '(UTC+02:00) Beirut', description: 'Time zone value ' }), + displayName: intl.formatMessage({ defaultMessage: '(UTC+02:00) Beirut', id: 'KlDW+5', description: 'Time zone value ' }), value: 'Middle East Standard Time', }, { - displayName: intl.formatMessage({ defaultMessage: '(UTC+02:00) Cairo', description: 'Time zone value ' }), + displayName: intl.formatMessage({ defaultMessage: '(UTC+02:00) Cairo', id: 'Pq+4a+', description: 'Time zone value ' }), value: 'Egypt Standard Time', }, { - displayName: intl.formatMessage({ defaultMessage: '(UTC+02:00) Chisinau', description: 'Time zone value ' }), + displayName: intl.formatMessage({ defaultMessage: '(UTC+02:00) Chisinau', id: 'DYXoEM', description: 'Time zone value ' }), value: 'E. Europe Standard Time', }, { - displayName: intl.formatMessage({ defaultMessage: '(UTC+02:00) Damascus', description: 'Time zone value ' }), + displayName: intl.formatMessage({ defaultMessage: '(UTC+02:00) Damascus', id: 'Lx8HRl', description: 'Time zone value ' }), value: 'Syria Standard Time', }, { - displayName: intl.formatMessage({ defaultMessage: '(UTC+02:00) Gaza, Hebron', description: 'Time zone value ' }), + displayName: intl.formatMessage({ defaultMessage: '(UTC+02:00) Gaza, Hebron', id: 'hZqQdt', description: 'Time zone value ' }), value: 'West Bank Standard Time', }, { - displayName: intl.formatMessage({ defaultMessage: '(UTC+02:00) Harare, Pretoria', description: 'Time zone value ' }), + displayName: intl.formatMessage({ defaultMessage: '(UTC+02:00) Harare, Pretoria', id: 'i1EQYm', description: 'Time zone value ' }), value: 'South Africa Standard Time', }, { displayName: intl.formatMessage({ defaultMessage: '(UTC+02:00) Helsinki, Kyiv, Riga, Sofia, Tallinn, Vilnius', + id: 'N7E9hd', description: 'Time zone value ', }), value: 'FLE Standard Time', }, { - displayName: intl.formatMessage({ defaultMessage: '(UTC+02:00) Istanbul', description: 'Time zone value ' }), + displayName: intl.formatMessage({ defaultMessage: '(UTC+02:00) Istanbul', id: 'xJQeeC', description: 'Time zone value ' }), value: 'Turkey Standard Time', }, { - displayName: intl.formatMessage({ defaultMessage: '(UTC+02:00) Jerusalem', description: 'Time zone value ' }), + displayName: intl.formatMessage({ defaultMessage: '(UTC+02:00) Jerusalem', id: 'IPwWgu', description: 'Time zone value ' }), value: 'Israel Standard Time', }, { - displayName: intl.formatMessage({ defaultMessage: '(UTC+02:00) Kaliningrad', description: 'Time zone value ' }), + displayName: intl.formatMessage({ defaultMessage: '(UTC+02:00) Kaliningrad', id: 'TlX98E', description: 'Time zone value ' }), value: 'Kaliningrad Standard Time', }, { - displayName: intl.formatMessage({ defaultMessage: '(UTC+02:00) Tripoli', description: 'Time zone value ' }), + displayName: intl.formatMessage({ defaultMessage: '(UTC+02:00) Tripoli', id: 'FxQ2Ts', description: 'Time zone value ' }), value: 'Libya Standard Time', }, { - displayName: intl.formatMessage({ defaultMessage: '(UTC+03:00) Baghdad', description: 'Time zone value ' }), + displayName: intl.formatMessage({ defaultMessage: '(UTC+03:00) Baghdad', id: 'XQ4OCV', description: 'Time zone value ' }), value: 'Arabic Standard Time', }, { - displayName: intl.formatMessage({ defaultMessage: '(UTC+03:00) Kuwait, Riyadh', description: 'Time zone value ' }), + displayName: intl.formatMessage({ defaultMessage: '(UTC+03:00) Kuwait, Riyadh', id: 'p5ZID0', description: 'Time zone value ' }), value: 'Arab Standard Time', }, { - displayName: intl.formatMessage({ defaultMessage: '(UTC+03:00) Minsk', description: 'Time zone value ' }), + displayName: intl.formatMessage({ defaultMessage: '(UTC+03:00) Minsk', id: '1KFpTX', description: 'Time zone value ' }), value: 'Belarus Standard Time', }, { - displayName: intl.formatMessage({ defaultMessage: '(UTC+03:00) Moscow, St. Petersburg, Volgograd', description: 'Time zone value ' }), + displayName: intl.formatMessage({ + defaultMessage: '(UTC+03:00) Moscow, St. Petersburg, Volgograd', + id: 'IxWip7', + description: 'Time zone value ', + }), value: 'Russian Standard Time', }, { - displayName: intl.formatMessage({ defaultMessage: '(UTC+03:00) Nairobi', description: 'Time zone value ' }), + displayName: intl.formatMessage({ defaultMessage: '(UTC+03:00) Nairobi', id: 'XOAcjQ', description: 'Time zone value ' }), value: 'E. Africa Standard Time', }, { - displayName: intl.formatMessage({ defaultMessage: '(UTC+03:30) Tehran', description: 'Time zone value ' }), + displayName: intl.formatMessage({ defaultMessage: '(UTC+03:30) Tehran', id: 'o7bd1o', description: 'Time zone value ' }), value: 'Iran Standard Time', }, { - displayName: intl.formatMessage({ defaultMessage: '(UTC+04:00) Abu Dhabi, Muscat', description: 'Time zone value ' }), + displayName: intl.formatMessage({ defaultMessage: '(UTC+04:00) Abu Dhabi, Muscat', id: 'kVwJXt', description: 'Time zone value ' }), value: 'Arabian Standard Time', }, { - displayName: intl.formatMessage({ defaultMessage: '(UTC+04:00) Astrakhan, Ulyanovsk', description: 'Time zone value ' }), + displayName: intl.formatMessage({ + defaultMessage: '(UTC+04:00) Astrakhan, Ulyanovsk', + id: 'WR1K3z', + description: 'Time zone value ', + }), value: 'Astrakhan Standard Time', }, { - displayName: intl.formatMessage({ defaultMessage: '(UTC+04:00) Baku', description: 'Time zone value ' }), + displayName: intl.formatMessage({ defaultMessage: '(UTC+04:00) Baku', id: 'MPPyI6', description: 'Time zone value ' }), value: 'Azerbaijan Standard Time', }, { - displayName: intl.formatMessage({ defaultMessage: '(UTC+04:00) Izhevsk, Samara', description: 'Time zone value ' }), + displayName: intl.formatMessage({ defaultMessage: '(UTC+04:00) Izhevsk, Samara', id: 'BogxJl', description: 'Time zone value ' }), value: 'Russia Time Zone 3', }, { - displayName: intl.formatMessage({ defaultMessage: '(UTC+04:00) Port Louis', description: 'Time zone value ' }), + displayName: intl.formatMessage({ defaultMessage: '(UTC+04:00) Port Louis', id: 'rxMXmZ', description: 'Time zone value ' }), value: 'Mauritius Standard Time', }, { - displayName: intl.formatMessage({ defaultMessage: '(UTC+04:00) Tbilisi', description: 'Time zone value ' }), + displayName: intl.formatMessage({ defaultMessage: '(UTC+04:00) Tbilisi', id: '06zKZg', description: 'Time zone value ' }), value: 'Georgian Standard Time', }, { - displayName: intl.formatMessage({ defaultMessage: '(UTC+04:00) Yerevan', description: 'Time zone value ' }), + displayName: intl.formatMessage({ defaultMessage: '(UTC+04:00) Yerevan', id: 'RJes1w', description: 'Time zone value ' }), value: 'Caucasus Standard Time', }, { - displayName: intl.formatMessage({ defaultMessage: '(UTC+04:30) Kabul', description: 'Time zone value ' }), + displayName: intl.formatMessage({ defaultMessage: '(UTC+04:30) Kabul', id: 'wxaQwD', description: 'Time zone value ' }), value: 'Afghanistan Standard Time', }, { - displayName: intl.formatMessage({ defaultMessage: '(UTC+05:00) Ashgabat, Tashkent', description: 'Time zone value ' }), + displayName: intl.formatMessage({ defaultMessage: '(UTC+05:00) Ashgabat, Tashkent', id: 'gWyYg0', description: 'Time zone value ' }), value: 'West Asia Standard Time', }, { - displayName: intl.formatMessage({ defaultMessage: '(UTC+05:00) Ekaterinburg', description: 'Time zone value ' }), + displayName: intl.formatMessage({ defaultMessage: '(UTC+05:00) Ekaterinburg', id: 'U0I10w', description: 'Time zone value ' }), value: 'Ekaterinburg Standard Time', }, { - displayName: intl.formatMessage({ defaultMessage: '(UTC+05:00) Islamabad, Karachi', description: 'Time zone value ' }), + displayName: intl.formatMessage({ defaultMessage: '(UTC+05:00) Islamabad, Karachi', id: '/NtebP', description: 'Time zone value ' }), value: 'Pakistan Standard Time', }, { displayName: intl.formatMessage({ defaultMessage: '(UTC+05:30) Chennai, Kolkata, Mumbai, New Delhi', + id: 'YgU88A', description: 'Time zone value ', }), value: 'India Standard Time', }, { - displayName: intl.formatMessage({ defaultMessage: '(UTC+05:30) Sri Jayawardenepura', description: 'Time zone value ' }), + displayName: intl.formatMessage({ defaultMessage: '(UTC+05:30) Sri Jayawardenepura', id: '0B5xDu', description: 'Time zone value ' }), value: 'Sri Lanka Standard Time', }, { - displayName: intl.formatMessage({ defaultMessage: '(UTC+05:45) Kathmandu', description: 'Time zone value ' }), + displayName: intl.formatMessage({ defaultMessage: '(UTC+05:45) Kathmandu', id: 'njGstq', description: 'Time zone value ' }), value: 'Nepal Standard Time', }, { - displayName: intl.formatMessage({ defaultMessage: '(UTC+06:00) Astana', description: 'Time zone value ' }), + displayName: intl.formatMessage({ defaultMessage: '(UTC+06:00) Astana', id: '8ZfbyZ', description: 'Time zone value ' }), value: 'Central Asia Standard Time', }, { - displayName: intl.formatMessage({ defaultMessage: '(UTC+06:00) Dhaka', description: 'Time zone value ' }), + displayName: intl.formatMessage({ defaultMessage: '(UTC+06:00) Dhaka', id: 'P/dnfK', description: 'Time zone value ' }), value: 'Bangladesh Standard Time', }, { - displayName: intl.formatMessage({ defaultMessage: '(UTC+06:00) Novosibirsk', description: 'Time zone value ' }), + displayName: intl.formatMessage({ defaultMessage: '(UTC+06:00) Novosibirsk', id: 'VPh9Jo', description: 'Time zone value ' }), value: 'N. Central Asia Standard Time', }, { - displayName: intl.formatMessage({ defaultMessage: '(UTC+06:30) Yangon (Rangoon)', description: 'Time zone value ' }), + displayName: intl.formatMessage({ defaultMessage: '(UTC+06:30) Yangon (Rangoon)', id: 'uwuGU0', description: 'Time zone value ' }), value: 'Myanmar Standard Time', }, { - displayName: intl.formatMessage({ defaultMessage: '(UTC+07:00) Bangkok, Hanoi, Jakarta', description: 'Time zone value ' }), + displayName: intl.formatMessage({ + defaultMessage: '(UTC+07:00) Bangkok, Hanoi, Jakarta', + id: 'uNHpGB', + description: 'Time zone value ', + }), value: 'SE Asia Standard Time', }, { - displayName: intl.formatMessage({ defaultMessage: '(UTC+07:00) Barnaul, Gorno-Altaysk', description: 'Time zone value ' }), + displayName: intl.formatMessage({ + defaultMessage: '(UTC+07:00) Barnaul, Gorno-Altaysk', + id: 'mCKsFw', + description: 'Time zone value ', + }), value: 'Altai Standard Time', }, { - displayName: intl.formatMessage({ defaultMessage: '(UTC+07:00) Hovd', description: 'Time zone value ' }), + displayName: intl.formatMessage({ defaultMessage: '(UTC+07:00) Hovd', id: 'Pudllg', description: 'Time zone value ' }), value: 'W. Mongolia Standard Time', }, { - displayName: intl.formatMessage({ defaultMessage: '(UTC+07:00) Krasnoyarsk', description: 'Time zone value ' }), + displayName: intl.formatMessage({ defaultMessage: '(UTC+07:00) Krasnoyarsk', id: 'XTeLIw', description: 'Time zone value ' }), value: 'North Asia Standard Time', }, { - displayName: intl.formatMessage({ defaultMessage: '(UTC+07:00) Tomsk', description: 'Time zone value ' }), + displayName: intl.formatMessage({ defaultMessage: '(UTC+07:00) Tomsk', id: 'e4JZEY', description: 'Time zone value ' }), value: 'Tomsk Standard Time', }, { displayName: intl.formatMessage({ defaultMessage: '(UTC+08:00) Beijing, Chongqing, Hong Kong, Urumqi', + id: 'fp8Ry3', description: 'Time zone value ', }), value: 'China Standard Time', }, { - displayName: intl.formatMessage({ defaultMessage: '(UTC+08:00) Irkutsk', description: 'Time zone value ' }), + displayName: intl.formatMessage({ defaultMessage: '(UTC+08:00) Irkutsk', id: '8eKf/c', description: 'Time zone value ' }), value: 'North Asia East Standard Time', }, { - displayName: intl.formatMessage({ defaultMessage: '(UTC+08:00) Kuala Lumpur, Singapore', description: 'Time zone value ' }), + displayName: intl.formatMessage({ + defaultMessage: '(UTC+08:00) Kuala Lumpur, Singapore', + id: '+mAJR3', + description: 'Time zone value ', + }), value: 'Singapore Standard Time', }, { - displayName: intl.formatMessage({ defaultMessage: '(UTC+08:00) Perth', description: 'Time zone value ' }), + displayName: intl.formatMessage({ defaultMessage: '(UTC+08:00) Perth', id: '1eKQwo', description: 'Time zone value ' }), value: 'W. Australia Standard Time', }, { - displayName: intl.formatMessage({ defaultMessage: '(UTC+08:00) Taipei', description: 'Time zone value ' }), + displayName: intl.formatMessage({ defaultMessage: '(UTC+08:00) Taipei', id: 'OgJ9eG', description: 'Time zone value ' }), value: 'Taipei Standard Time', }, { - displayName: intl.formatMessage({ defaultMessage: '(UTC+08:00) Ulaanbaatar', description: 'Time zone value ' }), + displayName: intl.formatMessage({ defaultMessage: '(UTC+08:00) Ulaanbaatar', id: 'Bl4Iv0', description: 'Time zone value ' }), value: 'Ulaanbaatar Standard Time', }, { - displayName: intl.formatMessage({ defaultMessage: '(UTC+08:30) Pyongyang', description: 'Time zone value ' }), + displayName: intl.formatMessage({ defaultMessage: '(UTC+08:30) Pyongyang', id: 'mej02C', description: 'Time zone value ' }), value: 'North Korea Standard Time', }, { - displayName: intl.formatMessage({ defaultMessage: '(UTC+08:45) Eucla', description: 'Time zone value ' }), + displayName: intl.formatMessage({ defaultMessage: '(UTC+08:45) Eucla', id: '5+P3ef', description: 'Time zone value ' }), value: 'Aus Central W. Standard Time', }, { - displayName: intl.formatMessage({ defaultMessage: '(UTC+09:00) Chita', description: 'Time zone value ' }), + displayName: intl.formatMessage({ defaultMessage: '(UTC+09:00) Chita', id: 'sZHTQV', description: 'Time zone value ' }), value: 'Transbaikal Standard Time', }, { - displayName: intl.formatMessage({ defaultMessage: '(UTC+09:00) Osaka, Sapporo, Tokyo', description: 'Time zone value ' }), + displayName: intl.formatMessage({ + defaultMessage: '(UTC+09:00) Osaka, Sapporo, Tokyo', + id: '595Baw', + description: 'Time zone value ', + }), value: 'Tokyo Standard Time', }, { - displayName: intl.formatMessage({ defaultMessage: '(UTC+09:00) Seoul', description: 'Time zone value ' }), + displayName: intl.formatMessage({ defaultMessage: '(UTC+09:00) Seoul', id: 'cHiBAn', description: 'Time zone value ' }), value: 'Korea Standard Time', }, { - displayName: intl.formatMessage({ defaultMessage: '(UTC+09:00) Yakutsk', description: 'Time zone value ' }), + displayName: intl.formatMessage({ defaultMessage: '(UTC+09:00) Yakutsk', id: 'If+p6C', description: 'Time zone value ' }), value: 'Yakutsk Standard Time', }, { - displayName: intl.formatMessage({ defaultMessage: '(UTC+09:30) Adelaide', description: 'Time zone value ' }), + displayName: intl.formatMessage({ defaultMessage: '(UTC+09:30) Adelaide', id: 'Cy0pyB', description: 'Time zone value ' }), value: 'Cen. Australia Standard Time', }, { - displayName: intl.formatMessage({ defaultMessage: '(UTC+09:30) Darwin', description: 'Time zone value ' }), + displayName: intl.formatMessage({ defaultMessage: '(UTC+09:30) Darwin', id: 'rxIJfD', description: 'Time zone value ' }), value: 'AUS Central Standard Time', }, { - displayName: intl.formatMessage({ defaultMessage: '(UTC+10:00) Brisbane', description: 'Time zone value ' }), + displayName: intl.formatMessage({ defaultMessage: '(UTC+10:00) Brisbane', id: 'no/SMg', description: 'Time zone value ' }), value: 'E. Australia Standard Time', }, { - displayName: intl.formatMessage({ defaultMessage: '(UTC+10:00) Canberra, Melbourne, Sydney', description: 'Time zone value ' }), + displayName: intl.formatMessage({ + defaultMessage: '(UTC+10:00) Canberra, Melbourne, Sydney', + id: '43xObP', + description: 'Time zone value ', + }), value: 'AUS Eastern Standard Time', }, { - displayName: intl.formatMessage({ defaultMessage: '(UTC+10:00) Guam, Port Moresby', description: 'Time zone value ' }), + displayName: intl.formatMessage({ defaultMessage: '(UTC+10:00) Guam, Port Moresby', id: 'MOsuw2', description: 'Time zone value ' }), value: 'West Pacific Standard Time', }, { - displayName: intl.formatMessage({ defaultMessage: '(UTC+10:00) Hobart', description: 'Time zone value ' }), + displayName: intl.formatMessage({ defaultMessage: '(UTC+10:00) Hobart', id: 'c3FLox', description: 'Time zone value ' }), value: 'Tasmania Standard Time', }, { - displayName: intl.formatMessage({ defaultMessage: '(UTC+10:00) Vladivostok', description: 'Time zone value ' }), + displayName: intl.formatMessage({ defaultMessage: '(UTC+10:00) Vladivostok', id: 'NnrHK3', description: 'Time zone value ' }), value: 'Vladivostok Standard Time', }, { - displayName: intl.formatMessage({ defaultMessage: '(UTC+10:30) Lord Howe Island', description: 'Time zone value ' }), + displayName: intl.formatMessage({ defaultMessage: '(UTC+10:30) Lord Howe Island', id: '3n5pnv', description: 'Time zone value ' }), value: 'Lord Howe Standard Time', }, { - displayName: intl.formatMessage({ defaultMessage: '(UTC+11:00) Bougainville Island', description: 'Time zone value ' }), + displayName: intl.formatMessage({ defaultMessage: '(UTC+11:00) Bougainville Island', id: 'Af+Ve0', description: 'Time zone value ' }), value: 'Bougainville Standard Time', }, { - displayName: intl.formatMessage({ defaultMessage: '(UTC+11:00) Chokurdakh', description: 'Time zone value ' }), + displayName: intl.formatMessage({ defaultMessage: '(UTC+11:00) Chokurdakh', id: 'tUU4ak', description: 'Time zone value ' }), value: 'Russia Time Zone 10', }, { - displayName: intl.formatMessage({ defaultMessage: '(UTC+11:00) Magadan', description: 'Time zone value ' }), + displayName: intl.formatMessage({ defaultMessage: '(UTC+11:00) Magadan', id: 'usCZ7R', description: 'Time zone value ' }), value: 'Magadan Standard Time', }, { - displayName: intl.formatMessage({ defaultMessage: '(UTC+11:00) Norfolk Island', description: 'Time zone value ' }), + displayName: intl.formatMessage({ defaultMessage: '(UTC+11:00) Norfolk Island', id: 'OhbvXz', description: 'Time zone value ' }), value: 'Norfolk Standard Time', }, { - displayName: intl.formatMessage({ defaultMessage: '(UTC+11:00) Sakhalin', description: 'Time zone value ' }), + displayName: intl.formatMessage({ defaultMessage: '(UTC+11:00) Sakhalin', id: 'E8iqLl', description: 'Time zone value ' }), value: 'Sakhalin Standard Time', }, { - displayName: intl.formatMessage({ defaultMessage: '(UTC+11:00) Solomon Is., New Caledonia', description: 'Time zone value ' }), + displayName: intl.formatMessage({ + defaultMessage: '(UTC+11:00) Solomon Is., New Caledonia', + id: 'RvpHdu', + description: 'Time zone value ', + }), value: 'Central Pacific Standard Time', }, { - displayName: intl.formatMessage({ defaultMessage: '(UTC+12:00) Anadyr, Petropavlovsk-Kamchatsky', description: 'Time zone value ' }), + displayName: intl.formatMessage({ + defaultMessage: '(UTC+12:00) Anadyr, Petropavlovsk-Kamchatsky', + id: '07oZoX', + description: 'Time zone value ', + }), value: 'Russia Time Zone 11', }, { - displayName: intl.formatMessage({ defaultMessage: '(UTC+12:00) Auckland, Wellington', description: 'Time zone value ' }), + displayName: intl.formatMessage({ + defaultMessage: '(UTC+12:00) Auckland, Wellington', + id: 'Ci41Od', + description: 'Time zone value ', + }), value: 'New Zealand Standard Time', }, { - displayName: intl.formatMessage({ defaultMessage: '(UTC+12:00) Coordinated Universal Time+12', description: 'Time zone value ' }), + displayName: intl.formatMessage({ + defaultMessage: '(UTC+12:00) Coordinated Universal Time+12', + id: 'R/aiRy', + description: 'Time zone value ', + }), value: 'UTC+12', }, { - displayName: intl.formatMessage({ defaultMessage: '(UTC+12:00) Fiji', description: 'Time zone value ' }), + displayName: intl.formatMessage({ defaultMessage: '(UTC+12:00) Fiji', id: 'LCRHQ9', description: 'Time zone value ' }), value: 'Fiji Standard Time', }, { - displayName: intl.formatMessage({ defaultMessage: '(UTC+12:00) Petropavlovsk-Kamchatsky - Old', description: 'Time zone value ' }), + displayName: intl.formatMessage({ + defaultMessage: '(UTC+12:00) Petropavlovsk-Kamchatsky - Old', + id: 'zViEGr', + description: 'Time zone value ', + }), value: 'Kamchatka Standard Time', }, { - displayName: intl.formatMessage({ defaultMessage: '(UTC+12:45) Chatham Islands', description: 'Time zone value ' }), + displayName: intl.formatMessage({ defaultMessage: '(UTC+12:45) Chatham Islands', id: 'tqqUHX', description: 'Time zone value ' }), value: 'Chatham Islands Standard Time', }, { - displayName: intl.formatMessage({ defaultMessage: "(UTC+13:00) Nuku'alofa", description: 'Time zone value ' }), + displayName: intl.formatMessage({ defaultMessage: `(UTC+13:00) Nuku'alofa`, id: 'lM9qrG', description: 'Time zone value ' }), value: 'Tonga Standard Time', }, { - displayName: intl.formatMessage({ defaultMessage: '(UTC+13:00) Samoa', description: 'Time zone value ' }), + displayName: intl.formatMessage({ defaultMessage: '(UTC+13:00) Samoa', id: 'CaajcD', description: 'Time zone value ' }), value: 'Samoa Standard Time', }, { - displayName: intl.formatMessage({ defaultMessage: '(UTC+14:00) Kiritimati Island', description: 'Time zone value ' }), + displayName: intl.formatMessage({ defaultMessage: '(UTC+14:00) Kiritimati Island', id: 'nVDG00', description: 'Time zone value ' }), value: 'Line Islands Standard Time', }, ]; @@ -584,41 +708,41 @@ export const getTimezoneValues = (intl: IntlShape) => { export const getScheduleHourValues = (intl: IntlShape) => { return [ - { value: '0', displayName: intl.formatMessage({ defaultMessage: '0', description: 'Hour of the day' }) }, - { value: '1', displayName: intl.formatMessage({ defaultMessage: '1', description: 'Hour of the day' }) }, - { value: '2', displayName: intl.formatMessage({ defaultMessage: '2', description: 'Hour of the day' }) }, - { value: '3', displayName: intl.formatMessage({ defaultMessage: '3', description: 'Hour of the day' }) }, - { value: '4', displayName: intl.formatMessage({ defaultMessage: '4', description: 'Hour of the day' }) }, - { value: '5', displayName: intl.formatMessage({ defaultMessage: '5', description: 'Hour of the day' }) }, - { value: '6', displayName: intl.formatMessage({ defaultMessage: '6', description: 'Hour of the day' }) }, - { value: '7', displayName: intl.formatMessage({ defaultMessage: '7', description: 'Hour of the day' }) }, - { value: '8', displayName: intl.formatMessage({ defaultMessage: '8', description: 'Hour of the day' }) }, - { value: '9', displayName: intl.formatMessage({ defaultMessage: '9', description: 'Hour of the day' }) }, - { value: '10', displayName: intl.formatMessage({ defaultMessage: '10', description: 'Hour of the day' }) }, - { value: '11', displayName: intl.formatMessage({ defaultMessage: '11', description: 'Hour of the day' }) }, - { value: '12', displayName: intl.formatMessage({ defaultMessage: '12', description: 'Hour of the day' }) }, - { value: '13', displayName: intl.formatMessage({ defaultMessage: '13', description: 'Hour of the day' }) }, - { value: '14', displayName: intl.formatMessage({ defaultMessage: '14', description: 'Hour of the day' }) }, - { value: '15', displayName: intl.formatMessage({ defaultMessage: '15', description: 'Hour of the day' }) }, - { value: '16', displayName: intl.formatMessage({ defaultMessage: '16', description: 'Hour of the day' }) }, - { value: '17', displayName: intl.formatMessage({ defaultMessage: '17', description: 'Hour of the day' }) }, - { value: '18', displayName: intl.formatMessage({ defaultMessage: '18', description: 'Hour of the day' }) }, - { value: '19', displayName: intl.formatMessage({ defaultMessage: '19', description: 'Hour of the day' }) }, - { value: '20', displayName: intl.formatMessage({ defaultMessage: '20', description: 'Hour of the day' }) }, - { value: '21', displayName: intl.formatMessage({ defaultMessage: '21', description: 'Hour of the day' }) }, - { value: '22', displayName: intl.formatMessage({ defaultMessage: '22', description: 'Hour of the day' }) }, - { value: '23', displayName: intl.formatMessage({ defaultMessage: '23', description: 'Hour of the day' }) }, + { value: '0', displayName: intl.formatMessage({ defaultMessage: '0', id: '/qu3zt', description: 'Hour of the day' }) }, + { value: '1', displayName: intl.formatMessage({ defaultMessage: '1', id: 'EdzoIs', description: 'Hour of the day' }) }, + { value: '2', displayName: intl.formatMessage({ defaultMessage: '2', id: 'FiyQjU', description: 'Hour of the day' }) }, + { value: '3', displayName: intl.formatMessage({ defaultMessage: '3', id: '3vqfeV', description: 'Hour of the day' }) }, + { value: '4', displayName: intl.formatMessage({ defaultMessage: '4', id: 'urAHv1', description: 'Hour of the day' }) }, + { value: '5', displayName: intl.formatMessage({ defaultMessage: '5', id: '1uGBLP', description: 'Hour of the day' }) }, + { value: '6', displayName: intl.formatMessage({ defaultMessage: '6', id: 'RkgScy', description: 'Hour of the day' }) }, + { value: '7', displayName: intl.formatMessage({ defaultMessage: '7', id: 'n20T2h', description: 'Hour of the day' }) }, + { value: '8', displayName: intl.formatMessage({ defaultMessage: '8', id: 'yVh9kr', description: 'Hour of the day' }) }, + { value: '9', displayName: intl.formatMessage({ defaultMessage: '9', id: 'cr0UnG', description: 'Hour of the day' }) }, + { value: '10', displayName: intl.formatMessage({ defaultMessage: '10', id: 'OH9xlX', description: 'Hour of the day' }) }, + { value: '11', displayName: intl.formatMessage({ defaultMessage: '11', id: 'iq+tiv', description: 'Hour of the day' }) }, + { value: '12', displayName: intl.formatMessage({ defaultMessage: '12', id: '9SuA/E', description: 'Hour of the day' }) }, + { value: '13', displayName: intl.formatMessage({ defaultMessage: '13', id: 'mx2IMJ', description: 'Hour of the day' }) }, + { value: '14', displayName: intl.formatMessage({ defaultMessage: '14', id: '4wjJs0', description: 'Hour of the day' }) }, + { value: '15', displayName: intl.formatMessage({ defaultMessage: '15', id: 'n+F7e2', description: 'Hour of the day' }) }, + { value: '16', displayName: intl.formatMessage({ defaultMessage: '16', id: 'ui7GCl', description: 'Hour of the day' }) }, + { value: '17', displayName: intl.formatMessage({ defaultMessage: '17', id: '2Noh96', description: 'Hour of the day' }) }, + { value: '18', displayName: intl.formatMessage({ defaultMessage: '18', id: '14lYtE', description: 'Hour of the day' }) }, + { value: '19', displayName: intl.formatMessage({ defaultMessage: '19', id: 'nx25nq', description: 'Hour of the day' }) }, + { value: '20', displayName: intl.formatMessage({ defaultMessage: '20', id: 'FIT7i0', description: 'Hour of the day' }) }, + { value: '21', displayName: intl.formatMessage({ defaultMessage: '21', id: 'iRe/g7', description: 'Hour of the day' }) }, + { value: '22', displayName: intl.formatMessage({ defaultMessage: '22', id: 'IA+Ogm', description: 'Hour of the day' }) }, + { value: '23', displayName: intl.formatMessage({ defaultMessage: '23', id: 'VUH9aj', description: 'Hour of the day' }) }, ]; }; export const getScheduleDayValues = (intl: IntlShape) => { return [ - { value: 'Monday', displayName: intl.formatMessage({ defaultMessage: 'Monday', description: 'Day of the week' }) }, - { value: 'Tuesday', displayName: intl.formatMessage({ defaultMessage: 'Tuesday', description: 'Day of the week' }) }, - { value: 'Wednesday', displayName: intl.formatMessage({ defaultMessage: 'Wednesday', description: 'Day of the week' }) }, - { value: 'Thursday', displayName: intl.formatMessage({ defaultMessage: 'Thursday', description: 'Day of the week' }) }, - { value: 'Friday', displayName: intl.formatMessage({ defaultMessage: 'Friday', description: 'Day of the week' }) }, - { value: 'Saturday', displayName: intl.formatMessage({ defaultMessage: 'Saturday', description: 'Day of the week' }) }, - { value: 'Sunday', displayName: intl.formatMessage({ defaultMessage: 'Sunday', description: 'Day of the week' }) }, + { value: 'Monday', displayName: intl.formatMessage({ defaultMessage: 'Monday', id: 'kZCX7t', description: 'Day of the week' }) }, + { value: 'Tuesday', displayName: intl.formatMessage({ defaultMessage: 'Tuesday', id: 'NvJDn/', description: 'Day of the week' }) }, + { value: 'Wednesday', displayName: intl.formatMessage({ defaultMessage: 'Wednesday', id: 'x+6ccf', description: 'Day of the week' }) }, + { value: 'Thursday', displayName: intl.formatMessage({ defaultMessage: 'Thursday', id: '8Y5xpK', description: 'Day of the week' }) }, + { value: 'Friday', displayName: intl.formatMessage({ defaultMessage: 'Friday', id: 'TNEttQ', description: 'Day of the week' }) }, + { value: 'Saturday', displayName: intl.formatMessage({ defaultMessage: 'Saturday', id: '8JEHiY', description: 'Day of the week' }) }, + { value: 'Sunday', displayName: intl.formatMessage({ defaultMessage: 'Sunday', id: 'w5Hhig', description: 'Day of the week' }) }, ]; }; diff --git a/libs/services/designer-client-services/jest.config.ts b/libs/services/designer-client-services/jest.config.ts index 0fa70926c38..e4512e1db9c 100644 --- a/libs/services/designer-client-services/jest.config.ts +++ b/libs/services/designer-client-services/jest.config.ts @@ -13,15 +13,6 @@ export default { 'babel-jest', { presets: ['@nrwl/react/babel'], - plugins: [ - [ - 'formatjs', - { - idInterpolationPattern: '[sha512:contenthash:base64:6]', - ast: true, - }, - ], - ], }, ], }, diff --git a/libs/services/designer-client-services/src/lib/base/apimanagement.ts b/libs/services/designer-client-services/src/lib/base/apimanagement.ts index 852e9671bc1..d9b77cd6e07 100644 --- a/libs/services/designer-client-services/src/lib/base/apimanagement.ts +++ b/libs/services/designer-client-services/src/lib/base/apimanagement.ts @@ -2,8 +2,7 @@ import type { IApiManagementService } from '../apimanagement'; import { getAzureResourceRecursive } from '../common/azure'; import type { ListDynamicValue } from '../connector'; import type { IHttpClient } from '../httpClient'; -import { ResponseCodes, SwaggerParser } from '@microsoft/logic-apps-shared'; -import { ArgumentException, equals, unmap } from '@microsoft/logic-apps-shared'; +import { ResponseCodes, SwaggerParser, ArgumentException, equals, unmap } from '@microsoft/logic-apps-shared'; import type { QueryClient } from 'react-query'; export interface ApiManagementServiceOptions { diff --git a/libs/services/designer-client-services/src/lib/base/appService.ts b/libs/services/designer-client-services/src/lib/base/appService.ts index 194c7e6fb71..b999089c014 100644 --- a/libs/services/designer-client-services/src/lib/base/appService.ts +++ b/libs/services/designer-client-services/src/lib/base/appService.ts @@ -3,8 +3,7 @@ import { getAzureResourceRecursive } from '../common/azure'; import type { ListDynamicValue } from '../connector'; import { isFunctionContainer } from '../helpers'; import type { IHttpClient } from '../httpClient'; -import { ResponseCodes, SwaggerParser } from '@microsoft/logic-apps-shared'; -import { ArgumentException, unmap } from '@microsoft/logic-apps-shared'; +import { ResponseCodes, SwaggerParser, ArgumentException, unmap } from '@microsoft/logic-apps-shared'; export interface BaseAppServiceServiceOptions { baseUrl: string; diff --git a/libs/services/designer-client-services/src/lib/base/connector.ts b/libs/services/designer-client-services/src/lib/base/connector.ts index 41207501b75..8e80fc51ae6 100644 --- a/libs/services/designer-client-services/src/lib/base/connector.ts +++ b/libs/services/designer-client-services/src/lib/base/connector.ts @@ -7,9 +7,8 @@ import type { } from '../connector'; import { getClientRequestIdFromHeaders, pathCombine } from '../helpers'; import type { IHttpClient } from '../httpClient'; -import { getIntl } from '@microsoft/logic-apps-shared'; -import type { OpenAPIV2, OperationInfo } from '@microsoft/logic-apps-shared'; import { + getIntl, UnsupportedException, ArgumentException, ConnectorServiceErrorCode, @@ -17,6 +16,7 @@ import { equals, isArmResourceId, } from '@microsoft/logic-apps-shared'; +import type { OpenAPIV2, OperationInfo } from '@microsoft/logic-apps-shared'; import type { IntlShape } from 'react-intl'; type GetSchemaFunction = (args: Record) => Promise; @@ -118,7 +118,7 @@ export abstract class BaseConnectorService implements IConnectorService { } else { const clientRequestId = getClientRequestIdFromHeaders(connectorResponse.headers); const defaultErrorMessage = intl.formatMessage( - { defaultMessage: 'Error executing the api - {url}', description: 'Error message to show on dynamic call failure' }, + { defaultMessage: 'Error executing the api - {url}', id: '8BoVtZ', description: 'Error message to show on dynamic call failure' }, { url: requestUrl } ); const errorMessage = this._getErrorMessageFromConnectorResponse(connectorResponse, defaultErrorMessage, intl, clientRequestId); @@ -144,6 +144,7 @@ export abstract class BaseConnectorService implements IConnectorService { errorMessage = intl.formatMessage( { defaultMessage: `Error code: ''{errorCode}'', Message: ''{message}''.`, + id: '04AwK7', description: 'Dynamic call error message. Do not remove the double single quotes around the placeholder texts, as it is needed to wrap the placeholder text in single quotes.', }, @@ -156,7 +157,8 @@ export abstract class BaseConnectorService implements IConnectorService { return clientRequestId ? `${errorMessage} ${intl.formatMessage( { - defaultMessage: "More diagnostic information: x-ms-client-request-id is ''{clientRequestId}''.", + defaultMessage: `More diagnostic information: x-ms-client-request-id is ''{clientRequestId}''.`, + id: 'Xew1Df', description: 'Diagnostics information on error message. Do not remove the double single quotes around the placeholder texts, as it is needed to wrap the placeholder text in single quotes.', }, @@ -224,7 +226,8 @@ export abstract class BaseConnectorService implements IConnectorService { ex.message ?? intl.formatMessage( { - defaultMessage: "Error occurred while executing the following API parameters: ''{parameters}''", + defaultMessage: `Error occurred while executing the following API parameters: ''{parameters}''`, + id: 'A8l+k7', description: 'Error message when execute dynamic api in managed connector. Do not remove the double single quotes around the placeholder text, as it is needed to wrap the placeholder text in single quotes.', }, diff --git a/libs/services/designer-client-services/src/lib/base/function.ts b/libs/services/designer-client-services/src/lib/base/function.ts index d78bb49a929..096fddd5f88 100644 --- a/libs/services/designer-client-services/src/lib/base/function.ts +++ b/libs/services/designer-client-services/src/lib/base/function.ts @@ -3,8 +3,7 @@ import type { ListDynamicValue } from '../connector'; import type { IFunctionService } from '../function'; import { isFunctionContainer } from '../helpers'; import type { IHttpClient } from '../httpClient'; -import { ResponseCodes, SwaggerParser } from '@microsoft/logic-apps-shared'; -import { ArgumentException, unmap } from '@microsoft/logic-apps-shared'; +import { ResponseCodes, SwaggerParser, ArgumentException, unmap } from '@microsoft/logic-apps-shared'; export interface BaseFunctionServiceOptions { baseUrl: string; diff --git a/libs/services/designer-client-services/src/lib/base/manifests/schedule.ts b/libs/services/designer-client-services/src/lib/base/manifests/schedule.ts index 12eaba04817..0ccc5490248 100644 --- a/libs/services/designer-client-services/src/lib/base/manifests/schedule.ts +++ b/libs/services/designer-client-services/src/lib/base/manifests/schedule.ts @@ -1,7 +1,6 @@ import { coreBadge } from '../../badges'; -import { getIntl } from '@microsoft/logic-apps-shared'; +import { getIntl, getFrequencyValues, RecurrenceType, SettingScope } from '@microsoft/logic-apps-shared'; import type { OperationManifest } from '@microsoft/logic-apps-shared'; -import { getFrequencyValues, RecurrenceType, SettingScope } from '@microsoft/logic-apps-shared'; export const frequencyValues = getFrequencyValues(getIntl()); diff --git a/libs/services/designer-client-services/src/lib/connector.ts b/libs/services/designer-client-services/src/lib/connector.ts index b3cacb63c95..60eb7f93b8f 100644 --- a/libs/services/designer-client-services/src/lib/connector.ts +++ b/libs/services/designer-client-services/src/lib/connector.ts @@ -1,5 +1,4 @@ -import type { DynamicTreeExtension } from '@microsoft/logic-apps-shared'; -import type { OpenAPIV2 } from '@microsoft/logic-apps-shared'; +import type { DynamicTreeExtension, OpenAPIV2 } from '@microsoft/logic-apps-shared'; import { AssertionErrorCode, AssertionException } from '@microsoft/logic-apps-shared'; export interface ListDynamicValue { diff --git a/libs/services/designer-client-services/src/lib/consumption/run.ts b/libs/services/designer-client-services/src/lib/consumption/run.ts index 4e8532adb60..90fb85e0125 100644 --- a/libs/services/designer-client-services/src/lib/consumption/run.ts +++ b/libs/services/designer-client-services/src/lib/consumption/run.ts @@ -2,9 +2,8 @@ import { inputsResponse, outputsResponse } from '../__test__/__mocks__/monitorin import type { HttpRequestOptions, IHttpClient } from '../httpClient'; import type { IRunService } from '../run'; import type { CallbackInfo } from '../workflow'; -import { isNumber } from '@microsoft/logic-apps-shared'; -import type { ArmResources, BoundParameters, ContentLink, LogicAppsV2, Run, Runs } from '@microsoft/logic-apps-shared'; import { + isNumber, isCallbackInfoWithRelativePath, ArgumentException, HTTP_METHODS, @@ -15,6 +14,7 @@ import { isBoolean, getRecordEntry, } from '@microsoft/logic-apps-shared'; +import type { ArmResources, BoundParameters, ContentLink, LogicAppsV2, Run, Runs } from '@microsoft/logic-apps-shared'; export interface ConsumptionRunServiceOptions { apiVersion: string; diff --git a/libs/services/designer-client-services/src/lib/standard/connection.ts b/libs/services/designer-client-services/src/lib/standard/connection.ts index 215db824691..874a81e54b3 100644 --- a/libs/services/designer-client-services/src/lib/standard/connection.ts +++ b/libs/services/designer-client-services/src/lib/standard/connection.ts @@ -8,9 +8,8 @@ import { LoggerService } from '../logger'; import { LogEntryLevel, Status } from '../logging/logEntry'; import type { IOAuthPopup } from '../oAuth'; import { OAuthService } from '../oAuth'; -import { getIntl } from '@microsoft/logic-apps-shared'; -import type { Connection, ConnectionParameter, Connector, ManagedIdentity } from '@microsoft/logic-apps-shared'; import { + getIntl, ArgumentException, AssertionErrorCode, AssertionException, @@ -24,6 +23,7 @@ import { safeSetObjectPropertyValue, createCopy, } from '@microsoft/logic-apps-shared'; +import type { Connection, ConnectionParameter, Connector, ManagedIdentity } from '@microsoft/logic-apps-shared'; interface ConnectionAcl { id: string; @@ -264,6 +264,7 @@ export class StandardConnectionService extends BaseConnectionService implements throw new Error( intl.formatMessage({ defaultMessage: 'To create and use an API connection, you must have a managed identity configured on this logic app.', + id: 'vdtKjT', description: 'Error message to show when logic app does not have managed identity when creating azure connection', }) ); @@ -280,6 +281,7 @@ export class StandardConnectionService extends BaseConnectionService implements const error = new Error( intl.formatMessage({ defaultMessage: 'Acl creation failed for connection. Deleting the connection.', + id: 'fDisLL', description: 'Error while creating acl', }) ); @@ -313,6 +315,7 @@ export class StandardConnectionService extends BaseConnectionService implements throw new Error( intl.formatMessage({ defaultMessage: 'A managed identity is not configured on the logic app.', + id: 'WnU9v0', description: 'Error message when no identity is associated', }) ); diff --git a/libs/services/designer-client-services/src/lib/standard/run.ts b/libs/services/designer-client-services/src/lib/standard/run.ts index ebf97bd22bc..b5d9cc393a1 100644 --- a/libs/services/designer-client-services/src/lib/standard/run.ts +++ b/libs/services/designer-client-services/src/lib/standard/run.ts @@ -2,9 +2,8 @@ import { inputsResponse, outputsResponse } from '../__test__/__mocks__/monitorin import type { HttpRequestOptions, IHttpClient } from '../httpClient'; import type { IRunService } from '../run'; import type { CallbackInfo } from '../workflow'; -import { isNumber } from '@microsoft/logic-apps-shared'; -import type { ArmResources, BoundParameters, ContentLink, LogicAppsV2, Run, Runs } from '@microsoft/logic-apps-shared'; import { + isNumber, isCallbackInfoWithRelativePath, ArgumentException, HTTP_METHODS, @@ -15,6 +14,7 @@ import { isBoolean, getRecordEntry, } from '@microsoft/logic-apps-shared'; +import type { ArmResources, BoundParameters, ContentLink, LogicAppsV2, Run, Runs } from '@microsoft/logic-apps-shared'; export interface RunServiceOptions { apiVersion: string; diff --git a/libs/services/designer-client-services/src/lib/staticresultschema/schemas/apiConnector.ts b/libs/services/designer-client-services/src/lib/staticresultschema/schemas/apiConnector.ts index b4f3ffbff53..1fd2500d49e 100644 --- a/libs/services/designer-client-services/src/lib/staticresultschema/schemas/apiConnector.ts +++ b/libs/services/designer-client-services/src/lib/staticresultschema/schemas/apiConnector.ts @@ -1,9 +1,7 @@ import type { StaticResultRootSchemaType } from './baseactionresult'; import { HttpStaticResultSchema } from './httpresult'; -import type { ManifestParser, OpenApiSchema, SwaggerParser } from '@microsoft/logic-apps-shared'; -import { ExtensionProperties } from '@microsoft/logic-apps-shared'; -import type { OpenAPIV2 } from '@microsoft/logic-apps-shared'; -import { clone } from '@microsoft/logic-apps-shared'; +import type { ManifestParser, OpenApiSchema, SwaggerParser, OpenAPIV2 } from '@microsoft/logic-apps-shared'; +import { ExtensionProperties, clone } from '@microsoft/logic-apps-shared'; /** * Returns the root schema for a connector operation. diff --git a/libs/services/designer-client-services/src/lib/staticresultschema/schemas/baseactionresult.ts b/libs/services/designer-client-services/src/lib/staticresultschema/schemas/baseactionresult.ts index e45d882bf74..5c605077f5f 100644 --- a/libs/services/designer-client-services/src/lib/staticresultschema/schemas/baseactionresult.ts +++ b/libs/services/designer-client-services/src/lib/staticresultschema/schemas/baseactionresult.ts @@ -1,6 +1,5 @@ import { getIntl } from '@microsoft/logic-apps-shared'; -import type { OpenApiSchema } from '@microsoft/logic-apps-shared'; -import type { OpenAPIV2 } from '@microsoft/logic-apps-shared'; +import type { OpenApiSchema, OpenAPIV2 } from '@microsoft/logic-apps-shared'; export type StaticResultRootSchemaType = OpenAPIV2.SchemaObject & { properties: { @@ -548,23 +547,28 @@ const ValidResponseCodes = [ const intl = getIntl(); const STATIC_RESULT_OPERATION_STATUS_TITLE = intl.formatMessage({ defaultMessage: 'Status', + id: 'sw6EXK', description: 'The title of the status property in the static result schema', }); const STATIC_RESULT_OPERATION_CODE_TITLE = intl.formatMessage({ defaultMessage: 'Code', + id: '3AWwVl', description: 'The title of the code property in the static result schema', }); const STATIC_RESULT_OPERATION_ERROR_TITLE = intl.formatMessage({ defaultMessage: 'Error', + id: 'B/gCWM', description: 'The title of the error property in the static result schema', }); const STATIC_RESULT_ERROR_OBJECT_CODE_TITLE = intl.formatMessage({ defaultMessage: 'Error code', + id: 'cvp9VP', description: 'The title of the error code property within Error in the static result schema', }); const STATIC_RESULT_ERROR_OBJECT_MESSAGE_TITLE = intl.formatMessage({ defaultMessage: 'Error Message', + id: 'ca/QIc', description: 'The title of the error message property within Error in the static result schema', }); diff --git a/libs/services/designer-client-services/src/lib/staticresultschema/schemas/flatfiledecoding.ts b/libs/services/designer-client-services/src/lib/staticresultschema/schemas/flatfiledecoding.ts index 1cf1fc12150..13fca94b452 100644 --- a/libs/services/designer-client-services/src/lib/staticresultschema/schemas/flatfiledecoding.ts +++ b/libs/services/designer-client-services/src/lib/staticresultschema/schemas/flatfiledecoding.ts @@ -5,10 +5,12 @@ const intl = getIntl(); const STATIC_RESULT_HTTP_BODY_TITLE = intl.formatMessage({ defaultMessage: 'Body', + id: 'C1cy54', description: 'The title of the body field in the static result http action', }); const STATIC_RESULT_OPERATION_OUTPUT_TITLE = intl.formatMessage({ defaultMessage: 'Output', + id: 'UZiXVh', description: 'The title of the output field in the static result http action', }); diff --git a/libs/services/designer-client-services/src/lib/staticresultschema/schemas/flatfileencoding.ts b/libs/services/designer-client-services/src/lib/staticresultschema/schemas/flatfileencoding.ts index 2becd73adf1..5ecbee6d30a 100644 --- a/libs/services/designer-client-services/src/lib/staticresultschema/schemas/flatfileencoding.ts +++ b/libs/services/designer-client-services/src/lib/staticresultschema/schemas/flatfileencoding.ts @@ -5,10 +5,12 @@ const intl = getIntl(); const STATIC_RESULT_HTTP_BODY_TITLE = intl.formatMessage({ defaultMessage: 'Body', + id: 'C1cy54', description: 'The title of the body field in the static result http action', }); const STATIC_RESULT_OPERATION_OUTPUT_TITLE = intl.formatMessage({ defaultMessage: 'Output', + id: 'UZiXVh', description: 'The title of the output field in the static result http action', }); diff --git a/libs/services/designer-client-services/src/lib/staticresultschema/schemas/httpresult.ts b/libs/services/designer-client-services/src/lib/staticresultschema/schemas/httpresult.ts index def2439555b..e9ffbefef6d 100644 --- a/libs/services/designer-client-services/src/lib/staticresultschema/schemas/httpresult.ts +++ b/libs/services/designer-client-services/src/lib/staticresultschema/schemas/httpresult.ts @@ -6,18 +6,22 @@ const intl = getIntl(); const STATIC_RESULT_HTTP_STATUS_CODE_TITLE = intl.formatMessage({ defaultMessage: 'Status Code', + id: 'uDI1Um', description: 'The title of the status code field in the static result http action', }); const STATIC_RESULT_HTTP_BODY_TITLE = intl.formatMessage({ defaultMessage: 'Body', + id: 'C1cy54', description: 'The title of the body field in the static result http action', }); const STATIC_RESULT_HTTP_HEADERS_TITLE = intl.formatMessage({ defaultMessage: 'Headers', + id: 'HSJLCu', description: 'The title of the headers field in the static result http action', }); const STATIC_RESULT_OPERATION_OUTPUT_TITLE = intl.formatMessage({ defaultMessage: 'Output', + id: 'UZiXVh', description: 'The title of the output field in the static result http action', }); diff --git a/libs/services/designer-client-services/src/lib/staticresultschema/schemas/parseJson.ts b/libs/services/designer-client-services/src/lib/staticresultschema/schemas/parseJson.ts index 6b83e34e8bc..e563bf5fbd4 100644 --- a/libs/services/designer-client-services/src/lib/staticresultschema/schemas/parseJson.ts +++ b/libs/services/designer-client-services/src/lib/staticresultschema/schemas/parseJson.ts @@ -1,7 +1,6 @@ import { StaticResultRootSchema } from './baseactionresult'; -import { getIntl } from '@microsoft/logic-apps-shared'; +import { getIntl, clone } from '@microsoft/logic-apps-shared'; import type { OpenApiSchema } from '@microsoft/logic-apps-shared'; -import { clone } from '@microsoft/logic-apps-shared'; const intl = getIntl(); @@ -42,63 +41,78 @@ function getAllValidationErrorType(): string[] { const STATIC_RESULT_VALIDATION_ERROR_TITLE = intl.formatMessage({ defaultMessage: 'Validation Error', + id: 'U7yRwM', description: 'The title of the validation error field in the static result parseJson action', }); const STATIC_RESULT_VALIDATION_ERROR_MESSAGE = intl.formatMessage({ defaultMessage: 'Message', + id: 'kEI2xx', description: 'The title of the message field in the static result parseJson action', }); const STATIC_RESULT_ERROR_LINE_NUMBER = intl.formatMessage({ defaultMessage: 'Line number', + id: 'RxGxr+', description: 'The title of the line number field in the static result parseJson action', }); const STATIC_RESULT_ERROR_LINE_POSITION = intl.formatMessage({ defaultMessage: 'Line Position', + id: '93Gj/n', description: 'The title of the line position field in the static result parseJson action', }); const STATIC_RESULT_VALIDATION_ERROR_PATH = intl.formatMessage({ defaultMessage: 'Path', + id: 'pYNzbj', description: 'The title of the path field in the static result parseJson action', }); const STATIC_RESULT_VALIDATION_ERROR_VALUE = intl.formatMessage({ defaultMessage: 'Value', + id: '0m2Y1/', description: 'The title of the value field in the static result parseJson action', }); const STATIC_RESULT_VALIDATION_ERROR_ERROR_TYPE = intl.formatMessage({ defaultMessage: 'Error Type', + id: 'Vfce7b', description: 'The title of the error type field in the static result parseJson action', }); const STATIC_RESULT_VALIDATION_ERROR_SCHEMA_ID = intl.formatMessage({ defaultMessage: 'Schema Id', + id: 'o8ohVV', description: 'The title of the schema id field in the static result parseJson action', }); const STATIC_RESULT_VALIDATION_ERROR_SCHEMA_BASE_URI = intl.formatMessage({ defaultMessage: 'Schema Uri', + id: 'PZgHf/', description: 'The title of the schema base uri field in the static result parseJson action', }); const STATIC_RESULT_VALIDATION_ERROR_SCHEMA = intl.formatMessage({ defaultMessage: 'Schema', + id: 'RbJNVk', description: 'The title of the schema field in the static result parseJson action', }); const STATIC_RESULT_PARSE_JSON_CHILD_ERRORS = intl.formatMessage({ defaultMessage: 'Internal Errors', + id: 'nCa0KG', description: 'The title of the internal errors field in the static result parseJson action', }); const STATIC_RESULT_HTTP_BODY_TITLE = intl.formatMessage({ defaultMessage: 'Body', + id: 'b9Rvl9', description: 'The title of the body field in the static result parseJson action', }); const STATIC_RESULT_PARSE_JSON_VALIDATION_ERRORS = intl.formatMessage({ defaultMessage: 'Errors', + id: 'oQjIWf', description: 'The title of the errors field in the static result parseJson action', }); const STATIC_RESULT_OPERATION_OUTPUT_TITLE = intl.formatMessage({ defaultMessage: 'Output', + id: 'K7/DnZ', description: 'The title of the output field in the static result parseJson action', }); const STATIC_RESULT_PARSE_JSON_CHILD_ERRORS_TITLE = intl.formatMessage({ defaultMessage: 'ChildErrors', + id: '9YGcT2', description: 'The title of the child errors field in the static result parseJson action', }); diff --git a/libs/services/designer-client-services/src/lib/staticresultschema/schemas/query.ts b/libs/services/designer-client-services/src/lib/staticresultschema/schemas/query.ts index 34d0b569f7f..28f1680c4f7 100644 --- a/libs/services/designer-client-services/src/lib/staticresultschema/schemas/query.ts +++ b/libs/services/designer-client-services/src/lib/staticresultschema/schemas/query.ts @@ -4,14 +4,17 @@ import { getIntl } from '@microsoft/logic-apps-shared'; const intl = getIntl(); const QUERY_OUTPUT_TITLE = intl.formatMessage({ defaultMessage: 'Body', + id: '5OvGgn', description: 'The title of the body field in the static result query action', }); const STATIC_RESULT_OPERATION_OUTPUT_TITLE = intl.formatMessage({ defaultMessage: 'Output', + id: 'oTBkbU', description: 'The title of the output field in the static result query action', }); const STATIC_RESULT_OPERATION_BODY_ITEM = intl.formatMessage({ defaultMessage: 'Body Item', + id: 'YABOLz', description: 'The title of the child item field in the static result query action', }); diff --git a/libs/services/intl/src/compiled-lang/strings.en-XA.json b/libs/services/intl/src/compiled-lang/strings.en-XA.json index b17d41c7b2d..5ad01588f2f 100644 --- a/libs/services/intl/src/compiled-lang/strings.en-XA.json +++ b/libs/services/intl/src/compiled-lang/strings.en-XA.json @@ -97,6 +97,20 @@ "value": "]" } ], + "+KXX+O": [ + { + "type": 0, + "value": "[" + }, + { + "type": 0, + "value": "Şḗḗŀḗḗƈŧ ƒŭŭƞƈŧīǿǿƞ ƒřǿǿḿ" + }, + { + "type": 0, + "value": "]" + } + ], "+M72+a": [ { "type": 0, @@ -2225,6 +2239,20 @@ "value": "]" } ], + "4Levd5": [ + { + "type": 0, + "value": "[" + }, + { + "type": 0, + "value": "Şḗḗƞḓ ḿḗḗ ȧȧƞ ḗḗḿȧȧīŀ ẇħḗḗƞ" + }, + { + "type": 0, + "value": "]" + } + ], "4Q7WzU": [ { "type": 0, @@ -2739,6 +2767,20 @@ "value": "]" } ], + "635Koz": [ + { + "type": 0, + "value": "[" + }, + { + "type": 0, + "value": "Ḗṽḗḗřẏ ẇḗḗḗḗķ ǿǿƞ Ḿǿǿƞḓȧȧẏ" + }, + { + "type": 0, + "value": "]" + } + ], "63CC7M": [ { "type": 0, @@ -3067,20 +3109,6 @@ "value": "]" } ], - "70eoQu": [ - { - "type": 0, - "value": "[" - }, - { - "type": 0, - "value": "Şḗḗŀḗḗƈŧ ƒŭŭƞƈŧīǿǿƞ ƒřǿǿḿ" - }, - { - "type": 0, - "value": "]" - } - ], "73iM9+": [ { "type": 0, @@ -3605,20 +3633,6 @@ "value": "]" } ], - "8Q7ns/": [ - { - "type": 0, - "value": "[" - }, - { - "type": 0, - "value": "Ḗḓīŧ ŧħīş ƒŀǿǿẇ ŧǿǿ" - }, - { - "type": 0, - "value": "]" - } - ], "8U0KPg": [ { "type": 0, @@ -3967,6 +3981,28 @@ "value": "]" } ], + "9QS9a3": [ + { + "type": 0, + "value": "[" + }, + { + "type": 0, + "value": "Řḗḗƥŀȧȧƈḗḗ \"" + }, + { + "type": 1, + "value": "selectedOperation" + }, + { + "type": 0, + "value": "\" ẇīŧħ" + }, + { + "type": 0, + "value": "]" + } + ], "9SuA/E": [ { "type": 0, @@ -4677,20 +4713,6 @@ "value": "]" } ], - "BQyLiu": [ - { - "type": 0, - "value": "[" - }, - { - "type": 0, - "value": "řḗḗşŭŭŀŧş ƒǿǿŭŭƞḓ" - }, - { - "type": 0, - "value": "]" - } - ], "BS3gy8": [ { "type": 0, @@ -6165,20 +6187,6 @@ "value": "]" } ], - "G/CC5/": [ - { - "type": 0, - "value": "[" - }, - { - "type": 0, - "value": "Īƞṽȧȧŀīḓ şƥŀīŧ ǿǿƞ ƒǿǿřḿȧȧŧ īƞ {şƥŀīŧǾƞ}." - }, - { - "type": 0, - "value": "]" - } - ], "G0XYrd": [ { "type": 0, @@ -7087,6 +7095,20 @@ "value": "]" } ], + "IsbbsG": [ + { + "type": 0, + "value": "[" + }, + { + "type": 0, + "value": "Ẇħḗḗƞ ȧȧ ƞḗḗẇ īŧḗḗḿ" + }, + { + "type": 0, + "value": "]" + } + ], "IxWip7": [ { "type": 0, @@ -7479,28 +7501,6 @@ "value": "]" } ], - "KNDVnN": [ - { - "type": 0, - "value": "[" - }, - { - "type": 0, - "value": "Řḗḗƥŀȧȧƈḗḗ \"" - }, - { - "type": 1, - "value": "selectedOperation" - }, - { - "type": 0, - "value": "\" ẇīŧħ" - }, - { - "type": 0, - "value": "]" - } - ], "KV4uky": [ { "type": 0, @@ -8109,20 +8109,6 @@ "value": "]" } ], - "M3kJsI": [ - { - "type": 0, - "value": "[" - }, - { - "type": 0, - "value": "Ḗṽḗḗřẏ ẇḗḗḗḗķ ǿǿƞ Ḿǿǿƞḓȧȧẏ" - }, - { - "type": 0, - "value": "]" - } - ], "M4H0gh": [ { "type": 0, @@ -9003,20 +8989,6 @@ "value": "]" } ], - "OQud51": [ - { - "type": 0, - "value": "[" - }, - { - "type": 0, - "value": "Ŧḗḗŀŀ ḿḗḗ ḿǿǿřḗḗ ȧȧƀǿǿŭŭŧ" - }, - { - "type": 0, - "value": "]" - } - ], "OSHNZ2": [ { "type": 0, @@ -9225,6 +9197,28 @@ "value": "]" } ], + "OrPVcU": [ + { + "type": 0, + "value": "[" + }, + { + "type": 0, + "value": "Īƞṽȧȧŀīḓ şƥŀīŧ ǿǿƞ ƒǿǿřḿȧȧŧ īƞ '" + }, + { + "type": 1, + "value": "splitOn" + }, + { + "type": 0, + "value": "'." + }, + { + "type": 0, + "value": "]" + } + ], "Ov7Ckz": [ { "type": 0, @@ -11007,24 +11001,6 @@ "value": "]" } ], - "UF3KjL": [ - { - "type": 0, - "value": "[" - }, - { - "type": 0, - "value": "Ŧřẏ ŭŭşīƞɠ ȧȧ Ƈǿǿƞṽḗḗřşīǿǿƞ ƒŭŭƞƈŧīǿǿƞ şŭŭƈħ ȧȧş: " - }, - { - "type": 1, - "value": "conversionFunctions" - }, - { - "type": 0, - "value": "]" - } - ], "UHCVNK": [ { "type": 0, @@ -11127,20 +11103,6 @@ "value": "]" } ], - "UW+fkB": [ - { - "type": 0, - "value": "[" - }, - { - "type": 0, - "value": "Şḗḗƞḓ ḿḗḗ ȧȧƞ ḗḗḿȧȧīŀ ẇħḗḗƞ" - }, - { - "type": 0, - "value": "]" - } - ], "UYRIS/": [ { "type": 0, @@ -12605,20 +12567,6 @@ "value": "]" } ], - "Y04+GH": [ - { - "type": 0, - "value": "[" - }, - { - "type": 0, - "value": "Ȧḓḓ ȧȧƞ ȧȧƈŧīǿǿƞ" - }, - { - "type": 0, - "value": "]" - } - ], "Y0H9aX": [ { "type": 0, @@ -14359,6 +14307,20 @@ "value": "]" } ], + "dKCp2j": [ + { + "type": 0, + "value": "[" + }, + { + "type": 0, + "value": "Ŧḗḗŀŀ ḿḗḗ ḿǿǿřḗḗ ȧȧƀǿǿŭŭŧ" + }, + { + "type": 0, + "value": "]" + } + ], "dL9V5t": [ { "type": 0, @@ -14717,6 +14679,20 @@ "value": "]" } ], + "eI00kb": [ + { + "type": 0, + "value": "[" + }, + { + "type": 0, + "value": "Ḗḓīŧ ŧħīş ƒŀǿǿẇ ŧǿǿ" + }, + { + "type": 0, + "value": "]" + } + ], "eO1h/h": [ { "type": 0, @@ -14843,20 +14819,6 @@ "value": "]" } ], - "eqAUdj": [ - { - "type": 0, - "value": "[" - }, - { - "type": 0, - "value": "Ẇħḗḗƞ ȧȧ ƞḗḗẇ īŧḗḗḿ" - }, - { - "type": 0, - "value": "]" - } - ], "evyGYj": [ { "type": 0, @@ -15271,20 +15233,6 @@ "value": "]" } ], - "gKEaXI": [ - { - "type": 0, - "value": "[" - }, - { - "type": 0, - "value": "Ƈǿǿƥẏ ŧħḗḗ ṽȧȧŀŭŭḗḗ ǿǿƒ {ŀȧȧƀḗḗŀ} ŧǿǿ ŧħḗḗ ƈŀīƥƀǿǿȧȧřḓ" - }, - { - "type": 0, - "value": "]" - } - ], "gKq3Jv": [ { "type": 0, @@ -16199,6 +16147,20 @@ "value": "]" } ], + "iXW+2l": [ + { + "type": 0, + "value": "[" + }, + { + "type": 0, + "value": "Ȧḓḓ ȧȧƞ ȧȧƈŧīǿǿƞ" + }, + { + "type": 0, + "value": "]" + } + ], "id4DBb": [ { "type": 0, @@ -17057,6 +17019,28 @@ "value": "]" } ], + "lA/sHA": [ + { + "type": 0, + "value": "[" + }, + { + "type": 0, + "value": "Ƈǿǿƥẏ ŧħḗḗ ṽȧȧŀŭŭḗḗ ǿǿƒ '" + }, + { + "type": 1, + "value": "label" + }, + { + "type": 0, + "value": "' ŧǿǿ ŧħḗḗ ƈŀīƥƀǿǿȧȧřḓ" + }, + { + "type": 0, + "value": "]" + } + ], "lB56l2": [ { "type": 0, @@ -17205,20 +17189,6 @@ "value": "]" } ], - "lh0TuF": [ - { - "type": 0, - "value": "[" - }, - { - "type": 0, - "value": "Ḓřǿǿƥḓǿǿẇƞ ŧǿǿ şḗḗŀḗḗƈŧ ƒīŀḗḗƥȧȧŧħ" - }, - { - "type": 0, - "value": "]" - } - ], "lhL/KL": [ { "type": 0, @@ -18083,6 +18053,20 @@ "value": "]" } ], + "nwLd4b": [ + { + "type": 0, + "value": "[" + }, + { + "type": 0, + "value": "Ḓřǿǿƥḓǿǿẇƞ ŧǿǿ şḗḗŀḗḗƈŧ ƒīŀḗḗƥȧȧŧħ" + }, + { + "type": 0, + "value": "]" + } + ], "nx25nq": [ { "type": 0, @@ -19945,6 +19929,20 @@ "value": "]" } ], + "t/RPwA": [ + { + "type": 0, + "value": "[" + }, + { + "type": 0, + "value": "řḗḗşŭŭŀŧş ƒǿǿŭŭƞḓ" + }, + { + "type": 0, + "value": "]" + } + ], "t9RwOi": [ { "type": 0, @@ -20663,6 +20661,24 @@ "value": "]" } ], + "ur3P27": [ + { + "type": 0, + "value": "[" + }, + { + "type": 0, + "value": "Ŧřẏ ŭŭşīƞɠ ȧȧ Ƈǿǿƞṽḗḗřşīǿǿƞ ƒŭŭƞƈŧīǿǿƞ şŭŭƈħ ȧȧş: " + }, + { + "type": 1, + "value": "conversionFunctions" + }, + { + "type": 0, + "value": "]" + } + ], "urAHv1": [ { "type": 0, diff --git a/libs/services/intl/src/compiled-lang/strings.json b/libs/services/intl/src/compiled-lang/strings.json index 77248940df2..559ef3ebdbb 100644 --- a/libs/services/intl/src/compiled-lang/strings.json +++ b/libs/services/intl/src/compiled-lang/strings.json @@ -41,6 +41,12 @@ "value": "Trigger" } ], + "+KXX+O": [ + { + "type": 0, + "value": "Select function from" + } + ], "+M72+a": [ { "type": 0, @@ -985,6 +991,12 @@ "value": "Retry Policy" } ], + "4Levd5": [ + { + "type": 0, + "value": "Send me an email when" + } + ], "4Q7WzU": [ { "type": 0, @@ -1219,6 +1231,12 @@ "value": "Secure inputs of the operation" } ], + "635Koz": [ + { + "type": 0, + "value": "Every week on Monday" + } + ], "63CC7M": [ { "type": 0, @@ -1371,12 +1389,6 @@ "value": "Outputs are required when status is \"Succeeded\"" } ], - "70eoQu": [ - { - "type": 0, - "value": "Select function from" - } - ], "73iM9+": [ { "type": 0, @@ -1613,12 +1625,6 @@ "value": "Describe how your flow should be changed. Add details where possible, including the connector to use and if any content should be included." } ], - "8Q7ns/": [ - { - "type": 0, - "value": "Edit this flow to" - } - ], "8U0KPg": [ { "type": 0, @@ -1775,6 +1781,20 @@ "value": "Revert your flow" } ], + "9QS9a3": [ + { + "type": 0, + "value": "Replace \"" + }, + { + "type": 1, + "value": "selectedOperation" + }, + { + "type": 0, + "value": "\" with" + } + ], "9SuA/E": [ { "type": 0, @@ -2117,12 +2137,6 @@ "value": "Enter password as plain text or use a secure parameter" } ], - "BQyLiu": [ - { - "type": 0, - "value": "results found" - } - ], "BS3gy8": [ { "type": 0, @@ -2797,12 +2811,6 @@ "value": "Returns a string with each item of an array joined by a delimiter" } ], - "G/CC5/": [ - { - "type": 0, - "value": "Invalid split on format in {splitOn}." - } - ], "G0XYrd": [ { "type": 0, @@ -3215,6 +3223,12 @@ "value": "No properties" } ], + "IsbbsG": [ + { + "type": 0, + "value": "When a new item" + } + ], "IxWip7": [ { "type": 0, @@ -3399,20 +3413,6 @@ "value": "Change connection reference" } ], - "KNDVnN": [ - { - "type": 0, - "value": "Replace \"" - }, - { - "type": 1, - "value": "selectedOperation" - }, - { - "type": 0, - "value": "\" with" - } - ], "KV4uky": [ { "type": 0, @@ -3693,12 +3693,6 @@ "value": "Code view" } ], - "M3kJsI": [ - { - "type": 0, - "value": "Every week on Monday" - } - ], "M4H0gh": [ { "type": 0, @@ -4083,12 +4077,6 @@ "value": "Loading all connectors..." } ], - "OQud51": [ - { - "type": 0, - "value": "Tell me more about" - } - ], "OSHNZ2": [ { "type": 0, @@ -4185,6 +4173,20 @@ "value": "Select a managed identity" } ], + "OrPVcU": [ + { + "type": 0, + "value": "Invalid split on format in '" + }, + { + "type": 1, + "value": "splitOn" + }, + { + "type": 0, + "value": "'." + } + ], "Ov7Ckz": [ { "type": 0, @@ -5007,16 +5009,6 @@ "value": "Delete Workflow Action" } ], - "UF3KjL": [ - { - "type": 0, - "value": "Try using a Conversion function such as: " - }, - { - "type": 1, - "value": "conversionFunctions" - } - ], "UHCVNK": [ { "type": 0, @@ -5063,12 +5055,6 @@ "value": "Required. The collection to take the last object from." } ], - "UW+fkB": [ - { - "type": 0, - "value": "Send me an email when" - } - ], "UYRIS/": [ { "type": 1, @@ -5765,12 +5751,6 @@ "value": "Password" } ], - "Y04+GH": [ - { - "type": 0, - "value": "Add an action" - } - ], "Y0H9aX": [ { "type": 0, @@ -6535,6 +6515,12 @@ "value": "Learn more" } ], + "dKCp2j": [ + { + "type": 0, + "value": "Tell me more about" + } + ], "dL9V5t": [ { "type": 0, @@ -6693,6 +6679,12 @@ "value": "Specify the duration in ISO 8601 format" } ], + "eI00kb": [ + { + "type": 0, + "value": "Edit this flow to" + } + ], "eO1h/h": [ { "type": 0, @@ -6747,12 +6739,6 @@ "value": "Shared" } ], - "eqAUdj": [ - { - "type": 0, - "value": "When a new item" - } - ], "evyGYj": [ { "type": 0, @@ -6935,12 +6921,6 @@ "value": "Format text as italic. Shortcut: Ctrl+I" } ], - "gKEaXI": [ - { - "type": 0, - "value": "Copy the value of {label} to the clipboard" - } - ], "gKq3Jv": [ { "type": 0, @@ -7359,6 +7339,12 @@ "value": "Example: 0, 10" } ], + "iXW+2l": [ + { + "type": 0, + "value": "Add an action" + } + ], "id4DBb": [ { "type": 0, @@ -7769,6 +7755,20 @@ "value": "Managed Identity" } ], + "lA/sHA": [ + { + "type": 0, + "value": "Copy the value of '" + }, + { + "type": 1, + "value": "label" + }, + { + "type": 0, + "value": "' to the clipboard" + } + ], "lB56l2": [ { "type": 0, @@ -7837,12 +7837,6 @@ "value": "Stateless run mode:" } ], - "lh0TuF": [ - { - "type": 0, - "value": "Dropdown to select filepath" - } - ], "lhL/KL": [ { "type": 0, @@ -8227,6 +8221,12 @@ "value": "(UTC+10:00) Brisbane" } ], + "nwLd4b": [ + { + "type": 0, + "value": "Dropdown to select filepath" + } + ], "nx25nq": [ { "type": 0, @@ -9065,6 +9065,12 @@ "value": "Required. A string that contains the time zone name of the destination time zone. See https://msdn.microsoft.com/en-us/library/gg154758.aspx for details." } ], + "t/RPwA": [ + { + "type": 0, + "value": "results found" + } + ], "t9RwOi": [ { "type": 0, @@ -9391,6 +9397,16 @@ "value": "Variables" } ], + "ur3P27": [ + { + "type": 0, + "value": "Try using a Conversion function such as: " + }, + { + "type": 1, + "value": "conversionFunctions" + } + ], "urAHv1": [ { "type": 0, diff --git a/package-lock.json b/package-lock.json index 197b8c90c32..3cff1e9796a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -152,7 +152,7 @@ "css-loader": "6.7.1", "eslint": "8.22.0", "eslint-config-prettier": "8.5.0", - "eslint-plugin-formatjs": "4.2.2", + "eslint-plugin-formatjs": "4.12.2", "eslint-plugin-import": "2.26.0", "eslint-plugin-jsx-a11y": "6.7.1", "eslint-plugin-react": "7.32.2", @@ -3984,6 +3984,33 @@ "resolved": "https://registry.npmjs.org/@emotion/hash/-/hash-0.9.1.tgz", "integrity": "sha512-gJB6HLm5rYwSLI6PQa+X1t5CFGrv1J1TWG+sOyMCeKz2ojaj6Fnl/rZEspogG+cvqbt4AE/2eIyD2QfLKTBNlQ==" }, + "node_modules/@eslint-community/eslint-utils": { + "version": "4.4.0", + "resolved": "https://registry.npmjs.org/@eslint-community/eslint-utils/-/eslint-utils-4.4.0.tgz", + "integrity": "sha512-1/sA4dwrzBAyeUoQ6oxahHKmrZvsnLCg4RfxW3ZFGGmQkSNQPFNLV9CUEFQP1x9EYXHTo5p6xdhZM1Ne9p/AfA==", + "dev": true, + "dependencies": { + "eslint-visitor-keys": "^3.3.0" + }, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "peerDependencies": { + "eslint": "^6.0.0 || ^7.0.0 || >=8.0.0" + } + }, + "node_modules/@eslint-community/eslint-utils/node_modules/eslint-visitor-keys": { + "version": "3.4.3", + "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.4.3.tgz", + "integrity": "sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag==", + "dev": true, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "url": "https://opencollective.com/eslint" + } + }, "node_modules/@eslint/eslintrc": { "version": "1.3.0", "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-1.3.0.tgz", @@ -7285,9 +7312,9 @@ } }, "node_modules/@jridgewell/sourcemap-codec": { - "version": "1.4.14", - "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.14.tgz", - "integrity": "sha512-XPSJHWmi394fuUuzDnGz1wiKqWfo1yXecHQMRf2l6hztTO+nPru658AyDngaBe7isIxEkRsPR3FZh+s7iVa4Uw==" + "version": "1.4.15", + "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.15.tgz", + "integrity": "sha512-eF2rxCRulEKXHTRiDrDy6erMYWqNw4LPdQ8UQA4huuxaQsVeRPFl2oM8oDGxMFhJUWZf9McpLtJasDDZb/Bpeg==" }, "node_modules/@jridgewell/trace-mapping": { "version": "0.3.20", @@ -10501,9 +10528,9 @@ } }, "node_modules/@types/json-schema": { - "version": "7.0.9", - "resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.9.tgz", - "integrity": "sha512-qcUXuemtEu+E5wZSJHNxUXeCZhAfXKQ41D+duX+VYPde7xyEVZci+/oXKJL13tnRs9lR2pr4fod59GT6/X1/yQ==" + "version": "7.0.15", + "resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.15.tgz", + "integrity": "sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA==" }, "node_modules/@types/json-stable-stringify": { "version": "1.0.34", @@ -10807,9 +10834,9 @@ "integrity": "sha512-hppQEBDmlwhFAXKJX2KnWLYu5yMfi91yazPb2l+lbJiwW+wdo1gNeRA+3RgNSO39WYX2euey41KEwnqesU2Jew==" }, "node_modules/@types/semver": { - "version": "7.3.13", - "resolved": "https://registry.npmjs.org/@types/semver/-/semver-7.3.13.tgz", - "integrity": "sha512-21cFJr9z3g5dW8B0CVI9g2O9beqaThGQ6ZFBqHfwhzLDKUxaqTIy3vnfah/UPkfOiF2pLq+tGz+W8RyCskuslw==", + "version": "7.5.8", + "resolved": "https://registry.npmjs.org/@types/semver/-/semver-7.5.8.tgz", + "integrity": "sha512-I8EUhyrgfLrcTkzV3TSsGyl1tSuPrEDzr0yd5m90UgNxQkyDXULk3b6MlQqTCpZpNtWe1K0hzclnZkTcLBe2UQ==", "dev": true }, "node_modules/@types/serve-index": { @@ -16301,41 +16328,83 @@ } }, "node_modules/eslint-plugin-formatjs": { - "version": "4.2.2", - "resolved": "https://registry.npmjs.org/eslint-plugin-formatjs/-/eslint-plugin-formatjs-4.2.2.tgz", - "integrity": "sha512-KAoGLoxz/I7+Cbeysjd21lhLB25nDxodvwDneIgVdZumiJZjg3Bo9D4iUXD1rFF0St4iiQJLR2Km51RiAcZNBw==", + "version": "4.12.2", + "resolved": "https://registry.npmjs.org/eslint-plugin-formatjs/-/eslint-plugin-formatjs-4.12.2.tgz", + "integrity": "sha512-b4iEsi0Y3zy7J6xjxlhrIaDFJa27OiLwardvCRBRHALoZs8rNJ0oQIW6ymUgELLEMeFuEMAd2837M+n5SHJutg==", "dev": true, "dependencies": { - "@formatjs/icu-messageformat-parser": "2.1.6", - "@formatjs/ts-transformer": "3.9.11", + "@formatjs/icu-messageformat-parser": "2.7.6", + "@formatjs/ts-transformer": "3.13.12", "@types/eslint": "7 || 8", "@types/picomatch": "^2.3.0", - "@typescript-eslint/typescript-estree": "^5.9.1", - "emoji-regex": "^10.0.0", + "@typescript-eslint/utils": "^6.18.1", + "emoji-regex": "^10.2.1", + "magic-string": "^0.30.0", "picomatch": "^2.3.1", - "tslib": "2.4.0", - "typescript": "^4.5" + "tslib": "2.6.2", + "typescript": "5", + "unicode-emoji-utils": "^1.2.0" }, "peerDependencies": { "eslint": "7 || 8" } }, + "node_modules/eslint-plugin-formatjs/node_modules/@formatjs/ecma402-abstract": { + "version": "1.18.2", + "resolved": "https://registry.npmjs.org/@formatjs/ecma402-abstract/-/ecma402-abstract-1.18.2.tgz", + "integrity": "sha512-+QoPW4csYALsQIl8GbN14igZzDbuwzcpWrku9nyMXlaqAlwRBgl5V+p0vWMGFqHOw37czNXaP/lEk4wbLgcmtA==", + "dev": true, + "dependencies": { + "@formatjs/intl-localematcher": "0.5.4", + "tslib": "^2.4.0" + } + }, + "node_modules/eslint-plugin-formatjs/node_modules/@formatjs/icu-messageformat-parser": { + "version": "2.7.6", + "resolved": "https://registry.npmjs.org/@formatjs/icu-messageformat-parser/-/icu-messageformat-parser-2.7.6.tgz", + "integrity": "sha512-etVau26po9+eewJKYoiBKP6743I1br0/Ie00Pb/S/PtmYfmjTcOn2YCh2yNkSZI12h6Rg+BOgQYborXk46BvkA==", + "dev": true, + "dependencies": { + "@formatjs/ecma402-abstract": "1.18.2", + "@formatjs/icu-skeleton-parser": "1.8.0", + "tslib": "^2.4.0" + } + }, + "node_modules/eslint-plugin-formatjs/node_modules/@formatjs/icu-skeleton-parser": { + "version": "1.8.0", + "resolved": "https://registry.npmjs.org/@formatjs/icu-skeleton-parser/-/icu-skeleton-parser-1.8.0.tgz", + "integrity": "sha512-QWLAYvM0n8hv7Nq5BEs4LKIjevpVpbGLAJgOaYzg9wABEoX1j0JO1q2/jVkO6CVlq0dbsxZCngS5aXbysYueqA==", + "dev": true, + "dependencies": { + "@formatjs/ecma402-abstract": "1.18.2", + "tslib": "^2.4.0" + } + }, + "node_modules/eslint-plugin-formatjs/node_modules/@formatjs/intl-localematcher": { + "version": "0.5.4", + "resolved": "https://registry.npmjs.org/@formatjs/intl-localematcher/-/intl-localematcher-0.5.4.tgz", + "integrity": "sha512-zTwEpWOzZ2CiKcB93BLngUX59hQkuZjT2+SAQEscSm52peDW/getsawMcWF1rGRpMCX6D7nSJA3CzJ8gn13N/g==", + "dev": true, + "dependencies": { + "tslib": "^2.4.0" + } + }, "node_modules/eslint-plugin-formatjs/node_modules/@formatjs/ts-transformer": { - "version": "3.9.11", - "resolved": "https://registry.npmjs.org/@formatjs/ts-transformer/-/ts-transformer-3.9.11.tgz", - "integrity": "sha512-NLp2UHdCTla4uCJkkhffAgYwFiOUdC6LZJE4gcfq4wcrfRINluRRBoLlNM3DqbeEkvz2zOIKEJUHVso1SEjeYA==", + "version": "3.13.12", + "resolved": "https://registry.npmjs.org/@formatjs/ts-transformer/-/ts-transformer-3.13.12.tgz", + "integrity": "sha512-uf1+DgbsCrzHAg7uIf0QlzpIkHYxRSRig5iJa9FaoUNIDZzNEE2oW/uLLLq7I9Z2FLIPhbmgq8hbW40FoQv+Fg==", "dev": true, "dependencies": { - "@formatjs/icu-messageformat-parser": "2.1.6", + "@formatjs/icu-messageformat-parser": "2.7.6", "@types/json-stable-stringify": "^1.0.32", "@types/node": "14 || 16 || 17", "chalk": "^4.0.0", "json-stable-stringify": "^1.0.1", - "tslib": "2.4.0", - "typescript": "^4.5" + "tslib": "^2.4.0", + "typescript": "5" }, "peerDependencies": { - "ts-jest": "27 || 28" + "ts-jest": ">=27" }, "peerDependenciesMeta": { "ts-jest": { @@ -16349,6 +16418,115 @@ "integrity": "sha512-w+tIMs3rq2afQdsPJlODhoUEKzFP1ayaoyl1CcnwtIlsVe7K7bA1NGm4s3PraqTLlXnbIN84zuBlxBWo1u9BLw==", "dev": true }, + "node_modules/eslint-plugin-formatjs/node_modules/@typescript-eslint/scope-manager": { + "version": "6.21.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-6.21.0.tgz", + "integrity": "sha512-OwLUIWZJry80O99zvqXVEioyniJMa+d2GrqpUTqi5/v5D5rOrppJVBPa0yKCblcigC0/aYAzxxqQ1B+DS2RYsg==", + "dev": true, + "dependencies": { + "@typescript-eslint/types": "6.21.0", + "@typescript-eslint/visitor-keys": "6.21.0" + }, + "engines": { + "node": "^16.0.0 || >=18.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + } + }, + "node_modules/eslint-plugin-formatjs/node_modules/@typescript-eslint/types": { + "version": "6.21.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-6.21.0.tgz", + "integrity": "sha512-1kFmZ1rOm5epu9NZEZm1kckCDGj5UJEf7P1kliH4LKu/RkwpsfqqGmY2OOcUs18lSlQBKLDYBOGxRVtrMN5lpg==", + "dev": true, + "engines": { + "node": "^16.0.0 || >=18.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + } + }, + "node_modules/eslint-plugin-formatjs/node_modules/@typescript-eslint/typescript-estree": { + "version": "6.21.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-6.21.0.tgz", + "integrity": "sha512-6npJTkZcO+y2/kr+z0hc4HwNfrrP4kNYh57ek7yCNlrBjWQ1Y0OS7jiZTkgumrvkX5HkEKXFZkkdFNkaW2wmUQ==", + "dev": true, + "dependencies": { + "@typescript-eslint/types": "6.21.0", + "@typescript-eslint/visitor-keys": "6.21.0", + "debug": "^4.3.4", + "globby": "^11.1.0", + "is-glob": "^4.0.3", + "minimatch": "9.0.3", + "semver": "^7.5.4", + "ts-api-utils": "^1.0.1" + }, + "engines": { + "node": "^16.0.0 || >=18.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "node_modules/eslint-plugin-formatjs/node_modules/@typescript-eslint/utils": { + "version": "6.21.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-6.21.0.tgz", + "integrity": "sha512-NfWVaC8HP9T8cbKQxHcsJBY5YE1O33+jpMwN45qzWWaPDZgLIbo12toGMWnmhvCpd3sIxkpDw3Wv1B3dYrbDQQ==", + "dev": true, + "dependencies": { + "@eslint-community/eslint-utils": "^4.4.0", + "@types/json-schema": "^7.0.12", + "@types/semver": "^7.5.0", + "@typescript-eslint/scope-manager": "6.21.0", + "@typescript-eslint/types": "6.21.0", + "@typescript-eslint/typescript-estree": "6.21.0", + "semver": "^7.5.4" + }, + "engines": { + "node": "^16.0.0 || >=18.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependencies": { + "eslint": "^7.0.0 || ^8.0.0" + } + }, + "node_modules/eslint-plugin-formatjs/node_modules/@typescript-eslint/visitor-keys": { + "version": "6.21.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-6.21.0.tgz", + "integrity": "sha512-JJtkDduxLi9bivAB+cYOVMtbkqdPOhZ+ZI5LC47MIRrDV4Yn2o+ZnW10Nkmr28xRpSpdJ6Sm42Hjf2+REYXm0A==", + "dev": true, + "dependencies": { + "@typescript-eslint/types": "6.21.0", + "eslint-visitor-keys": "^3.4.1" + }, + "engines": { + "node": "^16.0.0 || >=18.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + } + }, + "node_modules/eslint-plugin-formatjs/node_modules/brace-expansion": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", + "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", + "dev": true, + "dependencies": { + "balanced-match": "^1.0.0" + } + }, "node_modules/eslint-plugin-formatjs/node_modules/chalk": { "version": "4.1.2", "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", @@ -16366,11 +16544,84 @@ } }, "node_modules/eslint-plugin-formatjs/node_modules/emoji-regex": { - "version": "10.0.0", - "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-10.0.0.tgz", - "integrity": "sha512-KmJa8l6uHi1HrBI34udwlzZY1jOEuID/ft4d8BSSEdRyap7PwBEt910453PJa5MuGvxkLqlt4Uvhu7tttFHViw==", + "version": "10.3.0", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-10.3.0.tgz", + "integrity": "sha512-QpLs9D9v9kArv4lfDEgg1X/gN5XLnf/A6l9cs8SPZLRZR3ZkY9+kwIQTxm+fsSej5UMYGE8fdoaZVIBlqG0XTw==", "dev": true }, + "node_modules/eslint-plugin-formatjs/node_modules/eslint-visitor-keys": { + "version": "3.4.3", + "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.4.3.tgz", + "integrity": "sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag==", + "dev": true, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "url": "https://opencollective.com/eslint" + } + }, + "node_modules/eslint-plugin-formatjs/node_modules/magic-string": { + "version": "0.30.8", + "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.30.8.tgz", + "integrity": "sha512-ISQTe55T2ao7XtlAStud6qwYPZjE4GK1S/BeVPus4jrq6JuOnQ00YKQC581RWhR122W7msZV263KzVeLoqidyQ==", + "dev": true, + "dependencies": { + "@jridgewell/sourcemap-codec": "^1.4.15" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/eslint-plugin-formatjs/node_modules/minimatch": { + "version": "9.0.3", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.3.tgz", + "integrity": "sha512-RHiac9mvaRw0x3AYRgDC1CxAP7HTcNrrECeA8YYJeWnpo+2Q5CegtZjaotWTWxDG3UeGA1coE05iH1mPjT/2mg==", + "dev": true, + "dependencies": { + "brace-expansion": "^2.0.1" + }, + "engines": { + "node": ">=16 || 14 >=14.17" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/eslint-plugin-formatjs/node_modules/semver": { + "version": "7.6.0", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.0.tgz", + "integrity": "sha512-EnwXhrlwXMk9gKu5/flx5sv/an57AkRplG3hTK68W7FRDN+k+OWBj65M7719OkA82XLBxrcX0KSHj+X5COhOVg==", + "dev": true, + "dependencies": { + "lru-cache": "^6.0.0" + }, + "bin": { + "semver": "bin/semver.js" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/eslint-plugin-formatjs/node_modules/tslib": { + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.6.2.tgz", + "integrity": "sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q==", + "dev": true + }, + "node_modules/eslint-plugin-formatjs/node_modules/typescript": { + "version": "5.4.2", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.4.2.tgz", + "integrity": "sha512-+2/g0Fds1ERlP6JsakQQDXjZdZMM+rqpamFZJEKh4kwTIn3iDkgKtby0CeNd5ATNZ4Ry1ax15TMx0W2V+miizQ==", + "dev": true, + "bin": { + "tsc": "bin/tsc", + "tsserver": "bin/tsserver" + }, + "engines": { + "node": ">=14.17" + } + }, "node_modules/eslint-plugin-import": { "version": "2.26.0", "resolved": "https://registry.npmjs.org/eslint-plugin-import/-/eslint-plugin-import-2.26.0.tgz", @@ -30764,6 +31015,18 @@ "url": "https://github.com/sponsors/wooorm" } }, + "node_modules/ts-api-utils": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/ts-api-utils/-/ts-api-utils-1.3.0.tgz", + "integrity": "sha512-UQMIo7pb8WRomKR1/+MFVLTroIvDVtMX3K6OUir8ynLyzB8Jeriont2bTAtmNPa1ekAgN7YPDyf6V+ygrdU+eQ==", + "dev": true, + "engines": { + "node": ">=16" + }, + "peerDependencies": { + "typescript": ">=4.2.0" + } + }, "node_modules/ts-easing": { "version": "0.2.0", "resolved": "https://registry.npmjs.org/ts-easing/-/ts-easing-0.2.0.tgz", @@ -31240,6 +31503,21 @@ "node": ">=4" } }, + "node_modules/unicode-emoji-utils": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/unicode-emoji-utils/-/unicode-emoji-utils-1.2.0.tgz", + "integrity": "sha512-djUB91p/6oYpgps4W5K/MAvM+UspoAANHSUW495BrxeLRoned3iNPEDQgrKx9LbLq93VhNz0NWvI61vcfrwYoA==", + "dev": true, + "dependencies": { + "emoji-regex": "10.3.0" + } + }, + "node_modules/unicode-emoji-utils/node_modules/emoji-regex": { + "version": "10.3.0", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-10.3.0.tgz", + "integrity": "sha512-QpLs9D9v9kArv4lfDEgg1X/gN5XLnf/A6l9cs8SPZLRZR3ZkY9+kwIQTxm+fsSej5UMYGE8fdoaZVIBlqG0XTw==", + "dev": true + }, "node_modules/unicode-match-property-ecmascript": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/unicode-match-property-ecmascript/-/unicode-match-property-ecmascript-2.0.0.tgz", @@ -36033,6 +36311,23 @@ "resolved": "https://registry.npmjs.org/@emotion/hash/-/hash-0.9.1.tgz", "integrity": "sha512-gJB6HLm5rYwSLI6PQa+X1t5CFGrv1J1TWG+sOyMCeKz2ojaj6Fnl/rZEspogG+cvqbt4AE/2eIyD2QfLKTBNlQ==" }, + "@eslint-community/eslint-utils": { + "version": "4.4.0", + "resolved": "https://registry.npmjs.org/@eslint-community/eslint-utils/-/eslint-utils-4.4.0.tgz", + "integrity": "sha512-1/sA4dwrzBAyeUoQ6oxahHKmrZvsnLCg4RfxW3ZFGGmQkSNQPFNLV9CUEFQP1x9EYXHTo5p6xdhZM1Ne9p/AfA==", + "dev": true, + "requires": { + "eslint-visitor-keys": "^3.3.0" + }, + "dependencies": { + "eslint-visitor-keys": { + "version": "3.4.3", + "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.4.3.tgz", + "integrity": "sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag==", + "dev": true + } + } + }, "@eslint/eslintrc": { "version": "1.3.0", "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-1.3.0.tgz", @@ -38834,9 +39129,9 @@ } }, "@jridgewell/sourcemap-codec": { - "version": "1.4.14", - "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.14.tgz", - "integrity": "sha512-XPSJHWmi394fuUuzDnGz1wiKqWfo1yXecHQMRf2l6hztTO+nPru658AyDngaBe7isIxEkRsPR3FZh+s7iVa4Uw==" + "version": "1.4.15", + "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.15.tgz", + "integrity": "sha512-eF2rxCRulEKXHTRiDrDy6erMYWqNw4LPdQ8UQA4huuxaQsVeRPFl2oM8oDGxMFhJUWZf9McpLtJasDDZb/Bpeg==" }, "@jridgewell/trace-mapping": { "version": "0.3.20", @@ -41325,9 +41620,9 @@ } }, "@types/json-schema": { - "version": "7.0.9", - "resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.9.tgz", - "integrity": "sha512-qcUXuemtEu+E5wZSJHNxUXeCZhAfXKQ41D+duX+VYPde7xyEVZci+/oXKJL13tnRs9lR2pr4fod59GT6/X1/yQ==" + "version": "7.0.15", + "resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.15.tgz", + "integrity": "sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA==" }, "@types/json-stable-stringify": { "version": "1.0.34", @@ -41628,9 +41923,9 @@ "integrity": "sha512-hppQEBDmlwhFAXKJX2KnWLYu5yMfi91yazPb2l+lbJiwW+wdo1gNeRA+3RgNSO39WYX2euey41KEwnqesU2Jew==" }, "@types/semver": { - "version": "7.3.13", - "resolved": "https://registry.npmjs.org/@types/semver/-/semver-7.3.13.tgz", - "integrity": "sha512-21cFJr9z3g5dW8B0CVI9g2O9beqaThGQ6ZFBqHfwhzLDKUxaqTIy3vnfah/UPkfOiF2pLq+tGz+W8RyCskuslw==", + "version": "7.5.8", + "resolved": "https://registry.npmjs.org/@types/semver/-/semver-7.5.8.tgz", + "integrity": "sha512-I8EUhyrgfLrcTkzV3TSsGyl1tSuPrEDzr0yd5m90UgNxQkyDXULk3b6MlQqTCpZpNtWe1K0hzclnZkTcLBe2UQ==", "dev": true }, "@types/serve-index": { @@ -45856,35 +46151,77 @@ } }, "eslint-plugin-formatjs": { - "version": "4.2.2", - "resolved": "https://registry.npmjs.org/eslint-plugin-formatjs/-/eslint-plugin-formatjs-4.2.2.tgz", - "integrity": "sha512-KAoGLoxz/I7+Cbeysjd21lhLB25nDxodvwDneIgVdZumiJZjg3Bo9D4iUXD1rFF0St4iiQJLR2Km51RiAcZNBw==", + "version": "4.12.2", + "resolved": "https://registry.npmjs.org/eslint-plugin-formatjs/-/eslint-plugin-formatjs-4.12.2.tgz", + "integrity": "sha512-b4iEsi0Y3zy7J6xjxlhrIaDFJa27OiLwardvCRBRHALoZs8rNJ0oQIW6ymUgELLEMeFuEMAd2837M+n5SHJutg==", "dev": true, "requires": { - "@formatjs/icu-messageformat-parser": "2.1.6", - "@formatjs/ts-transformer": "3.9.11", + "@formatjs/icu-messageformat-parser": "2.7.6", + "@formatjs/ts-transformer": "3.13.12", "@types/eslint": "7 || 8", "@types/picomatch": "^2.3.0", - "@typescript-eslint/typescript-estree": "^5.9.1", - "emoji-regex": "^10.0.0", + "@typescript-eslint/utils": "^6.18.1", + "emoji-regex": "^10.2.1", + "magic-string": "^0.30.0", "picomatch": "^2.3.1", - "tslib": "2.4.0", - "typescript": "^4.5" + "tslib": "2.6.2", + "typescript": "5", + "unicode-emoji-utils": "^1.2.0" }, "dependencies": { + "@formatjs/ecma402-abstract": { + "version": "1.18.2", + "resolved": "https://registry.npmjs.org/@formatjs/ecma402-abstract/-/ecma402-abstract-1.18.2.tgz", + "integrity": "sha512-+QoPW4csYALsQIl8GbN14igZzDbuwzcpWrku9nyMXlaqAlwRBgl5V+p0vWMGFqHOw37czNXaP/lEk4wbLgcmtA==", + "dev": true, + "requires": { + "@formatjs/intl-localematcher": "0.5.4", + "tslib": "^2.4.0" + } + }, + "@formatjs/icu-messageformat-parser": { + "version": "2.7.6", + "resolved": "https://registry.npmjs.org/@formatjs/icu-messageformat-parser/-/icu-messageformat-parser-2.7.6.tgz", + "integrity": "sha512-etVau26po9+eewJKYoiBKP6743I1br0/Ie00Pb/S/PtmYfmjTcOn2YCh2yNkSZI12h6Rg+BOgQYborXk46BvkA==", + "dev": true, + "requires": { + "@formatjs/ecma402-abstract": "1.18.2", + "@formatjs/icu-skeleton-parser": "1.8.0", + "tslib": "^2.4.0" + } + }, + "@formatjs/icu-skeleton-parser": { + "version": "1.8.0", + "resolved": "https://registry.npmjs.org/@formatjs/icu-skeleton-parser/-/icu-skeleton-parser-1.8.0.tgz", + "integrity": "sha512-QWLAYvM0n8hv7Nq5BEs4LKIjevpVpbGLAJgOaYzg9wABEoX1j0JO1q2/jVkO6CVlq0dbsxZCngS5aXbysYueqA==", + "dev": true, + "requires": { + "@formatjs/ecma402-abstract": "1.18.2", + "tslib": "^2.4.0" + } + }, + "@formatjs/intl-localematcher": { + "version": "0.5.4", + "resolved": "https://registry.npmjs.org/@formatjs/intl-localematcher/-/intl-localematcher-0.5.4.tgz", + "integrity": "sha512-zTwEpWOzZ2CiKcB93BLngUX59hQkuZjT2+SAQEscSm52peDW/getsawMcWF1rGRpMCX6D7nSJA3CzJ8gn13N/g==", + "dev": true, + "requires": { + "tslib": "^2.4.0" + } + }, "@formatjs/ts-transformer": { - "version": "3.9.11", - "resolved": "https://registry.npmjs.org/@formatjs/ts-transformer/-/ts-transformer-3.9.11.tgz", - "integrity": "sha512-NLp2UHdCTla4uCJkkhffAgYwFiOUdC6LZJE4gcfq4wcrfRINluRRBoLlNM3DqbeEkvz2zOIKEJUHVso1SEjeYA==", + "version": "3.13.12", + "resolved": "https://registry.npmjs.org/@formatjs/ts-transformer/-/ts-transformer-3.13.12.tgz", + "integrity": "sha512-uf1+DgbsCrzHAg7uIf0QlzpIkHYxRSRig5iJa9FaoUNIDZzNEE2oW/uLLLq7I9Z2FLIPhbmgq8hbW40FoQv+Fg==", "dev": true, "requires": { - "@formatjs/icu-messageformat-parser": "2.1.6", + "@formatjs/icu-messageformat-parser": "2.7.6", "@types/json-stable-stringify": "^1.0.32", "@types/node": "14 || 16 || 17", "chalk": "^4.0.0", "json-stable-stringify": "^1.0.1", - "tslib": "2.4.0", - "typescript": "^4.5" + "tslib": "^2.4.0", + "typescript": "5" } }, "@types/node": { @@ -45893,6 +46230,72 @@ "integrity": "sha512-w+tIMs3rq2afQdsPJlODhoUEKzFP1ayaoyl1CcnwtIlsVe7K7bA1NGm4s3PraqTLlXnbIN84zuBlxBWo1u9BLw==", "dev": true }, + "@typescript-eslint/scope-manager": { + "version": "6.21.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-6.21.0.tgz", + "integrity": "sha512-OwLUIWZJry80O99zvqXVEioyniJMa+d2GrqpUTqi5/v5D5rOrppJVBPa0yKCblcigC0/aYAzxxqQ1B+DS2RYsg==", + "dev": true, + "requires": { + "@typescript-eslint/types": "6.21.0", + "@typescript-eslint/visitor-keys": "6.21.0" + } + }, + "@typescript-eslint/types": { + "version": "6.21.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-6.21.0.tgz", + "integrity": "sha512-1kFmZ1rOm5epu9NZEZm1kckCDGj5UJEf7P1kliH4LKu/RkwpsfqqGmY2OOcUs18lSlQBKLDYBOGxRVtrMN5lpg==", + "dev": true + }, + "@typescript-eslint/typescript-estree": { + "version": "6.21.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-6.21.0.tgz", + "integrity": "sha512-6npJTkZcO+y2/kr+z0hc4HwNfrrP4kNYh57ek7yCNlrBjWQ1Y0OS7jiZTkgumrvkX5HkEKXFZkkdFNkaW2wmUQ==", + "dev": true, + "requires": { + "@typescript-eslint/types": "6.21.0", + "@typescript-eslint/visitor-keys": "6.21.0", + "debug": "^4.3.4", + "globby": "^11.1.0", + "is-glob": "^4.0.3", + "minimatch": "9.0.3", + "semver": "^7.5.4", + "ts-api-utils": "^1.0.1" + } + }, + "@typescript-eslint/utils": { + "version": "6.21.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-6.21.0.tgz", + "integrity": "sha512-NfWVaC8HP9T8cbKQxHcsJBY5YE1O33+jpMwN45qzWWaPDZgLIbo12toGMWnmhvCpd3sIxkpDw3Wv1B3dYrbDQQ==", + "dev": true, + "requires": { + "@eslint-community/eslint-utils": "^4.4.0", + "@types/json-schema": "^7.0.12", + "@types/semver": "^7.5.0", + "@typescript-eslint/scope-manager": "6.21.0", + "@typescript-eslint/types": "6.21.0", + "@typescript-eslint/typescript-estree": "6.21.0", + "semver": "^7.5.4" + } + }, + "@typescript-eslint/visitor-keys": { + "version": "6.21.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-6.21.0.tgz", + "integrity": "sha512-JJtkDduxLi9bivAB+cYOVMtbkqdPOhZ+ZI5LC47MIRrDV4Yn2o+ZnW10Nkmr28xRpSpdJ6Sm42Hjf2+REYXm0A==", + "dev": true, + "requires": { + "@typescript-eslint/types": "6.21.0", + "eslint-visitor-keys": "^3.4.1" + } + }, + "brace-expansion": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", + "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", + "dev": true, + "requires": { + "balanced-match": "^1.0.0" + } + }, "chalk": { "version": "4.1.2", "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", @@ -45904,9 +46307,54 @@ } }, "emoji-regex": { - "version": "10.0.0", - "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-10.0.0.tgz", - "integrity": "sha512-KmJa8l6uHi1HrBI34udwlzZY1jOEuID/ft4d8BSSEdRyap7PwBEt910453PJa5MuGvxkLqlt4Uvhu7tttFHViw==", + "version": "10.3.0", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-10.3.0.tgz", + "integrity": "sha512-QpLs9D9v9kArv4lfDEgg1X/gN5XLnf/A6l9cs8SPZLRZR3ZkY9+kwIQTxm+fsSej5UMYGE8fdoaZVIBlqG0XTw==", + "dev": true + }, + "eslint-visitor-keys": { + "version": "3.4.3", + "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.4.3.tgz", + "integrity": "sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag==", + "dev": true + }, + "magic-string": { + "version": "0.30.8", + "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.30.8.tgz", + "integrity": "sha512-ISQTe55T2ao7XtlAStud6qwYPZjE4GK1S/BeVPus4jrq6JuOnQ00YKQC581RWhR122W7msZV263KzVeLoqidyQ==", + "dev": true, + "requires": { + "@jridgewell/sourcemap-codec": "^1.4.15" + } + }, + "minimatch": { + "version": "9.0.3", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.3.tgz", + "integrity": "sha512-RHiac9mvaRw0x3AYRgDC1CxAP7HTcNrrECeA8YYJeWnpo+2Q5CegtZjaotWTWxDG3UeGA1coE05iH1mPjT/2mg==", + "dev": true, + "requires": { + "brace-expansion": "^2.0.1" + } + }, + "semver": { + "version": "7.6.0", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.0.tgz", + "integrity": "sha512-EnwXhrlwXMk9gKu5/flx5sv/an57AkRplG3hTK68W7FRDN+k+OWBj65M7719OkA82XLBxrcX0KSHj+X5COhOVg==", + "dev": true, + "requires": { + "lru-cache": "^6.0.0" + } + }, + "tslib": { + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.6.2.tgz", + "integrity": "sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q==", + "dev": true + }, + "typescript": { + "version": "5.4.2", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.4.2.tgz", + "integrity": "sha512-+2/g0Fds1ERlP6JsakQQDXjZdZMM+rqpamFZJEKh4kwTIn3iDkgKtby0CeNd5ATNZ4Ry1ax15TMx0W2V+miizQ==", "dev": true } } @@ -56366,6 +56814,12 @@ "resolved": "https://registry.npmjs.org/trough/-/trough-1.0.5.tgz", "integrity": "sha512-rvuRbTarPXmMb79SmzEp8aqXNKcK+y0XaB298IXueQ8I2PsrATcPBCSPyK/dDNa2iWOhKlfNnOjdAOTBU/nkFA==" }, + "ts-api-utils": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/ts-api-utils/-/ts-api-utils-1.3.0.tgz", + "integrity": "sha512-UQMIo7pb8WRomKR1/+MFVLTroIvDVtMX3K6OUir8ynLyzB8Jeriont2bTAtmNPa1ekAgN7YPDyf6V+ygrdU+eQ==", + "dev": true + }, "ts-easing": { "version": "0.2.0", "resolved": "https://registry.npmjs.org/ts-easing/-/ts-easing-0.2.0.tgz", @@ -56694,6 +57148,23 @@ "resolved": "https://registry.npmjs.org/unicode-canonical-property-names-ecmascript/-/unicode-canonical-property-names-ecmascript-2.0.0.tgz", "integrity": "sha512-yY5PpDlfVIU5+y/BSCxAJRBIS1Zc2dDG3Ujq+sR0U+JjUevW2JhocOF+soROYDSaAezOzOKuyyixhD6mBknSmQ==" }, + "unicode-emoji-utils": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/unicode-emoji-utils/-/unicode-emoji-utils-1.2.0.tgz", + "integrity": "sha512-djUB91p/6oYpgps4W5K/MAvM+UspoAANHSUW495BrxeLRoned3iNPEDQgrKx9LbLq93VhNz0NWvI61vcfrwYoA==", + "dev": true, + "requires": { + "emoji-regex": "10.3.0" + }, + "dependencies": { + "emoji-regex": { + "version": "10.3.0", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-10.3.0.tgz", + "integrity": "sha512-QpLs9D9v9kArv4lfDEgg1X/gN5XLnf/A6l9cs8SPZLRZR3ZkY9+kwIQTxm+fsSej5UMYGE8fdoaZVIBlqG0XTw==", + "dev": true + } + } + }, "unicode-match-property-ecmascript": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/unicode-match-property-ecmascript/-/unicode-match-property-ecmascript-2.0.0.tgz", diff --git a/package.json b/package.json index 73fd7d5050a..ef1c3d844a6 100644 --- a/package.json +++ b/package.json @@ -185,7 +185,7 @@ "css-loader": "6.7.1", "eslint": "8.22.0", "eslint-config-prettier": "8.5.0", - "eslint-plugin-formatjs": "4.2.2", + "eslint-plugin-formatjs": "4.12.2", "eslint-plugin-import": "2.26.0", "eslint-plugin-jsx-a11y": "6.7.1", "eslint-plugin-react": "7.32.2",