diff --git a/management/src/components/TenantModal.jsx b/management/src/components/TenantModal.jsx index ea7f363..117e84c 100644 --- a/management/src/components/TenantModal.jsx +++ b/management/src/components/TenantModal.jsx @@ -1,6 +1,7 @@ import React, { useState, useEffect } from 'react' import { XMarkIcon, EyeIcon, EyeSlashIcon } from '@heroicons/react/24/outline' import toast from 'react-hot-toast' +import { t } from '../utils/tempTranslations' // Temporary translation system const TenantModal = ({ isOpen, onClose, tenant = null, onSave }) => { const [formData, setFormData] = useState({ diff --git a/management/src/pages/Login.jsx b/management/src/pages/Login.jsx index 550d75c..9e2d1d6 100644 --- a/management/src/pages/Login.jsx +++ b/management/src/pages/Login.jsx @@ -1,6 +1,7 @@ import React, { useState } from 'react' import { Navigate } from 'react-router-dom' import { useAuth } from '../contexts/AuthContext' +import { t } from '../utils/tempTranslations' // Temporary translation system import { EyeIcon, EyeSlashIcon } from '@heroicons/react/24/outline' const Login = () => { @@ -40,10 +41,10 @@ const Login = () => {
- Sign in to manage tenants and system configuration + {t('auth.loginDescription')}
- Admin access required. Default: admin / admin123 + {t('auth.adminAccess')}
Unable to load system metrics.
+{t('system.noInformationDescription')}
Real-time system health and configuration monitoring
+{t('system.description')}
{lastUpdate && (- Last updated: {lastUpdate.toLocaleTimeString()} + {t('system.lastUpdated')}: {lastUpdate.toLocaleTimeString()}
)}