Revert "cleanup v2"

This reverts commit 8b82578809.
This commit is contained in:
headlesdev
2025-05-17 12:31:27 +02:00
parent 8b82578809
commit 94ba5e20c6
318 changed files with 54608 additions and 0 deletions

424
i18n/languages/de.json Normal file
View File

@@ -0,0 +1,424 @@
{
"Common": {
"ChangeView": "Ansicht ändern",
"ListView": "Listenansicht",
"GridView": "Rasteransicht",
"optional": "optional",
"cancel": "Abbrechen",
"add": "Hinzufügen",
"since": "seit {date}",
"notSet": "Nicht festgelegt",
"noData": "Keine Daten",
"Loading": "Lade...",
"Refresh": "Aktualisieren",
"Save": "Speichern",
"Server": {
"CPU": "CPU",
"GPU": "GPU",
"RAM": "RAM",
"Disk": "Festplatte",
"OS": "Betriebssystem",
"IP": "IP",
"Host": "Host",
"Temperature": "Temperatur",
"Usage": "Auslastung",
"Tabs": {
"General": "Allgemein",
"Hardware": "Hardware",
"Host": "Host",
"Monitoring": "Überwachung"
}
},
"ItemsPerPage": {
"items": "Einträge",
"item": "Eintrag",
"4": "4 Einträge",
"5": "5 Einträge",
"6": "6 Einträge",
"10": "10 Einträge",
"15": "15 Einträge",
"20": "20 Einträge",
"25": "25 Einträge",
"Custom": "Benutzerdefiniert (1-100)"
}
},
"Server": {
"Hardware": "Hardware",
"Network": "Netzwerk",
"CurrentUsage": "Aktuelle Auslastung",
"UsageHistory": "Nutzungsverlauf",
"ResourceUsageHistory": "Ressourcennutzungsverlauf",
"TimeRange": {
"Select": "Zeitraum auswählen",
"LastHour": "Letzte Stunde",
"Last24Hours": "Letzte 24 Stunden",
"Last7Days": "Letzte 7 Tage",
"Last30Days": "Letzte 30 Tage"
},
"VirtualMachines": "Virtuelle Maschinen",
"VirtualMachinesDescription": "Virtuelle Maschinen auf diesem Server",
"HardwareInformation": "Hardware-Informationen",
"ManagementURL": "Management-URL",
"VM": "VM",
"Physical": "Physisch",
"HostedOn": "Gehostet auf",
"NotFound": "Server nicht gefunden",
"NotFoundDescription": "Der gesuchte Server konnte nicht gefunden werden."
},
"Sidebar": {
"Main Navigation": "Hauptnavigation",
"Dashboard": "Dashboard",
"My Infrastructure": "Meine Infrastruktur",
"Servers": "Server",
"Applications": "Anwendungen",
"Uptime": "Uptime",
"Network": "Netzwerk",
"Settings": "Einstellungen",
"Logout": "Abmelden"
},
"Home": {
"TitleUnder": "Dashboard zur Verwaltung Ihrer Serverinfrastruktur",
"LoginCardTitle": "Anmeldung",
"LoginCardDescription": "Anmeldedaten eingeben",
"AuthenticationError": "Authentifizierungsfehler",
"Email": "E-Mail",
"Password": "Passwort",
"SigninButton": "Anmelden",
"SigninButtonSigningIn": "Anmeldung läuft..."
},
"Dashboard": {
"Title": "Dashboard",
"Servers": {
"Title": "Server",
"Description": "Übersicht physischer und virtueller Server",
"PhysicalServers": "Physische Server",
"VirtualServers": "Virtuelle Server",
"ManageServers": "Server verwalten"
},
"Applications": {
"Title": "Anwendungen",
"Description": "Verwalten Sie Ihre Anwendungen",
"OnlineApplications": "Aktive Anwendungen",
"ViewAllApplications": "Alle Anwendungen anzeigen"
},
"Uptime": {
"Title": "Uptime",
"Description": "Überwachung der Verfügbarkeit",
"OnlineApplications": "Online-Anwendungen",
"ViewUptimeMetrics": "Uptime-Statistiken anzeigen"
},
"Network": {
"Title": "Netzwerk",
"Description": "Netzwerkkonfiguration verwalten",
"ActiveConnections": "Aktive Verbindungen",
"ViewNetworkDetails": "Netzwerkdetails anzeigen"
}
},
"Servers": {
"Title": "Server",
"MyInfrastructure": "Meine Infrastruktur",
"YourServers": "Ihre Server",
"AddServer": {
"Title": "Server hinzufügen",
"General": {
"Title": "Server hinzufügen",
"CopyServer": "Server kopieren",
"Icon": "Symbol",
"IconPlaceholder": "Symbol auswählen",
"IconSearchPlaceholder": "Symbole suchen...",
"Preview": "Vorschau",
"Name": "Name",
"OperatingSystem": "Betriebssystem",
"OperatingSystemPlaceholder": "OS auswählen",
"IPAdress": "IP-Adresse",
"ManagementURL": "Management-URL",
"ManagementURLTooltip": "Link zur Verwaltungsoberfläche (z.B. Proxmox oder Portainer)"
},
"Host": {
"MarkAsHostServer": "Als Host-Server markieren",
"SelectHostServer": "Host-Server auswählen",
"SelectHostServerPlaceholder": "Host-Server auswählen",
"NoHostServer": "Kein Host-Server"
},
"Monitoring": {
"Enable": "Überwachung aktivieren",
"URL": "Monitoring-URL",
"SetupTitle": "Erforderliche Serverkonfiguration",
"SetupDescription": "Zur Aktivierung benötigen Sie Glances auf dem Server. Beispiel-Docker-Compose-Konfiguration:"
}
},
"ServerCard": {
"HardwareInformation": "Hardware-Informationen",
"ViewDetails": "Details anzeigen",
"OpenManagementURL": "Management-URL öffnen",
"EditServer": "Server bearbeiten",
"DeleteServer": "Server löschen",
"HostedVMs": "Gehostete VMs",
"ResourceUsage": "Ressourcennutzung",
"DeleteConfirmation": {
"Title": "{name} löschen",
"Description": "Sind Sie sicher? Diese Aktion kann nicht rückgängig gemacht werden.",
"Cancel": "Abbrechen",
"Delete": "Löschen"
}
},
"EditServer": {
"Title": "{name} bearbeiten",
"Save": "Speichern",
"General": {
"Title": "Allgemein",
"Icon": "Symbol",
"Name": "Name",
"OperatingSystem": "Betriebssystem",
"IPAddress": "IP-Adresse",
"ManagementURL": "Management-URL"
},
"Hardware": {
"Title": "Hardware",
"CPU": "CPU",
"GPU": "GPU",
"RAM": "RAM",
"Disk": "Festplatte"
},
"Host": {
"Title": "Host",
"MarkAsHostServer": "Als Host-Server markieren",
"CannotDisableHost": "Kann nicht deaktiviert werden, solange VMs gehostet werden",
"SelectHostServer": "Host-Server auswählen"
},
"Monitoring": {
"Title": "Überwachung",
"Enable": "Überwachung aktivieren",
"URL": "Monitoring-URL",
"SetupTitle": "Erforderliche Serverkonfiguration",
"SetupDescription": "Beispiel-Docker-Compose-Konfiguration für Glances:"
}
},
"Pagination": {
"Showing": "Zeige {start}-{end} von {total} Servern",
"NoServers": "Keine Server gefunden"
},
"Search": {
"Placeholder": "Suche..."
}
},
"Applications": {
"Title": "Ihre Anwendungen",
"Breadcrumb": {
"MyInfrastructure": "Meine Infrastruktur",
"Applications": "Anwendungen"
},
"Views": {
"ChangeView": "Ansicht ändern",
"ListView": "Listenansicht",
"GridView": "Rasteransicht",
"CompactView": "Kompaktansicht"
},
"Add": {
"Title": "Anwendung hinzufügen",
"Name": "Name",
"NamePlaceholder": "z.B. Portainer",
"Server": "Server",
"SelectServer": "Server auswählen",
"Description": "Beschreibung",
"DescriptionPlaceholder": "Anwendungsbeschreibung",
"IconURL": "Symbol-URL",
"IconURLPlaceholder": "https://example.com/icon.png",
"PublicURL": "Öffentliche URL",
"PublicURLPlaceholder": "https://example.com",
"LocalURL": "Lokale URL",
"LocalURLPlaceholder": "http://localhost:3000",
"CustomUptimeCheck": "Benutzerdefinierte Uptime-URL",
"CustomUptimeCheckTooltip": "Ersetzt die öffentliche URL für Uptime-Checks",
"UptimeCheckURL": "Uptime-Prüf-URL",
"UptimeCheckURLPlaceholder": "https://example.com/status"
},
"Edit": {
"Title": "Anwendung bearbeiten",
"SaveButton": "Änderungen speichern"
},
"Card": {
"Server": "Server",
"NoServer": "Kein Server",
"PublicURL": "Öffentliche URL",
"LocalURL": "Lokale URL",
"Icon": "Symbol",
"Image": "Bild"
},
"Messages": {
"AddServerFirst": "Bitte zuerst Server hinzufügen",
"AddSuccess": "Anwendung erfolgreich hinzugefügt",
"EditSuccess": "Änderungen gespeichert",
"DeleteSuccess": "Anwendung gelöscht",
"GetError": "Fehler beim Laden",
"EditError": "Speichern fehlgeschlagen",
"DeleteError": "Löschen fehlgeschlagen",
"NumberValidation": "Bitte Zahl zwischen 1-100 eingeben"
},
"Pagination": {
"Showing": "Zeige {start}-{end} von {total} Anwendungen",
"NoApplications": "Keine Anwendungen gefunden"
},
"Search": {
"Placeholder": "Suche..."
}
},
"Uptime": {
"Title": "Uptime",
"Breadcrumb": {
"MyInfrastructure": "Meine Infrastruktur",
"Uptime": "Uptime"
},
"TimeRange": {
"Select": "Zeitraum wählen",
"LastHour": "Letzte Stunde",
"LastDay": "Letzter Tag",
"Last7Days": "Letzte 7 Tage",
"Last30Days": "Letzte 30 Tage"
},
"Status": {
"Online": "Online",
"Offline": "Offline",
"NoData": "Keine Daten"
},
"Messages": {
"NumberValidation": "Bitte Zahl zwischen 1-100",
"NoItems": "Keine Einträge",
"Loading": "Lade..."
},
"Pagination": {
"Showing": "Zeige {start}-{end} von {total} Einträgen"
}
},
"Network": {
"Title": "Netzwerk",
"Breadcrumb": {
"MyInfrastructure": "Meine Infrastruktur",
"Network": "Netzwerk"
}
},
"Settings": {
"Title": "Einstellungen",
"Breadcrumb": {
"Dashboard": "Dashboard",
"Settings": "Einstellungen"
},
"UserSettings": {
"Title": "Benutzereinstellungen",
"Description": "E-Mail, Passwort und Kontoeinstellungen verwalten",
"ChangeEmail": {
"Title": "E-Mail ändern",
"Placeholder": "Neue E-Mail",
"Button": "E-Mail ändern",
"Success": "E-Mail geändert",
"Error": "Fehler"
},
"ChangePassword": {
"Title": "Passwort ändern",
"OldPassword": "Altes Passwort",
"NewPassword": "Neues Passwort",
"ConfirmPassword": "Passwort bestätigen",
"Button": "Passwort ändern",
"Success": "Passwort geändert",
"Error": "Fehler",
"PasswordsDontMatch": "Passwörter stimmen nicht überein",
"AllFieldsRequired": "Alle Felder benötigt"
}
},
"ThemeSettings": {
"Title": "Design-Einstellungen",
"Description": "Wählen Sie zwischen Hell, Dunkel oder System",
"Light": "Hell",
"Dark": "Dunkel",
"System": "System"
},
"LanguageSettings": {
"Title": "Spracheinstellungen",
"Description": "Wählen Sie eine Sprache für die Anwendung.",
"English": "Englisch",
"German": "Deutsch"
},
"Notifications": {
"Title": "Benachrichtigungen",
"Description": "Erhalten Sie Warnungen bei Statusänderungen",
"AddChannel": "Kanal hinzufügen",
"NoNotifications": "Keine Benachrichtigungen",
"NoNotificationsDescription": "Fügen Sie einen Benachrichtigungskanal hinzu",
"AddNotification": {
"Title": "Benachrichtigung hinzufügen",
"Name": "Name (optional)",
"Type": "Typ",
"SMTP": {
"Title": "SMTP",
"Description": "Sende Benachrichtigungen via SMTP",
"Host": "SMTP-Host",
"Port": "SMTP-Port",
"Secure": "Sichere Verbindung (TLS/SSL)",
"Username": "SMTP-Benutzername",
"Password": "SMTP-Passwort",
"From": "Absenderadresse",
"To": "Empfängeradresse"
},
"Telegram": {
"Title": "Telegram",
"Description": "Sende Benachrichtigungen via Telegram",
"Token": "Bot-Token",
"ChatId": "Chat-ID"
},
"Discord": {
"Title": "Discord",
"Description": "Sende Benachrichtigungen via Discord",
"Webhook": "Webhook-URL"
},
"Gotify": {
"Title": "Gotify",
"Description": "Sende Benachrichtigungen via Gotify",
"Url": "Gotify-URL",
"Token": "Gotify-Token"
},
"Ntfy": {
"Title": "Ntfy",
"Description": "Sende Benachrichtigungen via Ntfy",
"Url": "Ntfy-URL",
"Token": "Ntfy-Token"
},
"Pushover": {
"Title": "Pushover",
"Description": "Sende Benachrichtigungen via Pushover",
"Url": "Pushover-URL",
"Token": "Pushover-Token",
"User": "Pushover-Benutzer"
},
"Echobell": {
"Title": "Echobell",
"Description": "Sende Benachrichtigungen via Echobell",
"Url": "Echobell-URL",
"AddMessage": "Füge in Echobell den \"message\" Feld hinzu."
}
},
"CustomizeText": {
"Display": "Benachrichtigungstext anpassen",
"Title": "Textanpassung",
"Application": "Text für Anwendungen",
"Server": "Text für Server",
"Placeholders": {
"Title": "Verfügbare Platzhalter:",
"Server": {
"Title": "Server:",
"Name": "!name - Servername",
"Status": "!status - Status (online/offline)"
},
"Application": {
"Title": "Anwendung:",
"Name": "!name - Anwendungsname",
"Url": "!url - Anwendungs-URL",
"Status": "!status - Status (online/offline)"
}
}
},
"ActiveChannels": "Aktive Kanäle",
"Test": "Testen",
"Delete": "Löschen"
}
}
}

