@ohif/app 3.12.0-beta.29 → 3.12.0-beta.30

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (26) hide show
  1. package/dist/{1447.bundle.7ea0d8e4aa9d9f34bf41.js → 1447.bundle.7ccbf8c680ed0a7e69d5.js} +20 -15
  2. package/dist/{1459.bundle.8f1e6eda9e6c4b162b89.js → 1459.bundle.25ae02642118d90e49ac.js} +18 -17
  3. package/dist/{1807.bundle.d721cfc3d15d95ec8d82.js → 1807.bundle.fb43d3ec0c1810dfd665.js} +42 -41
  4. package/dist/{213.bundle.ef068a2f88aaa7372cbd.js → 213.bundle.a628d19d9049300164e7.js} +2 -2
  5. package/dist/{2243.bundle.25b3992cdcfe70ddd919.js → 2243.bundle.8230239618b7b3732cb7.js} +84 -83
  6. package/dist/{2424.bundle.afad8a53334a4495abdb.js → 2424.bundle.8e5801b13cbf46346e82.js} +2 -2
  7. package/dist/{4113.bundle.428c74d3e546a7277a9e.js → 4113.bundle.c5cda661ac043f9b5e97.js} +2 -2
  8. package/dist/{6027.bundle.4479affc92c33069af5d.js → 6027.bundle.744b0fb1b090256c0a77.js} +29 -28
  9. package/dist/{6201.bundle.6ec98c3f81a8154c432c.js → 6201.bundle.b32ee475e39dcf2d69b4.js} +2 -2
  10. package/dist/{6980.bundle.6df792cb5f9ad93a7d91.js → 6980.bundle.945ffbd91eaf6f3faaa9.js} +84 -83
  11. package/dist/{7197.bundle.c85bed3a067043ebdc69.js → 7197.bundle.27d101c9c06cd67ec070.js} +2 -2
  12. package/dist/{7639.bundle.be44963b6149ed6970fd.js → 7639.bundle.f34b172193c9c1218ed7.js} +42 -39
  13. package/dist/{7656.bundle.56e460a5793d66bf5f91.js → 7656.bundle.a821e6064d08e194a9e1.js} +60 -36
  14. package/dist/{810.bundle.7eb581c376d1fccefedf.js → 810.bundle.6843f6cc56987564bb42.js} +2 -2
  15. package/dist/{85.bundle.0e1a214b530e80641917.js → 85.bundle.333336f0acd7387b9c12.js} +90 -89
  16. package/dist/{8558.bundle.de825b993a974c6e70d4.js → 8558.bundle.700a45d1df4274c7569e.js} +2 -2
  17. package/dist/{8815.bundle.979df6afb75a8ff23bd1.js → 8815.bundle.4002e0e98ee51da6f347.js} +72 -69
  18. package/dist/{app.bundle.639b0587c99d124efe17.js → app.bundle.dc901a102d764ef35ad4.js} +38653 -38597
  19. package/dist/index.html +1 -1
  20. package/dist/sw.js +1 -1
  21. package/package.json +20 -20
  22. /package/dist/{1604.bundle.e306a0a1547e398121f1.js → 1604.bundle.a0651a36c30bba3ca428.js} +0 -0
  23. /package/dist/{1919.bundle.1bbede9be58e0a6c307c.js → 1919.bundle.28e3a73be5889d518468.js} +0 -0
  24. /package/dist/{414.bundle.b57e468bd49237bafdaf.js → 414.bundle.aba3037fd5feebd821dc.js} +0 -0
  25. /package/dist/{6991.bundle.956af935ea8d258215ea.js → 6991.bundle.b4826e45919342537aac.js} +0 -0
  26. /package/dist/{934.bundle.493402696bb6c0e70ee2.js → 934.bundle.615d68bb584003b7c065.js} +0 -0
@@ -20,8 +20,11 @@ const id = package_namespaceObject.UU;
20
20
 
21
21
  // EXTERNAL MODULE: ../../core/src/index.ts + 69 modules
