diff --git a/changelogs/fragments/8483.yml b/changelogs/fragments/8483.yml new file mode 100644 index 000000000000..97a7721ed260 --- /dev/null +++ b/changelogs/fragments/8483.yml @@ -0,0 +1,2 @@ +fix: +- Fix inconsistent i18n key names in workspace and examples ([#8483](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/8483)) \ No newline at end of file diff --git a/examples/ui_actions_explorer/public/app.tsx b/examples/ui_actions_explorer/public/app.tsx index 4de6e928a95e..6ed211f0ceda 100644 --- a/examples/ui_actions_explorer/public/app.tsx +++ b/examples/ui_actions_explorer/public/app.tsx @@ -85,7 +85,7 @@ const ActionsExplorer = () => {

diff --git a/src/plugins/workspace/public/components/workspace_form/select_data_source_panel.tsx b/src/plugins/workspace/public/components/workspace_form/select_data_source_panel.tsx index 7960f6c4138a..5a769110a9b4 100644 --- a/src/plugins/workspace/public/components/workspace_form/select_data_source_panel.tsx +++ b/src/plugins/workspace/public/components/workspace_form/select_data_source_panel.tsx @@ -121,7 +121,7 @@ export const SelectDataSourcePanel = ({ title={

- {i18n.translate('workspaces.forms.selectDataSourcePanel.emptyTableTitle', { + {i18n.translate('workspace.forms.selectDataSourcePanel.emptyTableTitle', { defaultMessage: 'Associated data sources will appear here', })}

@@ -129,7 +129,7 @@ export const SelectDataSourcePanel = ({ } body={ - {i18n.translate('workspaces.forms.selectDataSourcePanel.emptyTableDescription', { + {i18n.translate('workspace.forms.selectDataSourcePanel.emptyTableDescription', { defaultMessage: 'At least one data source is required to create a workspace.', })}