chore: update French i18n (#5561)

This commit is contained in:
Martin Bellehumeur, M. Eng. authored and GitHub committed 2025-12-12 10:46:56 -05:00
1 parent ba140a05f7
commit 181c0f32c5
185 files changed
+2779 -374

No files matched your search

@@ -1,8 +1,10 @@
import React from 'react';
import { Button, Icons } from '@ohif/ui-next';
import { useSegmentationTableContext, useSegmentationExpanded } from './contexts';
import { useTranslation } from 'react-i18next';
export const AddSegmentRow: React.FC<{ children?: React.ReactNode }> = ({ children = null }) => {
const { t } = useTranslation('SegmentationPanel');
const {
activeRepresentation,
disableEditing,
@@ -56,7 +58,7 @@ export const AddSegmentRow: React.FC<{ children?: React.ReactNode }> = ({ childr
onClick={() => onSegmentAdd(segmentationId)}
>
<Icons.Add />
Add Segment
{t('Add Segment')}
</Button>
) : null}
</div>
@@ -6,7 +6,7 @@ import { useSegmentationTableContext } from './contexts';
export const AddSegmentationRow: React.FC<{ children?: React.ReactNode }> = ({
children = null,
}) => {
const { t } = useTranslation('SegmentationTable');
const { t } = useTranslation('SegmentationPanel');
const {
onSegmentationAdd,
@@ -49,7 +49,7 @@ const SegmentationCollapsedDropdownMenu = ({ children }: { children: React.React
// Selector component - for the segmentation selection dropdown
const SegmentationCollapsedSelector = () => {
const { t } = useTranslation('SegmentationTable.HeaderCollapsed');
const { t } = useTranslation('SegmentationPanel.HeaderCollapsed');
const { data, onSegmentationClick, segmentationRepresentationType } = useSegmentationTableContext(
'SegmentationCollapsedSelector'
);
@@ -31,7 +31,7 @@ interface SegmentationTableComponent extends React.FC<SegmentationTableProps> {
}
export const SegmentationTableRoot = (props: SegmentationTableProps) => {
const { t } = useTranslation('SegmentationTable');
const { t } = useTranslation('SegmentationPanel');
const {
data = [],
mode,
@@ -9,7 +9,7 @@ import { Input } from '../Input';
import { useSegmentationTableContext } from './contexts';
export const SegmentationTableConfig: React.FC<{ children?: React.ReactNode }> = ({ children }) => {
const { t } = useTranslation('SegmentationTable.AppearanceSettings');
const { t } = useTranslation('SegmentationPanel');
const {
renderFill,
renderOutline,
@@ -84,7 +84,7 @@ export const SegmentationTableConfig: React.FC<{ children?: React.ReactNode }> =
<div className="space-y-2">
<div className="my-2 flex items-center">
<Label className="text-muted-foreground w-14 flex-none whitespace-nowrap text-xs">
Opacity
{t('Opacity')}
</Label>
<Slider
className="mx-1 flex-1"
@@ -143,7 +143,7 @@ export const SegmentationTableConfig: React.FC<{ children?: React.ReactNode }> =
{renderInactiveSegmentations && (
<div className="my-2 flex items-center">
<Label className="text-muted-foreground w-14 flex-none whitespace-nowrap text-xs">
Opacity
{t('Opacity')}
</Label>
<Slider
className="mx-1 flex-1"