feat(i18n): enhanced i18n support (#3761)
This commit is contained in:
1 parent
5a5c4f58af
commit
d14a8f0199
55 files changed
+319
-114
No files matched your search
@@ -1,6 +1,7 @@
|
||||
import toolbarButtons from './toolbarButtons.js';
|
||||
import { hotkeys } from '@ohif/core';
|
||||
import { id } from './id';
|
||||
import i18n from 'i18next';
|
||||
|
||||
const configs = {
|
||||
Length: {},
|
||||
@@ -45,7 +46,7 @@ function modeFactory({ modeConfiguration }) {
|
||||
return {
|
||||
id,
|
||||
routeName: 'dev',
|
||||
displayName: 'Basic Dev Viewer',
|
||||
displayName: i18n.t('Modes:Basic Dev Viewer'),
|
||||
/**
|
||||
* Lifecycle hooks
|
||||
*/
|
||||
|
||||
Reference in new issue
Block a user