fix(ToolbarRow): Add i18n string for Series switcher (#634)
This commit is contained in:
1 parent
9055f19fb5
commit
1a9cfea365
3 files changed
+5
-3
No files matched your search
@@ -13,6 +13,7 @@ import ConnectedLayoutButton from './ConnectedLayoutButton';
|
||||
import ConnectedPluginSwitch from './ConnectedPluginSwitch.js';
|
||||
import { MODULE_TYPES } from 'ohif-core';
|
||||
import PropTypes from 'prop-types';
|
||||
import { withTranslation } from 'react-i18next';
|
||||
|
||||
class ToolbarRow extends Component {
|
||||
// TODO: Simplify these? isOpen can be computed if we say "any" value for selected,
|
||||
@@ -53,7 +54,7 @@ class ToolbarRow extends Component {
|
||||
{
|
||||
value: 'studies',
|
||||
icon: 'th-large',
|
||||
bottomLabel: 'Series',
|
||||
bottomLabel: this.props.t('Series'),
|
||||
},
|
||||
],
|
||||
right: [],
|
||||
@@ -238,4 +239,4 @@ function _handleBuiltIn({ behavior } = {}) {
|
||||
}
|
||||
}
|
||||
|
||||
export default ToolbarRow;
|
||||
export default withTranslation('Common')(ToolbarRow);
|
||||
Reference in new issue
Block a user