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

@@ -67,7 +67,12 @@ const CornerstoneViewportDownloadForm = ({
return () => {
Object.keys(toolModeAndBindings).forEach(toolName => {
const { mode, bindings } = toolModeAndBindings[toolName];
toolGroup.setToolMode(toolName, mode, { bindings });
try {
toolGroup.setToolMode(toolName, mode, { bindings });
} catch (error) {
// Handle errors when restoring tool mode during cleanup (e.g., when tool state is undefined)
console.debug('Error restoring tool mode during cleanup:', toolName, error);
}
});
};
}, []);