File tree Expand file tree Collapse file tree 3 files changed +13
-1
lines changed
src/containers/Tenant/Diagnostics/Monitoring Expand file tree Collapse file tree 3 files changed +13
-1
lines changed Original file line number Diff line number Diff line change 11import { cn } from '../../../../utils/cn' ;
22
3+ import i18n from './i18n' ;
4+
35import './Monitoring.scss' ;
46
57const b = cn ( 'ydb-monitoring' ) ;
@@ -13,7 +15,7 @@ export function Monitoring({monitoringUrl}: MonitoringProps) {
1315 if ( ! monitoringUrl ) {
1416 return (
1517 < div className = { b ( 'empty' ) } >
16- < div className = { b ( 'empty-text' ) } > Monitoring is not available</ div >
18+ < div className = { b ( 'empty-text' ) } > { i18n ( 'message_not- available' ) } </ div >
1719 </ div >
1820 ) ;
1921 }
Original file line number Diff line number Diff line change 1+ {
2+ "message_not-available" : " Monitoring is not available"
3+ }
Original file line number Diff line number Diff line change 1+ import { registerKeysets } from '../../../../../utils/i18n' ;
2+
3+ import en from './en.json' ;
4+
5+ const COMPONENT = 'ydb-monitoring' ;
6+
7+ export default registerKeysets ( COMPONENT , { en} ) ;
You can’t perform that action at this time.
0 commit comments