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,12 +1,14 @@
|
||||
import React from 'react';
|
||||
import PropTypes from 'prop-types';
|
||||
import classnames from 'classnames';
|
||||
import { useTranslation } from 'react-i18next';
|
||||
|
||||
import Icon from '../Icon';
|
||||
import Typography from '../Typography';
|
||||
|
||||
// TODO: Add loading spinner to OHIF + use it here.
|
||||
const EmptyStudies = ({ className }) => {
|
||||
const { t } = useTranslation('StudyList');
|
||||
return (
|
||||
<div className={classnames('inline-flex flex-col items-center', className)}>
|
||||
<Icon
|
||||
@@ -17,7 +19,7 @@ const EmptyStudies = ({ className }) => {
|
||||
className="text-primary-light"
|
||||
variant="h5"
|
||||
>
|
||||
{'No studies available'}
|
||||
{t('No studies available')}
|
||||
</Typography>
|
||||
</div>
|
||||
);
|
||||
|
||||
Reference in new issue
Block a user