chore: update French i18n (#5561)
This commit is contained in:
1 parent
ba140a05f7
commit
181c0f32c5
185 files changed
+2779
-374
No files matched your search
@@ -420,13 +420,13 @@ export const toolbarButtons: Button[] = [
|
||||
uiType: 'ohif.toolBoxButton',
|
||||
props: {
|
||||
icon: 'icon-tool-freehand-roi',
|
||||
label: 'Freehand Segmentation',
|
||||
tooltip: 'Freehand Segmentation',
|
||||
label: i18n.t('Buttons:Freehand Segmentation'),
|
||||
tooltip: i18n.t('Buttons:Freehand Segmentation'),
|
||||
evaluate: [
|
||||
{
|
||||
name: 'evaluate.cornerstone.segmentation',
|
||||
toolNames: ['PlanarFreehandContourSegmentationTool'],
|
||||
disabledText: 'Create new segmentation to enable this tool.',
|
||||
disabledText: i18n.t('Buttons:Create new segmentation to enable this tool.'),
|
||||
},
|
||||
{
|
||||
name: 'evaluate.cornerstone.hasSegmentationOfType',
|
||||
@@ -457,7 +457,7 @@ export const toolbarButtons: Button[] = [
|
||||
],
|
||||
options: [
|
||||
{
|
||||
name: 'Interpolate Contours',
|
||||
name: i18n.t('Buttons:Interpolate Contours'),
|
||||
type: 'switch',
|
||||
id: 'planarFreehandInterpolateContours',
|
||||
value: false,
|
||||
@@ -473,13 +473,13 @@ export const toolbarButtons: Button[] = [
|
||||
uiType: 'ohif.toolBoxButton',
|
||||
props: {
|
||||
icon: 'icon-tool-livewire',
|
||||
label: 'Livewire Contour',
|
||||
tooltip: 'Livewire Contour',
|
||||
label: i18n.t('Buttons:Livewire Contour'),
|
||||
tooltip: i18n.t('Buttons:Livewire Contour'),
|
||||
evaluate: [
|
||||
{
|
||||
name: 'evaluate.cornerstone.segmentation',
|
||||
toolNames: ['LivewireContourSegmentationTool'],
|
||||
disabledText: 'Create new segmentation to enable this tool.',
|
||||
disabledText: i18n.t('Buttons:Create new segmentation to enable this tool.'),
|
||||
},
|
||||
{
|
||||
name: 'evaluate.cornerstone.hasSegmentationOfType',
|
||||
@@ -510,7 +510,7 @@ export const toolbarButtons: Button[] = [
|
||||
],
|
||||
options: [
|
||||
{
|
||||
name: 'Interpolate Contours',
|
||||
name: i18n.t('Buttons:Interpolate Contours'),
|
||||
type: 'switch',
|
||||
id: 'livewireInterpolateContours',
|
||||
value: false,
|
||||
@@ -526,13 +526,13 @@ export const toolbarButtons: Button[] = [
|
||||
uiType: 'ohif.toolBoxButton',
|
||||
props: {
|
||||
icon: 'icon-tool-spline-roi',
|
||||
label: 'Spline Contour Segmentation Tool',
|
||||
tooltip: 'Spline Contour Segmentation Tool',
|
||||
label: i18n.t('Buttons:Spline Contour Segmentation Tool'),
|
||||
tooltip: i18n.t('Buttons:Spline Contour Segmentation Tool'),
|
||||
evaluate: [
|
||||
{
|
||||
name: 'evaluate.cornerstone.segmentation',
|
||||
toolNames: ['CatmullRomSplineROI', 'LinearSplineROI', 'BSplineROI'],
|
||||
disabledText: 'Create new segmentation to enable this tool.',
|
||||
disabledText: i18n.t('Buttons:Create new segmentation to enable this tool.'),
|
||||
},
|
||||
{
|
||||
name: 'evaluate.cornerstone.hasSegmentationOfType',
|
||||
@@ -549,7 +549,7 @@ export const toolbarButtons: Button[] = [
|
||||
],
|
||||
options: [
|
||||
{
|
||||
name: 'Spline Type',
|
||||
name: i18n.t('Buttons:Spline Type'),
|
||||
type: 'select',
|
||||
id: 'splineTypeSelect',
|
||||
value: 'CatmullRomSplineROI',
|
||||
@@ -557,10 +557,10 @@ export const toolbarButtons: Button[] = [
|
||||
{
|
||||
id: 'CatmullRomSplineROI',
|
||||
value: 'CatmullRomSplineROI',
|
||||
label: 'Catmull Rom Spline',
|
||||
label: i18n.t('Buttons:Catmull Rom Spline'),
|
||||
},
|
||||
{ id: 'LinearSplineROI', value: 'LinearSplineROI', label: 'Linear Spline' },
|
||||
{ id: 'BSplineROI', value: 'BSplineROI', label: 'B-Spline' },
|
||||
{ id: 'LinearSplineROI', value: 'LinearSplineROI', label: i18n.t('Buttons:Linear Spline') },
|
||||
{ id: 'BSplineROI', value: 'BSplineROI', label: i18n.t('Buttons:B-Spline') },
|
||||
],
|
||||
commands: {
|
||||
commandName: 'setToolActiveToolbar',
|
||||
@@ -578,7 +578,7 @@ export const toolbarButtons: Button[] = [
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'Simplified Spline',
|
||||
name: i18n.t('Buttons:Simplified Spline'),
|
||||
type: 'switch',
|
||||
id: 'simplifiedSpline',
|
||||
value: true,
|
||||
@@ -587,7 +587,7 @@ export const toolbarButtons: Button[] = [
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'Interpolate Contours',
|
||||
name: i18n.t('Buttons:Interpolate Contours'),
|
||||
type: 'switch',
|
||||
id: 'splineInterpolateContours',
|
||||
value: false,
|
||||
@@ -606,13 +606,13 @@ export const toolbarButtons: Button[] = [
|
||||
uiType: 'ohif.toolBoxButton',
|
||||
props: {
|
||||
icon: 'icon-tool-sculptor',
|
||||
label: 'Sculptor Tool',
|
||||
tooltip: 'Sculptor Tool',
|
||||
label: i18n.t('Buttons:Sculptor Tool'),
|
||||
tooltip: i18n.t('Buttons:Sculptor Tool'),
|
||||
evaluate: [
|
||||
{
|
||||
name: 'evaluate.cornerstone.segmentation',
|
||||
toolNames: ['SculptorTool'],
|
||||
disabledText: 'Create new segmentation to enable this tool.',
|
||||
disabledText: i18n.t('Buttons:Create new segmentation to enable this tool.'),
|
||||
},
|
||||
{
|
||||
name: 'evaluate.cornerstone.hasSegmentationOfType',
|
||||
@@ -630,7 +630,7 @@ export const toolbarButtons: Button[] = [
|
||||
],
|
||||
options: [
|
||||
{
|
||||
name: 'Dynamic Cursor Size',
|
||||
name: i18n.t('Buttons:Dynamic Cursor Size'),
|
||||
type: 'switch',
|
||||
id: 'dynamicCursorSize',
|
||||
value: true,
|
||||
@@ -670,7 +670,7 @@ export const toolbarButtons: Button[] = [
|
||||
},
|
||||
options: [
|
||||
{
|
||||
name: 'Radius (mm)',
|
||||
name: i18n.t('Buttons:Radius (mm)'),
|
||||
id: 'brush-radius',
|
||||
type: 'range',
|
||||
explicitRunOnly: true,
|
||||
@@ -686,13 +686,13 @@ export const toolbarButtons: Button[] = [
|
||||
],
|
||||
},
|
||||
{
|
||||
name: 'Shape',
|
||||
name: i18n.t('Buttons:Shape'),
|
||||
type: 'radio',
|
||||
id: 'brush-mode',
|
||||
value: 'CircularBrush',
|
||||
values: [
|
||||
{ value: 'CircularBrush', label: 'Circle' },
|
||||
{ value: 'SphereBrush', label: 'Sphere' },
|
||||
{ value: 'CircularBrush', label: i18n.t('Buttons:Circle') },
|
||||
{ value: 'SphereBrush', label: i18n.t('Buttons:Sphere') },
|
||||
],
|
||||
commands: ['setToolActiveToolbar'],
|
||||
},
|
||||
@@ -860,13 +860,13 @@ export const toolbarButtons: Button[] = [
|
||||
},
|
||||
options: [
|
||||
{
|
||||
name: 'Marker Mode',
|
||||
name: i18n.t('Buttons:Marker Mode'),
|
||||
type: 'radio',
|
||||
id: 'marker-mode',
|
||||
value: 'markerInclude',
|
||||
values: [
|
||||
{ value: 'markerInclude', label: 'Include' },
|
||||
{ value: 'markerExclude', label: 'Exclude' },
|
||||
{ value: 'markerInclude', label: i18n.t('Buttons:Include') },
|
||||
{ value: 'markerExclude', label: i18n.t('Buttons:Exclude') },
|
||||
],
|
||||
commands: ({ commandsManager, options }) => {
|
||||
const markerModeOption = options.find(option => option.id === 'marker-mode');
|
||||
@@ -882,7 +882,7 @@ export const toolbarButtons: Button[] = [
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'Clear Markers',
|
||||
name: i18n.t('Buttons:Clear Markers'),
|
||||
type: 'button',
|
||||
id: 'clear-markers',
|
||||
commands: 'clearMarkersForMarkerLabelmap',
|
||||
@@ -912,7 +912,7 @@ export const toolbarButtons: Button[] = [
|
||||
],
|
||||
options: [
|
||||
{
|
||||
name: 'Radius (mm)',
|
||||
name: i18n.t('Buttons:Radius (mm)'),
|
||||
id: 'eraser-radius',
|
||||
type: 'range',
|
||||
explicitRunOnly: true,
|
||||
@@ -926,13 +926,13 @@ export const toolbarButtons: Button[] = [
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'Shape',
|
||||
name: i18n.t('Buttons:Shape'),
|
||||
type: 'radio',
|
||||
id: 'eraser-mode',
|
||||
value: 'CircularEraser',
|
||||
values: [
|
||||
{ value: 'CircularEraser', label: 'Circle' },
|
||||
{ value: 'SphereEraser', label: 'Sphere' },
|
||||
{ value: 'CircularEraser', label: i18n.t('Buttons:Circle') },
|
||||
{ value: 'SphereEraser', label: i18n.t('Buttons:Sphere') },
|
||||
],
|
||||
commands: 'setToolActiveToolbar',
|
||||
},
|
||||
@@ -950,7 +950,7 @@ export const toolbarButtons: Button[] = [
|
||||
uiType: 'ohif.toolBoxButton',
|
||||
props: {
|
||||
icon: 'icon-tool-threshold',
|
||||
label: 'Threshold Tool',
|
||||
label: i18n.t('Buttons:Threshold Tool'),
|
||||
evaluate: [
|
||||
{
|
||||
name: 'evaluate.cornerstone.segmentation',
|
||||
@@ -978,7 +978,7 @@ export const toolbarButtons: Button[] = [
|
||||
},
|
||||
options: [
|
||||
{
|
||||
name: 'Radius (mm)',
|
||||
name: i18n.t('Buttons:Radius (mm)'),
|
||||
id: 'threshold-radius',
|
||||
type: 'range',
|
||||
explicitRunOnly: true,
|
||||
@@ -999,13 +999,13 @@ export const toolbarButtons: Button[] = [
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'Shape',
|
||||
name: i18n.t('Buttons:Shape'),
|
||||
type: 'radio',
|
||||
id: 'threshold-shape',
|
||||
value: 'ThresholdCircularBrush',
|
||||
values: [
|
||||
{ value: 'ThresholdCircularBrush', label: 'Circle' },
|
||||
{ value: 'ThresholdSphereBrush', label: 'Sphere' },
|
||||
{ value: 'ThresholdCircularBrush', label: i18n.t('Buttons:Circle') },
|
||||
{ value: 'ThresholdSphereBrush', label: i18n.t('Buttons:Sphere') },
|
||||
],
|
||||
commands: ({ value, commandsManager, options }) => {
|
||||
const optionsDynamic = options.find(option => option.id === 'dynamic-mode');
|
||||
@@ -1025,13 +1025,13 @@ export const toolbarButtons: Button[] = [
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'Threshold',
|
||||
name: i18n.t('Buttons:Threshold'),
|
||||
type: 'radio',
|
||||
id: 'dynamic-mode',
|
||||
value: 'ThresholdDynamic',
|
||||
values: [
|
||||
{ value: 'ThresholdDynamic', label: 'Dynamic' },
|
||||
{ value: 'ThresholdRange', label: 'Range' },
|
||||
{ value: 'ThresholdDynamic', label: i18n.t('Buttons:Dynamic') },
|
||||
{ value: 'ThresholdRange', label: i18n.t('Buttons:Range') },
|
||||
],
|
||||
commands: ({ value, commandsManager, options }) => {
|
||||
const thresholdRangeOption = options.find(option => option.id === 'threshold-shape');
|
||||
@@ -1104,14 +1104,14 @@ export const toolbarButtons: Button[] = [
|
||||
},
|
||||
options: [
|
||||
{
|
||||
name: 'Shape',
|
||||
name: i18n.t('Buttons:Shape'),
|
||||
type: 'radio',
|
||||
value: 'CircleScissor',
|
||||
id: 'shape-mode',
|
||||
values: [
|
||||
{ value: 'CircleScissor', label: 'Circle' },
|
||||
{ value: 'SphereScissor', label: 'Sphere' },
|
||||
{ value: 'RectangleScissor', label: 'Rectangle' },
|
||||
{ value: 'CircleScissor', label: i18n.t('Buttons:Circle') },
|
||||
{ value: 'SphereScissor', label: i18n.t('Buttons:Sphere') },
|
||||
{ value: 'RectangleScissor', label: i18n.t('Buttons:Rectangle') },
|
||||
],
|
||||
commands: 'setToolActiveToolbar',
|
||||
},
|
||||
@@ -1171,8 +1171,8 @@ export const toolbarButtons: Button[] = [
|
||||
uiType: 'ohif.toolBoxButton',
|
||||
props: {
|
||||
icon: 'tool-labelmap-edit-with-contour',
|
||||
label: 'Labelmap Edit with Contour Tool',
|
||||
tooltip: 'Labelmap Edit with Contour Tool',
|
||||
label: i18n.t('Buttons:Labelmap Edit with Contour Tool'),
|
||||
tooltip: i18n.t('Buttons:Labelmap Edit with Contour Tool'),
|
||||
commands: [
|
||||
'setToolActiveToolbar',
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user