From 220bbc28dc894ee69ef026d0673eb2b8c2c079f3 Mon Sep 17 00:00:00 2001 From: Lin Wang Date: Fri, 4 Oct 2024 10:54:04 +0800 Subject: [PATCH 1/3] Fix i18n keys start with workspaces Signed-off-by: Lin Wang --- .../components/workspace_form/select_data_source_panel.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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.', })} From d7582bef9e6817507d4c1e13bf0eb98c783b75bb Mon Sep 17 00:00:00 2001 From: Lin Wang Date: Fri, 4 Oct 2024 10:56:14 +0800 Subject: [PATCH 2/3] Update key to uiActionsExplorer.appTitle Signed-off-by: Lin Wang --- examples/ui_actions_explorer/public/app.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 = () => {

From 5dce18e39d29a6c3b1aea2408fe2444336aac083 Mon Sep 17 00:00:00 2001 From: "opensearch-changeset-bot[bot]" <154024398+opensearch-changeset-bot[bot]@users.noreply.github.com> Date: Fri, 4 Oct 2024 03:03:47 +0000 Subject: [PATCH 3/3] Changeset file for PR #8483 created/updated --- changelogs/fragments/8483.yml | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 changelogs/fragments/8483.yml 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