425
i18n/languages/en.json Normal file
View File

@@ -0,0 +1,425 @@
{
"Common": {
"ChangeView": "Change View",
"ListView": "List View",
"GridView": "Grid View",
"optional": "optional",
"cancel": "Cancel",
"add": "Add",
"since": "since {date}",
"notSet": "Not set",
"noData": "No data",
"Loading": "Loading...",
"Refresh": "Refresh",
"Save": "Save",
"Server": {
"CPU": "CPU",
"GPU": "GPU",
"RAM": "RAM",
"Disk": "Disk",
"OS": "OS",
"IP": "IP",
"Host": "Host",
"Temperature": "Temperature",
"Usage": "Usage",
"Tabs": {
"General": "General",
"Hardware": "Hardware",
"Host": "Host",
"Monitoring": "Monitoring"
}
},
"ItemsPerPage": {
"items": "items",
"item": "item",
"4": "4 items",
"5": "5 items",
"6": "6 items",
"10": "10 items",
"15": "15 items",
"20": "20 items",
"25": "25 items",
"Custom": "Custom (1-100)"
}
},
"Server": {
"Hardware": "Hardware",
"Network": "Network",
"CurrentUsage": "Current Usage",
"UsageHistory": "Usage History",
"ResourceUsageHistory": "Resource Usage History",
"TimeRange": {
"Select": "Select time range",
"LastHour": "Last Hour",
"Last24Hours": "Last 24 Hours",
"Last7Days": "Last 7 Days",
"Last30Days": "Last 30 Days"
},
"VirtualMachines": "Virtual Machines",
"VirtualMachinesDescription": "Virtual machines hosted on this server",
"HardwareInformation": "Hardware Information",
"ManagementURL": "Management URL",
"VM": "VM",
"Physical": "Physical",
"HostedOn": "Hosted on",
"NotFound": "Server not found",
"NotFoundDescription": "The server you are looking for could not be found."
},
"Sidebar": {
"Main Navigation": "Main Navigation",
"Dashboard": "Dashboard",
"My Infrastructure": "My Infrastructure",
"Servers": "Servers",
"Applications": "Applications",
"Uptime": "Uptime",
"Network": "Network",
"Settings": "Settings",
"Logout": "Logout"
},
"Home": {
"TitleUnder": "Dashboard to manage your entire server infrastructure",
"LoginCardTitle": "Login",
"LoginCardDescription": "Enter your credentials to continue",
"AuthenticationError": "Authentication Error",
"Email": "Email",
"Password": "Password",
"SigninButton": "Sign in",
"SigninButtonSigningIn": "Signing in..."
},
"Dashboard": {
"Title": "Dashboard",
"Servers": {
"Title": "Servers",
"Description": "Physical and virtual servers overview",
"PhysicalServers": "Physical Servers",
"VirtualServers": "Virtual Servers",
"ManageServers": "Manage Servers"
},
"Applications": {
"Title": "Applications",
"Description": "Manage your deployed applications",
"OnlineApplications": "Running Applications",
"ViewAllApplications": "View all applications"
},
"Uptime": {
"Title": "Uptime",
"Description": "Monitor your service availability",
"OnlineApplications": "Online Applications",
"ViewUptimeMetrics": "View uptime metrics"
},
"Network": {
"Title": "Network",
"Description": "Manage network configuration",
"ActiveConnections": "Active Connections",
"ViewNetworkDetails": "View network details"
}
},
"Servers": {
"Title": "Servers",
"MyInfrastructure": "My Infrastructure",
"YourServers": "Your Servers",
"AddServer": {
"Title": "Add a server",
"General": {
"Title": "Add a server",
"CopyServer": "Copy server",
"Icon": "Icon",
"IconPlaceholder": "Select an icon",
"IconSearchPlaceholder": "Search icons...",
"Preview": "Preview",
"Name": "Name",
"OperatingSystem": "Operating System",
"OperatingSystemPlaceholder": "Select OS",
"IPAdress": "IP Adress",
"ManagementURL": "Management URL",
"ManagementURLTooltip": "Link to a web interface (e.g. Proxmox or Portainer) with which the server can be managed"
},
"Host": {
"MarkAsHostServer": "Mark as host server",
"SelectHostServer": "Select a host server",
"SelectHostServerPlaceholder": "Select a host server",
"NoHostServer": "No host server"
},
"Monitoring": {
"Enable": "Enable monitoring",
"URL": "Monitoring URL",
"SetupTitle": "Required Server Setup",
"SetupDescription": "To enable monitoring, you need to install Glances on your server. Here's an example Docker Compose configuration:"
}
},
"ServerCard": {
"HardwareInformation": "Hardware Information",
"ViewDetails": "View Details",
"OpenManagementURL": "Open Management URL",
"EditServer": "Edit Server",
"DeleteServer": "Delete Server",
"HostedVMs": "Hosted VMs",
"ResourceUsage": "Resource Usage",
"DeleteConfirmation": {
"Title": "Delete {name}",
"Description": "Are you sure you want to delete this server? This action cannot be undone.",
"Cancel": "Cancel",
"Delete": "Delete"
}
},
"EditServer": {
"Title": "Edit {name}",
"Save": "Save",
"General": {
"Title": "General",
"Icon": "Icon",
"Name": "Name",
"OperatingSystem": "Operating System",
"IPAddress": "IP Address",
"ManagementURL": "Management URL"
},
"Hardware": {
"Title": "Hardware",
"CPU": "CPU",
"GPU": "GPU",
"RAM": "RAM",
"Disk": "Disk"
},
"Host": {
"Title": "Host",
"MarkAsHostServer": "Mark as host server",
"CannotDisableHost": "Cannot be disabled while hosting VMs",
"SelectHostServer": "Select a host server"
},
"Monitoring": {
"Title": "Monitoring",
"Enable": "Enable monitoring",
"URL": "Monitoring URL",
"SetupTitle": "Required Server Setup",
"SetupDescription": "To enable monitoring, you need to install Glances on your server. Here's an example Docker Compose configuration:"
}
},
"Pagination": {
"Showing": "Showing {start}-{end} of {total} servers",
"NoServers": "No servers found"
},
"Search": {
"Placeholder": "Type to search..."
}
},
"Applications": {
"Title": "Your Applications",
"Breadcrumb": {
"MyInfrastructure": "My Infrastructure",
"Applications": "Applications"
},
"Views": {
"ChangeView": "Change view",
"ListView": "List View",
"GridView": "Grid View",
"CompactView": "Compact View"
},
"Add": {
"Title": "Add an application",
"Name": "Name",
"NamePlaceholder": "e.g. Portainer",
"Server": "Server",
"SelectServer": "Select server",
"Description": "Description",
"DescriptionPlaceholder": "Application description",
"IconURL": "Icon URL",
"IconURLPlaceholder": "https://example.com/icon.png",
"PublicURL": "Public URL",
"PublicURLPlaceholder": "https://example.com",
"LocalURL": "Local URL",
"LocalURLPlaceholder": "http://localhost:3000",
"CustomUptimeCheck": "Custom Uptime Check URL",
"CustomUptimeCheckTooltip": "When enabled, this URL replaces the Public URL for uptime monitoring checks",
"UptimeCheckURL": "Uptime Check URL",
"UptimeCheckURLPlaceholder": "https://example.com/status"
},
"Edit": {
"Title": "Edit Application",
"SaveButton": "Save Changes"
},
"Card": {
"Server": "Server",
"NoServer": "No server",
"PublicURL": "Public URL",
"LocalURL": "Local URL",
"Icon": "Icon",
"Image": "Image"
},
"Messages": {
"AddServerFirst": "You must first add a server.",
"AddSuccess": "Application added successfully",
"EditSuccess": "Application edited successfully",
"DeleteSuccess": "Application deleted successfully",
"GetError": "Failed to get applications",
"EditError": "Failed to edit application",
"DeleteError": "Failed to delete application",
"NumberValidation": "Please enter a number between 1 and 100"
},
"Pagination": {
"Showing": "Showing {start}-{end} of {total} applications",
"NoApplications": "No applications found"
},
"Search": {
"Placeholder": "Type to search..."
}
},
"Uptime": {
"Title": "Uptime",
"Breadcrumb": {
"MyInfrastructure": "My Infrastructure",
"Uptime": "Uptime"
},
"TimeRange": {
"Select": "Select timespan",
"LastHour": "Last 1 hour",
"LastDay": "Last 1 day",
"Last7Days": "Last 7 days",
"Last30Days": "Last 30 days"
},
"Status": {
"Online": "Online",
"Offline": "Offline",
"NoData": "No data"
},
"Messages": {
"NumberValidation": "Please enter a number between 1 and 100",
"NoItems": "No items found",
"Loading": "Loading..."
},
"Pagination": {
"Showing": "Showing {start}-{end} of {total} items"
}
},
"Network": {
"Title": "Network",
"Breadcrumb": {
"MyInfrastructure": "My Infrastructure",
"Network": "Network"
}
},
"Settings": {
"Title": "Settings",
"Breadcrumb": {
"Dashboard": "Dashboard",
"Settings": "Settings"
},
"UserSettings": {
"Title": "User Settings",
"Description": "Manage your user settings here. You can change your email, password, and other account settings.",
"ChangeEmail": {
"Title": "Change Email",
"Placeholder": "Enter new email",
"Button": "Change Email",
"Success": "Email changed successfully.",
"Error": "Error"
},
"ChangePassword": {
"Title": "Change Password",
"OldPassword": "Enter old password",
"NewPassword": "Enter new password",
"ConfirmPassword": "Confirm new password",
"Button": "Change Password",
"Success": "Password changed successfully.",
"Error": "Error",
"PasswordsDontMatch": "Passwords do not match",
"AllFieldsRequired": "All fields are required"
}
},
"ThemeSettings": {
"Title": "Theme Settings",
"Description": "Select a theme for the application. You can choose between light, dark, or system theme.",
"Light": "Light",
"Dark": "Dark",
"System": "System"
},
"LanguageSettings": {
"Title": "Language Settings",
"Description": "Select a language for the application.",
"English": "English",
"German": "German"
},
"Notifications": {
"Title": "Notifications",
"Description": "Set up notifications to get instantly alerted when an application changes status.",
"AddChannel": "Add Notification Channel",
"NoNotifications": "No notifications configured",
"NoNotificationsDescription": "Add a notification channel to get alerted when your applications change status.",
"AddNotification": {
"Title": "Add Notification",
"Name": "Notification Name (optional)",
"Type": "Notification Type",
"SMTP": {
"Title": "SMTP",
"Description": "Send notifications via SMTP",
"Host": "SMTP Host",
"Port": "SMTP Port",
"Secure": "Secure Connection (TLS/SSL)",
"Username": "SMTP Username",
"Password": "SMTP Password",
"From": "From Address",
"To": "To Address"
},
"Telegram": {
"Title": "Telegram",
"Description": "Send notifications via Telegram",
"Token": "Bot Token",
"ChatId": "Chat ID"
},
"Discord": {
"Title": "Discord",
"Description": "Send notifications via Discord",
"Webhook": "Webhook URL"
},
"Gotify": {
"Title": "Gotify",
"Description": "Send notifications via Gotify",
"Url": "Gotify URL",
"Token": "Gotify Token"
},
"Ntfy": {
"Title": "Ntfy",
"Description": "Send notifications via Ntfy",
"Url": "Ntfy URL",
"Token": "Ntfy Token"
},
"Pushover": {
"Title": "Pushover",
"Description": "Send notifications via Pushover",
"Url": "Pushover URL",
"Token": "Pushover Token",
"User": "Pushover User"
},
"Echobell": {
"Title": "Echobell",
"Description": "Send notifications via Echobell",
"Url": "Echobell URL",
"AddMessage": "Add in Echobell the \"message\" field."
}
},
"CustomizeText": {
"Display": "Customize Notification Text",
"Title": "Customize Notification Text",
"Application": "Notification Text for Applications",
"Server": "Notification Text for Servers",
"Placeholders": {
"Title": "You can use the following placeholders in the text:",
"Server": {
"Title": "Server related:",
"Name": "!name - The name of the server",
"Status": "!status - The current status of the server (online/offline)"
},
"Application": {
"Title": "Application related:",
"Name": "!name - The name of the application",
"Url": "!url - The URL where the application is hosted",
"Status": "!status - The current status of the application (online/offline)"
}
}
},
"ActiveChannels": "Active Notification Channels",
"Test": "Test",
"Delete": "Delete"
}
}
}

12
i18n/request.ts Normal file
View File

@@ -0,0 +1,12 @@
import {getRequestConfig} from 'next-intl/server';
import {cookies} from 'next/headers';
export default getRequestConfig(async () => {
const cookieStore = await cookies();
const locale = cookieStore.get('language')?.value || 'en';
return {
locale,
messages: (await import(`./languages/${locale}.json`)).default
};
});