feat/Added translation option for text 'segment' (#4624)

This commit is contained in:
nithin-trenser authored and GitHub committed 2025-01-03 10:38:34 -05:00
1 parent 4ef67c0cf7
commit 860679126a
3 files changed
+15 -12

No files matched your search

+2 -1
View File
@@ -14,6 +14,7 @@ import {
} from '@cornerstonejs/tools';
import { Types as OhifTypes } from '@ohif/core';
import i18n from '@ohif/i18n';
import {
callLabelAutocompleteDialog,
showLabelAnnotationPopup,
@@ -902,7 +903,7 @@ function commandsModule({
segments: options.createInitialSegment
? {
1: {
label: 'Segment 1',
label: `${i18n.t('Segment')} 1`,
active: true,
},
}