diff --git a/AppImage/app/layout.tsx b/AppImage/app/layout.tsx index 3b664966..dd48ca8c 100644 --- a/AppImage/app/layout.tsx +++ b/AppImage/app/layout.tsx @@ -5,6 +5,7 @@ import { GeistMono } from "geist/font/mono" import { ThemeProvider } from "../components/theme-provider" import { PwaRegister } from "../components/pwa-register" import { PwaInstallPrompt } from "../components/pwa-install-prompt" +import { I18nProvider } from "../lib/i18n/provider" import { Suspense } from "react" import "./globals.css" @@ -44,9 +45,11 @@ export default function RootLayout({
Connecting to ProxMenux Monitor
+{t("app.connecting")}
) diff --git a/AppImage/components/about.tsx b/AppImage/components/about.tsx index 86f91ef3..aa6bc4c9 100644 --- a/AppImage/components/about.tsx +++ b/AppImage/components/about.tsx @@ -13,6 +13,7 @@ import { } from "lucide-react" import { Card, CardContent, CardDescription, CardHeader, CardTitle } from "./ui/card" import { APP_VERSION } from "./release-notes-modal" +import { useT } from "../lib/i18n/provider" // Issue #191: a dedicated About tab. Centralises project metadata // (version, license, author) and every external link the project @@ -111,6 +112,7 @@ function LinkCard({ row }: { row: LinkRow }) { } export function About() { + const t = useT() return (Create a username and password to protect your dashboard
+{t("authSetup.setupDescription")}
- Profile · optional + {t("authSetup.profileOptional")}
- Leave empty to render the username itself. Up to 64 characters. + {t("authSetup.displayNameHint")}
- PNG, JPEG, WebP or GIF · up to 2 MB · pre-crop square for best results. + {t("authSetup.avatarHint")}
Sign in to access your dashboard
+{t("login.subtitle")}
Two-Factor Authentication
-Enter the 6-digit code from your authentication app
+{t("login.twoFactorTitle")}
+{t("login.twoFactorDescription")}
- You can also use a backup code (format: XXXX-XXXX) + {t("login.backupCodeHint")}
ProxMenux Monitor v1.2.4.1-beta
+{t("login.version")}
• Check that the monitor.service is running correctly.
-• The ProxMenux server should start automatically on port 8008
+• {t("status.checkService")}
+• {t("status.serverPort")}
- • Try accessing:{" "}
+ • {t("status.tryAccessing")}{" "}
{getApiUrl("/api/health")}
@@ -433,11 +435,11 @@ export function ProxmoxDashboard() {
Proxmox System Dashboard
+{t("app.description")}
Manage your dashboard preferences
+{t("settings.description")}
{t("settings.interfaceLanguage.fallbackNote")}
+