diff --git a/src/app/[locale]/admin/billing/page.tsx b/src/app/[locale]/admin/billing/page.tsx index 1f0b9c5..b53f43e 100644 --- a/src/app/[locale]/admin/billing/page.tsx +++ b/src/app/[locale]/admin/billing/page.tsx @@ -98,6 +98,7 @@ export default async function AdminBillingPage() {
{t("description")}
+ {error?.digest && ( ++ {error.digest} +
+ )} ++ {t("notFoundDescription")} +
+ + {t("backToDashboard")} + ++ An unexpected error occurred. Please try again. +
+ {error?.digest && ( ++ {error.digest} +
+ )} + +{t("skillPricingDesc")}
{initialSkillPricing.length > 0 ? ( +{t("noSkillsPriced")}
)} diff --git a/src/components/admin/cron/cron-controls.tsx b/src/components/admin/cron/cron-controls.tsx index 813f1f5..bf72946 100644 --- a/src/components/admin/cron/cron-controls.tsx +++ b/src/components/admin/cron/cron-controls.tsx @@ -194,6 +194,7 @@ export function CronControls({ initialRecent, initialLastSuccess }: Props) { {t("noRunsYet")} ) : ( +{t("draftNote")}
diff --git a/src/messages/de.json b/src/messages/de.json index d204208..c7634bf 100644 --- a/src/messages/de.json +++ b/src/messages/de.json @@ -964,5 +964,13 @@ "saving": "Speichern…", "saved": "Gespeichert.", "missingRequired": "Vor- und Nachname sind erforderlich." + }, + "errors": { + "title": "Etwas ist schiefgelaufen", + "description": "Beim Laden dieser Seite ist ein Fehler aufgetreten. Bitte versuchen Sie es erneut.", + "retry": "Erneut versuchen", + "backToDashboard": "Zurück zum Dashboard", + "notFoundTitle": "Seite nicht gefunden", + "notFoundDescription": "Die angeforderte Seite existiert nicht oder wurde verschoben." } } diff --git a/src/messages/en.json b/src/messages/en.json index 7866329..d83d731 100644 --- a/src/messages/en.json +++ b/src/messages/en.json @@ -964,5 +964,13 @@ "saving": "Saving…", "saved": "Saved.", "missingRequired": "First and last name are required." + }, + "errors": { + "title": "Something went wrong", + "description": "An error occurred while loading this page. Please try again.", + "retry": "Try again", + "backToDashboard": "Back to dashboard", + "notFoundTitle": "Page not found", + "notFoundDescription": "The page you're looking for doesn't exist or has moved." } } diff --git a/src/messages/fr.json b/src/messages/fr.json index 4116cfe..3232370 100644 --- a/src/messages/fr.json +++ b/src/messages/fr.json @@ -964,5 +964,13 @@ "saving": "Enregistrement…", "saved": "Enregistré.", "missingRequired": "Le prénom et le nom sont obligatoires." + }, + "errors": { + "title": "Une erreur est survenue", + "description": "Une erreur s'est produite lors du chargement de cette page. Veuillez réessayer.", + "retry": "Réessayer", + "backToDashboard": "Retour au tableau de bord", + "notFoundTitle": "Page introuvable", + "notFoundDescription": "La page que vous recherchez n'existe pas ou a été déplacée." } } diff --git a/src/messages/it.json b/src/messages/it.json index 4ef6cb8..1c0bb04 100644 --- a/src/messages/it.json +++ b/src/messages/it.json @@ -964,5 +964,13 @@ "saving": "Salvataggio…", "saved": "Salvato.", "missingRequired": "Nome e cognome sono obbligatori." + }, + "errors": { + "title": "Si è verificato un errore", + "description": "Si è verificato un errore durante il caricamento di questa pagina. Riprova.", + "retry": "Riprova", + "backToDashboard": "Torna alla dashboard", + "notFoundTitle": "Pagina non trovata", + "notFoundDescription": "La pagina che stai cercando non esiste o è stata spostata." } }