Skip to content

Commit

Permalink
Add i18next dependency to package.json files
Browse files Browse the repository at this point in the history
  • Loading branch information
sedghi committed Dec 13, 2023
1 parent f26b6bc commit 4bed776
Show file tree
Hide file tree
Showing 8 changed files with 2,875 additions and 3,608 deletions.
3 changes: 2 additions & 1 deletion modes/basic-dev-mode/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,8 @@
"@ohif/extension-dicom-video": "3.8.0-beta.28"
},
"dependencies": {
"@babel/runtime": "^7.20.13"
"@babel/runtime": "^7.20.13",
"i18next": "^17.0.3"
},
"devDependencies": {
"webpack": "^5.50.0",
Expand Down
3 changes: 2 additions & 1 deletion modes/basic-test-mode/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,8 @@
"@ohif/extension-test": "3.8.0-beta.28"
},
"dependencies": {
"@babel/runtime": "^7.20.13"
"@babel/runtime": "^7.20.13",
"i18next": "^17.0.3"
},
"devDependencies": {
"webpack": "^5.50.0",
Expand Down
3 changes: 2 additions & 1 deletion modes/longitudinal/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,8 @@
"@ohif/extension-measurement-tracking": "3.8.0-beta.28"
},
"dependencies": {
"@babel/runtime": "^7.20.13"
"@babel/runtime": "^7.20.13",
"i18next": "^17.0.3"
},
"devDependencies": {
"webpack": "^5.50.0",
Expand Down
3 changes: 2 additions & 1 deletion modes/microscopy/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
"@ohif/extension-dicom-microscopy": "3.8.0-beta.28"
},
"dependencies": {
"@babel/runtime": "^7.20.13"
"@babel/runtime": "^7.20.13",
"i18next": "^17.0.3"
}
}
3 changes: 2 additions & 1 deletion modes/segmentation/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@
"@ohif/core": "3.8.0-beta.28"
},
"dependencies": {
"@babel/runtime": "^7.20.13"
"@babel/runtime": "^7.20.13",
"i18next": "^17.0.3"
},
"devDependencies": {
"@babel/core": "^7.23.2",
Expand Down
3 changes: 1 addition & 2 deletions modes/segmentation/src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import { hotkeys } from '@ohif/core';
import { id } from './id';
import toolbarButtons from './toolbarButtons';
import initToolGroups from './initToolGroups';
import i18n from 'i18next';

const ohif = {
layout: '@ohif/extension-default.layoutTemplateModule.viewerLayout',
Expand Down Expand Up @@ -45,7 +44,7 @@ function modeFactory({ modeConfiguration }) {
* Mode name, which is displayed in the viewer's UI in the workList, for the
* user to select the mode.
*/
displayName: i18n.t('Modes:Segmentation'),
displayName: 'Segmentation',
/**
* Runs when the Mode Route is mounted to the DOM. Usually used to initialize
* Services and other resources.
Expand Down
3 changes: 2 additions & 1 deletion modes/tmtv/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,8 @@
"@ohif/extension-measurement-tracking": "3.8.0-beta.28"
},
"dependencies": {
"@babel/runtime": "^7.20.13"
"@babel/runtime": "^7.20.13",
"i18next": "^17.0.3"
},
"devDependencies": {
"webpack": "^5.50.0",
Expand Down
6,462 changes: 2,862 additions & 3,600 deletions yarn.lock

Large diffs are not rendered by default.

0 comments on commit 4bed776

Please sign in to comment.