This is an automated email from the ASF dual-hosted git repository.
thiagoelg pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-kie-tools.git
The following commit(s) were added to refs/heads/main by this push:
new 5cb3de11503 NO-ISSUE: DMN Editor: Extract text to i18n dictionary
(#3351)
5cb3de11503 is described below
commit 5cb3de1150309a55fa9accf6ff66778f04d2d883
Author: Kusuma04-dev <[email protected]>
AuthorDate: Thu Nov 20 01:42:28 2025 +0530
NO-ISSUE: DMN Editor: Extract text to i18n dictionary (#3351)
Co-authored-by: Kusuma <[email protected]>
---
packages/dmn-editor/src/boxedExpressions/BoxedExpressionScreen.tsx | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/packages/dmn-editor/src/boxedExpressions/BoxedExpressionScreen.tsx
b/packages/dmn-editor/src/boxedExpressions/BoxedExpressionScreen.tsx
index 8615715ec6b..fd2550445a3 100644
--- a/packages/dmn-editor/src/boxedExpressions/BoxedExpressionScreen.tsx
+++ b/packages/dmn-editor/src/boxedExpressions/BoxedExpressionScreen.tsx
@@ -93,9 +93,11 @@ import {
} from "../refactor/RefactorConfirmationDialog";
import { EvaluationHighlightsBadge } from
"../evaluationHighlights/EvaluationHighlightsBadge";
import { useDmnEditor } from "../DmnEditorContext";
+import { useDmnEditorI18n } from "../i18n";
export function BoxedExpressionScreen({ container }: { container:
React.RefObject<HTMLElement> }) {
const { externalModelsByNamespace } = useExternalModels();
+ const { i18n } = useDmnEditorI18n();
const settings = useSettings();
const dmnEditorStoreApi = useDmnEditorStoreApi();
@@ -470,7 +472,7 @@ export function BoxedExpressionScreen({ container }: {
container: React.RefObjec
className={"kie-dmn-editor--boxed-expression-back"}
icon={<ArrowRightIcon style={{ transform: "scale(-1, -1)",
marginRight: "8px", marginTop: "4px" }} />}
>
- <p>Back to Diagram</p>
+ <p>{i18n.backToDiagram}</p>
</Label>
</FlexItem>
<FlexItem>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]