From 2861e1e5cf87744c0f6da6f6edd750df52830445 Mon Sep 17 00:00:00 2001 From: Nicolas Van Labeke Date: Thu, 16 Jan 2025 09:18:55 +0000 Subject: [PATCH] fix(29358): fix translations --- .../datahub/designer/data_policy/DataPolicyNode.tsx | 8 ++++++-- .../src/extensions/datahub/locales/en/datahub.json | 2 ++ 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/hivemq-edge/src/frontend/src/extensions/datahub/designer/data_policy/DataPolicyNode.tsx b/hivemq-edge/src/frontend/src/extensions/datahub/designer/data_policy/DataPolicyNode.tsx index 7926484467..f7e82c3fa4 100644 --- a/hivemq-edge/src/frontend/src/extensions/datahub/designer/data_policy/DataPolicyNode.tsx +++ b/hivemq-edge/src/frontend/src/extensions/datahub/designer/data_policy/DataPolicyNode.tsx @@ -16,8 +16,12 @@ export const DataPolicyNode: FC> = (props) => { }> - {t('filter')} - {t('validator')} + + {t('workspace.handles.validation', { context: DataPolicyData.Handle.TOPIC_FILTER })} + + + {t('workspace.handles.validation', { context: DataPolicyData.Handle.VALIDATION })} + diff --git a/hivemq-edge/src/frontend/src/extensions/datahub/locales/en/datahub.json b/hivemq-edge/src/frontend/src/extensions/datahub/locales/en/datahub.json index 395b4ca443..99b2d9f513 100644 --- a/hivemq-edge/src/frontend/src/extensions/datahub/locales/en/datahub.json +++ b/hivemq-edge/src/frontend/src/extensions/datahub/locales/en/datahub.json @@ -186,6 +186,8 @@ "handles": { "validation_onSuccess": "onSuccess", "validation_onError": "onError", + "validation_topicFilter": "filter", + "validation_validation": "validation", "behavior_serial.will": "onWill", "behavior_serial.publish": "onPublish", "operation_deserialiser": "deserializer",