22
22
  var src = __webpack_require__(76569);
23
+ // EXTERNAL MODULE: ../../../node_modules/i18next/dist/esm/i18next.js
24
+ var i18next = __webpack_require__(40680);
23
25
  ;// ../../../modes/segmentation/src/toolbarButtons.ts
24
26
 
27
+
25
28
  const setToolActiveToolbar = {
26
29
  commandName: 'setToolActiveToolbar',
27
30
  commandOptions: {
@@ -45,8 +48,8 @@ const toolbarButtons = [{
45
48
  uiType: 'ohif.modalityLoadBadge',
46
49
  props: {
47
50
  icon: 'Status',
48
- label: 'Status',
49
- tooltip: 'Status',
51
+ label: i18next/* default */.A.t('Buttons:Status'),
52
+ tooltip: i18next/* default */.A.t('Buttons:Status'),
50
53
  evaluate: {
51
54
  name: 'evaluate.modalityLoadBadge',
52
55
  hideWhenDisabled: true
@@ -57,8 +60,8 @@ const toolbarButtons = [{
57
60
  uiType: 'ohif.navigationComponent',
58
61
  props: {
59
62
  icon: 'Navigation',
60
- label: 'Navigation',
61
- tooltip: 'Navigate between segments/measurements and manage their visibility',
63
+ label: i18next/* default */.A.t('Buttons:Navigation'),
64
+ tooltip: i18next/* default */.A.t('Buttons:Navigate between segments/measurements and manage their visibility'),
62
65
  evaluate: {
63
66
  name: 'evaluate.navigationComponent',
64
67
  hideWhenDisabled: true
@@ -69,8 +72,8 @@ const toolbarButtons = [{
69
72
  uiType: 'ohif.trackingStatus',
70
73
  props: {
71
74
  icon: 'TrackingStatus',
72
- label: 'Tracking Status',
73
- tooltip: 'View and manage tracking status of measurements and annotations',
75
+ label: i18next/* default */.A.t('Buttons:Tracking Status'),
76
+ tooltip: i18next/* default */.A.t('Buttons:View and manage tracking status of measurements and annotations'),
74
77
  evaluate: {
75
78
  name: 'evaluate.trackingStatus',
76
79
  hideWhenDisabled: true
@@ -81,8 +84,8 @@ const toolbarButtons = [{
81
84
  uiType: 'ohif.dataOverlayMenu',
82
85
  props: {
83
86
  icon: 'ViewportViews',
84
- label: 'Data Overlay',
85
- tooltip: 'Configure data overlay options and manage foreground/background display sets',
87
+ label: i18next/* default */.A.t('Buttons:Data Overlay'),
88
+ tooltip: i18next/* default */.A.t('Buttons:Configure data overlay options and manage foreground/background display sets'),
86
89
  evaluate: 'evaluate.dataOverlayMenu'
87
90
  }
88
91
  }, {
@@ -90,8 +93,8 @@ const toolbarButtons = [{
90
93
  uiType: 'ohif.orientationMenu',
91
94
  props: {
92
95
  icon: 'OrientationSwitch',
93
- label: 'Orientation',
94
- tooltip: 'Change viewport orientation between axial, sagittal, coronal and reformat planes',
96
+ label: i18next/* default */.A.t('Buttons:Orientation'),
97
+ tooltip: i18next/* default */.A.t('Buttons:Change viewport orientation between axial, sagittal, coronal and reformat planes'),
95
98
  evaluate: {
96
99
  name: 'evaluate.orientationMenu'
97
100
  // hideWhenDisabled: true,
@@ -102,8 +105,8 @@ const toolbarButtons = [{
102
105
  uiType: 'ohif.windowLevelMenuEmbedded',
103
106
  props: {
104
107
  icon: 'WindowLevel',
105
- label: 'Window Level',
106
- tooltip: 'Adjust window/level presets and customize image contrast settings',
108
+ label: i18next/* default */.A.t('Buttons:Window Level'),
109
+ tooltip: i18next/* default */.A.t('Buttons:Adjust window/level presets and customize image contrast settings'),
107
110
  evaluate: {
108
111
  name: 'evaluate.windowLevelMenuEmbedded',
109
112
  hideWhenDisabled: true
@@ -114,8 +117,8 @@ const toolbarButtons = [{
114
117
  uiType: 'ohif.windowLevelMenu',
115
118
  props: {
116
119
  icon: 'WindowLevel',
117
- label: 'Window Level',
118
- tooltip: 'Adjust window/level presets and customize image contrast settings',
120
+ label: i18next/* default */.A.t('Buttons:Window Level'),
121
+ tooltip: i18next/* default */.A.t('Buttons:Adjust window/level presets and customize image contrast settings'),
119
122
  evaluate: 'evaluate.windowLevelMenu'
120
123
  }
121
124
  }, {
@@ -123,8 +126,8 @@ const toolbarButtons = [{
123
126
  uiType: 'ohif.voiManualControlMenu',
124
127
  props: {
125
128
  icon: 'WindowLevelAdvanced',
126
- label: 'Advanced Window Level',
127
- tooltip: 'Advanced window/level settings with manual controls and presets',
129
+ label: i18next/* default */.A.t('Buttons:Advanced Window Level'),
130
+ tooltip: i18next/* default */.A.t('Buttons:Advanced window/level settings with manual controls and presets'),
128
131
  evaluate: 'evaluate.voiManualControlMenu'
129
132
  }
130
133
  }, {
@@ -132,8 +135,8 @@ const toolbarButtons = [{
132
135
  uiType: 'ohif.thresholdMenu',
133
136
  props: {
134
137
  icon: 'Threshold',
135
- label: 'Threshold',
136
- tooltip: 'Image threshold settings',
138
+ label: i18next/* default */.A.t('Buttons:Threshold'),
139
+ tooltip: i18next/* default */.A.t('Buttons:Image threshold settings'),
137
140
  evaluate: {
138
141
  name: 'evaluate.thresholdMenu',
139
142
  hideWhenDisabled: true
@@ -144,8 +147,8 @@ const toolbarButtons = [{
144
147
  uiType: 'ohif.opacityMenu',
145
148
  props: {
146
149
  icon: 'Opacity',
147
- label: 'Opacity',
148
- tooltip: 'Image opacity settings',
150
+ label: i18next/* default */.A.t('Buttons:Opacity'),
151
+ tooltip: i18next/* default */.A.t('Buttons:Image opacity settings'),
149
152
  evaluate: {
150
153
  name: 'evaluate.opacityMenu',
151
154
  hideWhenDisabled: true
@@ -156,7 +159,7 @@ const toolbarButtons = [{
156
159
  uiType: 'ohif.colorbar',
157
160
  props: {
158
161
  type: 'tool',
159
- label: 'Colorbar'
162
+ label: i18next/* default */.A.t('Buttons:Colorbar')
160
163
  }
161
164
  },
162
165
  // sections
@@ -193,7 +196,7 @@ const toolbarButtons = [{
193
196
  uiType: 'ohif.toolButton',
194
197
  props: {
195
198
  icon: 'tool-zoom',
196
- label: 'Zoom',
199
+ label: i18next/* default */.A.t('Buttons:Zoom'),
197
200
  commands: setToolActiveToolbar,
198
201
  evaluate: 'evaluate.cornerstoneTool'
199
202
  }
@@ -202,7 +205,7 @@ const toolbarButtons = [{
202
205
  uiType: 'ohif.toolButton',
203
206
  props: {
204
207
  icon: 'tool-window-level',
205
- label: 'Window Level',
208
+ label: i18next/* default */.A.t('Buttons:Window Level'),
206
209
  commands: setToolActiveToolbar,
207
210
  evaluate: 'evaluate.cornerstoneTool'
208
211
  }
@@ -211,7 +214,7 @@ const toolbarButtons = [{
211
214
  uiType: 'ohif.toolButton',
212
215
  props: {
213
216
  icon: 'tool-move',
214
- label: 'Pan',
217
+ label: i18next/* default */.A.t('Buttons:Pan'),
215
218
  commands: setToolActiveToolbar,
216
219
  evaluate: 'evaluate.cornerstoneTool'
217
220
  }
@@ -221,11 +224,11 @@ const toolbarButtons = [{
221
224
  props: {
222
225
  type: 'tool',
223
226
  icon: 'tool-3d-rotate',
224
- label: '3D Rotate',
227
+ label: i18next/* default */.A.t('Buttons:3D Rotate'),
225
228
  commands: setToolActiveToolbar,
226
229
  evaluate: {
227
230
  name: 'evaluate.cornerstoneTool',
228
- disabledText: 'Select a 3D viewport to enable this tool'
231
+ disabledText: i18next/* default */.A.t('Buttons:Select a 3D viewport to enable this tool')
229
232
  }
230
233
  }
231
234
  }, {
@@ -233,7 +236,7 @@ const toolbarButtons = [{
233
236
  uiType: 'ohif.toolButton',
234
237
  props: {
235
238
  icon: 'tool-capture',
236
- label: 'Capture',
239
+ label: i18next/* default */.A.t('Buttons:Capture'),
237
240
  commands: 'showDownloadViewportModal',
238
241
  evaluate: ['evaluate.action', {
239
242
  name: 'evaluate.viewport.supported',
@@ -254,7 +257,7 @@ const toolbarButtons = [{
254
257
  uiType: 'ohif.toolButton',
255
258
  props: {
256
259
  icon: 'tool-crosshair',
257
- label: 'Crosshairs',
260
+ label: i18next/* default */.A.t('Buttons:Crosshairs'),
258
261
  commands: {
259
262
  commandName: 'setToolActiveToolbar',
260
263
  commandOptions: {
@@ -263,7 +266,7 @@ const toolbarButtons = [{
263
266
  },
264
267
  evaluate: {
265
268
  name: 'evaluate.cornerstoneTool',
266
- disabledText: 'Select an MPR viewport to enable this tool'
269
+ disabledText: i18next/* default */.A.t('Buttons:Select an MPR viewport to enable this tool')
267
270
  }
268
271
  }
269
272
  }, {
@@ -271,8 +274,8 @@ const toolbarButtons = [{
271
274
  uiType: 'ohif.toolButton',
272
275
  props: {
273
276
  icon: 'tool-reset',
274
- label: 'Reset View',
275
- tooltip: 'Reset View',
277
+ label: i18next/* default */.A.t('Buttons:Reset View'),
278
+ tooltip: i18next/* default */.A.t('Buttons:Reset View'),
276
279
  commands: 'resetViewport',
277
280
  evaluate: 'evaluate.action'
278
281
  }
@@ -281,8 +284,8 @@ const toolbarButtons = [{
281
284
  uiType: 'ohif.toolButton',
282
285
  props: {
283
286
  icon: 'tool-rotate-right',
284
- label: 'Rotate Right',
285
- tooltip: 'Rotate +90',
287
+ label: i18next/* default */.A.t('Buttons:Rotate Right'),
288
+ tooltip: i18next/* default */.A.t('Buttons:Rotate +90'),
286
289
  commands: 'rotateViewportCW',
287
290
  evaluate: 'evaluate.action'
288
291
  }
@@ -291,8 +294,8 @@ const toolbarButtons = [{
291
294
  uiType: 'ohif.toolButton',
292
295
  props: {
293
296
  icon: 'tool-flip-horizontal',
294
- label: 'Flip Horizontal',
295
- tooltip: 'Flip Horizontally',
297
+ label: i18next/* default */.A.t('Buttons:Flip Horizontal'),
298
+ tooltip: i18next/* default */.A.t('Buttons:Flip Horizontally'),
296
299
  commands: 'flipViewportHorizontal',
297
300
  evaluate: ['evaluate.viewportProperties.toggle', {
298
301
  name: 'evaluate.viewport.supported',
@@ -304,8 +307,8 @@ const toolbarButtons = [{
304
307
  uiType: 'ohif.toolButton',
305
308
  props: {
306
309
  icon: 'tool-referenceLines',
307
- label: 'Reference Lines',
308
- tooltip: 'Show Reference Lines',
310
+ label: i18next/* default */.A.t('Buttons:Reference Lines'),
311
+ tooltip: i18next/* default */.A.t('Buttons:Show Reference Lines'),
309
312
  commands: 'toggleEnabledDisabledToolbar',
310
313
  evaluate: 'evaluate.cornerstoneTool.toggle'
311
314
  }
@@ -314,8 +317,8 @@ const toolbarButtons = [{
314
317
  uiType: 'ohif.toolButton',
315
318
  props: {
316
319
  icon: 'toggle-dicom-overlay',
317
- label: 'Image Overlay',
318
- tooltip: 'Toggle Image Overlay',
320
+ label: i18next/* default */.A.t('Buttons:Image Overlay'),
321
+ tooltip: i18next/* default */.A.t('Buttons:Toggle Image Overlay'),
319
322
  commands: 'toggleEnabledDisabledToolbar',
320
323
  evaluate: 'evaluate.cornerstoneTool.toggle'
321
324
  }
@@ -324,8 +327,8 @@ const toolbarButtons = [{
324
327
  uiType: 'ohif.toolButton',
325
328
  props: {
326
329
  icon: 'tool-stack-scroll',
327
- label: 'Stack Scroll',
328
- tooltip: 'Stack Scroll',
330
+ label: i18next/* default */.A.t('Buttons:Stack Scroll'),
331
+ tooltip: i18next/* default */.A.t('Buttons:Stack Scroll'),
329
332
  commands: setToolActiveToolbar,
330
333
  evaluate: 'evaluate.cornerstoneTool'
331
334
  }
@@ -334,8 +337,8 @@ const toolbarButtons = [{
334
337
  uiType: 'ohif.toolButton',
335
338
  props: {
336
339
  icon: 'tool-invert',
337
- label: 'Invert',
338
- tooltip: 'Invert Colors',
340
+ label: i18next/* default */.A.t('Buttons:Invert'),
341
+ tooltip: i18next/* default */.A.t('Buttons:Invert Colors'),
339
342
  commands: 'invertViewport',
340
343
  evaluate: 'evaluate.viewportProperties.toggle'
341
344
  }
@@ -344,8 +347,8 @@ const toolbarButtons = [{
344
347
  uiType: 'ohif.toolButton',
345
348
  props: {
346
349
  icon: 'tool-cine',
347
- label: 'Cine',
348
- tooltip: 'Cine',
350
+ label: i18next/* default */.A.t('Buttons:Cine'),
351
+ tooltip: i18next/* default */.A.t('Buttons:Cine'),
349
352
  commands: 'toggleCine',
350
353
  evaluate: ['evaluate.cine', {
351
354
  name: 'evaluate.viewport.supported',
@@ -357,8 +360,8 @@ const toolbarButtons = [{
357
360
  uiType: 'ohif.toolButton',
358
361
  props: {
359
362
  icon: 'tool-magnify',
360
- label: 'Zoom-in',
361
- tooltip: 'Zoom-in',
363
+ label: i18next/* default */.A.t('Buttons:Zoom-in'),
364
+ tooltip: i18next/* default */.A.t('Buttons:Zoom-in'),
362
365
  commands: setToolActiveToolbar,
363
366
  evaluate: 'evaluate.cornerstoneTool'
364
367
  }
@@ -367,8 +370,8 @@ const toolbarButtons = [{
367
370
  uiType: 'ohif.toolButton',
368
371
  props: {
369
372
  icon: 'dicom-tag-browser',
370
- label: 'Dicom Tag Browser',
371
- tooltip: 'Dicom Tag Browser',
373
+ label: i18next/* default */.A.t('Buttons:Dicom Tag Browser'),
374
+ tooltip: i18next/* default */.A.t('Buttons:Dicom Tag Browser'),
372
375
  commands: 'openDICOMTagViewer'
373
376
  }
374
377
  }, {
@@ -376,11 +379,11 @@ const toolbarButtons = [{
376
379
  uiType: 'ohif.toolBoxButton',
377
380
  props: {
378
381
  icon: 'icon-tool-brush',
379
- label: 'Brush',
382
+ label: i18next/* default */.A.t('Buttons:Brush'),
380
383
  evaluate: {
381
384
  name: 'evaluate.cornerstone.segmentation',
382
385
  toolNames: ['CircularBrush', 'SphereBrush'],
383
- disabledText: 'Create new segmentation to enable this tool.'
386
+ disabledText: i18next/* default */.A.t('Buttons:Create new segmentation to enable this tool.')
384
387
  },
385
388
  options: [{
386
389
  name: 'Radius (mm)',
@@ -416,11 +419,11 @@ const toolbarButtons = [{
416
419
  uiType: 'ohif.toolBoxButton',
417
420
  props: {
418
421
  icon: 'icon-tool-interpolation',
419
- label: 'Interpolate Labelmap',
420
- tooltip: 'Automatically fill in missing slices between drawn segments. Use brush or threshold tools on at least two slices, then click to interpolate across slices. Works in any direction. Volume must be reconstructable.',
422
+ label: i18next/* default */.A.t('Buttons:Interpolate Labelmap'),
423
+ tooltip: i18next/* default */.A.t('Buttons:Automatically fill in missing slices between drawn segments. Use brush or threshold tools on at least two slices, then click to interpolate across slices. Works in any direction. Volume must be reconstructable.'),
421
424
  evaluate: ['evaluate.cornerstone.segmentation', {
422
425
  name: 'evaluate.displaySetIsReconstructable',
423
- disabledText: 'The current viewport cannot handle interpolation.'
426
+ disabledText: i18next/* default */.A.t('Buttons:The current viewport cannot handle interpolation.')
424
427
  }],
425
428
  commands: 'interpolateLabelmap'
426
429
  }
@@ -429,11 +432,11 @@ const toolbarButtons = [{
429
432
  uiType: 'ohif.toolBoxButton',
430
433
  props: {
431
434
  icon: 'icon-tool-bidirectional-segment',
432
- label: 'Segment Bidirectional',
433
- tooltip: 'Automatically detects the largest length and width across slices for the selected segment and displays a bidirectional measurement.',
435
+ label: i18next/* default */.A.t('Buttons:Segment Bidirectional'),
436
+ tooltip: i18next/* default */.A.t('Buttons:Automatically detects the largest length and width across slices for the selected segment and displays a bidirectional measurement.'),
434
437
  evaluate: {
435
438
  name: 'evaluate.cornerstone.segmentation',
436
- disabledText: 'Create new segmentation to enable this tool.'
439
+ disabledText: i18next/* default */.A.t('Buttons:Create new segmentation to enable this tool.')
437
440
  },
438
441
  commands: 'runSegmentBidirectional'
439
442
  }
@@ -442,12 +445,12 @@ const toolbarButtons = [{
442
445
  uiType: 'ohif.toolBoxButton',
443
446
  props: {
444
447
  icon: 'icon-tool-click-segment',
445
- label: 'One Click Segment',
446
- tooltip: 'Detects segmentable regions with one click. Hover for visual feedback—click when a plus sign appears to auto-segment the lesion.',
448
+ label: i18next/* default */.A.t('Buttons:One Click Segment'),
449
+ tooltip: i18next/* default */.A.t('Buttons:Detects segmentable regions with one click. Hover for visual feedback—click when a plus sign appears to auto-segment the lesion.'),
447
450
  evaluate: {
448
451
  name: 'evaluate.cornerstone.segmentation',
449
452
  toolNames: ['RegionSegmentPlus'],
450
- disabledText: 'Create new segmentation to enable this tool.'
453
+ disabledText: i18next/* default */.A.t('Buttons:Create new segmentation to enable this tool.')
451
454
  },
452
455
  commands: 'setToolActiveToolbar'
453
456
  }
@@ -456,8 +459,8 @@ const toolbarButtons = [{
456
459
  uiType: 'ohif.toolBoxButton',
457
460
  props: {
458
461
  icon: 'icon-labelmap-slice-propagation',
459
- label: 'Labelmap Assist',
460
- tooltip: 'Toggle AI assistance for segmenting nearby slices. After drawing on a slice, scroll to preview predictions. Press Enter to accept or Esc to skip.',
462
+ label: i18next/* default */.A.t('Buttons:Labelmap Assist'),
463
+ tooltip: i18next/* default */.A.t('Buttons:Toggle AI assistance for segmenting nearby slices. After drawing on a slice, scroll to preview predictions. Press Enter to accept or Esc to skip.'),
461
464
  evaluate: ['evaluate.cornerstoneTool.toggle', {
462
465
  name: 'evaluate.cornerstone.hasSegmentation'
463
466
  }],
@@ -472,8 +475,8 @@ const toolbarButtons = [{
472
475
  uiType: 'ohif.toolBoxButton',
473
476
  props: {
474
477
  icon: 'icon-marker-labelmap',
475
- label: 'Marker Guided Labelmap',
476
- tooltip: 'Use include/exclude markers to guide AI (SAM) segmentation. Click to place markers, Enter to accept results, Esc to reject, and N to go to the next slice while keeping markers.',
478
+ label: i18next/* default */.A.t('Buttons:Marker Guided Labelmap'),
479
+ tooltip: i18next/* default */.A.t('Buttons:Use include/exclude markers to guide AI (SAM) segmentation. Click to place markers, Enter to accept results, Esc to reject, and N to go to the next slice while keeping markers.'),
477
480
  evaluate: [{
478
481
  name: 'evaluate.cornerstone.segmentation',
479
482
  toolNames: ['MarkerLabelmap', 'MarkerInclude', 'MarkerExclude']
@@ -522,7 +525,7 @@ const toolbarButtons = [{
522
525
  uiType: 'ohif.toolBoxButton',
523
526
  props: {
524
527
  icon: 'icon-tool-eraser',
525
- label: 'Eraser',
528
+ label: i18next/* default */.A.t('Buttons:Eraser'),
526
529
  evaluate: {
527
530
  name: 'evaluate.cornerstone.segmentation',
528
531
  toolNames: ['CircularEraser', 'SphereEraser']
@@ -665,11 +668,11 @@ const toolbarButtons = [{
665
668
  uiType: 'ohif.toolBoxButton',
666
669
  props: {
667
670
  icon: 'icon-tool-shape',
668
- label: 'Shapes',
671
+ label: i18next/* default */.A.t('Buttons:Shapes'),
669
672
  evaluate: {
670
673
  name: 'evaluate.cornerstone.segmentation',
671
674
  toolNames: ['CircleScissor', 'SphereScissor', 'RectangleScissor'],
672
- disabledText: 'Create new segmentation to enable shapes tool.'
675
+ disabledText: i18next/* default */.A.t('Buttons:Create new segmentation to enable shapes tool.')
673
676
  },
674
677
  options: [{
675
678
  name: 'Shape',
@@ -694,8 +697,8 @@ const toolbarButtons = [{
694
697
  uiType: 'ohif.toolBoxButton',
695
698
  props: {
696
699
  icon: 'tool-segment-label',
697
- label: 'Segment Label Display',
698
- tooltip: 'Click to show or hide segment labels when hovering with your mouse.',
700
+ label: i18next/* default */.A.t('Buttons:Segment Label Display'),
701
+ tooltip: i18next/* default */.A.t('Buttons:Click to show or hide segment labels when hovering with your mouse.'),
699
702
  commands: {
700
703
  commandName: 'toggleSegmentLabel'
701
704
  },