Bladeren bron

Rebuild the customer portal with themes, chat and photo uploads (#603)

* Apply the workshop's forced language on the portal and share pages

The language for customer pages was read from a request header that nothing
sets, so a workshop that forces its own language on customer-facing pages
still got the visitor's browser language there, and staff notices could show
on customer pages. The path now comes from the header the proxy really sets.

* Rebuild the customer portal with themes, chat and photo uploads

The workshop picks one of four themes (Daylight by default), its colour and a
cover photo; customers no longer choose a layout. The home uses the whole
page and carries a live chat with the workshop, which lands in the Messages
inbox as a Portal channel. Customers can book a visit with photos and video,
see stored tyres, and the settings page saves everything with one button.

* Bind portal uploads to their customer and make quote answers atomic

A customer's upload now carries a keyed mark of who uploaded it and is
refused on a message, a booking or a release by anyone else. A quote answer
is one conditional update, so it cannot overwrite a quote converted in the
meantime. Only the messages on screen are marked read, portal writes stop
during a restore, an older backup's portal picture becomes the cover photo,
and a request's preferred day prints on the workshop's clock.
Bernt Christian Egeland 9 uur geleden
bovenliggende
commit
aae6546f14
100 gewijzigde bestanden met toevoegingen van 15617 en 1939 verwijderingen
  1. 3 1
      e2e/specs/email/sending.spec.ts
  2. 3 0
      messages/de/audit.json
  3. 6 0
      messages/de/customers.json
  4. 23 0
      messages/de/messaging.json
  5. 483 97
      messages/de/portal.json
  6. 106 53
      messages/de/settings.json
  7. 3 0
      messages/en/audit.json
  8. 6 0
      messages/en/customers.json
  9. 23 0
      messages/en/messaging.json
  10. 487 101
      messages/en/portal.json
  11. 97 44
      messages/en/settings.json
  12. 3 0
      messages/es/audit.json
  13. 6 0
      messages/es/customers.json
  14. 23 0
      messages/es/messaging.json
  15. 486 100
      messages/es/portal.json
  16. 106 53
      messages/es/settings.json
  17. 3 0
      messages/fr/audit.json
  18. 6 0
      messages/fr/customers.json
  19. 23 0
      messages/fr/messaging.json
  20. 486 100
      messages/fr/portal.json
  21. 105 52
      messages/fr/settings.json
  22. 3 0
      messages/it/audit.json
  23. 6 0
      messages/it/customers.json
  24. 23 0
      messages/it/messaging.json
  25. 487 101
      messages/it/portal.json
  26. 106 53
      messages/it/settings.json
  27. 3 0
      messages/lt/audit.json
  28. 6 0
      messages/lt/customers.json
  29. 23 0
      messages/lt/messaging.json
  30. 484 98
      messages/lt/portal.json
  31. 97 44
      messages/lt/settings.json
  32. 3 0
      messages/nb/audit.json
  33. 6 0
      messages/nb/customers.json
  34. 23 0
      messages/nb/messaging.json
  35. 483 97
      messages/nb/portal.json
  36. 101 48
      messages/nb/settings.json
  37. 3 0
      messages/nl/audit.json
  38. 6 0
      messages/nl/customers.json
  39. 23 0
      messages/nl/messaging.json
  40. 484 98
      messages/nl/portal.json
  41. 106 53
      messages/nl/settings.json
  42. 3 0
      messages/pl/audit.json
  43. 6 0
      messages/pl/customers.json
  44. 23 0
      messages/pl/messaging.json
  45. 485 99
      messages/pl/portal.json
  46. 105 52
      messages/pl/settings.json
  47. 3 0
      messages/pt-BR/audit.json
  48. 6 0
      messages/pt-BR/customers.json
  49. 23 0
      messages/pt-BR/messaging.json
  50. 489 103
      messages/pt-BR/portal.json
  51. 97 44
      messages/pt-BR/settings.json
  52. 3 0
      messages/pt-PT/audit.json
  53. 6 0
      messages/pt-PT/customers.json
  54. 23 0
      messages/pt-PT/messaging.json
  55. 486 100
      messages/pt-PT/portal.json
  56. 97 44
      messages/pt-PT/settings.json
  57. 3 0
      messages/ru/audit.json
  58. 6 0
      messages/ru/customers.json
  59. 23 0
      messages/ru/messaging.json
  60. 486 100
      messages/ru/portal.json
  61. 100 47
      messages/ru/settings.json
  62. 3 0
      messages/tr/audit.json
  63. 6 0
      messages/tr/customers.json
  64. 23 0
      messages/tr/messaging.json
  65. 488 102
      messages/tr/portal.json
  66. 97 44
      messages/tr/settings.json
  67. 50 0
      package-lock.json
  68. 5 0
      package.json
  69. 61 0
      prisma/migrations/20261115130000_portal_messages/migration.sql
  70. 1 0
      prisma/schema/auth.prisma
  71. 11 0
      prisma/schema/customers.prisma
  72. 47 0
      prisma/schema/messaging.prisma
  73. 1 0
      prisma/schema/organization.prisma
  74. 46 9
      src/__tests__/api/portal-signin-link.test.ts
  75. 331 0
      src/__tests__/api/portal-upload.test.ts
  76. 2 1
      src/__tests__/app/api/restore-freeze-public-routes.test.ts
  77. 89 0
      src/__tests__/app/customers/service-request-day.test.tsx
  78. 256 0
      src/__tests__/features/messaging/portal-conversation.test.tsx
  79. 9 1
      src/__tests__/features/messaging/unread-count.test.ts
  80. 524 0
      src/__tests__/features/portal/chat-panel.test.tsx
  81. 210 0
      src/__tests__/features/portal/customer-portal-settings.test.tsx
  82. 173 0
      src/__tests__/features/portal/get-portal-home.test.ts
  83. 172 0
      src/__tests__/features/portal/helpers/fixtures.ts
  84. 36 0
      src/__tests__/features/portal/helpers/serverIntl.ts
  85. 35 0
      src/__tests__/features/portal/helpers/serverTree.tsx
  86. 717 0
      src/__tests__/features/portal/home-colour.test.tsx
  87. 545 0
      src/__tests__/features/portal/home-data.test.ts
  88. 454 0
      src/__tests__/features/portal/home-daylight.test.tsx
  89. 759 0
      src/__tests__/features/portal/home-garage.test.tsx
  90. 694 0
      src/__tests__/features/portal/home-print.test.tsx
  91. 144 0
      src/__tests__/features/portal/login-form.test.tsx
  92. 239 0
      src/__tests__/features/portal/portal-chat-events.test.ts
  93. 569 0
      src/__tests__/features/portal/portal-chat.test.ts
  94. 248 0
      src/__tests__/features/portal/portal-detail-actions.test.ts
  95. 112 0
      src/__tests__/features/portal/portal-file-route.test.ts
  96. 113 0
      src/__tests__/features/portal/portal-format.test.ts
  97. 320 0
      src/__tests__/features/portal/portal-frame.test.tsx
  98. 133 0
      src/__tests__/features/portal/portal-inspection-page.test.tsx
  99. 106 0
      src/__tests__/features/portal/portal-inspection-results.test.tsx
  100. 352 0
      src/__tests__/features/portal/portal-landing.test.tsx

+ 3 - 1
e2e/specs/email/sending.spec.ts

@@ -177,7 +177,7 @@ test.describe('a message to a customer', () => {
 })
 
 test.describe('a customer asking for a sign-in link', () => {
-  /** The portal switch saves as it is turned, so there is no Save to press. */
+  /** The portal page is one form: the switch is stored when Save is pressed. */
   async function setPortal(page: Page, open: boolean): Promise<void> {
     await page.goto('/settings/customer-portal')
     await settle(page)
@@ -188,6 +188,8 @@ test.describe('a customer asking for a sign-in link', () => {
       await toggle.click()
       await expect(toggle).toHaveAttribute('aria-checked', String(open), { timeout: 3_000 })
     }).toPass({ timeout: 30_000 })
+    await page.getByRole('button', { name: 'Save changes' }).click()
+    await expect(page.getByText('Everything is saved')).toBeVisible({ timeout: 30_000 })
   }
 
   let wasOpen = false

+ 3 - 0
messages/de/audit.json

@@ -81,6 +81,7 @@
     "settings_updateInvoiceLayout": "Rechnungslayout aktualisiert",
     "settings_updateQuoteLayout": "Angebotslayout aktualisiert",
     "settings_updatePortalSlug": "Portal-URL aktualisiert",
+    "settings_updateCustomerPortal": "Kundenportal-Einstellungen aktualisiert",
     "inspectionTemplate_create": "Inspektions-Checkliste erstellt",
     "inspectionTemplate_update": "Inspektions-Checkliste aktualisiert",
     "inspectionTemplate_delete": "Inspektions-Checkliste gelöscht",
@@ -102,6 +103,7 @@
     "statusReport_create": "Statusbericht erstellt",
     "statusReport_send": "Statusbericht gesendet",
     "statusReport_delete": "Statusbericht gelöscht",
+    "portal_send": "Portal-Nachricht gesendet",
     "telegram_send": "Telegram-Nachricht gesendet",
     "webhook_create": "Webhook erstellt",
     "webhook_update": "Webhook aktualisiert",
@@ -306,6 +308,7 @@
     "technician_create": "Mechaniker „{name}“ angelegt",
     "technician_delete": "Mechaniker {id} gelöscht",
     "technician_update": "Mechaniker {id} aktualisiert",
+    "portal_send": "Nachricht an {name} im Kundenportal gesendet",
     "telegram_send": "Telegram-Nachricht an {name} gesendet",
     "tire_location_bulk_create": "{count, plural, one {# Reifenlagerplatz} other {# Reifenlagerplätze}} angelegt",
     "tire_location_create": "Reifenlagerplatz {code} angelegt",

+ 6 - 0
messages/de/customers.json

@@ -120,6 +120,12 @@
     "saveNotes": "Notizen speichern",
     "submitted": "Eingereicht am {date}",
     "preferred": "Gewünscht: {date}",
+    "preferredMorning": "Gewünscht: {date}, vormittags",
+    "preferredAfternoon": "Gewünscht: {date}, nachmittags",
+    "files": "{count, plural, one {# Foto oder Video vom Kunden} other {# Fotos oder Videos vom Kunden}}",
+    "openPhoto": "Foto {number} öffnen",
+    "openVideo": "Video {number} öffnen",
+    "fileMissing": "Foto {number} ist nicht mehr verfügbar",
     "workOrderCreated": "Arbeitsauftrag erstellt",
     "workOrderError": "Arbeitsauftrag konnte nicht erstellt werden",
     "requestDismissed": "Anfrage abgelehnt",

+ 23 - 0
messages/de/messaging.json

@@ -51,5 +51,28 @@
       "noMatches": "Kein Kunde passt zur Suche.",
       "noRecipients": "Noch keine Kunden mit E-Mail-Adresse."
     }
+  },
+  "portal": {
+    "badge": "Portal",
+    "empty": "{name} hat im Portal noch nicht geschrieben.",
+    "placeholder": "{name} im Portal schreiben",
+    "send": "Nachricht senden",
+    "sendFailed": "Die Nachricht konnte nicht gesendet werden",
+    "sendHint": "Enter sendet, Umschalt+Enter beginnt eine neue Zeile. {name} sieht die Nachricht beim nächsten Öffnen des Portals.",
+    "loadOlder": "Ältere Nachrichten laden",
+    "loadFailed": "Die Unterhaltung konnte nicht geladen werden.",
+    "tryAgain": "Erneut versuchen",
+    "addPhoto": "Foto hinzufügen",
+    "removePhoto": "{name} entfernen",
+    "uploadFailed": "Das Foto konnte nicht hinzugefügt werden. Fotos bis {size} MB sind möglich.",
+    "tooManyPhotos": "Eine Nachricht fasst bis zu {count} Fotos.",
+    "photoFrom": "Foto von {name}",
+    "videoFrom": "Video von {name}",
+    "openFile": "Datei öffnen",
+    "you": "Sie",
+    "seen": "Gelesen",
+    "off": "Nachrichten im Kundenportal sind ausgeschaltet. Diese Unterhaltung kann gelesen, aber nicht beantwortet werden.",
+    "offSettings": "Einstellungen des Kundenportals",
+    "deleteDescription": "Entfernt die gesamte Unterhaltung mit {name}, auch für die Person selbst: Sie verschwindet aus ihrem Portal."
   }
 }

+ 483 - 97
messages/de/portal.json

@@ -12,28 +12,42 @@
     "description": "Bitte verwenden Sie den direkten Link Ihrer Werkstatt, um auf das Kundenportal zuzugreifen.",
     "hint": "Ihre Werkstatt wird Ihnen den Portal-Link per E-Mail oder SMS mitteilen."
   },
-  "landing": {
-    "contactTitle": "Kontakt",
-    "aboutTitle": "Über uns",
-    "noContactInfo": "Kontaktdaten sind noch nicht verfügbar.",
-    "address": "Adresse",
-    "phone": "Telefon",
-    "email": "E-Mail",
-    "hours": "Öffnungszeiten",
-    "directions": "Wegbeschreibung"
+  "signIn": {
+    "eyebrow": "Für unsere Kunden",
+    "heading": "Ihr Auto, Ihre Rechnungen und Ihre Nachrichten auf einen Blick.",
+    "headingMarine": "Ihr Boot, Ihre Rechnungen und Ihre Nachrichten auf einen Blick.",
+    "headingNoMessages": "Ihr Auto, Ihre Rechnungen und Ihre Angebote auf einen Blick.",
+    "headingNoMessagesMarine": "Ihr Boot, Ihre Rechnungen und Ihre Angebote auf einen Blick.",
+    "confirmEyebrow": "Fast geschafft",
+    "hoursTitle": "Öffnungszeiten",
+    "findUs": "So finden Sie uns",
+    "callUs": "Rufen Sie uns an",
+    "directions": "Route",
+    "dayRange": "{from} bis {to}",
+    "timeRange": "{start} bis {end}",
+    "closed": "geschlossen"
   },
   "login": {
-    "signInTitle": "Kundenanmeldung",
-    "signInSubtitle": "Melden Sie sich an, um Rechnungen, Angebote und Servicehistorie zu sehen.",
-    "emailLabel": "E-Mail-Adresse",
+    "emailLabel": "Ihre E-Mail-Adresse",
     "emailPlaceholder": "sie@beispiel.de",
     "sendLink": "Anmeldelink senden",
     "checkEmail": "Prüfen Sie Ihre E-Mails",
     "checkEmailDescription": "Falls ein Konto für diese E-Mail-Adresse existiert, haben wir Ihnen einen Anmeldelink gesendet. Der Link läuft in 15 Minuten ab.",
     "tryDifferentEmail": "Andere E-Mail-Adresse verwenden",
+    "requestFailed": "Das hat gerade nicht geklappt. Prüfen Sie Ihre Verbindung und versuchen Sie es erneut.",
+    "tooManyTries": "Zu viele Versuche in kurzer Zeit. Warten Sie eine Minute und versuchen Sie es erneut.",
+    "tryAgain": "Erneut versuchen",
+    "sendNewCode": "Neuen Code senden",
+    "newCodeSent": "Wir haben einen neuen Code gesendet.",
+    "errors": {
+      "invalid": "Dieser Anmeldelink funktioniert nicht. Fordern Sie unten einen neuen an.",
+      "used": "Dieser Anmeldelink wurde bereits verwendet. Fordern Sie unten einen neuen an.",
+      "expired": "Dieser Anmeldelink ist abgelaufen. Fordern Sie unten einen neuen an.",
+      "noAccount": "Wir konnten Ihr Konto nicht finden. Bitten Sie die Werkstatt, die bei ihr hinterlegte E-Mail-Adresse zu prüfen."
+    },
     "tabEmail": "E-Mail",
     "tabSms": "SMS",
-    "phoneLabel": "Telefonnummer",
+    "phoneLabel": "Ihre Handynummer",
     "phonePlaceholder": "+49 12345678",
     "phoneLocalPlaceholder": "12345678",
     "sendCode": "Code senden",
@@ -48,90 +62,336 @@
     "confirmDescription": "Sie melden sich als {email} an. Klicken Sie auf die Schaltfläche, um fortzufahren.",
     "confirmButton": "Weiter zur Anmeldung",
     "notFound": "Nicht gefunden",
-    "portalNotExist": "Dieses Portal existiert nicht.",
-    "portalNotAvailable": "Portal nicht verfügbar",
-    "portalNotEnabled": "Das Kundenportal ist für diese Organisation nicht aktiviert."
+    "portalNotExist": "Diese Seite existiert nicht.",
+    "portalNotAvailable": "Nicht verfügbar",
+    "portalNotEnabled": "Diese Werkstatt bietet derzeit keinen Online-Zugang an.",
+    "noPassword": "Kein Passwort nötig. Wir senden Ihnen einen Link, mit dem Sie angemeldet werden.",
+    "noPasswordSms": "Kein Passwort nötig. Wir schicken Ihnen per SMS einen Code, mit dem Sie angemeldet werden.",
+    "method": "Wie möchten Sie sich anmelden?"
   },
   "nav": {
-    "dashboard": "Dashboard",
-    "vehicles": "Fahrzeuge",
+    "label": "Hauptmenü",
+    "skip": "Zum Inhalt springen",
+    "home": "Start",
+    "messages": "Nachrichten",
+    "book": "Termin",
+    "bookLong": "Termin anfragen",
+    "cars": "Meine Autos",
+    "carsMarine": "Meine Boote",
+    "papers": "Unterlagen",
+    "papersLong": "Rechnungen und Angebote",
+    "unread": "{count, plural, one {# ungelesene Nachricht} other {# ungelesene Nachrichten}}",
+    "documents": "Dokumente",
     "invoices": "Rechnungen",
     "quotes": "Angebote",
-    "inspections": "Inspektionen",
-    "requestService": "Service anfordern"
+    "inspections": "Inspektionen"
   },
   "header": {
-    "signOut": "Abmelden",
-    "askShort": "Service"
+    "homeLink": "{name}, Startseite",
+    "account": "Ihr Konto, {name}",
+    "signedInAs": "Angemeldet als",
+    "signOut": "Abmelden"
+  },
+  "hoursLine": {
+    "openUntil": "Geöffnet bis {time}",
+    "opensAt": "Öffnet um {time}",
+    "closedNow": "Für heute geschlossen",
+    "closedToday": "Heute geschlossen"
+  },
+  "format": {
+    "today": "heute",
+    "tomorrow": "morgen"
   },
   "shell": {
     "notFound": "Nicht gefunden",
-    "portalNotExist": "Dieses Portal existiert nicht.",
-    "portalNotAvailable": "Portal nicht verfügbar",
-    "portalNotEnabled": "Das Kundenportal ist für diese Organisation nicht aktiviert."
+    "portalNotExist": "Diese Seite existiert nicht.",
+    "portalNotAvailable": "Nicht verfügbar",
+    "portalNotEnabled": "Diese Werkstatt hat ihre Kundenseiten noch nicht freigeschaltet.",
+    "callWorkshop": "{phone} anrufen",
+    "openMap": "{address} in Karten öffnen",
+    "errorTitle": "Etwas ist schiefgelaufen",
+    "errorBody": "Diese Seite konnte nicht angezeigt werden. Versuchen Sie es erneut oder gehen Sie zurück zu Ihrer Startseite.",
+    "tryAgain": "Erneut versuchen",
+    "pageNotFoundTitle": "Diese Seite haben wir nicht gefunden",
+    "pageNotFoundBody": "Der Link ist vielleicht veraltet, oder die Seite wurde entfernt.",
+    "backHome": "Zurück zur Startseite"
   },
-  "dashboard": {
-    "welcome": "Willkommen, {name}",
-    "overview": "Hier ist eine Übersicht Ihres Kontos.",
-    "vehicles": "Fahrzeuge",
-    "openInvoices": "Offene Rechnungen",
-    "pendingQuotes": "Ausstehende Angebote",
-    "recentInvoices": "Aktuelle Rechnungen",
-    "recentQuotes": "Aktuelle Angebote",
-    "pendingServiceRequests": "Ausstehende Serviceanfragen",
-    "viewAll": "Alle anzeigen",
-    "newRequest": "Neue Anfrage",
-    "noInvoicesYet": "Noch keine Rechnungen.",
-    "noQuotesYet": "Noch keine Angebote.",
-    "view": "Ansehen",
-    "pending": "Ausstehend",
-    "failedToLoad": "Dashboard konnte nicht geladen werden.",
-    "quickRequestService": "Service anfragen",
-    "quickRequestServiceHint": "Reparatur oder Inspektion buchen",
-    "quickViewInvoices": "Ihre Rechnungen",
-    "quickViewInvoicesHint": "Rechnungen und Zahlungsverlauf",
-    "quickViewVehicles": "Ihre Fahrzeuge",
-    "quickViewVehiclesHint": "Servicehistorie und Details",
-    "activeJobs": "Aktive Aufträge"
+  "home": {
+    "failedToLoad": "Ihre Seite konnte nicht geladen werden. Versuchen Sie es gleich noch einmal.",
+    "heroWorkingPromised": "Hallo {name}. Ihr Auto ist in der Werkstatt und {day} gegen {time} fertig.",
+    "heroWorkingPromisedMarine": "Hallo {name}. Ihr Boot ist in der Werkstatt und {day} gegen {time} fertig.",
+    "heroWorking": "Hallo {name}. Ihr Auto ist in der Werkstatt.",
+    "heroWorkingMarine": "Hallo {name}. Ihr Boot ist in der Werkstatt.",
+    "heroReady": "Hallo {name}. Ihr Auto ist abholbereit.",
+    "heroReadyMarine": "Hallo {name}. Ihr Boot ist abholbereit.",
+    "heroBookedAt": "Hallo {name}. Wir erwarten Ihr Auto {day} um {time}.",
+    "heroBookedAtMarine": "Hallo {name}. Wir erwarten Ihr Boot {day} um {time}.",
+    "heroBooked": "Hallo {name}. Ihr Termin ist gebucht.",
+    "heroNothing": "Hallo {name}. Im Moment ist nichts in der Werkstatt.",
+    "heroNothingBody": "Fragen Sie einen Termin an, wenn Ihr Auto uns braucht. Hier verfolgen Sie die Arbeit Schritt für Schritt.",
+    "heroNothingBodyMarine": "Fragen Sie einen Termin an, wenn Ihr Boot uns braucht. Hier verfolgen Sie die Arbeit Schritt für Schritt.",
+    "stepsLabel": "So weit ist die Arbeit",
+    "stepBooked": "Gebucht",
+    "stepCheckedIn": "Angenommen",
+    "stepWorking": "In der Werkstatt",
+    "stepReady": "Abholbereit",
+    "latestUpdate": "Neues aus der Werkstatt · {when}",
+    "updateFallback": "Die Werkstatt hat ein Update zur Arbeit geteilt.",
+    "seeUpdate": "Fotos und Video ansehen",
+    "otherJobs": "Ebenfalls gebucht oder in Arbeit",
+    "jobBookedFor": "Gebucht für {day} um {time}",
+    "jobReadyAround": "Fertig {day} gegen {time}",
+    "needsAnswer": "Wartet auf Ihre Antwort",
+    "validUntil": "Gültig bis {day}",
+    "quoteNumber": "Angebot {number}",
+    "quote": "Angebot",
+    "readQuote": "Angebot lesen",
+    "moreQuotes": "{count, plural, one {# weiteres Angebot wartet auf Ihre Antwort} other {# weitere Angebote warten auf Ihre Antwort}}",
+    "toPay": "Zu bezahlen",
+    "due": "Fällig am {day}",
+    "overdueSince": "Überfällig seit {day}",
+    "invoiceNumber": "Rechnung {number}",
+    "invoice": "Rechnung",
+    "payNow": "Jetzt bezahlen",
+    "seeInvoice": "Rechnung ansehen",
+    "moreInvoices": "{count, plural, one {# weitere Rechnung offen} other {# weitere Rechnungen offen}}, insgesamt {total}",
+    "paidSoFar": "{paid} von {total} bezahlt",
+    "toPayCount": "{count, plural, one {# Rechnung} other {# Rechnungen}}",
+    "toPayOverdueCount": "{count} überfällig",
+    "toPayMostUrgent": "Am dringendsten",
+    "toPayNext": "Als Nächstes fällig",
+    "seeAllInvoices": "Alle {count} Rechnungen ansehen",
+    "nextStep": "Als Nächstes",
+    "nextStepWorking": "Wir nehmen das Auto an und beginnen mit der Arbeit.",
+    "nextStepWorkingMarine": "Wir nehmen das Boot an und beginnen mit der Arbeit.",
+    "nextStepReady": "Sie bekommen hier eine Nachricht, sobald es abholbereit ist.",
+    "nextStepReadyNoChat": "Wir sagen Ihnen Bescheid, sobald es abholbereit ist.",
+    "nextStepCollect": "Kommen Sie vorbei, wann es Ihnen passt.",
+    "tires": "Reifenhotel",
+    "tiresStoredSummer": "Sommerreifen bei uns eingelagert",
+    "tiresStoredWinter": "Winterreifen bei uns eingelagert",
+    "tiresStoredAllSeason": "Ganzjahresreifen bei uns eingelagert",
+    "tiresStoredOther": "Reifen bei uns eingelagert",
+    "tiresSeasonSummer": "Sommerreifen",
+    "tiresSeasonWinter": "Winterreifen",
+    "tiresSeasonAllSeason": "Ganzjahresreifen",
+    "tiresSeasonOther": "Reifen",
+    "tiresStudded": "mit Spikes",
+    "tiresOnRims": "auf Felgen",
+    "tiresStoredSince": "eingelagert seit {day}",
+    "tiresTreadLeft": "Restprofil",
+    "tiresTreadLine": "{depth} Restprofil",
+    "tiresNotMeasured": "Profil noch nicht gemessen",
+    "tiresCount": "{count, plural, one {# Reifen} other {# Reifen}}",
+    "cars": "Meine Autos",
+    "carsMarine": "Meine Boote",
+    "carVisits": "{count, plural, =0 {noch keine Besuche} one {# Besuch} other {# Besuche}}",
+    "carInWorkshop": "In der Werkstatt",
+    "carWarrantyActive": "Garantie aktiv",
+    "carWarrantyExpiring": "Garantie endet bald",
+    "carsEmptyTitle": "Noch keine Autos hinterlegt",
+    "carsEmptyTitleMarine": "Noch keine Boote hinterlegt",
+    "carsEmptyBody": "Sobald die Werkstatt Ihr Auto erfasst, sehen Sie hier seine Historie.",
+    "carsEmptyBodyMarine": "Sobald die Werkstatt Ihr Boot erfasst, sehen Sie hier seine Historie.",
+    "nextVisit": "Nächster Termin",
+    "visitWhen": "{day}, {time}",
+    "directions": "Route",
+    "nextVisitEmptyTitle": "Kein Termin gebucht",
+    "nextVisitEmptyBody": "Wählen Sie einen passenden Tag und sagen Sie uns, was das Auto braucht.",
+    "nextVisitEmptyBodyMarine": "Wählen Sie einen passenden Tag und sagen Sie uns, was das Boot braucht.",
+    "bookVisit": "Termin anfragen",
+    "requests": "An die Werkstatt gesendet",
+    "requestSent": "Gesendet am {day}",
+    "requestWaiting": "Wartet auf Antwort",
+    "requestWishedDay": "gewünscht für {day}",
+    "messagesLabel": "Nachrichten mit {workshop}",
+    "messagePreviewFrom": "{name}:",
+    "messagePreviewYou": "Sie:",
+    "messagePreviewPhoto": "Foto",
+    "messagePreviewEmpty": "{workshop} schreiben",
+    "messagePreviewOpen": "Ihre Nachrichten mit {workshop} öffnen"
+  },
+  "themes": {
+    "colour": {
+      "stepNow": "Jetzt",
+      "storedSince": "Eingelagert seit"
+    },
+    "garage": {
+      "readyAround": "Fertig {day} gegen",
+      "expectedAt": "Erwartet {day} um",
+      "stepDone": "Erledigt",
+      "stepNow": "Jetzt",
+      "stepNotYet": "Noch nicht",
+      "stepNotYetAround": "Noch nicht, gegen {time}",
+      "tireCar": "Auto",
+      "tireCarMarine": "Boot",
+      "tireMake": "Reifen",
+      "tireSize": "Größe",
+      "tireSet": "Satz",
+      "tireTread": "Restprofil",
+      "openUntil": "Heute geöffnet bis",
+      "opensAt": "Öffnet heute um"
+    },
+    "print": {
+      "kicker": "Ihr Auto",
+      "kickerMarine": "Ihr Boot",
+      "dateline": "{workshop}, {time}.",
+      "stepDone": "Erledigt",
+      "stepNow": "Jetzt",
+      "stepTodo": "Noch nicht",
+      "waiting": "Wartet auf Sie",
+      "waitingCount": "{count, plural, one {# Punkt} other {# Punkte}}",
+      "waitingOwed": "{total} offen auf {invoices}",
+      "colWhat": "Was",
+      "colDocument": "Dokument",
+      "colDeadline": "Frist",
+      "colAmount": "Betrag",
+      "tireCar": "Auto",
+      "tireCarMarine": "Boot",
+      "tireTyre": "Reifen",
+      "tireSize": "Größe",
+      "tireSet": "Satz",
+      "tireTread": "Profil",
+      "portalLabel": "Kundenportal",
+      "callWorkshop": "Werkstatt anrufen"
+    }
+  },
+  "chat": {
+    "title": "Nachrichten",
+    "label": "Nachrichten mit {workshop}",
+    "subtitle": "{workshop}",
+    "call": "{workshop} anrufen",
+    "emptyTitle": "Noch keine Nachrichten",
+    "emptyBody": "Schreiben Sie {workshop} hier. Die Antwort erscheint in diesem Verlauf.",
+    "inputLabel": "Nachricht an {workshop} schreiben",
+    "placeholder": "{workshop} schreiben",
+    "addPhoto": "Foto hinzufügen",
+    "send": "Senden",
+    "photo": "Foto von {name}",
+    "you": "Sie",
+    "emptyBodyOff": "Hier wurde noch nichts geschrieben.",
+    "video": "Video von {name}",
+    "file": "Datei öffnen",
+    "openLarge": "{what}, groß öffnen",
+    "closeViewer": "Schließen",
+    "today": "Heute",
+    "yesterday": "Gestern",
+    "seen": "Gelesen",
+    "sending": "Wird gesendet",
+    "retry": "Erneut versuchen",
+    "discard": "Löschen",
+    "earlier": "Ältere anzeigen",
+    "newBelow": "Neue Nachricht",
+    "keysHint": "Enter sendet die Nachricht. Umschalt und Enter beginnt eine neue Zeile.",
+    "off": "Diese Werkstatt hat Nachrichten ausgeschaltet. Bisherige Nachrichten können Sie weiterhin lesen.",
+    "errors": {
+      "notSent": "Nicht gesendet. Prüfen Sie Ihre Verbindung.",
+      "chatOff": "Nicht gesendet. Die Werkstatt hat Nachrichten ausgeschaltet.",
+      "tooFast": "Nicht gesendet. Das waren viele Nachrichten auf einmal, warten Sie einen Moment.",
+      "restoring": "Nicht gesendet. Die Werkstatt ist kurz nicht erreichbar. Versuchen Sie es in ein paar Minuten erneut."
+    },
+    "upload": {
+      "adding": "{name} wird hinzugefügt",
+      "remove": "{name} entfernen",
+      "tooMany": "Eine Nachricht fasst bis zu {count} Fotos oder Videos. Senden Sie diese zuerst.",
+      "tooLarge": "Diese Datei ist zu groß. Fotos bis {photo} MB und Videos bis {video} MB sind möglich.",
+      "type": "Hier können nur Fotos und Videos gesendet werden.",
+      "failed": "Eine Datei konnte nicht hinzugefügt werden. Versuchen Sie es erneut."
+    },
+    "suggestions": {
+      "label": "Ideen für eine erste Nachricht",
+      "call": "Können Sie mich anrufen?",
+      "book": "Ich möchte einen Termin vereinbaren.",
+      "invoice": "Ich habe eine Frage zu meiner Rechnung."
+    },
+    "events": {
+      "workStarted": "Arbeit an Ihrem {vehicle} begonnen",
+      "workStartedNoVehicle": "Die Arbeit an Ihrem Auftrag hat begonnen",
+      "update": "Update von {workshop}",
+      "updateAbout": "Zu Ihrem {vehicle}",
+      "seeUpdate": "Update ansehen",
+      "quote": "Angebot",
+      "quoteLine": "Angebot {title}",
+      "quoteWaiting": "Angebot wartet auf Ihre Antwort",
+      "quotes": "{count} Angebote",
+      "answerQuote": "Lesen und antworten",
+      "invoice": "Rechnung",
+      "invoiceLine": "Rechnung {title}",
+      "invoiceOverdue": "Rechnung überfällig",
+      "invoices": "{count} Rechnungen",
+      "seeInvoice": "Rechnung ansehen",
+      "jobsStarted": "Arbeit an {count} Aufträgen begonnen"
+    }
+  },
+  "messagesPage": {
+    "title": "Nachrichten",
+    "offTitle": "Nachrichten sind ausgeschaltet",
+    "offBody": "Diese Werkstatt nimmt hier keine Nachrichten an. Rufen Sie {phone} an oder fragen Sie einen Termin an.",
+    "offBodyNoPhone": "Diese Werkstatt nimmt hier keine Nachrichten an. Fragen Sie einen Termin an und schreiben Sie dazu, was Sie brauchen."
   },
   "invoices": {
     "title": "Rechnungen",
-    "description": "Alle Ihre Service-Rechnungen.",
+    "description": "Rechnungen für Arbeiten, die die Werkstatt abgeschlossen hat.",
     "noInvoices": "Noch keine Rechnungen.",
-    "failedToLoad": "Rechnungen konnten nicht geladen werden.",
+    "noInvoicesHint": "Wenn die Werkstatt einen Auftrag abgeschlossen hat, erscheint die Rechnung hier.",
+    "failedToLoad": "Ihre Rechnungen konnten nicht geladen werden. Versuchen Sie es gleich noch einmal.",
     "invoice": "Rechnung",
+    "invoiceNumber": "Rechnung {number}",
     "vehicle": "Fahrzeug",
     "date": "Datum",
     "amount": "Betrag",
     "payment": "Zahlung",
     "view": "Ansehen",
     "download": "Herunterladen",
+    "downloadPdf": "PDF herunterladen",
     "downloadCertificate": "Prüfbericht herunterladen",
-    "paid": "bezahlt",
-    "partial": "teilweise",
-    "unpaid": "unbezahlt",
+    "paid": "Bezahlt",
+    "partial": "Teilweise bezahlt",
+    "unpaid": "Offen",
+    "overdue": "Überfällig",
+    "toPayTitle": "Noch zu bezahlen",
+    "toPayCount": "{count, plural, one {auf # Rechnung} other {auf # Rechnungen}}",
+    "toPayNextDue": "Nächste Fälligkeit {date}",
+    "toPayOpen": "{invoice} ansehen und bezahlen",
+    "toPayOpenNoPay": "{invoice} öffnen",
+    "nothingToPay": "Nichts zu bezahlen",
+    "nothingToPayBody": "Alle Rechnungen hier sind bezahlt.",
+    "leftToPay": "Noch {amount} offen",
+    "dueOn": "Fällig am {date}",
     "back": "Zurück zu den Rechnungen",
-    "openShared": "Freigegebene Kopie öffnen"
+    "payOnline": "Online bezahlen",
+    "summaryTotal": "Gesamt",
+    "summaryPaid": "Bezahlt",
+    "summaryLeft": "Noch offen",
+    "summaryDue": "Fälligkeitsdatum",
+    "summaryDate": "Datum",
+    "fullInvoice": "Die vollständige Rechnung"
   },
   "quotes": {
     "title": "Angebote",
-    "description": "Angebote und Kostenvoranschläge für Ihre Fahrzeuge.",
+    "description": "Preise, die Ihnen die Werkstatt vor den Arbeiten geschickt hat.",
     "noQuotes": "Noch keine Angebote.",
-    "failedToLoad": "Angebote konnten nicht geladen werden.",
+    "noQuotesHint": "Wenn die Werkstatt Ihnen einen Preis für eine Arbeit schickt, erscheint er hier.",
+    "failedToLoad": "Ihre Angebote konnten nicht geladen werden. Versuchen Sie es gleich noch einmal.",
     "quote": "Angebot",
     "vehicle": "Fahrzeug",
     "status": "Status",
     "amount": "Betrag",
     "validUntil": "Gültig bis",
+    "validUntilDate": "Gültig bis {date}",
+    "waitingTitle": "Wartet auf Ihre Antwort",
+    "waitingNone": "Kein Angebot wartet auf Ihre Antwort.",
+    "waitingAnswer": "Lesen und antworten",
     "view": "Ansehen"
   },
   "inspections": {
     "title": "Inspektionen",
-    "description": "Fahrzeuginspektionsberichte.",
+    "description": "Berichte von den Prüfungen Ihres Autos durch die Werkstatt.",
     "noInspections": "Noch keine Inspektionen.",
-    "failedToLoad": "Inspektionen konnten nicht geladen werden.",
+    "noInspectionsHint": "Wenn die Werkstatt eine Inspektion abgeschlossen hat, erscheint der Bericht hier.",
+    "failedToLoad": "Ihre Inspektionen konnten nicht geladen werden. Versuchen Sie es gleich noch einmal.",
     "vehicle": "Fahrzeug",
-    "template": "Checkliste",
+    "template": "Inspektion",
     "status": "Status",
     "date": "Datum",
     "summary": "Zusammenfassung",
@@ -141,31 +401,49 @@
     "poor": "{count} schlecht"
   },
   "vehicles": {
-    "title": "Fahrzeuge",
-    "description": "Ihre registrierten Fahrzeuge.",
-    "noVehicles": "Keine Fahrzeuge gefunden.",
-    "failedToLoad": "Fahrzeuge konnten nicht geladen werden.",
+    "title": "Ihre Autos",
+    "titleMarine": "Ihre Boote",
+    "description": "Die Autos, die die Werkstatt für Sie gespeichert hat.",
+    "descriptionMarine": "Die Boote, die die Werkstatt für Sie gespeichert hat.",
+    "noVehicles": "Noch keine Autos gespeichert.",
+    "noVehiclesMarine": "Noch keine Boote gespeichert.",
+    "noVehiclesHint": "Fragen Sie einen Termin an und erzählen Sie uns von Ihrem Auto. Wir legen es hier an.",
+    "noVehiclesHintMarine": "Fragen Sie einen Termin an und erzählen Sie uns von Ihrem Boot. Wir legen es hier an.",
+    "back": "Zurück zu meinen Autos",
+    "backMarine": "Zurück zu meinen Booten",
+    "about": "Über dieses Auto",
+    "aboutMarine": "Über dieses Boot",
+    "failedToLoad": "Ihre Autos konnten nicht geladen werden. Versuchen Sie es gleich noch einmal.",
+    "failedToLoadMarine": "Ihre Boote konnten nicht geladen werden. Versuchen Sie es gleich noch einmal.",
     "plate": "Kennzeichen: {plate}",
+    "plateMarine": "Registrierung: {plate}",
     "vin": "VIN: {vin}",
+    "vinMarine": "HIN: {vin}",
     "typeKey": "HSN/TSN: {typeKey}",
-    "serviceCount": "{count, plural, one {# Service} other {# Services}}",
+    "distanceKm": "{value} km",
+    "distanceMi": "{value} mi",
+    "engineHours": "{value} Betriebsstunden",
+    "serviceCount": "{count, plural, one {# Besuch} other {# Besuche}}",
     "inspectionCount": "{count, plural, one {# Inspektion} other {# Inspektionen}}",
-    "serviceHistory": "Serviceverlauf ({count})",
+    "serviceHistory": "Servicehistorie ({count})",
     "inspectionsTab": "Inspektionen ({count})",
-    "noServiceRecords": "Noch keine Serviceaufzeichnungen.",
+    "noServiceRecords": "Noch keine Arbeiten erfasst.",
     "noInspections": "Noch keine Inspektionen.",
-    "vehicleNotFound": "Fahrzeug nicht gefunden.",
+    "vehicleNotFound": "Wir konnten dieses Fahrzeug nicht finden.",
     "completed": "Abgeschlossen {date}",
     "good": "{count} gut",
     "fair": "{count} akzeptabel",
     "poor": "{count} schlecht",
     "view": "Ansehen",
-    "serviceHistoryTitle": "Servicehistorie",
-    "inspectionsTitle": "Inspektionen",
-    "columnVehicle": "Fahrzeug",
+    "columnVehicle": "Auto",
+    "columnVehicleMarine": "Boot",
     "columnPlate": "Kennzeichen",
-    "columnServices": "Services",
+    "columnPlateMarine": "Registrierung",
+    "columnServices": "Besuche",
     "columnInspections": "Inspektionen",
+    "warrantyActive": "Garantie aktiv",
+    "warrantyExpiring": "Garantie läuft bald ab",
+    "warrantyExpired": "Garantie abgelaufen",
     "reportSold": "Dieses Fahrzeug gehört mir nicht mehr",
     "reportSoldHint": "Wir informieren die Werkstatt, damit sie keine Erinnerungen mehr dazu sendet. Ihre Historie bleibt erhalten.",
     "reportSoldConfirm": "Ja, Werkstatt informieren",
@@ -174,36 +452,99 @@
     "reportSoldFailed": "Konnte gerade nicht gesendet werden",
     "reportSoldAlready": "Sie haben der Werkstatt mitgeteilt, dass dieses Fahrzeug nicht mehr Ihres ist."
   },
-  "requestService": {
-    "title": "Service anfordern",
-    "description": "Reichen Sie eine Serviceanfrage für eines Ihrer Fahrzeuge ein.",
-    "newServiceRequest": "Neue Serviceanfrage",
-    "formDescription": "Beschreiben Sie das Problem und wir melden uns bei Ihnen.",
-    "vehicleLabel": "Fahrzeug",
-    "vehiclePlaceholder": "Fahrzeug auswählen",
-    "descriptionLabel": "Problem beschreiben",
-    "descriptionPlaceholder": "Was stimmt mit Ihrem Fahrzeug nicht?",
-    "preferredDate": "Gewünschtes Datum",
-    "preferredDateOptional": "(optional)",
-    "submitRequest": "Anfrage senden",
-    "selectVehicle": "Bitte wählen Sie ein Fahrzeug aus",
-    "describeIssue": "Bitte beschreiben Sie das Problem",
-    "submitSuccess": "Serviceanfrage eingereicht",
-    "submitError": "Anfrage konnte nicht eingereicht werden",
-    "noVehicles": "Sie haben keine registrierten Fahrzeuge. Bitte kontaktieren Sie uns, um zuerst ein Fahrzeug hinzuzufügen.",
-    "yourRequests": "Ihre Serviceanfragen",
-    "failedToLoad": "Daten konnten nicht geladen werden.",
-    "staffNotes": "Mitarbeiterhinweise: {notes}",
-    "preferred": "Bevorzugt: {date}",
-    "notListedOption": "Mein Fahrzeug ist nicht aufgeführt",
-    "newVehicleHint": "Beschreiben Sie das Fahrzeug, wir fügen es Ihrem Profil hinzu.",
-    "fillVehicleDetails": "Bitte Marke und Modell des Fahrzeugs angeben",
+  "book": {
+    "title": "Termin anfragen",
+    "description": "Sagen Sie uns, was Sie brauchen. Wir melden uns mit einem Termin.",
+    "descriptionMessages": "Sagen Sie uns, was Sie brauchen. Wir antworten hier unter Nachrichten mit einem Termin.",
+    "failedToLoad": "Diese Seite konnte nicht geladen werden. Versuchen Sie es gleich noch einmal.",
+    "whichVehicle": "Welches Auto?",
+    "whichVehicleMarine": "Welches Boot?",
+    "anotherVehicle": "Ein anderes Auto",
+    "anotherVehicleMarine": "Ein anderes Boot",
+    "inWorkshopNow": "gerade in der Werkstatt",
+    "selectVehicle": "Wählen Sie, worum es geht",
+    "newVehicleHint": "Erzählen Sie uns davon, und wir fügen es Ihrem Profil hinzu.",
     "makeLabel": "Marke",
     "makePlaceholder": "z. B. Ford",
     "modelLabel": "Modell",
     "modelPlaceholder": "z. B. Kuga",
     "yearLabel": "Baujahr",
-    "plateLabel": "Kennzeichen"
+    "plateLabel": "Kennzeichen",
+    "plateLabelMarine": "Registrierung",
+    "fillMake": "Geben Sie die Marke ein",
+    "fillModel": "Geben Sie das Modell ein",
+    "invalidYear": "Geben Sie ein Jahr zwischen {min} und {max} ein",
+    "optional": "(optional)",
+    "whatNeeded": "Was brauchen Sie?",
+    "topics": {
+      "service": "Wartung",
+      "inspection": "Inspektion",
+      "tires": "Reifenwechsel",
+      "brakes": "Bremsen",
+      "problem": "Etwas stimmt nicht"
+    },
+    "descriptionLabel": "Beschreiben Sie es mit Ihren eigenen Worten",
+    "descriptionPlaceholder": "Zum Beispiel: Klopfgeräusch vorne links über Unebenheiten, schlimmer bei kaltem Auto",
+    "descriptionPlaceholderMarine": "Zum Beispiel: Der Motor springt bei Kälte schlecht an",
+    "describeIssue": "Wählen Sie oben aus, was Sie brauchen, oder beschreiben Sie es in ein paar Worten",
+    "filesLabel": "Fotos oder ein kurzes Video",
+    "filesCount": "{count} von {max} hinzugefügt",
+    "filesLimits": "Fotos bis {photo} MB, Video bis {video} MB",
+    "filesAdd": "Fotos oder Video hinzufügen",
+    "filesDrop": "Dateien hier ablegen oder auf diesem Computer auswählen",
+    "filesCamera": "Foto aufnehmen",
+    "filesTooMany": "Sie können bis zu {max} Dateien hinzufügen. Entfernen Sie eine, um eine weitere hinzuzufügen.",
+    "filesStillUploading": "Warten Sie, bis Ihre Dateien hochgeladen sind, und senden Sie dann.",
+    "filesFailed": "Eine Datei wurde nicht hochgeladen. Versuchen Sie es erneut oder entfernen Sie sie, und senden Sie dann.",
+    "fileUploading": "{name} wird hochgeladen",
+    "fileReady": "{name}, hinzugefügt",
+    "fileRemove": "{name} entfernen",
+    "fileRetry": "Erneut versuchen",
+    "fileType": "{name} ist kein Foto oder Video, das wir annehmen können.",
+    "fileEmpty": "{name} ist leer.",
+    "fileTooLarge": "{name} ist zu groß.",
+    "fileTooMany": "Das sind viele Dateien auf einmal. Warten Sie ein paar Minuten und versuchen Sie es erneut.",
+    "fileSignedOut": "Sie wurden abgemeldet. Melden Sie sich erneut an, um Dateien hinzuzufügen.",
+    "fileNetwork": "Die Verbindung ist beim Hochladen abgebrochen.",
+    "fileFailed": "Diese Datei wurde nicht hochgeladen.",
+    "dayLabel": "Passender Tag",
+    "pastDate": "Wählen Sie heute oder einen späteren Tag",
+    "timeLabel": "Tageszeit",
+    "timeHint": "Wählen Sie zuerst einen Tag, dann die passende Tageszeit.",
+    "time": {
+      "any": "Egal",
+      "morning": "Vormittag",
+      "afternoon": "Nachmittag"
+    },
+    "timeLower": {
+      "morning": "vormittags",
+      "afternoon": "nachmittags"
+    },
+    "closedDaysHint": "An diesen Tagen geschlossen:",
+    "send": "An {workshop} senden",
+    "sendHint": "Gebucht ist erst, wenn die Werkstatt einen Termin bestätigt.",
+    "submitError": "Das konnte gerade nicht gesendet werden. Versuchen Sie es gleich noch einmal.",
+    "sentTitle": "An {workshop} gesendet",
+    "sentBody": "Die Werkstatt liest Ihre Anfrage und sieht sich an, was Sie geschickt haben. Die Antwort kommt unter Nachrichten, mit einem Termin.",
+    "sentBodyNoMessages": "Die Werkstatt liest Ihre Anfrage und sieht sich an, was Sie geschickt haben, und meldet sich dann mit einem Termin. Sie können alles auf dieser Seite verfolgen.",
+    "sentMessages": "Zu den Nachrichten",
+    "sentHome": "Zurück zur Startseite",
+    "sentAnother": "Etwas anderes anfragen",
+    "nextTitle": "So geht es weiter",
+    "nextRead": "Wir lesen Ihre Anfrage und sehen uns Ihre Fotos an.",
+    "nextAnswerMessages": "Wir antworten unter Nachrichten mit einem Termin und, wenn sinnvoll, einem Angebot.",
+    "nextAnswer": "Wir melden uns mit einem Termin und, wenn sinnvoll, einem Angebot.",
+    "nextVisit": "Der Termin erscheint mit Tag und Uhrzeit auf Ihrer Startseite.",
+    "talkTitle": "Lieber telefonieren?",
+    "talkCall": "{phone} anrufen",
+    "yourRequests": "Ihre Anfragen",
+    "sentOn": "Gesendet am {date}",
+    "preferred": "Wunschtermin: {date}",
+    "staffNotes": "Hinweis der Werkstatt: {notes}",
+    "requestFiles": "{count, plural, one {# Datei von Ihnen} other {# Dateien von Ihnen}}",
+    "requestPhoto": "Foto öffnen",
+    "requestVideo": "Video öffnen",
+    "requestFileMissing": "Dieses Foto ist nicht mehr verfügbar"
   },
   "booking": {
     "title": "Untersuchung buchen",
@@ -248,6 +589,51 @@
     "confirmationBody": "Ihr {vehicle} ist für {when} bei {workshop} gebucht. Änderung nötig? Nutzen Sie den Link aus unserer letzten Nachricht oder rufen Sie {phone} an.",
     "confirmationBodyRequest": "Danke, {workshop} hat Ihre Anfrage für {when} für Ihren {vehicle} erhalten und bestätigt in Kürze. Fragen? Rufen Sie {phone} an."
   },
+  "quoteDetail": {
+    "back": "Zurück zu den Angeboten",
+    "title": "Angebot",
+    "answerLabel": "Ihre Antwort",
+    "failedToLoad": "Dieses Angebot konnte nicht geladen werden.",
+    "total": "Gesamt",
+    "number": "Angebotsnummer",
+    "date": "Datum",
+    "validUntil": "Gültig bis",
+    "vehicle": "Fahrzeug",
+    "fullQuote": "Das vollständige Angebot",
+    "answerTitle": "Die Werkstatt wartet auf Ihre Antwort",
+    "accept": "Angebot annehmen",
+    "askChanges": "Änderungen anfragen",
+    "confirmAcceptTitle": "Dieses Angebot annehmen?",
+    "confirmAcceptBody": "Die Werkstatt erfährt, dass Sie die Arbeiten zu diesem Preis wünschen.",
+    "confirmAcceptYes": "Ja, annehmen",
+    "cancel": "Abbrechen",
+    "changesLabel": "Was möchten Sie geändert haben?",
+    "changesPlaceholder": "Zum Beispiel: bitte ohne Wischerblätter",
+    "sendChanges": "An die Werkstatt senden",
+    "answerFailed": "Ihre Antwort konnte nicht gesendet werden. Versuchen Sie es erneut.",
+    "acceptedTitle": "Sie haben dieses Angebot angenommen",
+    "acceptedBody": "Die Werkstatt weiß Bescheid und meldet sich bei Ihnen.",
+    "changesTitle": "Sie haben Änderungen angefragt",
+    "changesBody": "Die Werkstatt weiß Bescheid und schickt Ihnen ein überarbeitetes Angebot."
+  },
+  "inspectionDetail": {
+    "back": "Zurück zu den Inspektionen",
+    "title": "Inspektion",
+    "about": "Über diese Inspektion",
+    "failedToLoad": "Diese Inspektion konnte nicht geladen werden.",
+    "vehicle": "Fahrzeug",
+    "vessel": "Wasserfahrzeug",
+    "doneOn": "Durchgeführt am",
+    "startedOn": "Begonnen am",
+    "odometer": "Kilometerstand",
+    "engineHours": "Betriebsstunden",
+    "nextDue": "Nächste Inspektion fällig",
+    "certificateNumber": "Zertifikatsnummer",
+    "stillWorking": "Die Werkstatt arbeitet noch an dieser Inspektion. Die Ergebnisse können sich noch ändern.",
+    "openShared": "Fotos ansehen und Bericht herunterladen",
+    "noResults": "Noch keine Ergebnisse.",
+    "notes": "Hinweise der Werkstatt"
+  },
   "status": {
     "job": {
       "pending": "Gebucht",
@@ -257,7 +643,7 @@
       "completed": "Abgeschlossen"
     },
     "request": {
-      "pending": "Offen",
+      "pending": "Wartet auf Antwort",
       "converted": "Gebucht",
       "dismissed": "Geschlossen",
       "cancelled": "Abgesagt"

+ 106 - 53
messages/de/settings.json

@@ -977,6 +977,11 @@
     "paymentReceivedDescription": "Wird gesendet, wenn eine Zahlung für eine Rechnung verbucht wird.",
     "saveSmsTemplates": "SMS-Vorlagen speichern",
     "smsTemplateSaved": "SMS-Vorlageneinstellungen gespeichert",
+    "layoutTitle": "Rechnungslayout",
+    "layoutDescription": "Passen Sie die Reihenfolge und Sichtbarkeit der Abschnitte in Ihren Rechnungen und Angeboten an.",
+    "layoutSaved": "Layout erfolgreich gespeichert",
+    "layoutDocInvoice": "Rechnung",
+    "layoutDocQuote": "Angebot",
     "smsDefaults": {
       "invoiceReady": "Rechnung von {company_name} ist fertig. Hier ansehen: {share_link}\nViele Grüße {company_name} - {current_user}",
       "quoteReady": "Ihr Angebot steht zur Prüfung bereit. Hier ansehen: {share_link}",
@@ -997,11 +1002,6 @@
       "rose": "Rosé",
       "indigo": "Indigo"
     },
-    "layoutTitle": "Rechnungslayout",
-    "layoutDescription": "Passen Sie die Reihenfolge und Sichtbarkeit der Abschnitte in Ihren Rechnungen und Angeboten an.",
-    "layoutSaved": "Layout erfolgreich gespeichert",
-    "layoutDocInvoice": "Rechnung",
-    "layoutDocQuote": "Angebot",
     "goToLayout": "Layout und Abschnitte",
     "openDesigner": "Vorlagen-Designer öffnen",
     "designerIntro": "Wählen Sie einen Ausgangspunkt und öffnen Sie den Designer, um alles zu ändern.",
@@ -1699,55 +1699,108 @@
   },
   "portal": {
     "title": "Kundenportal",
-    "description": "Ermoglichen Sie Ihren Kunden, sich anzumelden und ihre Fahrzeuge, Rechnungen, Angebote und Inspektionen einzusehen. Kunden konnen auch Serviceanfragen stellen.",
-    "enablePortal": "Kundenportal aktivieren",
-    "enablePortalHint": "Kunden mit einer E-Mail-Adresse konnen sich per Magic Link anmelden",
-    "enabled": "Kundenportal aktiviert",
-    "disabled": "Kundenportal deaktiviert",
-    "failedUpdate": "Einstellung konnte nicht aktualisiert werden",
-    "customSlug": "Benutzerdefinierter Portal-Slug",
-    "save": "Speichern",
-    "slugSaved": "Portal-Slug gespeichert",
-    "slugRemoved": "Portal-Slug entfernt",
-    "failedUpdateSlug": "Slug konnte nicht aktualisiert werden",
-    "slugHint": "Kleinbuchstaben, Zahlen, Bindestriche und Unterstriche. 3-48 Zeichen. Leer lassen, um die Standard-URL zu verwenden.",
-    "portalUrl": "Portal-URL",
-    "urlCopied": "Portal-URL kopiert",
-    "shareHint": "Teilen Sie diesen Link mit Ihren Kunden, damit sie sich in ihr Portal einloggen konnen.",
+    "description": "Ihre Kunden melden sich an, um ihren Auftrag zu verfolgen, Angebote zu beantworten, Rechnungen zu bezahlen, einen Termin anzufragen und Ihnen zu schreiben.",
+    "enablePortal": "Kundenportal einschalten",
+    "enablePortalHint": "Kunden melden sich mit einem Link an, der an ihre E-Mail-Adresse oder ihr Handy geschickt wird. Kein Passwort zum Merken.",
+    "failedUpdate": "Die Einstellungen konnten nicht gespeichert werden",
+    "customSlug": "Portaladresse",
+    "slugHint": "Kleinbuchstaben, Ziffern, Bindestriche und Unterstriche, 3 bis 48 Zeichen. Leer lassen, um die Standardadresse zu verwenden.",
+    "portalUrl": "Link zu Ihrem Portal",
+    "urlCopied": "Link kopiert",
+    "shareHint": "Teilen Sie diesen Link mit Ihren Kunden, damit sie sich anmelden können.",
     "serviceRequestAlertsHint": "Serviceanfragen aus dem Portal erscheinen immer in Ihrer Benachrichtigungsglocke. Sie können sie zusätzlich per E-Mail erhalten.",
-    "serviceRequestAlertsLink": "Benachrichtigungseinstellungen →",
+    "serviceRequestAlertsLink": "Benachrichtigungseinstellungen",
     "descriptionLabel": "Über Ihre Werkstatt",
     "descriptionPlaceholder": "Erzählen Sie Ihren Kunden etwas über Ihre Werkstatt, die angebotenen Leistungen und was Sie auszeichnet.",
-    "descriptionHint": "Wird Besuchern oben auf Ihrer Portal-Startseite angezeigt.",
-    "hoursLabel": "Öffnungszeiten",
-    "hoursPlaceholder": "Mo-Fr: 8:00-17:00\nSa: 9:00-13:00\nSo: Geschlossen",
-    "hoursHint": "Freitext. Verwenden Sie Zeilenumbrüche, um jeden Tag separat aufzulisten.",
-    "contentSaved": "Portalinhalt gespeichert",
-    "background": {
-      "title": "Portal-Hintergrund",
-      "description": "Wählen Sie das Aussehen der Startseite des Kundenportals.",
-      "typeNone": "Keiner",
-      "typeTemplate": "Vorlage",
-      "typeImage": "Eigenes Bild",
-      "chooseTemplate": "Vorlage auswählen",
-      "uploadLabel": "Hintergrundbild",
-      "upload": "Bild hochladen",
-      "replace": "Bild ersetzen",
-      "remove": "Entfernen",
-      "uploadHint": "JPG, PNG oder WebP. Max. 8 MB. Empfohlen mindestens 1600×900.",
-      "uploading": "Hintergrund wird hochgeladen…",
-      "uploaded": "Hintergrund aktualisiert",
-      "uploadFailed": "Hintergrund konnte nicht hochgeladen werden",
-      "templateNames": {
-        "default": "Dezent",
-        "sunrise": "Sonnenaufgang",
-        "ocean": "Ozean",
-        "forest": "Wald",
-        "slate": "Schiefer",
-        "sand": "Sand"
+    "descriptionHint": "Wird auf der Anmeldeseite Ihres Portals angezeigt.",
+    "copyUrl": "Link kopieren"
+  },
+  "customerPortal": {
+    "slugPlaceholder": "meine-werkstatt",
+    "slugUnsaved": "Diese Adresse funktioniert, sobald Sie speichern.",
+    "slugInvalid": "Verwenden Sie 3 bis 48 Kleinbuchstaben, Ziffern, Bindestriche oder Unterstriche, mit einem Buchstaben oder einer Ziffer am Anfang und Ende.",
+    "slugReserved": "Dieses Wort ist reserviert. Wählen Sie eine andere Adresse.",
+    "slugTaken": "Eine andere Werkstatt verwendet diese Adresse bereits. Wählen Sie eine andere.",
+    "hours": {
+      "title": "Öffnungszeiten",
+      "fromCalendar": "Das Portal zeigt die Öffnungszeiten und Schließtage aus Ihrem Werkstattkalender.",
+      "link": "Einstellungen für Öffnungszeiten",
+      "typedNote": "Ihre Anmeldeseite zeigt noch die Zeiten, die hier früher eingetragen wurden, weil im Kalender noch keine Öffnungszeiten festgelegt sind. Legen Sie sie dort fest, dann zeigt das Portal diese an.",
+      "typedLabel": "Wird derzeit auf der Anmeldeseite angezeigt"
+    },
+    "look": {
+      "title": "Aussehen Ihres Kundenportals",
+      "description": "Eine Auswahl bestimmt die Anmeldeseite und alle Seiten, die Ihre Kunden danach sehen. Kunden können sie nicht ändern."
+    },
+    "theme": {
+      "legend": "Design",
+      "daylight": {
+        "name": "Daylight",
+        "tagline": "Hell und ruhig"
+      },
+      "garage": {
+        "name": "Garage",
+        "tagline": "Dunkle Boxentafel"
+      },
+      "print": {
+        "name": "Print",
+        "tagline": "Redaktionell und schlicht"
+      },
+      "colour": {
+        "name": "Colour",
+        "tagline": "Ihre Farbe, groß"
       }
     },
-    "copyUrl": "Portal-URL kopieren"
+    "colour": {
+      "title": "Ihre Farbe",
+      "description": "Wird in jedem Design für Schaltflächen und Hervorhebungen verwendet.",
+      "swatches": "Vorgeschlagene Farben",
+      "orange": "Orange",
+      "blue": "Blau",
+      "green": "Grün",
+      "red": "Rot",
+      "black": "Schwarz",
+      "hexLabel": "Farbe als Hex-Code",
+      "invalid": "Das ist keine Farbe. Geben Sie sie als Hex-Code ein, etwa #1D4ED8.",
+      "usingTheme": "Die Farbe von {theme} wird verwendet, {hex}.",
+      "themeColour": "Die Farbe von {theme} ist {hex}.",
+      "useTheme": "Farbe des Designs verwenden",
+      "sample": "Termin anfragen",
+      "inkLight": "Text auf dieser Farbe wird weiß dargestellt, damit er lesbar bleibt.",
+      "inkDark": "Text auf dieser Farbe wird schwarz dargestellt, damit er lesbar bleibt.",
+      "faint": "Diese Farbe ist auf dem Hintergrund von {theme} schwach. Links und Hervorhebungen sind eventuell schwer zu erkennen."
+    },
+    "cover": {
+      "title": "Titelbild und Logo",
+      "description": "Wird auf der Anmeldeseite angezeigt. Ihr Logo kommt aus den Firmeneinstellungen.",
+      "companyLink": "Firmeneinstellungen",
+      "hint": "PNG, JPEG oder WebP, bis 8 MB.",
+      "none": "Kein Titelbild",
+      "alt": "Das Titelbild auf der Anmeldeseite",
+      "upload": "Foto hochladen",
+      "replace": "Foto ersetzen",
+      "remove": "Foto entfernen",
+      "uploading": "Wird hochgeladen",
+      "uploadFailed": "Das Foto konnte nicht hochgeladen werden"
+    },
+    "features": {
+      "title": "Was Kunden bekommen",
+      "description": "Die Teile des Portals, die Sie ausschalten können.",
+      "messages": "Nachrichten im Portal",
+      "messagesHint": "Kunden schreiben Ihnen aus dem Portal. Ihre Nachrichten landen in Ihrem Posteingang unter Nachrichten.",
+      "tires": "Eingelagerte Reifen anzeigen",
+      "tiresHint": "Kunden sehen die Reifen, die Sie für sie einlagern, mit Profiltiefe."
+    },
+    "bar": {
+      "label": "Einstellungen des Kundenportals speichern",
+      "unsaved": "Sie haben ungespeicherte Änderungen",
+      "saved": "Alles gespeichert",
+      "discard": "Änderungen verwerfen",
+      "save": "Änderungen speichern",
+      "open": "Portal als Kunde öffnen",
+      "openOff": "Schalten Sie das Portal ein und speichern Sie, um es zu öffnen."
+    },
+    "savedToast": "Einstellungen des Kundenportals gespeichert"
   },
   "email": {
     "title": "E-Mail-Anbieter",
@@ -1989,13 +2042,13 @@
     "noMembers": "Keine Teammitglieder gefunden",
     "addRecipient": "Empfänger hinzufügen...",
     "searchMembers": "Mitglieder suchen...",
-    "sendNow": "Jetzt senden",
-    "sentNow": "Bericht erfolgreich gesendet",
     "newSchedule": "Neuer Zeitplan",
     "editSchedule": "Zeitplan bearbeiten",
     "edit": "Bearbeiten",
     "cancel": "Abbrechen",
     "sent": "gesendet",
+    "sendNow": "Jetzt senden",
+    "sentNow": "Bericht erfolgreich gesendet",
     "emptyTitle": "Keine geplanten Berichte",
     "emptyDescription": "Erstellen Sie einen Zeitplan, um Berichte automatisch an Ihr Team zu senden.",
     "sectionLabels": {
@@ -2847,9 +2900,9 @@
       "uploading": "Wird hochgeladen…",
       "width": "Logobreite",
       "hint": "Unabhängig vom Firmenlogo. Es wird beim Hochladen zugeschnitten und für E-Mails aufbereitet. PNG, JPEG oder WebP bis 4 MB.",
-      "position": "Position",
       "tooLarge": "Das Bild muss kleiner als 4 MB sein",
-      "uploadFailed": "Logo konnte nicht hochgeladen werden"
+      "uploadFailed": "Logo konnte nicht hochgeladen werden",
+      "position": "Position"
     },
     "image": {
       "empty": "Kein Bild hochgeladen. Der Block druckt nichts, solange keines vorhanden ist.",

+ 3 - 0
messages/en/audit.json

@@ -81,6 +81,7 @@
     "settings_updateInvoiceLayout": "Updated Invoice Layout",
     "settings_updateQuoteLayout": "Updated Quote Layout",
     "settings_updatePortalSlug": "Updated Portal Slug",
+    "settings_updateCustomerPortal": "Updated Customer Portal Settings",
     "inspectionTemplate_create": "Created Inspection Checklist",
     "inspectionTemplate_update": "Updated Inspection Checklist",
     "inspectionTemplate_delete": "Deleted Inspection Checklist",
@@ -102,6 +103,7 @@
     "statusReport_create": "Created Status Report",
     "statusReport_send": "Sent Status Report",
     "statusReport_delete": "Deleted Status Report",
+    "portal_send": "Sent Portal Message",
     "telegram_send": "Sent Telegram Message",
     "webhook_create": "Created Webhook",
     "webhook_update": "Updated Webhook",
@@ -306,6 +308,7 @@
     "technician_create": "Created technician \"{name}\"",
     "technician_delete": "Deleted technician {id}",
     "technician_update": "Updated technician {id}",
+    "portal_send": "Sent a message to {name} in the customer portal",
     "telegram_send": "Sent a Telegram message to {name}",
     "tire_location_bulk_create": "Created {count, plural, one {# tire storage location} other {# tire storage locations}}",
     "tire_location_create": "Created tire storage location {code}",

+ 6 - 0
messages/en/customers.json

@@ -120,6 +120,12 @@
     "saveNotes": "Save Notes",
     "submitted": "Submitted {date}",
     "preferred": "Preferred: {date}",
+    "preferredMorning": "Preferred: {date}, morning",
+    "preferredAfternoon": "Preferred: {date}, afternoon",
+    "files": "{count, plural, one {# photo or video from the customer} other {# photos or videos from the customer}}",
+    "openPhoto": "Open photo {number}",
+    "openVideo": "Open video {number}",
+    "fileMissing": "Photo {number} is no longer available",
     "workOrderCreated": "Work order created",
     "workOrderError": "Failed to create work order",
     "requestDismissed": "Request dismissed",

+ 23 - 0
messages/en/messaging.json

@@ -51,5 +51,28 @@
       "noMatches": "No customers match your search.",
       "noRecipients": "No customers with an email address yet."
     }
+  },
+  "portal": {
+    "badge": "Portal",
+    "empty": "{name} has not written in the portal yet.",
+    "placeholder": "Write to {name} in the portal",
+    "send": "Send message",
+    "sendFailed": "Could not send the message",
+    "sendHint": "Enter sends, Shift+Enter starts a new line. {name} sees it the next time they open the portal.",
+    "loadOlder": "Load older messages",
+    "loadFailed": "Could not load the conversation.",
+    "tryAgain": "Try again",
+    "addPhoto": "Add a photo",
+    "removePhoto": "Remove {name}",
+    "uploadFailed": "The photo could not be added. Photos up to {size} MB work.",
+    "tooManyPhotos": "A message takes up to {count} photos.",
+    "photoFrom": "Photo from {name}",
+    "videoFrom": "Video from {name}",
+    "openFile": "Open file",
+    "you": "You",
+    "seen": "Seen",
+    "off": "Messages in the customer portal are turned off, so this conversation can be read but not answered.",
+    "offSettings": "Customer portal settings",
+    "deleteDescription": "Removes the whole conversation with {name}, for them too: it disappears from their portal."
   }
 }

+ 487 - 101
messages/en/portal.json

@@ -12,28 +12,42 @@
     "description": "Please use the direct link provided by your workshop to access the customer portal.",
     "hint": "Your workshop will share the portal link with you via email or SMS."
   },
-  "landing": {
-    "contactTitle": "Contact us",
-    "aboutTitle": "About us",
-    "noContactInfo": "Contact details are not yet available.",
-    "address": "Address",
-    "phone": "Phone",
-    "email": "Email",
-    "hours": "Opening hours",
-    "directions": "Get directions"
+  "signIn": {
+    "eyebrow": "For our customers",
+    "heading": "See your car, your invoices and your messages.",
+    "headingMarine": "See your boat, your invoices and your messages.",
+    "headingNoMessages": "See your car, your invoices and your quotes.",
+    "headingNoMessagesMarine": "See your boat, your invoices and your quotes.",
+    "confirmEyebrow": "Almost there",
+    "hoursTitle": "Opening hours",
+    "findUs": "Find us",
+    "callUs": "Call us",
+    "directions": "Directions",
+    "dayRange": "{from} to {to}",
+    "timeRange": "{start} to {end}",
+    "closed": "closed"
   },
   "login": {
-    "signInTitle": "Customer login",
-    "signInSubtitle": "Sign in to view your invoices, quotes, and service history.",
-    "emailLabel": "Email address",
+    "emailLabel": "Your email address",
     "emailPlaceholder": "you@example.com",
-    "sendLink": "Send sign-in link",
+    "sendLink": "Send me a sign-in link",
     "checkEmail": "Check your email",
     "checkEmailDescription": "If an account exists for that email, we've sent a sign-in link. The link expires in 15 minutes.",
     "tryDifferentEmail": "Try a different email",
+    "requestFailed": "We could not send that just now. Check your connection and try again.",
+    "tooManyTries": "Too many tries in a short time. Wait a minute and try again.",
+    "tryAgain": "Try again",
+    "sendNewCode": "Send a new code",
+    "newCodeSent": "We sent a new code.",
+    "errors": {
+      "invalid": "That sign-in link does not work. Ask for a new one below.",
+      "used": "That sign-in link has already been used. Ask for a new one below.",
+      "expired": "That sign-in link has expired. Ask for a new one below.",
+      "noAccount": "We could not find your account. Ask the workshop to check the email address they have for you."
+    },
     "tabEmail": "Email",
     "tabSms": "SMS",
-    "phoneLabel": "Phone number",
+    "phoneLabel": "Your mobile number",
     "phonePlaceholder": "+47 12345678",
     "phoneLocalPlaceholder": "12345678",
     "sendCode": "Send code",
@@ -47,91 +61,337 @@
     "confirmTitle": "Sign in to {workshop}",
     "confirmDescription": "You are signing in as {email}. Press the button to continue.",
     "confirmButton": "Continue to sign in",
-    "notFound": "Not Found",
-    "portalNotExist": "This portal does not exist.",
-    "portalNotAvailable": "Portal Not Available",
-    "portalNotEnabled": "The customer portal is not enabled for this organization."
+    "notFound": "Not found",
+    "portalNotExist": "This page does not exist.",
+    "portalNotAvailable": "Not available",
+    "portalNotEnabled": "This workshop does not offer online access right now.",
+    "noPassword": "No password. We send you a link that signs you in.",
+    "noPasswordSms": "No password. We text you a code that signs you in.",
+    "method": "How to sign in"
   },
   "nav": {
-    "dashboard": "Dashboard",
-    "vehicles": "Vehicles",
+    "label": "Main",
+    "skip": "Skip to content",
+    "home": "Home",
+    "messages": "Messages",
+    "book": "Book",
+    "bookLong": "Book a visit",
+    "cars": "My cars",
+    "carsMarine": "My boats",
+    "papers": "Papers",
+    "papersLong": "Invoices and quotes",
+    "unread": "{count, plural, one {# unread message} other {# unread messages}}",
+    "documents": "Documents",
     "invoices": "Invoices",
     "quotes": "Quotes",
-    "inspections": "Inspections",
-    "requestService": "Request Service"
+    "inspections": "Inspections"
   },
   "header": {
-    "signOut": "Sign out",
-    "askShort": "Service"
+    "homeLink": "{name}, home",
+    "account": "Your account, {name}",
+    "signedInAs": "Signed in as",
+    "signOut": "Sign out"
+  },
+  "hoursLine": {
+    "openUntil": "Open until {time}",
+    "opensAt": "Opens at {time}",
+    "closedNow": "Closed for today",
+    "closedToday": "Closed today"
+  },
+  "format": {
+    "today": "today",
+    "tomorrow": "tomorrow"
   },
   "shell": {
-    "notFound": "Not Found",
-    "portalNotExist": "This portal does not exist.",
-    "portalNotAvailable": "Portal Not Available",
-    "portalNotEnabled": "The customer portal is not enabled for this organization."
+    "notFound": "Not found",
+    "portalNotExist": "This page does not exist.",
+    "portalNotAvailable": "Not available",
+    "portalNotEnabled": "This workshop has not opened its customer pages yet.",
+    "callWorkshop": "Call {phone}",
+    "openMap": "Open {address} in maps",
+    "errorTitle": "Something went wrong",
+    "errorBody": "This page could not be shown. Try again, or go back to your home page.",
+    "tryAgain": "Try again",
+    "pageNotFoundTitle": "We could not find that page",
+    "pageNotFoundBody": "The link may be old, or the page may have been removed.",
+    "backHome": "Back to home"
   },
-  "dashboard": {
-    "welcome": "Welcome, {name}",
-    "overview": "Here's an overview of your account.",
-    "vehicles": "Vehicles",
-    "openInvoices": "Open Invoices",
-    "pendingQuotes": "Pending Quotes",
-    "recentInvoices": "Recent Invoices",
-    "recentQuotes": "Recent Quotes",
-    "pendingServiceRequests": "Pending Service Requests",
-    "viewAll": "View all",
-    "newRequest": "New request",
-    "noInvoicesYet": "No invoices yet.",
-    "noQuotesYet": "No quotes yet.",
-    "view": "View",
-    "pending": "Pending",
-    "failedToLoad": "Failed to load dashboard.",
-    "quickRequestService": "Request service",
-    "quickRequestServiceHint": "Book a repair or check-up",
-    "quickViewInvoices": "Your invoices",
-    "quickViewInvoicesHint": "Bills and payment history",
-    "quickViewVehicles": "Your vehicles",
-    "quickViewVehiclesHint": "Service history and details",
-    "activeJobs": "Active jobs"
+  "home": {
+    "failedToLoad": "We could not load your page. Try again in a moment.",
+    "heroWorkingPromised": "Hi {name}. Your car is in the workshop, ready {day} around {time}.",
+    "heroWorkingPromisedMarine": "Hi {name}. Your boat is in the workshop, ready {day} around {time}.",
+    "heroWorking": "Hi {name}. Your car is in the workshop.",
+    "heroWorkingMarine": "Hi {name}. Your boat is in the workshop.",
+    "heroReady": "Hi {name}. Your car is ready to collect.",
+    "heroReadyMarine": "Hi {name}. Your boat is ready to collect.",
+    "heroBookedAt": "Hi {name}. We are expecting your car {day} at {time}.",
+    "heroBookedAtMarine": "Hi {name}. We are expecting your boat {day} at {time}.",
+    "heroBooked": "Hi {name}. Your visit is booked.",
+    "heroNothing": "Hi {name}. Nothing in the workshop right now.",
+    "heroNothingBody": "Book a visit when your car needs us. You follow the work here, step by step.",
+    "heroNothingBodyMarine": "Book a visit when your boat needs us. You follow the work here, step by step.",
+    "stepsLabel": "How far the work has come",
+    "stepBooked": "Booked",
+    "stepCheckedIn": "Checked in",
+    "stepWorking": "In the workshop",
+    "stepReady": "Ready to collect",
+    "latestUpdate": "Latest from the workshop · {when}",
+    "updateFallback": "The workshop has shared an update on the work.",
+    "seeUpdate": "See photos and video",
+    "otherJobs": "Also booked or under way",
+    "jobBookedFor": "Booked for {day} at {time}",
+    "jobReadyAround": "Ready {day} around {time}",
+    "needsAnswer": "Needs your answer",
+    "validUntil": "Valid until {day}",
+    "quoteNumber": "Quote {number}",
+    "quote": "Quote",
+    "readQuote": "Read the quote",
+    "moreQuotes": "{count, plural, one {# more quote is waiting for your answer} other {# more quotes are waiting for your answer}}",
+    "toPay": "To pay",
+    "due": "Due {day}",
+    "overdueSince": "Overdue since {day}",
+    "invoiceNumber": "Invoice {number}",
+    "invoice": "Invoice",
+    "payNow": "Pay now",
+    "seeInvoice": "See the invoice",
+    "moreInvoices": "{count, plural, one {# more invoice to pay} other {# more invoices to pay}}, {total} in all",
+    "paidSoFar": "{paid} of {total} paid",
+    "toPayCount": "{count, plural, one {# invoice} other {# invoices}}",
+    "toPayOverdueCount": "{count} overdue",
+    "toPayMostUrgent": "Most urgent",
+    "toPayNext": "Next to pay",
+    "seeAllInvoices": "See all {count} invoices",
+    "nextStep": "Next",
+    "nextStepWorking": "We check the car in and start the work.",
+    "nextStepWorkingMarine": "We check the boat in and start the work.",
+    "nextStepReady": "You get a message here when it is ready to collect.",
+    "nextStepReadyNoChat": "We let you know when it is ready to collect.",
+    "nextStepCollect": "Come by when it suits you.",
+    "tires": "Tyre hotel",
+    "tiresStoredSummer": "Summer tyres stored with us",
+    "tiresStoredWinter": "Winter tyres stored with us",
+    "tiresStoredAllSeason": "All-season tyres stored with us",
+    "tiresStoredOther": "Tyres stored with us",
+    "tiresSeasonSummer": "Summer tyres",
+    "tiresSeasonWinter": "Winter tyres",
+    "tiresSeasonAllSeason": "All-season tyres",
+    "tiresSeasonOther": "Tyres",
+    "tiresStudded": "studded",
+    "tiresOnRims": "on rims",
+    "tiresStoredSince": "stored since {day}",
+    "tiresTreadLeft": "tread left",
+    "tiresTreadLine": "{depth} tread left",
+    "tiresNotMeasured": "Tread not measured yet",
+    "tiresCount": "{count, plural, one {# tyre} other {# tyres}}",
+    "cars": "My cars",
+    "carsMarine": "My boats",
+    "carVisits": "{count, plural, =0 {no visits yet} one {# visit} other {# visits}}",
+    "carInWorkshop": "In the workshop",
+    "carWarrantyActive": "warranty active",
+    "carWarrantyExpiring": "warranty ends soon",
+    "carsEmptyTitle": "No cars on file yet",
+    "carsEmptyTitleMarine": "No boats on file yet",
+    "carsEmptyBody": "When the workshop registers your car, its history shows here.",
+    "carsEmptyBodyMarine": "When the workshop registers your boat, its history shows here.",
+    "nextVisit": "Next visit",
+    "visitWhen": "{day}, {time}",
+    "directions": "Directions",
+    "nextVisitEmptyTitle": "No visit booked",
+    "nextVisitEmptyBody": "Pick a day that suits you and tell us what the car needs.",
+    "nextVisitEmptyBodyMarine": "Pick a day that suits you and tell us what the boat needs.",
+    "bookVisit": "Book a visit",
+    "requests": "Sent to the workshop",
+    "requestSent": "Sent {day}",
+    "requestWaiting": "Waiting for an answer",
+    "requestWishedDay": "wished for {day}",
+    "messagesLabel": "Messages with {workshop}",
+    "messagePreviewFrom": "{name}:",
+    "messagePreviewYou": "You:",
+    "messagePreviewPhoto": "Photo",
+    "messagePreviewEmpty": "Write to {workshop}",
+    "messagePreviewOpen": "Open your messages with {workshop}"
+  },
+  "themes": {
+    "colour": {
+      "stepNow": "Now",
+      "storedSince": "Stored since"
+    },
+    "garage": {
+      "readyAround": "Ready {day} around",
+      "expectedAt": "Expected {day} at",
+      "stepDone": "Done",
+      "stepNow": "Now",
+      "stepNotYet": "Not yet",
+      "stepNotYetAround": "Not yet, around {time}",
+      "tireCar": "Car",
+      "tireCarMarine": "Boat",
+      "tireMake": "Tyres",
+      "tireSize": "Size",
+      "tireSet": "Set",
+      "tireTread": "Tread left",
+      "openUntil": "Open today until",
+      "opensAt": "Opens today at"
+    },
+    "print": {
+      "kicker": "Your car",
+      "kickerMarine": "Your boat",
+      "dateline": "{workshop}, {time}.",
+      "stepDone": "Done",
+      "stepNow": "Now",
+      "stepTodo": "Not yet",
+      "waiting": "Waiting for you",
+      "waitingCount": "{count, plural, one {# item} other {# items}}",
+      "waitingOwed": "{total} to pay on {invoices}",
+      "colWhat": "What",
+      "colDocument": "Document",
+      "colDeadline": "Deadline",
+      "colAmount": "Amount",
+      "tireCar": "Car",
+      "tireCarMarine": "Boat",
+      "tireTyre": "Tyre",
+      "tireSize": "Size",
+      "tireSet": "Set",
+      "tireTread": "Tread",
+      "portalLabel": "Customer portal",
+      "callWorkshop": "Call the workshop"
+    }
+  },
+  "chat": {
+    "title": "Messages",
+    "label": "Messages with {workshop}",
+    "subtitle": "{workshop}",
+    "call": "Call {workshop}",
+    "emptyTitle": "No messages yet",
+    "emptyBody": "Write to {workshop} here. The answer shows in this thread.",
+    "inputLabel": "Write a message to {workshop}",
+    "placeholder": "Write to {workshop}",
+    "addPhoto": "Add a photo",
+    "send": "Send",
+    "photo": "Photo from {name}",
+    "you": "You",
+    "emptyBodyOff": "Nothing has been written here.",
+    "video": "Video from {name}",
+    "file": "Open the file",
+    "openLarge": "{what}, open large",
+    "closeViewer": "Close",
+    "today": "Today",
+    "yesterday": "Yesterday",
+    "seen": "Seen",
+    "sending": "Sending",
+    "retry": "Try again",
+    "discard": "Delete",
+    "earlier": "Show earlier",
+    "newBelow": "New message",
+    "keysHint": "Enter sends the message. Shift and Enter starts a new line.",
+    "off": "This workshop has turned messages off. You can still read what was written.",
+    "errors": {
+      "notSent": "Not sent. Check your connection.",
+      "chatOff": "Not sent. The workshop has turned messages off.",
+      "tooFast": "Not sent. That was many messages at once, wait a moment.",
+      "restoring": "Not sent. The workshop is briefly unavailable. Try again in a few minutes."
+    },
+    "upload": {
+      "adding": "Adding {name}",
+      "remove": "Remove {name}",
+      "tooMany": "A message takes up to {count} photos or videos. Send these first.",
+      "tooLarge": "That file is too large. Photos up to {photo} MB and videos up to {video} MB work.",
+      "type": "Only photos and videos can be sent here.",
+      "failed": "A file could not be added. Try again."
+    },
+    "suggestions": {
+      "label": "Ideas for a first message",
+      "call": "Can you call me?",
+      "book": "I would like to book a visit.",
+      "invoice": "I have a question about my invoice."
+    },
+    "events": {
+      "workStarted": "Work started on your {vehicle}",
+      "workStartedNoVehicle": "Work has started on your job",
+      "update": "Update from {workshop}",
+      "updateAbout": "About your {vehicle}",
+      "seeUpdate": "See the update",
+      "quote": "Quote",
+      "quoteLine": "Quote {title}",
+      "quoteWaiting": "Quote waiting for your answer",
+      "quotes": "{count} quotes",
+      "answerQuote": "Read and answer",
+      "invoice": "Invoice",
+      "invoiceLine": "Invoice {title}",
+      "invoiceOverdue": "Invoice overdue",
+      "invoices": "{count} invoices",
+      "seeInvoice": "See invoice",
+      "jobsStarted": "Work started on {count} jobs"
+    }
+  },
+  "messagesPage": {
+    "title": "Messages",
+    "offTitle": "Messages are turned off",
+    "offBody": "This workshop does not take messages here. Call {phone} or book a visit.",
+    "offBodyNoPhone": "This workshop does not take messages here. Book a visit and write what you need."
   },
   "invoices": {
     "title": "Invoices",
-    "description": "All your service invoices.",
+    "description": "Bills for work the workshop has finished.",
     "noInvoices": "No invoices yet.",
-    "failedToLoad": "Failed to load invoices.",
+    "noInvoicesHint": "When the workshop has finished a job, its invoice shows here.",
+    "failedToLoad": "We could not load your invoices. Try again in a moment.",
     "invoice": "Invoice",
+    "invoiceNumber": "Invoice {number}",
     "vehicle": "Vehicle",
     "date": "Date",
     "amount": "Amount",
     "payment": "Payment",
     "view": "View",
     "download": "Download",
+    "downloadPdf": "Download PDF",
     "downloadCertificate": "Download inspection certificate",
-    "paid": "paid",
-    "partial": "partial",
-    "unpaid": "unpaid",
+    "paid": "Paid",
+    "partial": "Partly paid",
+    "unpaid": "Unpaid",
+    "overdue": "Overdue",
+    "toPayTitle": "Left to pay",
+    "toPayCount": "{count, plural, one {on # invoice} other {on # invoices}}",
+    "toPayNextDue": "Next due {date}",
+    "toPayOpen": "See and pay {invoice}",
+    "toPayOpenNoPay": "Open {invoice}",
+    "nothingToPay": "Nothing to pay",
+    "nothingToPayBody": "Every invoice here is paid.",
+    "leftToPay": "{amount} left to pay",
+    "dueOn": "Due {date}",
     "back": "Back to invoices",
-    "openShared": "Open the shared copy"
+    "payOnline": "Pay online",
+    "summaryTotal": "Total",
+    "summaryPaid": "Paid",
+    "summaryLeft": "Left to pay",
+    "summaryDue": "Due date",
+    "summaryDate": "Date",
+    "fullInvoice": "The full invoice"
   },
   "quotes": {
     "title": "Quotes",
-    "description": "Quotes and estimates for your vehicles.",
+    "description": "Prices the workshop has sent you before doing the work.",
     "noQuotes": "No quotes yet.",
-    "failedToLoad": "Failed to load quotes.",
+    "noQuotesHint": "When the workshop sends you a price for some work, it shows here.",
+    "failedToLoad": "We could not load your quotes. Try again in a moment.",
     "quote": "Quote",
     "vehicle": "Vehicle",
     "status": "Status",
     "amount": "Amount",
-    "validUntil": "Valid Until",
+    "validUntil": "Valid until",
+    "validUntilDate": "Valid until {date}",
+    "waitingTitle": "Waiting for your answer",
+    "waitingNone": "No quote is waiting for your answer.",
+    "waitingAnswer": "Read and answer",
     "view": "View"
   },
   "inspections": {
     "title": "Inspections",
-    "description": "Vehicle inspection reports.",
+    "description": "Reports from the workshop's checks of your car.",
     "noInspections": "No inspections yet.",
-    "failedToLoad": "Failed to load inspections.",
+    "noInspectionsHint": "When the workshop has finished an inspection, the report shows here.",
+    "failedToLoad": "We could not load your inspections. Try again in a moment.",
     "vehicle": "Vehicle",
-    "template": "Checklist",
+    "template": "Inspection",
     "status": "Status",
     "date": "Date",
     "summary": "Summary",
@@ -141,31 +401,49 @@
     "poor": "{count} poor"
   },
   "vehicles": {
-    "title": "Vehicles",
-    "description": "Your registered vehicles.",
-    "noVehicles": "No vehicles found.",
-    "failedToLoad": "Failed to load vehicles.",
+    "title": "Your cars",
+    "titleMarine": "Your boats",
+    "description": "The cars the workshop has on file for you.",
+    "descriptionMarine": "The boats the workshop has on file for you.",
+    "noVehicles": "No cars on file yet.",
+    "noVehiclesMarine": "No boats on file yet.",
+    "noVehiclesHint": "Book a visit and tell us about your car. We add it here.",
+    "noVehiclesHintMarine": "Book a visit and tell us about your boat. We add it here.",
+    "back": "Back to my cars",
+    "backMarine": "Back to my boats",
+    "about": "About this car",
+    "aboutMarine": "About this boat",
+    "failedToLoad": "We could not load your cars. Try again in a moment.",
+    "failedToLoadMarine": "We could not load your boats. Try again in a moment.",
     "plate": "Plate: {plate}",
+    "plateMarine": "Registration: {plate}",
     "vin": "VIN: {vin}",
+    "vinMarine": "HIN: {vin}",
     "typeKey": "HSN/TSN: {typeKey}",
-    "serviceCount": "{count, plural, one {# service} other {# services}}",
+    "distanceKm": "{value} km",
+    "distanceMi": "{value} mi",
+    "engineHours": "{value} engine hours",
+    "serviceCount": "{count, plural, one {# visit} other {# visits}}",
     "inspectionCount": "{count, plural, one {# inspection} other {# inspections}}",
-    "serviceHistory": "Service History ({count})",
+    "serviceHistory": "Service history ({count})",
     "inspectionsTab": "Inspections ({count})",
-    "noServiceRecords": "No service records yet.",
+    "noServiceRecords": "No work recorded yet.",
     "noInspections": "No inspections yet.",
-    "vehicleNotFound": "Vehicle not found.",
+    "vehicleNotFound": "We could not find this vehicle.",
     "completed": "Completed {date}",
     "good": "{count} good",
     "fair": "{count} fair",
     "poor": "{count} poor",
     "view": "View",
-    "serviceHistoryTitle": "Service history",
-    "inspectionsTitle": "Inspections",
-    "columnVehicle": "Vehicle",
+    "columnVehicle": "Car",
+    "columnVehicleMarine": "Boat",
     "columnPlate": "Plate",
-    "columnServices": "Services",
+    "columnPlateMarine": "Registration",
+    "columnServices": "Visits",
     "columnInspections": "Inspections",
+    "warrantyActive": "Warranty active",
+    "warrantyExpiring": "Warranty ends soon",
+    "warrantyExpired": "Warranty ended",
     "reportSold": "I no longer own this vehicle",
     "reportSoldHint": "We will tell the workshop so they stop sending reminders about it. Your history stays as it is.",
     "reportSoldConfirm": "Yes, tell the workshop",
@@ -174,36 +452,99 @@
     "reportSoldFailed": "Could not send that right now",
     "reportSoldAlready": "You have told the workshop this vehicle is no longer yours."
   },
-  "requestService": {
-    "title": "Request Service",
-    "description": "Submit a service request for one of your vehicles.",
-    "newServiceRequest": "New Service Request",
-    "formDescription": "Describe the issue and we'll get back to you.",
-    "vehicleLabel": "Vehicle",
-    "vehiclePlaceholder": "Select a vehicle",
-    "descriptionLabel": "Describe the issue",
-    "descriptionPlaceholder": "What's going on with your vehicle?",
-    "preferredDate": "Preferred date",
-    "preferredDateOptional": "(optional)",
-    "submitRequest": "Submit Request",
-    "selectVehicle": "Please select a vehicle",
-    "describeIssue": "Please describe the issue",
-    "submitSuccess": "Service request submitted",
-    "submitError": "Failed to submit request",
-    "noVehicles": "You have no vehicles registered. Please contact us to add a vehicle first.",
-    "yourRequests": "Your Service Requests",
-    "failedToLoad": "Failed to load data.",
-    "staffNotes": "Staff notes: {notes}",
-    "preferred": "Preferred: {date}",
-    "notListedOption": "My vehicle isn't listed",
-    "newVehicleHint": "Tell us about the vehicle and we'll add it to your profile.",
-    "fillVehicleDetails": "Please enter the vehicle's make and model",
+  "book": {
+    "title": "Book a visit",
+    "description": "Tell us what you need. We get back to you with a time.",
+    "descriptionMessages": "Tell us what you need. We answer here in Messages with a time.",
+    "failedToLoad": "We could not load this page. Try again in a moment.",
+    "whichVehicle": "Which car?",
+    "whichVehicleMarine": "Which boat?",
+    "anotherVehicle": "Another car",
+    "anotherVehicleMarine": "Another boat",
+    "inWorkshopNow": "in the workshop now",
+    "selectVehicle": "Choose which one this is about",
+    "newVehicleHint": "Tell us about it and we add it to your profile.",
     "makeLabel": "Make",
     "makePlaceholder": "e.g. Ford",
     "modelLabel": "Model",
     "modelPlaceholder": "e.g. Kuga",
     "yearLabel": "Year",
-    "plateLabel": "License plate"
+    "plateLabel": "Licence plate",
+    "plateLabelMarine": "Registration",
+    "fillMake": "Enter the make",
+    "fillModel": "Enter the model",
+    "invalidYear": "Enter a year between {min} and {max}",
+    "optional": "(optional)",
+    "whatNeeded": "What do you need?",
+    "topics": {
+      "service": "Service",
+      "inspection": "Inspection",
+      "tires": "Tyre change",
+      "brakes": "Brakes",
+      "problem": "Something is wrong"
+    },
+    "descriptionLabel": "Describe it in your own words",
+    "descriptionPlaceholder": "For example: a knocking noise from the front left over bumps, worse when the car is cold",
+    "descriptionPlaceholderMarine": "For example: the engine is hard to start when it is cold",
+    "describeIssue": "Pick what you need above, or tell us in a few words",
+    "filesLabel": "Photos or a short video",
+    "filesCount": "{count} of {max} added",
+    "filesLimits": "photos up to {photo} MB, video up to {video} MB",
+    "filesAdd": "Add photos or video",
+    "filesDrop": "Drop files here, or choose them from this computer",
+    "filesCamera": "Take a photo",
+    "filesTooMany": "You can add up to {max} files. Take one out to add another.",
+    "filesStillUploading": "Wait until your files have finished uploading, then send.",
+    "filesFailed": "A file did not upload. Try it again or take it out, then send.",
+    "fileUploading": "Uploading {name}",
+    "fileReady": "{name}, added",
+    "fileRemove": "Remove {name}",
+    "fileRetry": "Try again",
+    "fileType": "{name} is not a photo or a video we can take.",
+    "fileEmpty": "{name} is empty.",
+    "fileTooLarge": "{name} is too large.",
+    "fileTooMany": "That is a lot of files at once. Wait a few minutes and try again.",
+    "fileSignedOut": "You have been signed out. Sign in again to add files.",
+    "fileNetwork": "The connection dropped while uploading.",
+    "fileFailed": "That file did not upload.",
+    "dayLabel": "Day that suits you",
+    "pastDate": "Pick today or a later day",
+    "timeLabel": "Time of day",
+    "timeHint": "Pick a day first to say which part of it suits.",
+    "time": {
+      "any": "Any time",
+      "morning": "Morning",
+      "afternoon": "Afternoon"
+    },
+    "timeLower": {
+      "morning": "morning",
+      "afternoon": "afternoon"
+    },
+    "closedDaysHint": "Closed on these days:",
+    "send": "Send to {workshop}",
+    "sendHint": "Nothing is booked until the workshop confirms a time.",
+    "submitError": "We could not send that just now. Try again in a moment.",
+    "sentTitle": "Sent to {workshop}",
+    "sentBody": "The workshop reads your request and looks at what you sent. The answer comes in Messages, with a time.",
+    "sentBodyNoMessages": "The workshop reads your request and looks at what you sent, then gets back to you with a time. You can follow it on this page.",
+    "sentMessages": "Go to Messages",
+    "sentHome": "Back to home",
+    "sentAnother": "Ask for something else",
+    "nextTitle": "What happens next",
+    "nextRead": "We read your request and look at your photos.",
+    "nextAnswerMessages": "We answer in Messages with a time, and a quote if it helps.",
+    "nextAnswer": "We get back to you with a time, and a quote if it helps.",
+    "nextVisit": "The visit shows on your home page with the day and time.",
+    "talkTitle": "Rather talk?",
+    "talkCall": "Call {phone}",
+    "yourRequests": "What you have asked for",
+    "sentOn": "Sent {date}",
+    "preferred": "Preferred: {date}",
+    "staffNotes": "Note from the workshop: {notes}",
+    "requestFiles": "{count, plural, one {# file you sent} other {# files you sent}}",
+    "requestPhoto": "Open the photo",
+    "requestVideo": "Open the video",
+    "requestFileMissing": "This photo is no longer available"
   },
   "booking": {
     "title": "Book your inspection",
@@ -248,6 +589,51 @@
     "confirmationBody": "Your {vehicle} is booked for {when} at {workshop}. Need to change it? Use the link in our previous message or call {phone}.",
     "confirmationBodyRequest": "Thanks, {workshop} has received your request for {when} for your {vehicle} and will confirm shortly. Questions? Call {phone}."
   },
+  "quoteDetail": {
+    "back": "Back to quotes",
+    "title": "Quote",
+    "answerLabel": "Your answer",
+    "failedToLoad": "We could not load this quote.",
+    "total": "Total",
+    "number": "Quote number",
+    "date": "Date",
+    "validUntil": "Valid until",
+    "vehicle": "Vehicle",
+    "fullQuote": "The full quote",
+    "answerTitle": "The workshop is waiting for your answer",
+    "accept": "Accept quote",
+    "askChanges": "Ask for changes",
+    "confirmAcceptTitle": "Accept this quote?",
+    "confirmAcceptBody": "The workshop is told that you want the work done at this price.",
+    "confirmAcceptYes": "Yes, accept",
+    "cancel": "Cancel",
+    "changesLabel": "What would you like changed?",
+    "changesPlaceholder": "For example: leave out the wiper blades",
+    "sendChanges": "Send to the workshop",
+    "answerFailed": "We could not send your answer. Try again.",
+    "acceptedTitle": "You accepted this quote",
+    "acceptedBody": "The workshop has been told and will be in touch.",
+    "changesTitle": "You asked for changes",
+    "changesBody": "The workshop has been told and will send you an updated quote."
+  },
+  "inspectionDetail": {
+    "back": "Back to inspections",
+    "title": "Inspection",
+    "about": "About this inspection",
+    "failedToLoad": "We could not load this inspection.",
+    "vehicle": "Vehicle",
+    "vessel": "Vessel",
+    "doneOn": "Done on",
+    "startedOn": "Started on",
+    "odometer": "Odometer",
+    "engineHours": "Engine hours",
+    "nextDue": "Next inspection due",
+    "certificateNumber": "Certificate number",
+    "stillWorking": "The workshop is still working on this inspection. Results may change.",
+    "openShared": "See photos and download the report",
+    "noResults": "No results yet.",
+    "notes": "Notes from the workshop"
+  },
   "status": {
     "job": {
       "pending": "Booked",
@@ -257,7 +643,7 @@
       "completed": "Completed"
     },
     "request": {
-      "pending": "Pending",
+      "pending": "Waiting for an answer",
       "converted": "Booked",
       "dismissed": "Closed",
       "cancelled": "Cancelled"

+ 97 - 44
messages/en/settings.json

@@ -1699,55 +1699,108 @@
   },
   "portal": {
     "title": "Customer Portal",
-    "description": "Allow your customers to log in and view their vehicles, invoices, quotes, and inspections. Customers can also submit service requests.",
-    "enablePortal": "Enable customer portal",
-    "enablePortalHint": "Customers with an email address can log in via magic link",
-    "enabled": "Customer portal enabled",
-    "disabled": "Customer portal disabled",
-    "failedUpdate": "Failed to update setting",
-    "customSlug": "Custom portal slug",
-    "save": "Save",
-    "slugSaved": "Portal slug saved",
-    "slugRemoved": "Portal slug removed",
-    "failedUpdateSlug": "Failed to update slug",
-    "slugHint": "Lowercase letters, numbers, hyphens, and underscores. 3-48 characters. Leave blank to use the default URL.",
-    "portalUrl": "Portal URL",
-    "urlCopied": "Portal URL copied",
-    "shareHint": "Share this link with your customers so they can log in to their portal.",
+    "description": "Your customers sign in to follow their job, answer quotes, pay invoices, book a visit and write to you.",
+    "enablePortal": "Turn on the customer portal",
+    "enablePortalHint": "Customers sign in with a link sent to their email or phone. There is no password to remember.",
+    "failedUpdate": "Could not save the settings",
+    "customSlug": "Portal address",
+    "slugHint": "Lowercase letters, numbers, hyphens and underscores, 3 to 48 characters. Leave it empty to use the default address.",
+    "portalUrl": "Link to your portal",
+    "urlCopied": "Link copied",
+    "shareHint": "Share this link with your customers so they can sign in.",
     "serviceRequestAlertsHint": "Service requests from the portal always appear in your notification bell. You can also get them by email.",
-    "serviceRequestAlertsLink": "Alert settings →",
+    "serviceRequestAlertsLink": "Alert settings",
     "descriptionLabel": "About your workshop",
     "descriptionPlaceholder": "Tell customers a bit about your workshop, the services you offer, and what makes you unique.",
-    "descriptionHint": "Shown to visitors at the top of your portal landing page.",
-    "hoursLabel": "Opening hours",
-    "hoursPlaceholder": "Mon-Fri: 8:00-17:00\nSat: 9:00-13:00\nSun: Closed",
-    "hoursHint": "Free-form text. Use line breaks to list each day separately.",
-    "contentSaved": "Portal content saved",
-    "background": {
-      "title": "Portal background",
-      "description": "Choose how the customer portal landing page looks.",
-      "typeNone": "None",
-      "typeTemplate": "Template",
-      "typeImage": "Custom image",
-      "chooseTemplate": "Choose a template",
-      "uploadLabel": "Background image",
-      "upload": "Upload image",
-      "replace": "Replace image",
-      "remove": "Remove",
-      "uploadHint": "JPG, PNG or WebP. Max 8 MB. Recommended at least 1600×900.",
-      "uploading": "Uploading background…",
-      "uploaded": "Background updated",
-      "uploadFailed": "Failed to upload background",
-      "templateNames": {
-        "default": "Subtle",
-        "sunrise": "Sunrise",
-        "ocean": "Ocean",
-        "forest": "Forest",
-        "slate": "Slate",
-        "sand": "Sand"
+    "descriptionHint": "Shown on the sign-in page of your portal.",
+    "copyUrl": "Copy the link"
+  },
+  "customerPortal": {
+    "slugPlaceholder": "my-workshop",
+    "slugUnsaved": "This address works once you save.",
+    "slugInvalid": "Use 3 to 48 lowercase letters, numbers, hyphens or underscores, starting and ending with a letter or number.",
+    "slugReserved": "That word is reserved. Choose another address.",
+    "slugTaken": "Another workshop already uses that address. Choose another.",
+    "hours": {
+      "title": "Opening hours",
+      "fromCalendar": "The portal shows the opening hours and closed days from your workshop calendar.",
+      "link": "Opening hours settings",
+      "typedNote": "Your sign-in page still shows the hours typed here earlier, because no opening hours are set in the calendar yet. Set them there and the portal shows those instead.",
+      "typedLabel": "Shown on the sign-in page today"
+    },
+    "look": {
+      "title": "Look of your customer portal",
+      "description": "One choice sets the sign-in page and every page your customers see after it. Customers cannot change it."
+    },
+    "theme": {
+      "legend": "Theme",
+      "daylight": {
+        "name": "Daylight",
+        "tagline": "Light and calm"
+      },
+      "garage": {
+        "name": "Garage",
+        "tagline": "Dark pit board"
+      },
+      "print": {
+        "name": "Print",
+        "tagline": "Editorial and quiet"
+      },
+      "colour": {
+        "name": "Colour",
+        "tagline": "Your colour, big"
       }
     },
-    "copyUrl": "Copy portal URL"
+    "colour": {
+      "title": "Your colour",
+      "description": "Used for buttons and highlights in every theme.",
+      "swatches": "Suggested colours",
+      "orange": "Orange",
+      "blue": "Blue",
+      "green": "Green",
+      "red": "Red",
+      "black": "Black",
+      "hexLabel": "Colour as a hex code",
+      "invalid": "That is not a colour. Write it as a hex code, like #1D4ED8.",
+      "usingTheme": "Using the colour that comes with {theme}, {hex}.",
+      "themeColour": "The colour that comes with {theme} is {hex}.",
+      "useTheme": "Use the theme's colour",
+      "sample": "Book a visit",
+      "inkLight": "Text on this colour is drawn in white, so it stays readable.",
+      "inkDark": "Text on this colour is drawn in black, so it stays readable.",
+      "faint": "This colour is faint against the background of {theme}. Links and highlights may be hard to see."
+    },
+    "cover": {
+      "title": "Cover photo and logo",
+      "description": "Shown on the sign-in page. Your logo comes from Company settings.",
+      "companyLink": "Company settings",
+      "hint": "PNG, JPEG or WebP, up to 8 MB.",
+      "none": "No cover photo",
+      "alt": "The cover photo on the sign-in page",
+      "upload": "Upload a photo",
+      "replace": "Replace the photo",
+      "remove": "Remove the photo",
+      "uploading": "Uploading",
+      "uploadFailed": "Could not upload the photo"
+    },
+    "features": {
+      "title": "What customers get",
+      "description": "The parts of the portal you can turn off.",
+      "messages": "Messages in the portal",
+      "messagesHint": "Customers write to you from the portal. Their messages land in your Messages inbox.",
+      "tires": "Show stored tyres",
+      "tiresHint": "Customers see the tyres you keep for them, with tread depth."
+    },
+    "bar": {
+      "label": "Save the customer portal settings",
+      "unsaved": "You have changes that are not saved",
+      "saved": "Everything is saved",
+      "discard": "Discard changes",
+      "save": "Save changes",
+      "open": "Open the portal as a customer",
+      "openOff": "Turn the portal on and save to open it."
+    },
+    "savedToast": "Customer portal settings saved"
   },
   "email": {
     "title": "Email Provider",

+ 3 - 0
messages/es/audit.json

@@ -81,6 +81,7 @@
     "settings_updateInvoiceLayout": "Diseño de factura actualizado",
     "settings_updateQuoteLayout": "Diseño de presupuesto actualizado",
     "settings_updatePortalSlug": "URL del portal actualizada",
+    "settings_updateCustomerPortal": "Ajustes del portal del cliente actualizados",
     "inspectionTemplate_create": "Lista de comprobación creada",
     "inspectionTemplate_update": "Lista de comprobación actualizada",
     "inspectionTemplate_delete": "Lista de comprobación eliminada",
@@ -102,6 +103,7 @@
     "statusReport_create": "Informe de estado creado",
     "statusReport_send": "Informe de estado enviado",
     "statusReport_delete": "Informe de estado eliminado",
+    "portal_send": "Mensaje del portal enviado",
     "telegram_send": "Mensaje de Telegram enviado",
     "webhook_create": "Webhook creado",
     "webhook_update": "Webhook actualizado",
@@ -306,6 +308,7 @@
     "technician_create": "Técnico «{name}» creado",
     "technician_delete": "Técnico {id} eliminado",
     "technician_update": "Técnico {id} actualizado",
+    "portal_send": "Envió un mensaje a {name} en el portal del cliente",
     "telegram_send": "Mensaje de Telegram enviado a {name}",
     "tire_location_bulk_create": "{count, plural, one {# ubicación de neumáticos creada} other {# ubicaciones de neumáticos creadas}}",
     "tire_location_create": "Ubicación de neumáticos {code} creada",

+ 6 - 0
messages/es/customers.json

@@ -120,6 +120,12 @@
     "saveNotes": "Guardar Notas",
     "submitted": "Enviado {date}",
     "preferred": "Preferido: {date}",
+    "preferredMorning": "Preferido: {date}, por la mañana",
+    "preferredAfternoon": "Preferido: {date}, por la tarde",
+    "files": "{count, plural, one {# foto o vídeo del cliente} other {# fotos o vídeos del cliente}}",
+    "openPhoto": "Abrir la foto {number}",
+    "openVideo": "Abrir el vídeo {number}",
+    "fileMissing": "La foto {number} ya no está disponible",
     "workOrderCreated": "Orden de trabajo creada",
     "workOrderError": "Error al crear la orden de trabajo",
     "requestDismissed": "Solicitud descartada",

+ 23 - 0
messages/es/messaging.json

@@ -51,5 +51,28 @@
       "noMatches": "Ningún cliente coincide con tu búsqueda.",
       "noRecipients": "Aún no hay clientes con dirección de correo."
     }
+  },
+  "portal": {
+    "badge": "Portal",
+    "empty": "{name} aún no ha escrito en el portal.",
+    "placeholder": "Escribe a {name} en el portal",
+    "send": "Enviar mensaje",
+    "sendFailed": "No se ha podido enviar el mensaje",
+    "sendHint": "Intro envía, Mayús+Intro crea una línea nueva. {name} lo verá la próxima vez que abra el portal.",
+    "loadOlder": "Cargar mensajes anteriores",
+    "loadFailed": "No se ha podido cargar la conversación.",
+    "tryAgain": "Reintentar",
+    "addPhoto": "Añadir una foto",
+    "removePhoto": "Quitar {name}",
+    "uploadFailed": "No se ha podido añadir la foto. Se admiten fotos de hasta {size} MB.",
+    "tooManyPhotos": "Un mensaje admite hasta {count} fotos.",
+    "photoFrom": "Foto de {name}",
+    "videoFrom": "Vídeo de {name}",
+    "openFile": "Abrir archivo",
+    "you": "Tú",
+    "seen": "Visto",
+    "off": "Los mensajes del portal del cliente están desactivados, así que esta conversación se puede leer pero no responder.",
+    "offSettings": "Ajustes del portal del cliente",
+    "deleteDescription": "Elimina toda la conversación con {name}, también para esa persona: desaparece de su portal."
   }
 }

+ 486 - 100
messages/es/portal.json

@@ -12,28 +12,42 @@
     "description": "Utiliza el enlace directo proporcionado por tu taller para acceder al portal de clientes.",
     "hint": "Tu taller compartirá el enlace del portal contigo por correo electrónico o SMS."
   },
-  "landing": {
-    "contactTitle": "Contáctanos",
-    "aboutTitle": "Sobre nosotros",
-    "noContactInfo": "Los datos de contacto aún no están disponibles.",
-    "address": "Dirección",
-    "phone": "Teléfono",
-    "email": "Correo electrónico",
-    "hours": "Horario de apertura",
-    "directions": "Cómo llegar"
+  "signIn": {
+    "eyebrow": "Para nuestros clientes",
+    "heading": "Tu coche, tus facturas y tus mensajes, en un solo sitio.",
+    "headingMarine": "Tu barco, tus facturas y tus mensajes, en un solo sitio.",
+    "headingNoMessages": "Tu coche, tus facturas y tus presupuestos, en un solo sitio.",
+    "headingNoMessagesMarine": "Tu barco, tus facturas y tus presupuestos, en un solo sitio.",
+    "confirmEyebrow": "Ya casi está",
+    "hoursTitle": "Horario",
+    "findUs": "Dónde estamos",
+    "callUs": "Llámanos",
+    "directions": "Cómo llegar",
+    "dayRange": "{from} a {to}",
+    "timeRange": "{start} a {end}",
+    "closed": "cerrado"
   },
   "login": {
-    "signInTitle": "Acceso de clientes",
-    "signInSubtitle": "Inicia sesión para ver tus facturas, presupuestos e historial de servicio.",
-    "emailLabel": "Dirección de correo electrónico",
+    "emailLabel": "Tu correo electrónico",
     "emailPlaceholder": "usted@ejemplo.com",
-    "sendLink": "Enviar enlace de acceso",
+    "sendLink": "Enviarme un enlace de acceso",
     "checkEmail": "Revise su correo electrónico",
     "checkEmailDescription": "Si existe una cuenta para ese correo, hemos enviado un enlace de acceso. El enlace expira en 15 minutos.",
     "tryDifferentEmail": "Probar con otro correo electrónico",
+    "requestFailed": "No hemos podido enviarlo ahora. Revisa tu conexión y vuelve a intentarlo.",
+    "tooManyTries": "Demasiados intentos en poco tiempo. Espera un minuto y vuelve a intentarlo.",
+    "tryAgain": "Volver a intentarlo",
+    "sendNewCode": "Enviar un código nuevo",
+    "newCodeSent": "Te hemos enviado un código nuevo.",
+    "errors": {
+      "invalid": "Ese enlace de acceso no funciona. Pide uno nuevo aquí abajo.",
+      "used": "Ese enlace de acceso ya se ha usado. Pide uno nuevo aquí abajo.",
+      "expired": "Ese enlace de acceso ha caducado. Pide uno nuevo aquí abajo.",
+      "noAccount": "No encontramos tu cuenta. Pide al taller que revise el correo electrónico que tiene tuyo."
+    },
     "tabEmail": "Correo",
     "tabSms": "SMS",
-    "phoneLabel": "Número de teléfono",
+    "phoneLabel": "Tu número de móvil",
     "phonePlaceholder": "+34 612345678",
     "phoneLocalPlaceholder": "612345678",
     "sendCode": "Enviar código",
@@ -48,90 +62,336 @@
     "confirmDescription": "Vas a iniciar sesión como {email}. Pulsa el botón para continuar.",
     "confirmButton": "Continuar e iniciar sesión",
     "notFound": "No encontrado",
-    "portalNotExist": "Este portal no existe.",
-    "portalNotAvailable": "Portal no disponible",
-    "portalNotEnabled": "El portal de clientes no está habilitado para esta organización."
+    "portalNotExist": "Esta página no existe.",
+    "portalNotAvailable": "No disponible",
+    "portalNotEnabled": "Este taller no ofrece acceso en línea por ahora.",
+    "noPassword": "Sin contraseña. Te enviamos un enlace que inicia tu sesión.",
+    "noPasswordSms": "Sin contraseña. Te enviamos por SMS un código que inicia tu sesión.",
+    "method": "Cómo quieres entrar"
   },
   "nav": {
-    "dashboard": "Panel",
-    "vehicles": "Vehículos",
+    "label": "Principal",
+    "skip": "Ir al contenido",
+    "home": "Inicio",
+    "messages": "Mensajes",
+    "book": "Reservar",
+    "bookLong": "Pedir cita",
+    "cars": "Mis coches",
+    "carsMarine": "Mis embarcaciones",
+    "papers": "Documentos",
+    "papersLong": "Facturas y presupuestos",
+    "unread": "{count, plural, one {# mensaje sin leer} other {# mensajes sin leer}}",
+    "documents": "Documentos",
     "invoices": "Facturas",
     "quotes": "Presupuestos",
-    "inspections": "Inspecciones",
-    "requestService": "Solicitar servicio"
+    "inspections": "Inspecciones"
   },
   "header": {
-    "signOut": "Cerrar sesión",
-    "askShort": "Servicio"
+    "homeLink": "{name}, inicio",
+    "account": "Tu cuenta, {name}",
+    "signedInAs": "Sesión iniciada como",
+    "signOut": "Cerrar sesión"
+  },
+  "hoursLine": {
+    "openUntil": "Abierto hasta las {time}",
+    "opensAt": "Abre a las {time}",
+    "closedNow": "Cerrado por hoy",
+    "closedToday": "Hoy cerrado"
+  },
+  "format": {
+    "today": "hoy",
+    "tomorrow": "mañana"
   },
   "shell": {
     "notFound": "No encontrado",
-    "portalNotExist": "Este portal no existe.",
-    "portalNotAvailable": "Portal no disponible",
-    "portalNotEnabled": "El portal de clientes no está habilitado para esta organización."
+    "portalNotExist": "Esta página no existe.",
+    "portalNotAvailable": "No disponible",
+    "portalNotEnabled": "Este taller aún no ha abierto su área de clientes.",
+    "callWorkshop": "Llamar al {phone}",
+    "openMap": "Abrir {address} en el mapa",
+    "errorTitle": "Algo ha salido mal",
+    "errorBody": "No se ha podido mostrar esta página. Vuelve a intentarlo o regresa a tu página de inicio.",
+    "tryAgain": "Volver a intentarlo",
+    "pageNotFoundTitle": "No encontramos esa página",
+    "pageNotFoundBody": "Puede que el enlace sea antiguo o que la página se haya eliminado.",
+    "backHome": "Volver al inicio"
   },
-  "dashboard": {
-    "welcome": "Bienvenido, {name}",
-    "overview": "Aquí hay un resumen de su cuenta.",
-    "vehicles": "Vehículos",
-    "openInvoices": "Facturas pendientes",
-    "pendingQuotes": "Presupuestos pendientes",
-    "recentInvoices": "Facturas recientes",
-    "recentQuotes": "Presupuestos recientes",
-    "pendingServiceRequests": "Solicitudes de servicio pendientes",
-    "viewAll": "Ver todo",
-    "newRequest": "Nueva solicitud",
-    "noInvoicesYet": "Aún no hay facturas.",
-    "noQuotesYet": "Aún no hay presupuestos.",
-    "view": "Ver",
-    "pending": "Pendiente",
-    "failedToLoad": "Error al cargar el panel.",
-    "quickRequestService": "Solicitar servicio",
-    "quickRequestServiceHint": "Reservar reparación o revisión",
-    "quickViewInvoices": "Tus facturas",
-    "quickViewInvoicesHint": "Facturas e historial de pagos",
-    "quickViewVehicles": "Tus vehículos",
-    "quickViewVehiclesHint": "Historial de servicio y detalles",
-    "activeJobs": "Trabajos en curso"
+  "home": {
+    "failedToLoad": "No hemos podido cargar tu página. Inténtalo de nuevo en un momento.",
+    "heroWorkingPromised": "Hola, {name}. Tu coche está en el taller y estará listo {day} hacia las {time}.",
+    "heroWorkingPromisedMarine": "Hola, {name}. Tu barco está en el taller y estará listo {day} hacia las {time}.",
+    "heroWorking": "Hola, {name}. Tu coche está en el taller.",
+    "heroWorkingMarine": "Hola, {name}. Tu barco está en el taller.",
+    "heroReady": "Hola, {name}. Tu coche está listo para recoger.",
+    "heroReadyMarine": "Hola, {name}. Tu barco está listo para recoger.",
+    "heroBookedAt": "Hola, {name}. Te esperamos con tu coche {day} a las {time}.",
+    "heroBookedAtMarine": "Hola, {name}. Te esperamos con tu barco {day} a las {time}.",
+    "heroBooked": "Hola, {name}. Tu cita está reservada.",
+    "heroNothing": "Hola, {name}. Ahora mismo no tienes nada en el taller.",
+    "heroNothingBody": "Pide cita cuando tu coche nos necesite. Aquí sigues el trabajo paso a paso.",
+    "heroNothingBodyMarine": "Pide cita cuando tu barco nos necesite. Aquí sigues el trabajo paso a paso.",
+    "stepsLabel": "Cómo va el trabajo",
+    "stepBooked": "Reservado",
+    "stepCheckedIn": "Recibido",
+    "stepWorking": "En el taller",
+    "stepReady": "Listo para recoger",
+    "latestUpdate": "Lo último del taller · {when}",
+    "updateFallback": "El taller ha compartido novedades sobre el trabajo.",
+    "seeUpdate": "Ver fotos y vídeo",
+    "otherJobs": "También reservado o en curso",
+    "jobBookedFor": "Reservado para {day} a las {time}",
+    "jobReadyAround": "Listo {day} hacia las {time}",
+    "needsAnswer": "Espera tu respuesta",
+    "validUntil": "Válido hasta el {day}",
+    "quoteNumber": "Presupuesto {number}",
+    "quote": "Presupuesto",
+    "readQuote": "Leer el presupuesto",
+    "moreQuotes": "{count, plural, one {# presupuesto más espera tu respuesta} other {# presupuestos más esperan tu respuesta}}",
+    "toPay": "Por pagar",
+    "due": "Vence el {day}",
+    "overdueSince": "Vencida desde el {day}",
+    "invoiceNumber": "Factura {number}",
+    "invoice": "Factura",
+    "payNow": "Pagar ahora",
+    "seeInvoice": "Ver la factura",
+    "moreInvoices": "{count, plural, one {# factura más por pagar} other {# facturas más por pagar}}, {total} en total",
+    "paidSoFar": "{paid} de {total} pagado",
+    "toPayCount": "{count, plural, one {# factura} other {# facturas}}",
+    "toPayOverdueCount": "{count, plural, one {# vencida} other {# vencidas}}",
+    "toPayMostUrgent": "La más urgente",
+    "toPayNext": "Próxima a pagar",
+    "seeAllInvoices": "Ver las {count} facturas",
+    "nextStep": "Siguiente",
+    "nextStepWorking": "Recibimos el coche y empezamos el trabajo.",
+    "nextStepWorkingMarine": "Recibimos el barco y empezamos el trabajo.",
+    "nextStepReady": "Recibirás un mensaje aquí cuando esté listo para recoger.",
+    "nextStepReadyNoChat": "Te avisamos cuando esté listo para recoger.",
+    "nextStepCollect": "Pásate cuando te venga bien.",
+    "tires": "Guardaneumáticos",
+    "tiresStoredSummer": "Neumáticos de verano guardados con nosotros",
+    "tiresStoredWinter": "Neumáticos de invierno guardados con nosotros",
+    "tiresStoredAllSeason": "Neumáticos all season guardados con nosotros",
+    "tiresStoredOther": "Neumáticos guardados con nosotros",
+    "tiresSeasonSummer": "Neumáticos de verano",
+    "tiresSeasonWinter": "Neumáticos de invierno",
+    "tiresSeasonAllSeason": "Neumáticos all season",
+    "tiresSeasonOther": "Neumáticos",
+    "tiresStudded": "con clavos",
+    "tiresOnRims": "con llanta",
+    "tiresStoredSince": "guardados desde el {day}",
+    "tiresTreadLeft": "dibujo restante",
+    "tiresTreadLine": "{depth} de dibujo restante",
+    "tiresNotMeasured": "Dibujo aún sin medir",
+    "tiresCount": "{count, plural, one {# neumático} other {# neumáticos}}",
+    "cars": "Mis coches",
+    "carsMarine": "Mis barcos",
+    "carVisits": "{count, plural, =0 {aún sin visitas} one {# visita} other {# visitas}}",
+    "carInWorkshop": "En el taller",
+    "carWarrantyActive": "garantía activa",
+    "carWarrantyExpiring": "la garantía acaba pronto",
+    "carsEmptyTitle": "Aún no hay coches registrados",
+    "carsEmptyTitleMarine": "Aún no hay barcos registrados",
+    "carsEmptyBody": "Cuando el taller registre tu coche, su historial aparecerá aquí.",
+    "carsEmptyBodyMarine": "Cuando el taller registre tu barco, su historial aparecerá aquí.",
+    "nextVisit": "Próxima cita",
+    "visitWhen": "{day}, {time}",
+    "directions": "Cómo llegar",
+    "nextVisitEmptyTitle": "Sin cita reservada",
+    "nextVisitEmptyBody": "Elige el día que te venga bien y cuéntanos qué necesita el coche.",
+    "nextVisitEmptyBodyMarine": "Elige el día que te venga bien y cuéntanos qué necesita el barco.",
+    "bookVisit": "Pedir cita",
+    "requests": "Enviado al taller",
+    "requestSent": "Enviado el {day}",
+    "requestWaiting": "Esperando respuesta",
+    "requestWishedDay": "deseado para el {day}",
+    "messagesLabel": "Mensajes con {workshop}",
+    "messagePreviewFrom": "{name}:",
+    "messagePreviewYou": "Tú:",
+    "messagePreviewPhoto": "Foto",
+    "messagePreviewEmpty": "Escribe a {workshop}",
+    "messagePreviewOpen": "Abrir tus mensajes con {workshop}"
+  },
+  "themes": {
+    "colour": {
+      "stepNow": "Ahora",
+      "storedSince": "Guardados desde"
+    },
+    "garage": {
+      "readyAround": "Listo {day} hacia las",
+      "expectedAt": "Te esperamos {day} a las",
+      "stepDone": "Hecho",
+      "stepNow": "Ahora",
+      "stepNotYet": "Aún no",
+      "stepNotYetAround": "Aún no, hacia las {time}",
+      "tireCar": "Coche",
+      "tireCarMarine": "Barco",
+      "tireMake": "Neumáticos",
+      "tireSize": "Medida",
+      "tireSet": "Juego",
+      "tireTread": "Dibujo restante",
+      "openUntil": "Hoy abierto hasta las",
+      "opensAt": "Hoy abre a las"
+    },
+    "print": {
+      "kicker": "Tu coche",
+      "kickerMarine": "Tu barco",
+      "dateline": "{workshop}, {time}.",
+      "stepDone": "Hecho",
+      "stepNow": "Ahora",
+      "stepTodo": "Aún no",
+      "waiting": "Pendiente de ti",
+      "waitingCount": "{count, plural, one {# asunto} other {# asuntos}}",
+      "waitingOwed": "{total} por pagar en {invoices}",
+      "colWhat": "Qué",
+      "colDocument": "Documento",
+      "colDeadline": "Plazo",
+      "colAmount": "Importe",
+      "tireCar": "Coche",
+      "tireCarMarine": "Barco",
+      "tireTyre": "Neumático",
+      "tireSize": "Medida",
+      "tireSet": "Juego",
+      "tireTread": "Dibujo",
+      "portalLabel": "Portal del cliente",
+      "callWorkshop": "Llamar al taller"
+    }
+  },
+  "chat": {
+    "title": "Mensajes",
+    "label": "Mensajes con {workshop}",
+    "subtitle": "{workshop}",
+    "call": "Llamar a {workshop}",
+    "emptyTitle": "Aún no hay mensajes",
+    "emptyBody": "Escribe aquí a {workshop}. La respuesta aparece en esta conversación.",
+    "inputLabel": "Escribe un mensaje a {workshop}",
+    "placeholder": "Escribe a {workshop}",
+    "addPhoto": "Añadir una foto",
+    "send": "Enviar",
+    "photo": "Foto de {name}",
+    "you": "Tú",
+    "emptyBodyOff": "Aquí no se ha escrito nada.",
+    "video": "Vídeo de {name}",
+    "file": "Abrir el archivo",
+    "openLarge": "{what}, ver en grande",
+    "closeViewer": "Cerrar",
+    "today": "Hoy",
+    "yesterday": "Ayer",
+    "seen": "Visto",
+    "sending": "Enviando",
+    "retry": "Reintentar",
+    "discard": "Eliminar",
+    "earlier": "Ver anteriores",
+    "newBelow": "Mensaje nuevo",
+    "keysHint": "Intro envía el mensaje. Mayús e Intro crea una línea nueva.",
+    "off": "Este taller ha desactivado los mensajes. Puedes seguir leyendo lo que se escribió.",
+    "errors": {
+      "notSent": "No enviado. Revisa tu conexión.",
+      "chatOff": "No enviado. El taller ha desactivado los mensajes.",
+      "tooFast": "No enviado. Son muchos mensajes seguidos, espera un momento.",
+      "restoring": "No enviado. El taller no está disponible por un momento. Inténtalo de nuevo en unos minutos."
+    },
+    "upload": {
+      "adding": "Añadiendo {name}",
+      "remove": "Quitar {name}",
+      "tooMany": "Un mensaje admite hasta {count} fotos o vídeos. Envía estos primero.",
+      "tooLarge": "Ese archivo es demasiado grande. Se admiten fotos de hasta {photo} MB y vídeos de hasta {video} MB.",
+      "type": "Aquí solo se pueden enviar fotos y vídeos.",
+      "failed": "No se ha podido añadir un archivo. Inténtalo de nuevo."
+    },
+    "suggestions": {
+      "label": "Ideas para un primer mensaje",
+      "call": "¿Me podéis llamar?",
+      "book": "Quiero pedir cita.",
+      "invoice": "Tengo una pregunta sobre mi factura."
+    },
+    "events": {
+      "workStarted": "Hemos empezado a trabajar en tu {vehicle}",
+      "workStartedNoVehicle": "Hemos empezado con tu trabajo",
+      "update": "Novedades de {workshop}",
+      "updateAbout": "Sobre tu {vehicle}",
+      "seeUpdate": "Ver las novedades",
+      "quote": "Presupuesto",
+      "quoteLine": "Presupuesto {title}",
+      "quoteWaiting": "Presupuesto pendiente de tu respuesta",
+      "quotes": "{count} presupuestos",
+      "answerQuote": "Leer y responder",
+      "invoice": "Factura",
+      "invoiceLine": "Factura {title}",
+      "invoiceOverdue": "Factura vencida",
+      "invoices": "{count} facturas",
+      "seeInvoice": "Ver factura",
+      "jobsStarted": "Hemos empezado {count} trabajos"
+    }
+  },
+  "messagesPage": {
+    "title": "Mensajes",
+    "offTitle": "Los mensajes están desactivados",
+    "offBody": "Este taller no recibe mensajes aquí. Llama al {phone} o pide cita.",
+    "offBodyNoPhone": "Este taller no recibe mensajes aquí. Pide cita y escribe lo que necesitas."
   },
   "invoices": {
     "title": "Facturas",
-    "description": "Todas sus facturas de servicio.",
+    "description": "Las facturas de los trabajos que el taller ha terminado.",
     "noInvoices": "Aún no hay facturas.",
-    "failedToLoad": "Error al cargar las facturas.",
+    "noInvoicesHint": "Cuando el taller termine un trabajo, su factura aparecerá aquí.",
+    "failedToLoad": "No hemos podido cargar tus facturas. Inténtalo de nuevo en un momento.",
     "invoice": "Factura",
+    "invoiceNumber": "Factura {number}",
     "vehicle": "Vehículo",
     "date": "Fecha",
     "amount": "Monto",
     "payment": "Pago",
     "view": "Ver",
     "download": "Descargar",
+    "downloadPdf": "Descargar PDF",
     "downloadCertificate": "Descargar informe de inspección",
-    "paid": "pagado",
-    "partial": "parcial",
-    "unpaid": "sin pagar",
+    "paid": "Pagada",
+    "partial": "Pagada en parte",
+    "unpaid": "Sin pagar",
+    "overdue": "Vencida",
+    "toPayTitle": "Pendiente de pago",
+    "toPayCount": "{count, plural, one {en # factura} other {en # facturas}}",
+    "toPayNextDue": "Próximo vencimiento el {date}",
+    "toPayOpen": "Ver y pagar {invoice}",
+    "toPayOpenNoPay": "Abrir {invoice}",
+    "nothingToPay": "Nada por pagar",
+    "nothingToPayBody": "Todas las facturas de aquí están pagadas.",
+    "leftToPay": "Quedan {amount} por pagar",
+    "dueOn": "Vence el {date}",
     "back": "Volver a las facturas",
-    "openShared": "Abrir la copia compartida"
+    "payOnline": "Pagar en línea",
+    "summaryTotal": "Total",
+    "summaryPaid": "Pagado",
+    "summaryLeft": "Por pagar",
+    "summaryDue": "Vencimiento",
+    "summaryDate": "Fecha",
+    "fullInvoice": "La factura completa"
   },
   "quotes": {
     "title": "Presupuestos",
-    "description": "Presupuestos y estimaciones para sus vehículos.",
+    "description": "Los precios que el taller te ha enviado antes de hacer el trabajo.",
     "noQuotes": "Aún no hay presupuestos.",
-    "failedToLoad": "Error al cargar los presupuestos.",
+    "noQuotesHint": "Cuando el taller te envíe un precio por algún trabajo, aparecerá aquí.",
+    "failedToLoad": "No hemos podido cargar tus presupuestos. Inténtalo de nuevo en un momento.",
     "quote": "Presupuesto",
     "vehicle": "Vehículo",
     "status": "Estado",
     "amount": "Monto",
     "validUntil": "Válido hasta",
+    "validUntilDate": "Válido hasta el {date}",
+    "waitingTitle": "Esperan tu respuesta",
+    "waitingNone": "Ningún presupuesto espera tu respuesta.",
+    "waitingAnswer": "Leer y responder",
     "view": "Ver"
   },
   "inspections": {
     "title": "Inspecciones",
-    "description": "Informes de inspección de vehículos.",
+    "description": "Los informes de las revisiones que el taller ha hecho a tu coche.",
     "noInspections": "Aún no hay inspecciones.",
-    "failedToLoad": "Error al cargar las inspecciones.",
+    "noInspectionsHint": "Cuando el taller termine una inspección, el informe aparecerá aquí.",
+    "failedToLoad": "No hemos podido cargar tus inspecciones. Inténtalo de nuevo en un momento.",
     "vehicle": "Vehículo",
-    "template": "Lista de comprobación",
+    "template": "Inspección",
     "status": "Estado",
     "date": "Fecha",
     "summary": "Resumen",
@@ -141,31 +401,49 @@
     "poor": "{count} malo"
   },
   "vehicles": {
-    "title": "Vehículos",
-    "description": "Sus vehículos registrados.",
-    "noVehicles": "No se encontraron vehículos.",
-    "failedToLoad": "Error al cargar los vehículos.",
+    "title": "Tus coches",
+    "titleMarine": "Tus embarcaciones",
+    "description": "Los coches que el taller tiene registrados a tu nombre.",
+    "descriptionMarine": "Las embarcaciones que el taller tiene registradas a tu nombre.",
+    "noVehicles": "Aún no hay coches registrados.",
+    "noVehiclesMarine": "Aún no hay embarcaciones registradas.",
+    "noVehiclesHint": "Pide cita y cuéntanos sobre tu coche. Lo añadiremos aquí.",
+    "noVehiclesHintMarine": "Pide cita y cuéntanos sobre tu barco. Lo añadiremos aquí.",
+    "back": "Volver a mis coches",
+    "backMarine": "Volver a mis barcos",
+    "about": "Sobre este coche",
+    "aboutMarine": "Sobre este barco",
+    "failedToLoad": "No hemos podido cargar tus coches. Inténtalo de nuevo en un momento.",
+    "failedToLoadMarine": "No hemos podido cargar tus embarcaciones. Inténtalo de nuevo en un momento.",
     "plate": "Placa: {plate}",
+    "plateMarine": "Matrícula: {plate}",
     "vin": "VIN: {vin}",
+    "vinMarine": "HIN: {vin}",
     "typeKey": "HSN/TSN: {typeKey}",
-    "serviceCount": "{count, plural, one {# servicio} other {# servicios}}",
+    "distanceKm": "{value} km",
+    "distanceMi": "{value} mi",
+    "engineHours": "{value} horas de motor",
+    "serviceCount": "{count, plural, one {# visita} other {# visitas}}",
     "inspectionCount": "{count, plural, one {# inspección} other {# inspecciones}}",
-    "serviceHistory": "Historial de servicio ({count})",
+    "serviceHistory": "Historial de mantenimiento ({count})",
     "inspectionsTab": "Inspecciones ({count})",
-    "noServiceRecords": "Aún no hay registros de servicio.",
+    "noServiceRecords": "Aún no hay trabajos registrados.",
     "noInspections": "Aún no hay inspecciones.",
-    "vehicleNotFound": "Vehículo no encontrado.",
+    "vehicleNotFound": "No encontramos este vehículo.",
     "completed": "Completado el {date}",
     "good": "{count} bueno",
     "fair": "{count} regular",
     "poor": "{count} malo",
     "view": "Ver",
-    "serviceHistoryTitle": "Historial de servicio",
-    "inspectionsTitle": "Inspecciones",
-    "columnVehicle": "Vehículo",
+    "columnVehicle": "Coche",
+    "columnVehicleMarine": "Embarcación",
     "columnPlate": "Matrícula",
-    "columnServices": "Servicios",
+    "columnPlateMarine": "Matrícula",
+    "columnServices": "Visitas",
     "columnInspections": "Inspecciones",
+    "warrantyActive": "Garantía vigente",
+    "warrantyExpiring": "La garantía vence pronto",
+    "warrantyExpired": "Garantía vencida",
     "reportSold": "Ya no tengo este vehículo",
     "reportSoldHint": "Avisaremos al taller para que deje de enviarte recordatorios sobre él. Tu historial se mantiene.",
     "reportSoldConfirm": "Sí, avisar al taller",
@@ -174,36 +452,99 @@
     "reportSoldFailed": "No se pudo enviar ahora",
     "reportSoldAlready": "Has indicado al taller que este vehículo ya no es tuyo."
   },
-  "requestService": {
-    "title": "Solicitar servicio",
-    "description": "Envíe una solicitud de servicio para uno de sus vehículos.",
-    "newServiceRequest": "Nueva solicitud de servicio",
-    "formDescription": "Describa el problema y nos pondremos en contacto con usted.",
-    "vehicleLabel": "Vehículo",
-    "vehiclePlaceholder": "Seleccione un vehículo",
-    "descriptionLabel": "Describa el problema",
-    "descriptionPlaceholder": "¿Qué está pasando con su vehículo?",
-    "preferredDate": "Fecha preferida",
-    "preferredDateOptional": "(opcional)",
-    "submitRequest": "Enviar solicitud",
-    "selectVehicle": "Por favor seleccione un vehículo",
-    "describeIssue": "Por favor describa el problema",
-    "submitSuccess": "Solicitud de servicio enviada",
-    "submitError": "Error al enviar la solicitud",
-    "noVehicles": "No tiene vehículos registrados. Por favor contáctenos para agregar un vehículo primero.",
-    "yourRequests": "Sus solicitudes de servicio",
-    "failedToLoad": "Error al cargar los datos.",
-    "staffNotes": "Notas del personal: {notes}",
-    "preferred": "Preferido: {date}",
-    "notListedOption": "Mi vehículo no está en la lista",
-    "newVehicleHint": "Cuéntanos sobre el vehículo y lo añadiremos a tu perfil.",
-    "fillVehicleDetails": "Introduce la marca y el modelo del vehículo",
+  "book": {
+    "title": "Pedir cita",
+    "description": "Cuéntanos qué necesitas. Te respondemos con una hora.",
+    "descriptionMessages": "Cuéntanos qué necesitas. Te respondemos aquí en Mensajes con una hora.",
+    "failedToLoad": "No hemos podido cargar esta página. Inténtalo de nuevo en un momento.",
+    "whichVehicle": "¿Qué coche?",
+    "whichVehicleMarine": "¿Qué barco?",
+    "anotherVehicle": "Otro coche",
+    "anotherVehicleMarine": "Otro barco",
+    "inWorkshopNow": "ahora en el taller",
+    "selectVehicle": "Elige de cuál se trata",
+    "newVehicleHint": "Cuéntanos cómo es y lo añadimos a tu perfil.",
     "makeLabel": "Marca",
-    "makePlaceholder": "p. ej. Ford",
+    "makePlaceholder": "p. ej. Seat",
     "modelLabel": "Modelo",
-    "modelPlaceholder": "p. ej. Kuga",
+    "modelPlaceholder": "p. ej. León",
     "yearLabel": "Año",
-    "plateLabel": "Matrícula"
+    "plateLabel": "Matrícula",
+    "plateLabelMarine": "Matrícula",
+    "fillMake": "Escribe la marca",
+    "fillModel": "Escribe el modelo",
+    "invalidYear": "Escribe un año entre {min} y {max}",
+    "optional": "(opcional)",
+    "whatNeeded": "¿Qué necesitas?",
+    "topics": {
+      "service": "Mantenimiento",
+      "inspection": "Inspección",
+      "tires": "Cambio de neumáticos",
+      "brakes": "Frenos",
+      "problem": "Algo no va bien"
+    },
+    "descriptionLabel": "Descríbelo con tus palabras",
+    "descriptionPlaceholder": "Por ejemplo: un golpeteo delante a la izquierda en los baches, peor con el coche en frío",
+    "descriptionPlaceholderMarine": "Por ejemplo: al motor le cuesta arrancar en frío",
+    "describeIssue": "Elige arriba lo que necesitas o cuéntanoslo en pocas palabras",
+    "filesLabel": "Fotos o un vídeo corto",
+    "filesCount": "{count} de {max} añadidos",
+    "filesLimits": "fotos de hasta {photo} MB, vídeo de hasta {video} MB",
+    "filesAdd": "Añadir fotos o vídeo",
+    "filesDrop": "Suelta los archivos aquí o elígelos en este ordenador",
+    "filesCamera": "Hacer una foto",
+    "filesTooMany": "Puedes añadir hasta {max} archivos. Quita uno para añadir otro.",
+    "filesStillUploading": "Espera a que terminen de subirse tus archivos y luego envía.",
+    "filesFailed": "Un archivo no se ha subido. Vuelve a intentarlo o quítalo, y luego envía.",
+    "fileUploading": "Subiendo {name}",
+    "fileReady": "{name}, añadido",
+    "fileRemove": "Quitar {name}",
+    "fileRetry": "Reintentar",
+    "fileType": "{name} no es una foto ni un vídeo que podamos aceptar.",
+    "fileEmpty": "{name} está vacío.",
+    "fileTooLarge": "{name} es demasiado grande.",
+    "fileTooMany": "Son muchos archivos a la vez. Espera unos minutos y vuelve a intentarlo.",
+    "fileSignedOut": "Se ha cerrado tu sesión. Vuelve a entrar para añadir archivos.",
+    "fileNetwork": "Se cortó la conexión durante la subida.",
+    "fileFailed": "Ese archivo no se ha subido.",
+    "dayLabel": "Día que te venga bien",
+    "pastDate": "Elige hoy o un día posterior",
+    "timeLabel": "Momento del día",
+    "timeHint": "Elige primero un día y luego el momento que te venga bien.",
+    "time": {
+      "any": "Cualquier hora",
+      "morning": "Mañana",
+      "afternoon": "Tarde"
+    },
+    "timeLower": {
+      "morning": "por la mañana",
+      "afternoon": "por la tarde"
+    },
+    "closedDaysHint": "Cerrado estos días:",
+    "send": "Enviar a {workshop}",
+    "sendHint": "No hay nada reservado hasta que el taller confirme una hora.",
+    "submitError": "No hemos podido enviarlo ahora. Inténtalo de nuevo en un momento.",
+    "sentTitle": "Enviado a {workshop}",
+    "sentBody": "El taller lee tu solicitud y revisa lo que has enviado. La respuesta llega a Mensajes, con una hora.",
+    "sentBodyNoMessages": "El taller lee tu solicitud y revisa lo que has enviado, y luego te responde con una hora. Puedes seguirlo en esta página.",
+    "sentMessages": "Ir a Mensajes",
+    "sentHome": "Volver al inicio",
+    "sentAnother": "Pedir otra cosa",
+    "nextTitle": "Qué pasa ahora",
+    "nextRead": "Leemos tu solicitud y miramos tus fotos.",
+    "nextAnswerMessages": "Te respondemos en Mensajes con una hora y, si hace falta, un presupuesto.",
+    "nextAnswer": "Te respondemos con una hora y, si hace falta, un presupuesto.",
+    "nextVisit": "La cita aparece en tu página de inicio con el día y la hora.",
+    "talkTitle": "¿Prefieres hablar?",
+    "talkCall": "Llamar al {phone}",
+    "yourRequests": "Lo que has pedido",
+    "sentOn": "Enviado el {date}",
+    "preferred": "Preferido: {date}",
+    "staffNotes": "Nota del taller: {notes}",
+    "requestFiles": "{count, plural, one {# archivo que enviaste} other {# archivos que enviaste}}",
+    "requestPhoto": "Abrir la foto",
+    "requestVideo": "Abrir el vídeo",
+    "requestFileMissing": "Esta foto ya no está disponible"
   },
   "booking": {
     "title": "Reserva tu inspección",
@@ -248,6 +589,51 @@
     "confirmationBody": "Tu {vehicle} está reservado para {when} en {workshop}. ¿Necesitas cambiarlo? Usa el enlace de nuestro mensaje anterior o llama al {phone}.",
     "confirmationBodyRequest": "Gracias, {workshop} ha recibido tu solicitud para {when} para tu {vehicle} y la confirmará en breve. ¿Dudas? Llama al {phone}."
   },
+  "quoteDetail": {
+    "back": "Volver a los presupuestos",
+    "title": "Presupuesto",
+    "answerLabel": "Tu respuesta",
+    "failedToLoad": "No hemos podido cargar este presupuesto.",
+    "total": "Total",
+    "number": "Número de presupuesto",
+    "date": "Fecha",
+    "validUntil": "Válido hasta",
+    "vehicle": "Vehículo",
+    "fullQuote": "El presupuesto completo",
+    "answerTitle": "El taller espera tu respuesta",
+    "accept": "Aceptar presupuesto",
+    "askChanges": "Pedir cambios",
+    "confirmAcceptTitle": "¿Aceptar este presupuesto?",
+    "confirmAcceptBody": "Avisaremos al taller de que quieres que haga el trabajo a este precio.",
+    "confirmAcceptYes": "Sí, aceptar",
+    "cancel": "Cancelar",
+    "changesLabel": "¿Qué te gustaría cambiar?",
+    "changesPlaceholder": "Por ejemplo: sin las escobillas del limpiaparabrisas",
+    "sendChanges": "Enviar al taller",
+    "answerFailed": "No hemos podido enviar tu respuesta. Vuelve a intentarlo.",
+    "acceptedTitle": "Has aceptado este presupuesto",
+    "acceptedBody": "El taller ya lo sabe y se pondrá en contacto contigo.",
+    "changesTitle": "Has pedido cambios",
+    "changesBody": "El taller ya lo sabe y te enviará un presupuesto actualizado."
+  },
+  "inspectionDetail": {
+    "back": "Volver a las inspecciones",
+    "title": "Inspección",
+    "about": "Sobre esta inspección",
+    "failedToLoad": "No hemos podido cargar esta inspección.",
+    "vehicle": "Vehículo",
+    "vessel": "Embarcación",
+    "doneOn": "Hecha el",
+    "startedOn": "Empezada el",
+    "odometer": "Kilometraje",
+    "engineHours": "Horas de motor",
+    "nextDue": "Próxima inspección",
+    "certificateNumber": "Número de certificado",
+    "stillWorking": "El taller aún está con esta inspección. Los resultados pueden cambiar.",
+    "openShared": "Ver las fotos y descargar el informe",
+    "noResults": "Aún no hay resultados.",
+    "notes": "Notas del taller"
+  },
   "status": {
     "job": {
       "pending": "Reservado",
@@ -257,7 +643,7 @@
       "completed": "Completado"
     },
     "request": {
-      "pending": "Pendiente",
+      "pending": "Esperando respuesta",
       "converted": "Reservada",
       "dismissed": "Cerrada",
       "cancelled": "Cancelada"

+ 106 - 53
messages/es/settings.json

@@ -977,6 +977,11 @@
     "paymentReceivedDescription": "Se envía cuando se registra un pago para una factura.",
     "saveSmsTemplates": "Guardar plantillas SMS",
     "smsTemplateSaved": "Configuración de plantillas SMS guardada",
+    "layoutTitle": "Disposición de factura",
+    "layoutDescription": "Personaliza el orden y la visibilidad de las secciones en tus facturas y presupuestos.",
+    "layoutSaved": "Disposición guardada correctamente",
+    "layoutDocInvoice": "Factura",
+    "layoutDocQuote": "Presupuesto",
     "smsDefaults": {
       "invoiceReady": "La factura de {company_name} está lista. Véala aquí: {share_link}\nSaludos {company_name} - {current_user}",
       "quoteReady": "Su presupuesto está listo para revisión. Véalo aquí: {share_link}",
@@ -997,11 +1002,6 @@
       "rose": "Rosa",
       "indigo": "Índigo"
     },
-    "layoutTitle": "Disposición de factura",
-    "layoutDescription": "Personaliza el orden y la visibilidad de las secciones en tus facturas y presupuestos.",
-    "layoutSaved": "Disposición guardada correctamente",
-    "layoutDocInvoice": "Factura",
-    "layoutDocQuote": "Presupuesto",
     "goToLayout": "Diseño y secciones",
     "openDesigner": "Abrir el diseñador",
     "designerIntro": "Elige un punto de partida y abre el diseñador para cambiar lo que quieras.",
@@ -1699,55 +1699,108 @@
   },
   "portal": {
     "title": "Portal del cliente",
-    "description": "Permita a sus clientes iniciar sesión y ver sus vehículos, facturas, cotizaciones e inspecciones. Los clientes también pueden enviar solicitudes de servicio.",
-    "enablePortal": "Habilitar portal del cliente",
-    "enablePortalHint": "Los clientes con dirección de correo electrónico pueden iniciar sesión con enlace magico",
-    "enabled": "Portal del cliente habilitado",
-    "disabled": "Portal del cliente deshabilitado",
-    "failedUpdate": "Error al actualizar la configuración",
-    "customSlug": "Slug personalizado del portal",
-    "save": "Guardar",
-    "slugSaved": "Slug del portal guardado",
-    "slugRemoved": "Slug del portal eliminado",
-    "failedUpdateSlug": "Error al actualizar el slug",
-    "slugHint": "Letras minúsculas, números, guiones y guiones bajos. 3-48 caracteres. Dejar vacío para usar la URL predeterminada.",
-    "portalUrl": "URL del portal",
-    "urlCopied": "URL del portal copiada",
-    "shareHint": "Comparta este enlace con sus clientes para que puedan iniciar sesión en su portal.",
+    "description": "Tus clientes inician sesión para seguir su trabajo, responder presupuestos, pagar facturas, pedir cita y escribirte.",
+    "enablePortal": "Activar el portal del cliente",
+    "enablePortalHint": "Los clientes inician sesión con un enlace que reciben en su correo o su teléfono. No hay contraseña que recordar.",
+    "failedUpdate": "No se han podido guardar los ajustes",
+    "customSlug": "Dirección del portal",
+    "slugHint": "Minúsculas, números, guiones y guiones bajos, de 3 a 48 caracteres. Déjalo vacío para usar la dirección predeterminada.",
+    "portalUrl": "Enlace a tu portal",
+    "urlCopied": "Enlace copiado",
+    "shareHint": "Comparte este enlace con tus clientes para que puedan iniciar sesión.",
     "serviceRequestAlertsHint": "Las solicitudes de servicio del portal siempre aparecen en tu campana de notificaciones. También puedes recibirlas por correo.",
-    "serviceRequestAlertsLink": "Ajustes de avisos →",
+    "serviceRequestAlertsLink": "Ajustes de avisos",
     "descriptionLabel": "Sobre tu taller",
     "descriptionPlaceholder": "Cuenta a tus clientes algo sobre tu taller, los servicios que ofreces y lo que te hace único.",
-    "descriptionHint": "Se muestra a los visitantes en la parte superior de la página de tu portal.",
-    "hoursLabel": "Horario de apertura",
-    "hoursPlaceholder": "Lun-Vie: 8:00-17:00\nSab: 9:00-13:00\nDom: Cerrado",
-    "hoursHint": "Texto libre. Usa saltos de línea para listar cada día por separado.",
-    "contentSaved": "Contenido del portal guardado",
-    "background": {
-      "title": "Fondo del portal",
-      "description": "Elige cómo se ve la página de inicio del portal de clientes.",
-      "typeNone": "Ninguno",
-      "typeTemplate": "Plantilla",
-      "typeImage": "Imagen personalizada",
-      "chooseTemplate": "Elige una plantilla",
-      "uploadLabel": "Imagen de fondo",
-      "upload": "Subir imagen",
-      "replace": "Reemplazar imagen",
-      "remove": "Eliminar",
-      "uploadHint": "JPG, PNG o WebP. Máx. 8 MB. Recomendado al menos 1600×900.",
-      "uploading": "Subiendo fondo…",
-      "uploaded": "Fondo actualizado",
-      "uploadFailed": "Error al subir el fondo",
-      "templateNames": {
-        "default": "Sutil",
-        "sunrise": "Amanecer",
-        "ocean": "Océano",
-        "forest": "Bosque",
-        "slate": "Pizarra",
-        "sand": "Arena"
+    "descriptionHint": "Se muestra en la página de inicio de sesión de tu portal.",
+    "copyUrl": "Copiar el enlace"
+  },
+  "customerPortal": {
+    "slugPlaceholder": "mi-taller",
+    "slugUnsaved": "Esta dirección funcionará cuando guardes.",
+    "slugInvalid": "Usa de 3 a 48 minúsculas, números, guiones o guiones bajos, empezando y terminando con una letra o un número.",
+    "slugReserved": "Esa palabra está reservada. Elige otra dirección.",
+    "slugTaken": "Otro taller ya usa esa dirección. Elige otra.",
+    "hours": {
+      "title": "Horario",
+      "fromCalendar": "El portal muestra el horario y los días de cierre del calendario de tu taller.",
+      "link": "Ajustes del horario",
+      "typedNote": "Tu página de inicio de sesión aún muestra el horario que se escribió aquí antes, porque todavía no hay horario en el calendario. Configúralo allí y el portal mostrará ese.",
+      "typedLabel": "Se muestra hoy en la página de inicio de sesión"
+    },
+    "look": {
+      "title": "Aspecto de tu portal del cliente",
+      "description": "Una sola elección define la página de inicio de sesión y todas las páginas que tus clientes ven después. Los clientes no pueden cambiarla."
+    },
+    "theme": {
+      "legend": "Tema",
+      "daylight": {
+        "name": "Daylight",
+        "tagline": "Claro y tranquilo"
+      },
+      "garage": {
+        "name": "Garage",
+        "tagline": "Pizarra de boxes, oscura"
+      },
+      "print": {
+        "name": "Print",
+        "tagline": "Editorial y sobrio"
+      },
+      "colour": {
+        "name": "Colour",
+        "tagline": "Tu color, en grande"
       }
     },
-    "copyUrl": "Copiar URL del portal"
+    "colour": {
+      "title": "Tu color",
+      "description": "Se usa en botones y resaltados en todos los temas.",
+      "swatches": "Colores sugeridos",
+      "orange": "Naranja",
+      "blue": "Azul",
+      "green": "Verde",
+      "red": "Rojo",
+      "black": "Negro",
+      "hexLabel": "Color en código hexadecimal",
+      "invalid": "Eso no es un color. Escríbelo en código hexadecimal, como #1D4ED8.",
+      "usingTheme": "Se usa el color que trae {theme}, {hex}.",
+      "themeColour": "El color que trae {theme} es {hex}.",
+      "useTheme": "Usar el color del tema",
+      "sample": "Pedir cita",
+      "inkLight": "El texto sobre este color se muestra en blanco para que se lea bien.",
+      "inkDark": "El texto sobre este color se muestra en negro para que se lea bien.",
+      "faint": "Este color se ve poco sobre el fondo de {theme}. Los enlaces y resaltados pueden costar de ver."
+    },
+    "cover": {
+      "title": "Foto de portada y logo",
+      "description": "Se muestran en la página de inicio de sesión. Tu logo viene de los ajustes de la empresa.",
+      "companyLink": "Ajustes de la empresa",
+      "hint": "PNG, JPEG o WebP, hasta 8 MB.",
+      "none": "Sin foto de portada",
+      "alt": "La foto de portada de la página de inicio de sesión",
+      "upload": "Subir una foto",
+      "replace": "Cambiar la foto",
+      "remove": "Quitar la foto",
+      "uploading": "Subiendo",
+      "uploadFailed": "No se ha podido subir la foto"
+    },
+    "features": {
+      "title": "Qué ven los clientes",
+      "description": "Las partes del portal que puedes desactivar.",
+      "messages": "Mensajes en el portal",
+      "messagesHint": "Los clientes te escriben desde el portal. Sus mensajes llegan a tu bandeja de Mensajes.",
+      "tires": "Mostrar neumáticos guardados",
+      "tiresHint": "Los clientes ven los neumáticos que les guardas, con la profundidad del dibujo."
+    },
+    "bar": {
+      "label": "Guardar los ajustes del portal del cliente",
+      "unsaved": "Tienes cambios sin guardar",
+      "saved": "Todo guardado",
+      "discard": "Descartar cambios",
+      "save": "Guardar cambios",
+      "open": "Abrir el portal como cliente",
+      "openOff": "Activa el portal y guarda para abrirlo."
+    },
+    "savedToast": "Ajustes del portal del cliente guardados"
   },
   "email": {
     "title": "Proveedor de correo",
@@ -1989,13 +2042,13 @@
     "noMembers": "No se encontraron miembros del equipo",
     "addRecipient": "Agregar destinatario...",
     "searchMembers": "Buscar miembros...",
-    "sendNow": "Enviar ahora",
-    "sentNow": "Informe enviado correctamente",
     "newSchedule": "Nuevo programa",
     "editSchedule": "Editar programa",
     "edit": "Editar",
     "cancel": "Cancelar",
     "sent": "enviados",
+    "sendNow": "Enviar ahora",
+    "sentNow": "Informe enviado correctamente",
     "emptyTitle": "Sin informes programados",
     "emptyDescription": "Cree un programa para generar y enviar informes automáticamente a su equipo.",
     "sectionLabels": {
@@ -2847,9 +2900,9 @@
       "uploading": "Subiendo…",
       "width": "Ancho del logotipo",
       "hint": "Independiente del logotipo de la empresa. Al subirlo se recorta y se prepara para el correo. PNG, JPEG o WebP de hasta 4 MB.",
-      "position": "Posición",
       "tooLarge": "La imagen debe pesar menos de 4 MB",
-      "uploadFailed": "No se pudo subir el logotipo"
+      "uploadFailed": "No se pudo subir el logotipo",
+      "position": "Posición"
     },
     "image": {
       "empty": "No hay ninguna imagen subida. El bloque no imprime nada hasta que haya una.",

+ 3 - 0
messages/fr/audit.json

@@ -81,6 +81,7 @@
     "settings_updateInvoiceLayout": "Mise en page de facture mise à jour",
     "settings_updateQuoteLayout": "Mise en page de devis mise à jour",
     "settings_updatePortalSlug": "URL du portail mise à jour",
+    "settings_updateCustomerPortal": "Paramètres du portail client mis à jour",
     "inspectionTemplate_create": "Liste de contrôle créée",
     "inspectionTemplate_update": "Liste de contrôle mise à jour",
     "inspectionTemplate_delete": "Liste de contrôle supprimée",
@@ -102,6 +103,7 @@
     "statusReport_create": "Rapport d'état créé",
     "statusReport_send": "Rapport d'état envoyé",
     "statusReport_delete": "Rapport d'état supprimé",
+    "portal_send": "Message du portail envoyé",
     "telegram_send": "Message Telegram envoyé",
     "webhook_create": "Webhook créé",
     "webhook_update": "Webhook mis à jour",
@@ -306,6 +308,7 @@
     "technician_create": "Technicien « {name} » créé",
     "technician_delete": "Technicien {id} supprimé",
     "technician_update": "Technicien {id} mis à jour",
+    "portal_send": "Message envoyé à {name} dans le portail client",
     "telegram_send": "Message Telegram envoyé à {name}",
     "tire_location_bulk_create": "{count, plural, one {# emplacement de stockage pneus créé} other {# emplacements de stockage pneus créés}}",
     "tire_location_create": "Emplacement de stockage pneus {code} créé",

+ 6 - 0
messages/fr/customers.json

@@ -120,6 +120,12 @@
     "saveNotes": "Enregistrer les notes",
     "submitted": "Soumis le {date}",
     "preferred": "Préféré : {date}",
+    "preferredMorning": "Préféré : {date}, le matin",
+    "preferredAfternoon": "Préféré : {date}, l'après-midi",
+    "files": "{count, plural, one {# photo ou vidéo du client} other {# photos ou vidéos du client}}",
+    "openPhoto": "Ouvrir la photo {number}",
+    "openVideo": "Ouvrir la vidéo {number}",
+    "fileMissing": "La photo {number} n'est plus disponible",
     "workOrderCreated": "Ordre de travail créé",
     "workOrderError": "Échec de la création de l'ordre de travail",
     "requestDismissed": "Demande rejetée",

+ 23 - 0
messages/fr/messaging.json

@@ -51,5 +51,28 @@
       "noMatches": "Aucun client ne correspond à votre recherche.",
       "noRecipients": "Aucun client avec une adresse e-mail pour l'instant."
     }
+  },
+  "portal": {
+    "badge": "Portail",
+    "empty": "{name} n'a pas encore écrit dans le portail.",
+    "placeholder": "Écrire à {name} dans le portail",
+    "send": "Envoyer le message",
+    "sendFailed": "Impossible d'envoyer le message",
+    "sendHint": "Entrée envoie, Maj+Entrée passe à la ligne. {name} le verra à sa prochaine visite sur le portail.",
+    "loadOlder": "Charger les messages précédents",
+    "loadFailed": "Impossible de charger la conversation.",
+    "tryAgain": "Réessayer",
+    "addPhoto": "Ajouter une photo",
+    "removePhoto": "Retirer {name}",
+    "uploadFailed": "La photo n'a pas pu être ajoutée. Les photos jusqu'à {size} Mo sont acceptées.",
+    "tooManyPhotos": "Un message peut contenir jusqu'à {count} photos.",
+    "photoFrom": "Photo de {name}",
+    "videoFrom": "Vidéo de {name}",
+    "openFile": "Ouvrir le fichier",
+    "you": "Vous",
+    "seen": "Vu",
+    "off": "Les messages du portail client sont désactivés : cette conversation peut être lue, mais pas recevoir de réponse.",
+    "offSettings": "Paramètres du portail client",
+    "deleteDescription": "Supprime toute la conversation avec {name}, pour cette personne aussi : elle disparaît de son portail."
   }
 }

+ 486 - 100
messages/fr/portal.json

@@ -12,28 +12,42 @@
     "description": "Veuillez utiliser le lien direct fourni par votre garage pour accéder au portail client.",
     "hint": "Votre garage vous communiquera le lien du portail par e-mail ou SMS."
   },
-  "landing": {
-    "contactTitle": "Nous contacter",
-    "aboutTitle": "À propos",
-    "noContactInfo": "Les coordonnées ne sont pas encore disponibles.",
-    "address": "Adresse",
-    "phone": "Téléphone",
-    "email": "E-mail",
-    "hours": "Horaires d'ouverture",
-    "directions": "Itinéraire"
+  "signIn": {
+    "eyebrow": "Pour nos clients",
+    "heading": "Votre voiture, vos factures et vos messages, au même endroit.",
+    "headingMarine": "Votre bateau, vos factures et vos messages, au même endroit.",
+    "headingNoMessages": "Votre voiture, vos factures et vos devis, au même endroit.",
+    "headingNoMessagesMarine": "Votre bateau, vos factures et vos devis, au même endroit.",
+    "confirmEyebrow": "Presque fini",
+    "hoursTitle": "Horaires d'ouverture",
+    "findUs": "Nous trouver",
+    "callUs": "Nous appeler",
+    "directions": "Itinéraire",
+    "dayRange": "{from} au {to}",
+    "timeRange": "{start} à {end}",
+    "closed": "fermé"
   },
   "login": {
-    "signInTitle": "Connexion client",
-    "signInSubtitle": "Connectez-vous pour consulter vos factures, devis et historique d'entretien.",
-    "emailLabel": "Adresse e-mail",
+    "emailLabel": "Votre adresse e-mail",
     "emailPlaceholder": "vous@exemple.com",
-    "sendLink": "Envoyer le lien de connexion",
+    "sendLink": "Recevoir un lien de connexion",
     "checkEmail": "Vérifiez votre e-mail",
     "checkEmailDescription": "Si un compte existe pour cet e-mail, nous avons envoyé un lien de connexion. Le lien expire dans 15 minutes.",
     "tryDifferentEmail": "Essayer une autre adresse e-mail",
+    "requestFailed": "L'envoi n'a pas abouti. Vérifiez votre connexion et réessayez.",
+    "tooManyTries": "Trop d'essais en peu de temps. Patientez une minute et réessayez.",
+    "tryAgain": "Réessayer",
+    "sendNewCode": "Envoyer un nouveau code",
+    "newCodeSent": "Nous avons envoyé un nouveau code.",
+    "errors": {
+      "invalid": "Ce lien de connexion ne fonctionne pas. Demandez-en un nouveau ci-dessous.",
+      "used": "Ce lien de connexion a déjà été utilisé. Demandez-en un nouveau ci-dessous.",
+      "expired": "Ce lien de connexion a expiré. Demandez-en un nouveau ci-dessous.",
+      "noAccount": "Nous ne trouvons pas votre compte. Demandez à l'atelier de vérifier l'adresse e-mail qu'il a pour vous."
+    },
     "tabEmail": "E-mail",
     "tabSms": "SMS",
-    "phoneLabel": "Numéro de téléphone",
+    "phoneLabel": "Votre numéro de portable",
     "phonePlaceholder": "+33 612345678",
     "phoneLocalPlaceholder": "612345678",
     "sendCode": "Envoyer le code",
@@ -48,90 +62,336 @@
     "confirmDescription": "Vous vous connectez en tant que {email}. Appuyez sur le bouton pour continuer.",
     "confirmButton": "Continuer vers la connexion",
     "notFound": "Introuvable",
-    "portalNotExist": "Ce portail n'existe pas.",
-    "portalNotAvailable": "Portail indisponible",
-    "portalNotEnabled": "Le portail client n'est pas activé pour cette organisation."
+    "portalNotExist": "Cette page n'existe pas.",
+    "portalNotAvailable": "Indisponible",
+    "portalNotEnabled": "Cet atelier ne propose pas d'accès en ligne pour le moment.",
+    "noPassword": "Pas de mot de passe. Nous vous envoyons un lien qui vous connecte.",
+    "noPasswordSms": "Pas de mot de passe. Nous vous envoyons par SMS un code qui vous connecte.",
+    "method": "Comment vous connecter"
   },
   "nav": {
-    "dashboard": "Tableau de bord",
-    "vehicles": "Véhicules",
+    "label": "Principal",
+    "skip": "Aller au contenu",
+    "home": "Accueil",
+    "messages": "Messages",
+    "book": "Réserver",
+    "bookLong": "Prendre rendez-vous",
+    "cars": "Mes voitures",
+    "carsMarine": "Mes bateaux",
+    "papers": "Documents",
+    "papersLong": "Factures et devis",
+    "unread": "{count, plural, one {# message non lu} other {# messages non lus}}",
+    "documents": "Documents",
     "invoices": "Factures",
     "quotes": "Devis",
-    "inspections": "Inspections",
-    "requestService": "Demander un service"
+    "inspections": "Inspections"
   },
   "header": {
-    "signOut": "Se déconnecter",
-    "askShort": "Service"
+    "homeLink": "{name}, accueil",
+    "account": "Votre compte, {name}",
+    "signedInAs": "Connecté en tant que",
+    "signOut": "Se déconnecter"
+  },
+  "hoursLine": {
+    "openUntil": "Ouvert jusqu'à {time}",
+    "opensAt": "Ouvre à {time}",
+    "closedNow": "Fermé pour aujourd'hui",
+    "closedToday": "Fermé aujourd'hui"
+  },
+  "format": {
+    "today": "aujourd'hui",
+    "tomorrow": "demain"
   },
   "shell": {
     "notFound": "Introuvable",
-    "portalNotExist": "Ce portail n'existe pas.",
-    "portalNotAvailable": "Portail indisponible",
-    "portalNotEnabled": "Le portail client n'est pas activé pour cette organisation."
+    "portalNotExist": "Cette page n'existe pas.",
+    "portalNotAvailable": "Indisponible",
+    "portalNotEnabled": "Cet atelier n'a pas encore ouvert son espace client.",
+    "callWorkshop": "Appeler le {phone}",
+    "openMap": "Ouvrir {address} dans une carte",
+    "errorTitle": "Un problème est survenu",
+    "errorBody": "Impossible d'afficher cette page. Réessayez ou revenez à votre page d'accueil.",
+    "tryAgain": "Réessayer",
+    "pageNotFoundTitle": "Page introuvable",
+    "pageNotFoundBody": "Le lien est peut-être ancien, ou la page a été supprimée.",
+    "backHome": "Retour à l'accueil"
   },
-  "dashboard": {
-    "welcome": "Bienvenue, {name}",
-    "overview": "Voici un aperçu de votre compte.",
-    "vehicles": "Véhicules",
-    "openInvoices": "Factures ouvertes",
-    "pendingQuotes": "Devis en attente",
-    "recentInvoices": "Factures récentes",
-    "recentQuotes": "Devis récents",
-    "pendingServiceRequests": "Demandes de service en attente",
-    "viewAll": "Tout afficher",
-    "newRequest": "Nouvelle demande",
-    "noInvoicesYet": "Aucune facture pour l'instant.",
-    "noQuotesYet": "Aucun devis pour l'instant.",
-    "view": "Voir",
-    "pending": "En attente",
-    "failedToLoad": "Échec du chargement du tableau de bord.",
-    "quickRequestService": "Demander un service",
-    "quickRequestServiceHint": "Réserver une réparation ou un contrôle",
-    "quickViewInvoices": "Vos factures",
-    "quickViewInvoicesHint": "Factures et historique des paiements",
-    "quickViewVehicles": "Vos véhicules",
-    "quickViewVehiclesHint": "Historique d'entretien et détails",
-    "activeJobs": "Travaux en cours"
+  "home": {
+    "failedToLoad": "Impossible de charger votre page. Réessayez dans un instant.",
+    "heroWorkingPromised": "Bonjour {name}. Votre voiture est à l'atelier, prête {day} vers {time}.",
+    "heroWorkingPromisedMarine": "Bonjour {name}. Votre bateau est à l'atelier, prêt {day} vers {time}.",
+    "heroWorking": "Bonjour {name}. Votre voiture est à l'atelier.",
+    "heroWorkingMarine": "Bonjour {name}. Votre bateau est à l'atelier.",
+    "heroReady": "Bonjour {name}. Votre voiture est prête à être récupérée.",
+    "heroReadyMarine": "Bonjour {name}. Votre bateau est prêt à être récupéré.",
+    "heroBookedAt": "Bonjour {name}. Nous attendons votre voiture {day} à {time}.",
+    "heroBookedAtMarine": "Bonjour {name}. Nous attendons votre bateau {day} à {time}.",
+    "heroBooked": "Bonjour {name}. Votre rendez-vous est réservé.",
+    "heroNothing": "Bonjour {name}. Rien à l'atelier pour le moment.",
+    "heroNothingBody": "Prenez rendez-vous quand votre voiture a besoin de nous. Vous suivez les travaux ici, étape par étape.",
+    "heroNothingBodyMarine": "Prenez rendez-vous quand votre bateau a besoin de nous. Vous suivez les travaux ici, étape par étape.",
+    "stepsLabel": "Avancement des travaux",
+    "stepBooked": "Réservé",
+    "stepCheckedIn": "Réceptionné",
+    "stepWorking": "À l'atelier",
+    "stepReady": "Prêt à récupérer",
+    "latestUpdate": "Dernières nouvelles de l'atelier · {when}",
+    "updateFallback": "Le garage a partagé des nouvelles des travaux.",
+    "seeUpdate": "Voir les photos et la vidéo",
+    "otherJobs": "Également réservé ou en cours",
+    "jobBookedFor": "Réservé pour {day} à {time}",
+    "jobReadyAround": "Prêt {day} vers {time}",
+    "needsAnswer": "Attend votre réponse",
+    "validUntil": "Valable jusqu'au {day}",
+    "quoteNumber": "Devis {number}",
+    "quote": "Devis",
+    "readQuote": "Lire le devis",
+    "moreQuotes": "{count, plural, one {# autre devis attend votre réponse} other {# autres devis attendent votre réponse}}",
+    "toPay": "À payer",
+    "due": "Échéance le {day}",
+    "overdueSince": "En retard depuis le {day}",
+    "invoiceNumber": "Facture {number}",
+    "invoice": "Facture",
+    "payNow": "Payer maintenant",
+    "seeInvoice": "Voir la facture",
+    "moreInvoices": "{count, plural, one {# autre facture à payer} other {# autres factures à payer}}, {total} au total",
+    "paidSoFar": "{paid} sur {total} payés",
+    "toPayCount": "{count, plural, one {# facture} other {# factures}}",
+    "toPayOverdueCount": "{count} en retard",
+    "toPayMostUrgent": "La plus urgente",
+    "toPayNext": "Prochaine à payer",
+    "seeAllInvoices": "Voir les {count} factures",
+    "nextStep": "Ensuite",
+    "nextStepWorking": "Nous réceptionnons la voiture et commençons les travaux.",
+    "nextStepWorkingMarine": "Nous réceptionnons le bateau et commençons les travaux.",
+    "nextStepReady": "Vous recevrez un message ici dès qu'il sera prêt à récupérer.",
+    "nextStepReadyNoChat": "Nous vous prévenons dès qu'il est prêt à récupérer.",
+    "nextStepCollect": "Passez quand cela vous arrange.",
+    "tires": "Gardiennage de pneus",
+    "tiresStoredSummer": "Pneus été stockés chez nous",
+    "tiresStoredWinter": "Pneus hiver stockés chez nous",
+    "tiresStoredAllSeason": "Pneus quatre saisons stockés chez nous",
+    "tiresStoredOther": "Pneus stockés chez nous",
+    "tiresSeasonSummer": "Pneus été",
+    "tiresSeasonWinter": "Pneus hiver",
+    "tiresSeasonAllSeason": "Pneus quatre saisons",
+    "tiresSeasonOther": "Pneus",
+    "tiresStudded": "cloutés",
+    "tiresOnRims": "sur jantes",
+    "tiresStoredSince": "stockés depuis le {day}",
+    "tiresTreadLeft": "gomme restante",
+    "tiresTreadLine": "{depth} de gomme restante",
+    "tiresNotMeasured": "Profondeur pas encore mesurée",
+    "tiresCount": "{count, plural, one {# pneu} other {# pneus}}",
+    "cars": "Mes voitures",
+    "carsMarine": "Mes bateaux",
+    "carVisits": "{count, plural, =0 {aucune visite pour l'instant} one {# visite} other {# visites}}",
+    "carInWorkshop": "À l'atelier",
+    "carWarrantyActive": "garantie active",
+    "carWarrantyExpiring": "garantie bientôt terminée",
+    "carsEmptyTitle": "Aucune voiture enregistrée pour l'instant",
+    "carsEmptyTitleMarine": "Aucun bateau enregistré pour l'instant",
+    "carsEmptyBody": "Quand le garage enregistre votre voiture, son historique s'affiche ici.",
+    "carsEmptyBodyMarine": "Quand le garage enregistre votre bateau, son historique s'affiche ici.",
+    "nextVisit": "Prochain rendez-vous",
+    "visitWhen": "{day}, {time}",
+    "directions": "Itinéraire",
+    "nextVisitEmptyTitle": "Aucun rendez-vous",
+    "nextVisitEmptyBody": "Choisissez un jour qui vous convient et dites-nous ce dont la voiture a besoin.",
+    "nextVisitEmptyBodyMarine": "Choisissez un jour qui vous convient et dites-nous ce dont le bateau a besoin.",
+    "bookVisit": "Prendre rendez-vous",
+    "requests": "Envoyé au garage",
+    "requestSent": "Envoyé le {day}",
+    "requestWaiting": "En attente de réponse",
+    "requestWishedDay": "souhaité le {day}",
+    "messagesLabel": "Messages avec {workshop}",
+    "messagePreviewFrom": "{name} :",
+    "messagePreviewYou": "Vous :",
+    "messagePreviewPhoto": "Photo",
+    "messagePreviewEmpty": "Écrire à {workshop}",
+    "messagePreviewOpen": "Ouvrir vos messages avec {workshop}"
+  },
+  "themes": {
+    "colour": {
+      "stepNow": "En cours",
+      "storedSince": "Stockés depuis le"
+    },
+    "garage": {
+      "readyAround": "Prêt {day} vers",
+      "expectedAt": "Attendu {day} à",
+      "stepDone": "Fait",
+      "stepNow": "En cours",
+      "stepNotYet": "Pas encore",
+      "stepNotYetAround": "Pas encore, vers {time}",
+      "tireCar": "Voiture",
+      "tireCarMarine": "Bateau",
+      "tireMake": "Pneus",
+      "tireSize": "Dimension",
+      "tireSet": "Train",
+      "tireTread": "Gomme restante",
+      "openUntil": "Ouvert aujourd'hui jusqu'à",
+      "opensAt": "Ouvre aujourd'hui à"
+    },
+    "print": {
+      "kicker": "Votre voiture",
+      "kickerMarine": "Votre bateau",
+      "dateline": "{workshop}, {time}.",
+      "stepDone": "Fait",
+      "stepNow": "En cours",
+      "stepTodo": "Pas encore",
+      "waiting": "Vous attend",
+      "waitingCount": "{count, plural, one {# élément} other {# éléments}}",
+      "waitingOwed": "{total} à payer sur {invoices}",
+      "colWhat": "Quoi",
+      "colDocument": "Document",
+      "colDeadline": "Échéance",
+      "colAmount": "Montant",
+      "tireCar": "Voiture",
+      "tireCarMarine": "Bateau",
+      "tireTyre": "Pneu",
+      "tireSize": "Dimension",
+      "tireSet": "Train",
+      "tireTread": "Gomme",
+      "portalLabel": "Portail client",
+      "callWorkshop": "Appeler le garage"
+    }
+  },
+  "chat": {
+    "title": "Messages",
+    "label": "Messages avec {workshop}",
+    "subtitle": "{workshop}",
+    "call": "Appeler {workshop}",
+    "emptyTitle": "Aucun message pour l'instant",
+    "emptyBody": "Écrivez à {workshop} ici. La réponse s'affiche dans cette conversation.",
+    "inputLabel": "Écrire un message à {workshop}",
+    "placeholder": "Écrire à {workshop}",
+    "addPhoto": "Ajouter une photo",
+    "send": "Envoyer",
+    "photo": "Photo de {name}",
+    "you": "Vous",
+    "emptyBodyOff": "Rien n'a été écrit ici.",
+    "video": "Vidéo de {name}",
+    "file": "Ouvrir le fichier",
+    "openLarge": "{what}, ouvrir en grand",
+    "closeViewer": "Fermer",
+    "today": "Aujourd'hui",
+    "yesterday": "Hier",
+    "seen": "Vu",
+    "sending": "Envoi en cours",
+    "retry": "Réessayer",
+    "discard": "Supprimer",
+    "earlier": "Afficher les précédents",
+    "newBelow": "Nouveau message",
+    "keysHint": "Entrée envoie le message. Maj et Entrée passe à la ligne.",
+    "off": "Ce garage a désactivé les messages. Vous pouvez toujours lire ce qui a été écrit.",
+    "errors": {
+      "notSent": "Non envoyé. Vérifiez votre connexion.",
+      "chatOff": "Non envoyé. Le garage a désactivé les messages.",
+      "tooFast": "Non envoyé. Cela fait beaucoup de messages d'un coup, patientez un instant.",
+      "restoring": "Non envoyé. Le garage est momentanément indisponible. Réessayez dans quelques minutes."
+    },
+    "upload": {
+      "adding": "Ajout de {name}",
+      "remove": "Retirer {name}",
+      "tooMany": "Un message peut contenir jusqu'à {count} photos ou vidéos. Envoyez d'abord celles-ci.",
+      "tooLarge": "Ce fichier est trop volumineux. Les photos jusqu'à {photo} Mo et les vidéos jusqu'à {video} Mo sont acceptées.",
+      "type": "Seules les photos et les vidéos peuvent être envoyées ici.",
+      "failed": "Un fichier n'a pas pu être ajouté. Réessayez."
+    },
+    "suggestions": {
+      "label": "Idées pour un premier message",
+      "call": "Pouvez-vous m'appeler ?",
+      "book": "Je voudrais prendre rendez-vous.",
+      "invoice": "J'ai une question sur ma facture."
+    },
+    "events": {
+      "workStarted": "Travaux commencés sur votre {vehicle}",
+      "workStartedNoVehicle": "Les travaux ont commencé",
+      "update": "Nouvelles de {workshop}",
+      "updateAbout": "Au sujet de votre {vehicle}",
+      "seeUpdate": "Voir les nouvelles",
+      "quote": "Devis",
+      "quoteLine": "Devis {title}",
+      "quoteWaiting": "Un devis attend votre réponse",
+      "quotes": "{count} devis",
+      "answerQuote": "Lire et répondre",
+      "invoice": "Facture",
+      "invoiceLine": "Facture {title}",
+      "invoiceOverdue": "Facture en retard",
+      "invoices": "{count} factures",
+      "seeInvoice": "Voir la facture",
+      "jobsStarted": "Travaux commencés sur {count} interventions"
+    }
+  },
+  "messagesPage": {
+    "title": "Messages",
+    "offTitle": "Les messages sont désactivés",
+    "offBody": "Ce garage ne reçoit pas de messages ici. Appelez le {phone} ou prenez rendez-vous.",
+    "offBodyNoPhone": "Ce garage ne reçoit pas de messages ici. Prenez rendez-vous et indiquez ce dont vous avez besoin."
   },
   "invoices": {
     "title": "Factures",
-    "description": "Toutes vos factures de service.",
+    "description": "Les factures des travaux terminés par l'atelier.",
     "noInvoices": "Aucune facture pour l'instant.",
-    "failedToLoad": "Échec du chargement des factures.",
+    "noInvoicesHint": "Quand le garage a terminé une intervention, sa facture s'affiche ici.",
+    "failedToLoad": "Impossible de charger vos factures. Réessayez dans un instant.",
     "invoice": "Facture",
+    "invoiceNumber": "Facture {number}",
     "vehicle": "Véhicule",
     "date": "Date",
     "amount": "Montant",
     "payment": "Paiement",
     "view": "Voir",
     "download": "Télécharger",
+    "downloadPdf": "Télécharger le PDF",
     "downloadCertificate": "Télécharger le procès-verbal d'inspection",
-    "paid": "payé",
-    "partial": "partiel",
-    "unpaid": "impayé",
+    "paid": "Payée",
+    "partial": "Payée en partie",
+    "unpaid": "Non payée",
+    "overdue": "En retard",
+    "toPayTitle": "Reste à payer",
+    "toPayCount": "{count, plural, one {sur # facture} other {sur # factures}}",
+    "toPayNextDue": "Prochaine échéance le {date}",
+    "toPayOpen": "Voir et payer {invoice}",
+    "toPayOpenNoPay": "Ouvrir {invoice}",
+    "nothingToPay": "Rien à payer",
+    "nothingToPayBody": "Toutes les factures ici sont payées.",
+    "leftToPay": "Reste {amount} à payer",
+    "dueOn": "À payer avant le {date}",
     "back": "Retour aux factures",
-    "openShared": "Ouvrir la copie partagée"
+    "payOnline": "Payer en ligne",
+    "summaryTotal": "Total",
+    "summaryPaid": "Payé",
+    "summaryLeft": "Reste à payer",
+    "summaryDue": "Échéance",
+    "summaryDate": "Date",
+    "fullInvoice": "La facture complète"
   },
   "quotes": {
     "title": "Devis",
-    "description": "Devis et estimations pour vos véhicules.",
+    "description": "Les prix que l'atelier vous a envoyés avant de faire les travaux.",
     "noQuotes": "Aucun devis pour l'instant.",
-    "failedToLoad": "Échec du chargement des devis.",
+    "noQuotesHint": "Quand le garage vous envoie un prix pour des travaux, il s'affiche ici.",
+    "failedToLoad": "Impossible de charger vos devis. Réessayez dans un instant.",
     "quote": "Devis",
     "vehicle": "Véhicule",
     "status": "Statut",
     "amount": "Montant",
     "validUntil": "Valable jusqu'au",
+    "validUntilDate": "Valable jusqu'au {date}",
+    "waitingTitle": "En attente de votre réponse",
+    "waitingNone": "Aucun devis n'attend votre réponse.",
+    "waitingAnswer": "Lire et répondre",
     "view": "Voir"
   },
   "inspections": {
     "title": "Inspections",
-    "description": "Rapports d'inspection des véhicules.",
+    "description": "Les comptes rendus des contrôles de votre voiture par l'atelier.",
     "noInspections": "Aucune inspection pour l'instant.",
-    "failedToLoad": "Échec du chargement des inspections.",
+    "noInspectionsHint": "Quand le garage a terminé une inspection, le rapport s'affiche ici.",
+    "failedToLoad": "Impossible de charger vos inspections. Réessayez dans un instant.",
     "vehicle": "Véhicule",
-    "template": "Liste de contrôle",
+    "template": "Inspection",
     "status": "Statut",
     "date": "Date",
     "summary": "Résumé",
@@ -141,31 +401,49 @@
     "poor": "{count} mauvais"
   },
   "vehicles": {
-    "title": "Véhicules",
-    "description": "Vos véhicules enregistrés.",
-    "noVehicles": "Aucun véhicule trouvé.",
-    "failedToLoad": "Échec du chargement des véhicules.",
+    "title": "Vos voitures",
+    "titleMarine": "Vos bateaux",
+    "description": "Les voitures que l'atelier a enregistrées à votre nom.",
+    "descriptionMarine": "Les bateaux que l'atelier a enregistrés à votre nom.",
+    "noVehicles": "Aucune voiture enregistrée pour l'instant.",
+    "noVehiclesMarine": "Aucun bateau enregistré pour l'instant.",
+    "noVehiclesHint": "Prenez rendez-vous et parlez-nous de votre voiture. Nous l'ajoutons ici.",
+    "noVehiclesHintMarine": "Prenez rendez-vous et parlez-nous de votre bateau. Nous l'ajoutons ici.",
+    "back": "Retour à mes voitures",
+    "backMarine": "Retour à mes bateaux",
+    "about": "À propos de cette voiture",
+    "aboutMarine": "À propos de ce bateau",
+    "failedToLoad": "Impossible de charger vos voitures. Réessayez dans un instant.",
+    "failedToLoadMarine": "Impossible de charger vos bateaux. Réessayez dans un instant.",
     "plate": "Plaque : {plate}",
+    "plateMarine": "Immatriculation : {plate}",
     "vin": "VIN : {vin}",
+    "vinMarine": "HIN : {vin}",
     "typeKey": "HSN/TSN: {typeKey}",
-    "serviceCount": "{count, plural, one {# service} other {# services}}",
+    "distanceKm": "{value} km",
+    "distanceMi": "{value} mi",
+    "engineHours": "{value} heures moteur",
+    "serviceCount": "{count, plural, one {# passage} other {# passages}}",
     "inspectionCount": "{count, plural, one {# inspection} other {# inspections}}",
-    "serviceHistory": "Historique des services ({count})",
+    "serviceHistory": "Historique d'entretien ({count})",
     "inspectionsTab": "Inspections ({count})",
-    "noServiceRecords": "Aucun dossier de service pour l'instant.",
+    "noServiceRecords": "Aucun travail enregistré pour l'instant.",
     "noInspections": "Aucune inspection pour l'instant.",
-    "vehicleNotFound": "Véhicule introuvable.",
+    "vehicleNotFound": "Nous ne trouvons pas ce véhicule.",
     "completed": "Terminé le {date}",
     "good": "{count} bon(s)",
     "fair": "{count} passable(s)",
     "poor": "{count} mauvais",
     "view": "Voir",
-    "serviceHistoryTitle": "Historique d'entretien",
-    "inspectionsTitle": "Inspections",
-    "columnVehicle": "Véhicule",
+    "columnVehicle": "Voiture",
+    "columnVehicleMarine": "Bateau",
     "columnPlate": "Plaque",
-    "columnServices": "Services",
+    "columnPlateMarine": "Immatriculation",
+    "columnServices": "Passages",
     "columnInspections": "Inspections",
+    "warrantyActive": "Garantie en cours",
+    "warrantyExpiring": "Garantie bientôt expirée",
+    "warrantyExpired": "Garantie expirée",
     "reportSold": "Je ne possède plus ce véhicule",
     "reportSoldHint": "Nous préviendrons l'atelier pour qu'il cesse d'envoyer des rappels à son sujet. Votre historique reste tel quel.",
     "reportSoldConfirm": "Oui, prévenir l'atelier",
@@ -174,36 +452,99 @@
     "reportSoldFailed": "Impossible d'envoyer pour le moment",
     "reportSoldAlready": "Vous avez indiqué à l'atelier que ce véhicule n'est plus le vôtre."
   },
-  "requestService": {
-    "title": "Demander un service",
-    "description": "Soumettez une demande de service pour l'un de vos véhicules.",
-    "newServiceRequest": "Nouvelle demande de service",
-    "formDescription": "Décrivez le problème et nous vous répondrons.",
-    "vehicleLabel": "Véhicule",
-    "vehiclePlaceholder": "Sélectionner un véhicule",
-    "descriptionLabel": "Décrire le problème",
-    "descriptionPlaceholder": "Qu'est-ce qui se passe avec votre véhicule ?",
-    "preferredDate": "Date souhaitée",
-    "preferredDateOptional": "(optionnel)",
-    "submitRequest": "Soumettre la demande",
-    "selectVehicle": "Veuillez sélectionner un véhicule",
-    "describeIssue": "Veuillez décrire le problème",
-    "submitSuccess": "Demande de service soumise",
-    "submitError": "Échec de la soumission de la demande",
-    "noVehicles": "Vous n'avez aucun véhicule enregistré. Veuillez nous contacter pour en ajouter un d'abord.",
-    "yourRequests": "Vos demandes de service",
-    "failedToLoad": "Échec du chargement des données.",
-    "staffNotes": "Notes du personnel : {notes}",
-    "preferred": "Souhaité : {date}",
-    "notListedOption": "Mon véhicule n'est pas dans la liste",
-    "newVehicleHint": "Décrivez le véhicule et nous l'ajouterons à votre profil.",
-    "fillVehicleDetails": "Veuillez saisir la marque et le modèle du véhicule",
+  "book": {
+    "title": "Prendre rendez-vous",
+    "description": "Dites-nous ce dont vous avez besoin. Nous revenons vers vous avec un horaire.",
+    "descriptionMessages": "Dites-nous ce dont vous avez besoin. Nous vous répondons ici dans Messages avec un horaire.",
+    "failedToLoad": "Impossible de charger cette page. Réessayez dans un instant.",
+    "whichVehicle": "Quelle voiture ?",
+    "whichVehicleMarine": "Quel bateau ?",
+    "anotherVehicle": "Une autre voiture",
+    "anotherVehicleMarine": "Un autre bateau",
+    "inWorkshopNow": "à l'atelier en ce moment",
+    "selectVehicle": "Choisissez de quel véhicule il s'agit",
+    "newVehicleHint": "Décrivez-le et nous l'ajoutons à votre profil.",
     "makeLabel": "Marque",
-    "makePlaceholder": "p. ex. Ford",
+    "makePlaceholder": "ex. Peugeot",
     "modelLabel": "Modèle",
-    "modelPlaceholder": "p. ex. Kuga",
+    "modelPlaceholder": "ex. 3008",
     "yearLabel": "Année",
-    "plateLabel": "Plaque d'immatriculation"
+    "plateLabel": "Immatriculation",
+    "plateLabelMarine": "Immatriculation",
+    "fillMake": "Indiquez la marque",
+    "fillModel": "Indiquez le modèle",
+    "invalidYear": "Indiquez une année entre {min} et {max}",
+    "optional": "(facultatif)",
+    "whatNeeded": "De quoi avez-vous besoin ?",
+    "topics": {
+      "service": "Entretien",
+      "inspection": "Inspection",
+      "tires": "Changement de pneus",
+      "brakes": "Freins",
+      "problem": "Quelque chose ne va pas"
+    },
+    "descriptionLabel": "Décrivez-le avec vos mots",
+    "descriptionPlaceholder": "Par exemple : un bruit de claquement à l'avant gauche sur les bosses, pire quand la voiture est froide",
+    "descriptionPlaceholderMarine": "Par exemple : le moteur démarre mal à froid",
+    "describeIssue": "Choisissez ce dont vous avez besoin ci-dessus, ou décrivez-le en quelques mots",
+    "filesLabel": "Photos ou courte vidéo",
+    "filesCount": "{count} sur {max} ajoutés",
+    "filesLimits": "photos jusqu'à {photo} Mo, vidéo jusqu'à {video} Mo",
+    "filesAdd": "Ajouter des photos ou une vidéo",
+    "filesDrop": "Déposez des fichiers ici, ou choisissez-les sur cet ordinateur",
+    "filesCamera": "Prendre une photo",
+    "filesTooMany": "Vous pouvez ajouter jusqu'à {max} fichiers. Retirez-en un pour en ajouter un autre.",
+    "filesStillUploading": "Attendez la fin de l'envoi de vos fichiers, puis envoyez.",
+    "filesFailed": "Un fichier n'a pas été envoyé. Réessayez ou retirez-le, puis envoyez.",
+    "fileUploading": "Envoi de {name}",
+    "fileReady": "{name}, ajouté",
+    "fileRemove": "Retirer {name}",
+    "fileRetry": "Réessayer",
+    "fileType": "{name} n'est pas une photo ou une vidéo que nous acceptons.",
+    "fileEmpty": "{name} est vide.",
+    "fileTooLarge": "{name} est trop volumineux.",
+    "fileTooMany": "Cela fait beaucoup de fichiers d'un coup. Patientez quelques minutes et réessayez.",
+    "fileSignedOut": "Vous avez été déconnecté. Reconnectez-vous pour ajouter des fichiers.",
+    "fileNetwork": "La connexion a été coupée pendant l'envoi.",
+    "fileFailed": "Ce fichier n'a pas été envoyé.",
+    "dayLabel": "Jour qui vous convient",
+    "pastDate": "Choisissez aujourd'hui ou un jour suivant",
+    "timeLabel": "Moment de la journée",
+    "timeHint": "Choisissez d'abord un jour, puis le moment qui vous convient.",
+    "time": {
+      "any": "N'importe quand",
+      "morning": "Matin",
+      "afternoon": "Après-midi"
+    },
+    "timeLower": {
+      "morning": "matin",
+      "afternoon": "après-midi"
+    },
+    "closedDaysHint": "Fermé ces jours-là :",
+    "send": "Envoyer à {workshop}",
+    "sendHint": "Rien n'est réservé tant que le garage n'a pas confirmé un horaire.",
+    "submitError": "Impossible d'envoyer pour le moment. Réessayez dans un instant.",
+    "sentTitle": "Envoyé à {workshop}",
+    "sentBody": "Le garage lit votre demande et regarde ce que vous avez envoyé. La réponse arrive dans Messages, avec un horaire.",
+    "sentBodyNoMessages": "Le garage lit votre demande et regarde ce que vous avez envoyé, puis revient vers vous avec un horaire. Vous pouvez suivre la demande sur cette page.",
+    "sentMessages": "Aller aux messages",
+    "sentHome": "Retour à l'accueil",
+    "sentAnother": "Demander autre chose",
+    "nextTitle": "La suite",
+    "nextRead": "Nous lisons votre demande et regardons vos photos.",
+    "nextAnswerMessages": "Nous répondons dans Messages avec un horaire, et un devis si besoin.",
+    "nextAnswer": "Nous revenons vers vous avec un horaire, et un devis si besoin.",
+    "nextVisit": "Le rendez-vous s'affiche sur votre page d'accueil avec le jour et l'heure.",
+    "talkTitle": "Vous préférez parler ?",
+    "talkCall": "Appeler le {phone}",
+    "yourRequests": "Vos demandes",
+    "sentOn": "Envoyé le {date}",
+    "preferred": "Souhaité : {date}",
+    "staffNotes": "Note du garage : {notes}",
+    "requestFiles": "{count, plural, one {# fichier envoyé} other {# fichiers envoyés}}",
+    "requestPhoto": "Ouvrir la photo",
+    "requestVideo": "Ouvrir la vidéo",
+    "requestFileMissing": "Cette photo n'est plus disponible"
   },
   "booking": {
     "title": "Réservez votre contrôle",
@@ -248,6 +589,51 @@
     "confirmationBody": "Votre {vehicle} est réservé pour {when} chez {workshop}. Besoin de changer ? Utilisez le lien de notre message précédent ou appelez le {phone}.",
     "confirmationBodyRequest": "Merci, {workshop} a reçu votre demande pour {when} pour votre {vehicle} et confirmera sous peu. Des questions ? Appelez le {phone}."
   },
+  "quoteDetail": {
+    "back": "Retour aux devis",
+    "title": "Devis",
+    "answerLabel": "Votre réponse",
+    "failedToLoad": "Impossible de charger ce devis.",
+    "total": "Total",
+    "number": "Numéro de devis",
+    "date": "Date",
+    "validUntil": "Valable jusqu'au",
+    "vehicle": "Véhicule",
+    "fullQuote": "Le devis complet",
+    "answerTitle": "L'atelier attend votre réponse",
+    "accept": "Accepter le devis",
+    "askChanges": "Demander des modifications",
+    "confirmAcceptTitle": "Accepter ce devis ?",
+    "confirmAcceptBody": "L'atelier sera prévenu que vous voulez faire faire les travaux à ce prix.",
+    "confirmAcceptYes": "Oui, accepter",
+    "cancel": "Annuler",
+    "changesLabel": "Que souhaitez-vous modifier ?",
+    "changesPlaceholder": "Par exemple : sans les balais d'essuie-glace",
+    "sendChanges": "Envoyer à l'atelier",
+    "answerFailed": "Impossible d'envoyer votre réponse. Réessayez.",
+    "acceptedTitle": "Vous avez accepté ce devis",
+    "acceptedBody": "L'atelier a été prévenu et reviendra vers vous.",
+    "changesTitle": "Vous avez demandé des modifications",
+    "changesBody": "L'atelier a été prévenu et vous enverra un devis mis à jour."
+  },
+  "inspectionDetail": {
+    "back": "Retour aux inspections",
+    "title": "Inspection",
+    "about": "À propos de cette inspection",
+    "failedToLoad": "Impossible de charger cette inspection.",
+    "vehicle": "Véhicule",
+    "vessel": "Bateau",
+    "doneOn": "Faite le",
+    "startedOn": "Commencée le",
+    "odometer": "Kilométrage",
+    "engineHours": "Heures moteur",
+    "nextDue": "Prochaine inspection",
+    "certificateNumber": "Numéro de certificat",
+    "stillWorking": "L'atelier n'a pas encore terminé cette inspection. Les résultats peuvent changer.",
+    "openShared": "Voir les photos et télécharger le rapport",
+    "noResults": "Pas encore de résultats.",
+    "notes": "Notes de l'atelier"
+  },
   "status": {
     "job": {
       "pending": "Réservé",
@@ -257,7 +643,7 @@
       "completed": "Terminé"
     },
     "request": {
-      "pending": "En attente",
+      "pending": "En attente de réponse",
       "converted": "Réservée",
       "dismissed": "Clôturée",
       "cancelled": "Annulée"

+ 105 - 52
messages/fr/settings.json

@@ -977,6 +977,11 @@
     "paymentReceivedDescription": "Envoyé lorsqu'un paiement est enregistré pour une facture.",
     "saveSmsTemplates": "Enregistrer les modèles SMS",
     "smsTemplateSaved": "Paramètres des modèles SMS enregistrés",
+    "layoutTitle": "Mise en page de la facture",
+    "layoutDescription": "Personnalisez l'ordre et la visibilité des sections dans vos factures et devis.",
+    "layoutSaved": "Mise en page enregistrée",
+    "layoutDocInvoice": "Facture",
+    "layoutDocQuote": "Devis",
     "smsDefaults": {
       "invoiceReady": "La facture de {company_name} est prête. Consultez-la ici : {share_link}\nCordialement {company_name} - {current_user}",
       "quoteReady": "Votre devis est prêt pour examen. Consultez-le ici : {share_link}",
@@ -997,11 +1002,6 @@
       "rose": "Rose",
       "indigo": "Indigo"
     },
-    "layoutTitle": "Mise en page de la facture",
-    "layoutDescription": "Personnalisez l'ordre et la visibilité des sections dans vos factures et devis.",
-    "layoutSaved": "Mise en page enregistrée",
-    "layoutDocInvoice": "Facture",
-    "layoutDocQuote": "Devis",
     "goToLayout": "Disposition et sections",
     "openDesigner": "Ouvrir le concepteur",
     "designerIntro": "Choisissez un point de départ, puis ouvrez le concepteur pour tout modifier.",
@@ -1699,55 +1699,108 @@
   },
   "portal": {
     "title": "Portail client",
-    "description": "Permettez a vos clients de se connecter et de consulter leurs véhicules, factures, devis et inspections. Les clients peuvent également soumettre des demandes de service.",
+    "description": "Vos clients se connectent pour suivre leur intervention, répondre aux devis, payer les factures, prendre rendez-vous et vous écrire.",
     "enablePortal": "Activer le portail client",
-    "enablePortalHint": "Les clients avec une adresse e-mail peuvent se connecter via un lien magique",
-    "enabled": "Portail client active",
-    "disabled": "Portail client desactive",
-    "failedUpdate": "Échec de la mise a jour du paramètre",
-    "customSlug": "Slug personnalise du portail",
-    "save": "Enregistrer",
-    "slugSaved": "Slug du portail enregistre",
-    "slugRemoved": "Slug du portail supprime",
-    "failedUpdateSlug": "Échec de la mise a jour du slug",
-    "slugHint": "Lettres minuscules, chiffres, tirets et underscores. 3-48 caractères. Laissez vide pour utiliser l'URL par défaut.",
-    "portalUrl": "URL du portail",
-    "urlCopied": "URL du portail copiee",
-    "shareHint": "Partagez ce lien avec vos clients pour qu'ils puissent se connecter a leur portail.",
+    "enablePortalHint": "Les clients se connectent avec un lien envoyé par e-mail ou sur leur téléphone. Aucun mot de passe à retenir.",
+    "failedUpdate": "Impossible d'enregistrer les paramètres",
+    "customSlug": "Adresse du portail",
+    "slugHint": "Lettres minuscules, chiffres, tirets et tirets bas, de 3 à 48 caractères. Laissez vide pour utiliser l'adresse par défaut.",
+    "portalUrl": "Lien vers votre portail",
+    "urlCopied": "Lien copié",
+    "shareHint": "Partagez ce lien avec vos clients pour qu'ils puissent se connecter.",
     "serviceRequestAlertsHint": "Les demandes de service du portail apparaissent toujours dans votre cloche de notifications. Vous pouvez aussi les recevoir par e-mail.",
-    "serviceRequestAlertsLink": "Paramètres d'alerte →",
+    "serviceRequestAlertsLink": "Paramètres des alertes",
     "descriptionLabel": "À propos de votre garage",
     "descriptionPlaceholder": "Présentez votre garage à vos clients : vos services, votre équipe, ce qui vous rend unique.",
-    "descriptionHint": "Affiché aux visiteurs en haut de la page d'accueil de votre portail.",
-    "hoursLabel": "Horaires d'ouverture",
-    "hoursPlaceholder": "Lun-Ven : 8h00-17h00\nSam : 9h00-13h00\nDim : Fermé",
-    "hoursHint": "Texte libre. Utilisez des sauts de ligne pour lister chaque jour séparément.",
-    "contentSaved": "Contenu du portail enregistré",
-    "background": {
-      "title": "Arrière-plan du portail",
-      "description": "Choisissez l'apparence de la page d'accueil du portail client.",
-      "typeNone": "Aucun",
-      "typeTemplate": "Modèle",
-      "typeImage": "Image personnalisée",
-      "chooseTemplate": "Choisissez un modèle",
-      "uploadLabel": "Image d'arrière-plan",
-      "upload": "Téléverser une image",
-      "replace": "Remplacer l'image",
-      "remove": "Supprimer",
-      "uploadHint": "JPG, PNG ou WebP. Max 8 Mo. Recommandé au moins 1600×900.",
-      "uploading": "Téléversement de l'arrière-plan…",
-      "uploaded": "Arrière-plan mis à jour",
-      "uploadFailed": "Échec du téléversement de l'arrière-plan",
-      "templateNames": {
-        "default": "Subtil",
-        "sunrise": "Lever de soleil",
-        "ocean": "Océan",
-        "forest": "Forêt",
-        "slate": "Ardoise",
-        "sand": "Sable"
+    "descriptionHint": "Affiché sur la page de connexion de votre portail.",
+    "copyUrl": "Copier le lien"
+  },
+  "customerPortal": {
+    "slugPlaceholder": "mon-garage",
+    "slugUnsaved": "Cette adresse fonctionnera une fois enregistrée.",
+    "slugInvalid": "Utilisez de 3 à 48 lettres minuscules, chiffres, tirets ou tirets bas, en commençant et en finissant par une lettre ou un chiffre.",
+    "slugReserved": "Ce mot est réservé. Choisissez une autre adresse.",
+    "slugTaken": "Un autre garage utilise déjà cette adresse. Choisissez-en une autre.",
+    "hours": {
+      "title": "Horaires d'ouverture",
+      "fromCalendar": "Le portail affiche les horaires d'ouverture et les jours de fermeture du calendrier de votre garage.",
+      "link": "Paramètres des horaires",
+      "typedNote": "Votre page de connexion affiche encore les horaires saisis ici auparavant, car aucun horaire d'ouverture n'est défini dans le calendrier. Définissez-les là-bas et le portail les affichera à la place.",
+      "typedLabel": "Affiché aujourd'hui sur la page de connexion"
+    },
+    "look": {
+      "title": "Apparence de votre portail client",
+      "description": "Un seul choix définit la page de connexion et toutes les pages que vos clients voient ensuite. Les clients ne peuvent pas le modifier."
+    },
+    "theme": {
+      "legend": "Thème",
+      "daylight": {
+        "name": "Daylight",
+        "tagline": "Clair et apaisé"
+      },
+      "garage": {
+        "name": "Garage",
+        "tagline": "Tableau des stands, sombre"
+      },
+      "print": {
+        "name": "Print",
+        "tagline": "Éditorial et sobre"
+      },
+      "colour": {
+        "name": "Colour",
+        "tagline": "Votre couleur, en grand"
       }
     },
-    "copyUrl": "Copier l'URL du portail"
+    "colour": {
+      "title": "Votre couleur",
+      "description": "Utilisée pour les boutons et les accents dans tous les thèmes.",
+      "swatches": "Couleurs suggérées",
+      "orange": "Orange",
+      "blue": "Bleu",
+      "green": "Vert",
+      "red": "Rouge",
+      "black": "Noir",
+      "hexLabel": "Couleur en code hexadécimal",
+      "invalid": "Ce n'est pas une couleur. Saisissez-la en code hexadécimal, par exemple #1D4ED8.",
+      "usingTheme": "Couleur fournie avec {theme} utilisée, {hex}.",
+      "themeColour": "La couleur fournie avec {theme} est {hex}.",
+      "useTheme": "Utiliser la couleur du thème",
+      "sample": "Prendre rendez-vous",
+      "inkLight": "Le texte sur cette couleur s'affiche en blanc pour rester lisible.",
+      "inkDark": "Le texte sur cette couleur s'affiche en noir pour rester lisible.",
+      "faint": "Cette couleur ressort peu sur le fond de {theme}. Les liens et les accents risquent d'être difficiles à voir."
+    },
+    "cover": {
+      "title": "Photo de couverture et logo",
+      "description": "Affichés sur la page de connexion. Votre logo provient des paramètres de l'entreprise.",
+      "companyLink": "Paramètres de l'entreprise",
+      "hint": "PNG, JPEG ou WebP, jusqu'à 8 Mo.",
+      "none": "Aucune photo de couverture",
+      "alt": "La photo de couverture de la page de connexion",
+      "upload": "Téléverser une photo",
+      "replace": "Remplacer la photo",
+      "remove": "Retirer la photo",
+      "uploading": "Téléversement en cours",
+      "uploadFailed": "Impossible de téléverser la photo"
+    },
+    "features": {
+      "title": "Ce que voient les clients",
+      "description": "Les parties du portail que vous pouvez désactiver.",
+      "messages": "Messages dans le portail",
+      "messagesHint": "Les clients vous écrivent depuis le portail. Leurs messages arrivent dans votre boîte Messages.",
+      "tires": "Afficher les pneus stockés",
+      "tiresHint": "Les clients voient les pneus que vous stockez pour eux, avec la profondeur de gomme."
+    },
+    "bar": {
+      "label": "Enregistrer les paramètres du portail client",
+      "unsaved": "Vous avez des modifications non enregistrées",
+      "saved": "Tout est enregistré",
+      "discard": "Annuler les modifications",
+      "save": "Enregistrer les modifications",
+      "open": "Ouvrir le portail comme un client",
+      "openOff": "Activez le portail et enregistrez pour l'ouvrir."
+    },
+    "savedToast": "Paramètres du portail client enregistrés"
   },
   "email": {
     "title": "Fournisseur de messagerie",
@@ -1989,13 +2042,13 @@
     "noMembers": "Aucun membre trouvé",
     "addRecipient": "Ajouter un destinataire...",
     "searchMembers": "Rechercher des membres...",
-    "sendNow": "Envoyer maintenant",
-    "sentNow": "Rapport envoyé avec succès",
     "newSchedule": "Nouveau planning",
     "editSchedule": "Modifier le planning",
     "edit": "Modifier",
     "cancel": "Annuler",
     "sent": "envoyés",
+    "sendNow": "Envoyer maintenant",
+    "sentNow": "Rapport envoyé avec succès",
     "emptyTitle": "Aucun rapport planifié",
     "emptyDescription": "Créez un planning pour générer et envoyer automatiquement des rapports à votre équipe.",
     "sectionLabels": {
@@ -2847,9 +2900,9 @@
       "uploading": "Import en cours…",
       "width": "Largeur du logo",
       "hint": "Indépendant du logo de l'entreprise. Il est rogné et préparé pour l'e-mail lors de l'import. PNG, JPEG ou WebP jusqu'à 4 Mo.",
-      "position": "Position",
       "tooLarge": "L'image doit faire moins de 4 Mo",
-      "uploadFailed": "Impossible d'importer le logo"
+      "uploadFailed": "Impossible d'importer le logo",
+      "position": "Position"
     },
     "image": {
       "empty": "Aucune image importée. Le bloc n'imprime rien tant qu'il n'y en a pas.",

+ 3 - 0
messages/it/audit.json

@@ -81,6 +81,7 @@
     "settings_updateInvoiceLayout": "Layout fattura aggiornato",
     "settings_updateQuoteLayout": "Layout preventivo aggiornato",
     "settings_updatePortalSlug": "URL portale aggiornato",
+    "settings_updateCustomerPortal": "Impostazioni del portale clienti aggiornate",
     "inspectionTemplate_create": "Checklist di ispezione creata",
     "inspectionTemplate_update": "Checklist di ispezione aggiornata",
     "inspectionTemplate_delete": "Checklist di ispezione eliminata",
@@ -102,6 +103,7 @@
     "statusReport_create": "Rapporto di stato creato",
     "statusReport_send": "Rapporto di stato inviato",
     "statusReport_delete": "Rapporto di stato eliminato",
+    "portal_send": "Messaggio inviato nel portale",
     "telegram_send": "Messaggio Telegram inviato",
     "webhook_create": "Webhook creato",
     "webhook_update": "Webhook aggiornato",
@@ -306,6 +308,7 @@
     "technician_create": "Tecnico «{name}» creato",
     "technician_delete": "Tecnico {id} eliminato",
     "technician_update": "Tecnico {id} aggiornato",
+    "portal_send": "Ha inviato un messaggio a {name} nel portale clienti",
     "telegram_send": "Messaggio Telegram inviato a {name}",
     "tire_location_bulk_create": "{count, plural, one {# posto pneumatici creato} other {# posti pneumatici creati}}",
     "tire_location_create": "Posto pneumatici {code} creato",

+ 6 - 0
messages/it/customers.json

@@ -120,6 +120,12 @@
     "saveNotes": "Salva note",
     "submitted": "Inviata il {date}",
     "preferred": "Preferita: {date}",
+    "preferredMorning": "Preferita: {date}, mattina",
+    "preferredAfternoon": "Preferita: {date}, pomeriggio",
+    "files": "{count, plural, one {# foto o video dal cliente} other {# foto o video dal cliente}}",
+    "openPhoto": "Apri la foto {number}",
+    "openVideo": "Apri il video {number}",
+    "fileMissing": "La foto {number} non è più disponibile",
     "workOrderCreated": "Ordine di lavoro creato",
     "workOrderError": "Creazione dell'ordine di lavoro non riuscita",
     "requestDismissed": "Richiesta archiviata",

+ 23 - 0
messages/it/messaging.json

@@ -51,5 +51,28 @@
       "noMatches": "Nessun cliente corrisponde alla ricerca.",
       "noRecipients": "Ancora nessun cliente con indirizzo email."
     }
+  },
+  "portal": {
+    "badge": "Portale",
+    "empty": "{name} non ha ancora scritto nel portale.",
+    "placeholder": "Scrivi a {name} nel portale",
+    "send": "Invia messaggio",
+    "sendFailed": "Impossibile inviare il messaggio",
+    "sendHint": "Invio manda, Maiusc+Invio va a capo. {name} lo vedrà la prossima volta che apre il portale.",
+    "loadOlder": "Carica messaggi precedenti",
+    "loadFailed": "Impossibile caricare la conversazione.",
+    "tryAgain": "Riprova",
+    "addPhoto": "Aggiungi una foto",
+    "removePhoto": "Rimuovi {name}",
+    "uploadFailed": "Impossibile aggiungere la foto. Vanno bene foto fino a {size} MB.",
+    "tooManyPhotos": "Un messaggio può contenere fino a {count} foto.",
+    "photoFrom": "Foto di {name}",
+    "videoFrom": "Video di {name}",
+    "openFile": "Apri file",
+    "you": "Tu",
+    "seen": "Visto",
+    "off": "I messaggi nel portale clienti sono disattivati: questa conversazione si può leggere, ma non è possibile rispondere.",
+    "offSettings": "Impostazioni portale clienti",
+    "deleteDescription": "Elimina l'intera conversazione con {name}, anche per il cliente: sparisce dal suo portale."
   }
 }

+ 487 - 101
messages/it/portal.json

@@ -12,28 +12,42 @@
     "description": "Utilizza il link diretto fornito dalla tua officina per accedere al portale clienti.",
     "hint": "La tua officina condividerà il link del portale tramite e-mail o SMS."
   },
-  "landing": {
-    "contactTitle": "Contattaci",
-    "aboutTitle": "Chi siamo",
-    "noContactInfo": "I contatti non sono ancora disponibili.",
-    "address": "Indirizzo",
-    "phone": "Telefono",
-    "email": "Email",
-    "hours": "Orari di apertura",
-    "directions": "Indicazioni stradali"
+  "signIn": {
+    "eyebrow": "Per i nostri clienti",
+    "heading": "La tua auto, le tue fatture e i tuoi messaggi.",
+    "headingMarine": "La tua imbarcazione, le tue fatture e i tuoi messaggi.",
+    "headingNoMessages": "La tua auto, le tue fatture e i tuoi preventivi.",
+    "headingNoMessagesMarine": "La tua imbarcazione, le tue fatture e i tuoi preventivi.",
+    "confirmEyebrow": "Ci siamo quasi",
+    "hoursTitle": "Orari di apertura",
+    "findUs": "Dove siamo",
+    "callUs": "Chiamaci",
+    "directions": "Indicazioni",
+    "dayRange": "{from}–{to}",
+    "timeRange": "{start}–{end}",
+    "closed": "chiuso"
   },
   "login": {
-    "signInTitle": "Accesso clienti",
-    "signInSubtitle": "Accedi per vedere fatture, preventivi e storico dei servizi.",
-    "emailLabel": "Indirizzo email",
+    "emailLabel": "Il tuo indirizzo email",
     "emailPlaceholder": "tu@esempio.com",
-    "sendLink": "Invia link di accesso",
+    "sendLink": "Inviami un link di accesso",
     "checkEmail": "Controlla la tua email",
     "checkEmailDescription": "Se esiste un account per quell'email, abbiamo inviato un link di accesso. Il link scade in 15 minuti.",
     "tryDifferentEmail": "Prova con un'altra email",
+    "requestFailed": "Non è stato possibile inviarlo adesso. Controlla la connessione e riprova.",
+    "tooManyTries": "Troppi tentativi in poco tempo. Aspetta un minuto e riprova.",
+    "tryAgain": "Riprova",
+    "sendNewCode": "Invia un nuovo codice",
+    "newCodeSent": "Ti abbiamo inviato un nuovo codice.",
+    "errors": {
+      "invalid": "Questo link di accesso non funziona. Richiedine uno nuovo qui sotto.",
+      "used": "Questo link di accesso è già stato usato. Richiedine uno nuovo qui sotto.",
+      "expired": "Questo link di accesso è scaduto. Richiedine uno nuovo qui sotto.",
+      "noAccount": "Non troviamo il tuo account. Chiedi all'officina di controllare l'indirizzo email che ha per te."
+    },
     "tabEmail": "Email",
     "tabSms": "SMS",
-    "phoneLabel": "Numero di telefono",
+    "phoneLabel": "Il tuo numero di cellulare",
     "phonePlaceholder": "+39 3123456789",
     "phoneLocalPlaceholder": "3123456789",
     "sendCode": "Invia codice",
@@ -47,91 +61,337 @@
     "confirmTitle": "Accedi a {workshop}",
     "confirmDescription": "Stai accedendo come {email}. Premi il pulsante per continuare.",
     "confirmButton": "Continua e accedi",
-    "notFound": "Non Trovato",
-    "portalNotExist": "Questo portale non esiste.",
-    "portalNotAvailable": "Portale Non Disponibile",
-    "portalNotEnabled": "Il portale clienti non è abilitato per questa organizzazione."
+    "notFound": "Non trovato",
+    "portalNotExist": "Questa pagina non esiste.",
+    "portalNotAvailable": "Non disponibile",
+    "portalNotEnabled": "Al momento questa officina non offre l'accesso online.",
+    "noPassword": "Nessuna password. Ti inviamo un link per accedere.",
+    "noPasswordSms": "Nessuna password. Ti inviamo un codice via SMS per accedere.",
+    "method": "Come vuoi accedere"
   },
   "nav": {
-    "dashboard": "Dashboard",
-    "vehicles": "Veicoli",
+    "label": "Principale",
+    "skip": "Vai al contenuto",
+    "home": "Home",
+    "messages": "Messaggi",
+    "book": "Prenota",
+    "bookLong": "Prenota un appuntamento",
+    "cars": "Le mie auto",
+    "carsMarine": "Le mie imbarcazioni",
+    "papers": "Carte",
+    "papersLong": "Fatture e preventivi",
+    "unread": "{count, plural, one {# messaggio non letto} other {# messaggi non letti}}",
+    "documents": "Documenti",
     "invoices": "Fatture",
     "quotes": "Preventivi",
-    "inspections": "Ispezioni",
-    "requestService": "Richiedi Servizio"
+    "inspections": "Ispezioni"
   },
   "header": {
-    "signOut": "Esci",
-    "askShort": "Servizio"
+    "homeLink": "{name}, home",
+    "account": "Il tuo account, {name}",
+    "signedInAs": "Accesso effettuato come",
+    "signOut": "Esci"
+  },
+  "hoursLine": {
+    "openUntil": "Aperto fino alle {time}",
+    "opensAt": "Apre alle {time}",
+    "closedNow": "Chiuso per oggi",
+    "closedToday": "Oggi chiuso"
+  },
+  "format": {
+    "today": "oggi",
+    "tomorrow": "domani"
   },
   "shell": {
-    "notFound": "Non Trovato",
-    "portalNotExist": "Questo portale non esiste.",
-    "portalNotAvailable": "Portale Non Disponibile",
-    "portalNotEnabled": "Il portale clienti non è abilitato per questa organizzazione."
+    "notFound": "Non trovato",
+    "portalNotExist": "Questa pagina non esiste.",
+    "portalNotAvailable": "Non disponibile",
+    "portalNotEnabled": "Questa officina non ha ancora aperto le sue pagine per i clienti.",
+    "callWorkshop": "Chiama il {phone}",
+    "openMap": "Apri {address} nelle mappe",
+    "errorTitle": "Qualcosa è andato storto",
+    "errorBody": "Non è stato possibile mostrare questa pagina. Riprova oppure torna alla tua home.",
+    "tryAgain": "Riprova",
+    "pageNotFoundTitle": "Non troviamo questa pagina",
+    "pageNotFoundBody": "Il link potrebbe essere vecchio, oppure la pagina è stata rimossa.",
+    "backHome": "Torna alla home"
   },
-  "dashboard": {
-    "welcome": "Benvenuto, {name}",
-    "overview": "Ecco una panoramica del tuo account.",
-    "vehicles": "Veicoli",
-    "openInvoices": "Fatture Aperte",
-    "pendingQuotes": "Preventivi in Attesa",
-    "recentInvoices": "Fatture Recenti",
-    "recentQuotes": "Preventivi Recenti",
-    "pendingServiceRequests": "Richieste di Servizio in Attesa",
-    "viewAll": "Visualizza tutti",
-    "newRequest": "Nuova richiesta",
-    "noInvoicesYet": "Nessuna fattura ancora.",
-    "noQuotesYet": "Nessun preventivo ancora.",
-    "view": "Visualizza",
-    "pending": "In attesa",
-    "failedToLoad": "Caricamento della dashboard non riuscito.",
-    "quickRequestService": "Richiedi assistenza",
-    "quickRequestServiceHint": "Prenota una riparazione o un controllo",
-    "quickViewInvoices": "Le tue fatture",
-    "quickViewInvoicesHint": "Fatture e storico pagamenti",
-    "quickViewVehicles": "I tuoi veicoli",
-    "quickViewVehiclesHint": "Storico assistenza e dettagli",
-    "activeJobs": "Lavori in corso"
+  "home": {
+    "failedToLoad": "Non siamo riusciti a caricare la tua pagina. Riprova tra poco.",
+    "heroWorkingPromised": "Ciao {name}. La tua auto è in officina, sarà pronta {day} verso le {time}.",
+    "heroWorkingPromisedMarine": "Ciao {name}. La tua imbarcazione è in officina, sarà pronta {day} verso le {time}.",
+    "heroWorking": "Ciao {name}. La tua auto è in officina.",
+    "heroWorkingMarine": "Ciao {name}. La tua imbarcazione è in officina.",
+    "heroReady": "Ciao {name}. La tua auto è pronta per il ritiro.",
+    "heroReadyMarine": "Ciao {name}. La tua imbarcazione è pronta per il ritiro.",
+    "heroBookedAt": "Ciao {name}. Ti aspettiamo con la tua auto {day} alle {time}.",
+    "heroBookedAtMarine": "Ciao {name}. Ti aspettiamo con la tua imbarcazione {day} alle {time}.",
+    "heroBooked": "Ciao {name}. Il tuo appuntamento è prenotato.",
+    "heroNothing": "Ciao {name}. Al momento non hai nulla in officina.",
+    "heroNothingBody": "Prenota un appuntamento quando la tua auto ha bisogno di noi. Qui segui i lavori passo dopo passo.",
+    "heroNothingBodyMarine": "Prenota un appuntamento quando la tua imbarcazione ha bisogno di noi. Qui segui i lavori passo dopo passo.",
+    "stepsLabel": "A che punto sono i lavori",
+    "stepBooked": "Prenotato",
+    "stepCheckedIn": "Accettato",
+    "stepWorking": "In officina",
+    "stepReady": "Pronto per il ritiro",
+    "latestUpdate": "Ultime dall'officina · {when}",
+    "updateFallback": "L'officina ha condiviso un aggiornamento sui lavori.",
+    "seeUpdate": "Guarda foto e video",
+    "otherJobs": "Anche prenotati o in corso",
+    "jobBookedFor": "Prenotato per {day} alle {time}",
+    "jobReadyAround": "Pronto {day} verso le {time}",
+    "needsAnswer": "Attende la tua risposta",
+    "validUntil": "Valido fino a {day}",
+    "quoteNumber": "Preventivo {number}",
+    "quote": "Preventivo",
+    "readQuote": "Leggi il preventivo",
+    "moreQuotes": "{count, plural, one {Un altro preventivo attende la tua risposta} other {Altri # preventivi attendono la tua risposta}}",
+    "toPay": "Da pagare",
+    "due": "Scade {day}",
+    "overdueSince": "Scaduta da {day}",
+    "invoiceNumber": "Fattura {number}",
+    "invoice": "Fattura",
+    "payNow": "Paga ora",
+    "seeInvoice": "Vedi la fattura",
+    "moreInvoices": "{count, plural, one {Un'altra fattura da pagare} other {Altre # fatture da pagare}}, {total} in tutto",
+    "paidSoFar": "{paid} pagati su {total}",
+    "toPayCount": "{count, plural, one {# fattura} other {# fatture}}",
+    "toPayOverdueCount": "{count} scadute",
+    "toPayMostUrgent": "La più urgente",
+    "toPayNext": "Prossima da pagare",
+    "seeAllInvoices": "Vedi tutte le {count} fatture",
+    "nextStep": "Prossimo passo",
+    "nextStepWorking": "Accettiamo l'auto e iniziamo i lavori.",
+    "nextStepWorkingMarine": "Accettiamo l'imbarcazione e iniziamo i lavori.",
+    "nextStepReady": "Riceverai un messaggio qui quando sarà pronta per il ritiro.",
+    "nextStepReadyNoChat": "Ti avvisiamo quando sarà pronta per il ritiro.",
+    "nextStepCollect": "Passa quando ti fa comodo.",
+    "tires": "Deposito pneumatici",
+    "tiresStoredSummer": "Pneumatici estivi in deposito da noi",
+    "tiresStoredWinter": "Pneumatici invernali in deposito da noi",
+    "tiresStoredAllSeason": "Pneumatici quattro stagioni in deposito da noi",
+    "tiresStoredOther": "Pneumatici in deposito da noi",
+    "tiresSeasonSummer": "Pneumatici estivi",
+    "tiresSeasonWinter": "Pneumatici invernali",
+    "tiresSeasonAllSeason": "Pneumatici quattro stagioni",
+    "tiresSeasonOther": "Pneumatici",
+    "tiresStudded": "chiodati",
+    "tiresOnRims": "con cerchi",
+    "tiresStoredSince": "in deposito dal {day}",
+    "tiresTreadLeft": "battistrada residuo",
+    "tiresTreadLine": "{depth} di battistrada residuo",
+    "tiresNotMeasured": "Battistrada non ancora misurato",
+    "tiresCount": "{count, plural, one {# pneumatico} other {# pneumatici}}",
+    "cars": "Le mie auto",
+    "carsMarine": "Le mie imbarcazioni",
+    "carVisits": "{count, plural, =0 {ancora nessuna visita} one {# visita} other {# visite}}",
+    "carInWorkshop": "In officina",
+    "carWarrantyActive": "garanzia attiva",
+    "carWarrantyExpiring": "garanzia in scadenza",
+    "carsEmptyTitle": "Nessuna auto registrata",
+    "carsEmptyTitleMarine": "Nessuna imbarcazione registrata",
+    "carsEmptyBody": "Quando l'officina registra la tua auto, qui ne vedrai lo storico.",
+    "carsEmptyBodyMarine": "Quando l'officina registra la tua imbarcazione, qui ne vedrai lo storico.",
+    "nextVisit": "Prossimo appuntamento",
+    "visitWhen": "{day}, {time}",
+    "directions": "Indicazioni",
+    "nextVisitEmptyTitle": "Nessun appuntamento prenotato",
+    "nextVisitEmptyBody": "Scegli un giorno che ti va bene e dicci di cosa ha bisogno l'auto.",
+    "nextVisitEmptyBodyMarine": "Scegli un giorno che ti va bene e dicci di cosa ha bisogno l'imbarcazione.",
+    "bookVisit": "Prenota un appuntamento",
+    "requests": "Inviate all'officina",
+    "requestSent": "Inviata {day}",
+    "requestWaiting": "In attesa di risposta",
+    "requestWishedDay": "richiesta per {day}",
+    "messagesLabel": "Messaggi con {workshop}",
+    "messagePreviewFrom": "{name}:",
+    "messagePreviewYou": "Tu:",
+    "messagePreviewPhoto": "Foto",
+    "messagePreviewEmpty": "Scrivi a {workshop}",
+    "messagePreviewOpen": "Apri i tuoi messaggi con {workshop}"
+  },
+  "themes": {
+    "colour": {
+      "stepNow": "Ora",
+      "storedSince": "In deposito dal"
+    },
+    "garage": {
+      "readyAround": "Pronta {day} verso le",
+      "expectedAt": "Attesa {day} alle",
+      "stepDone": "Fatto",
+      "stepNow": "Ora",
+      "stepNotYet": "Non ancora",
+      "stepNotYetAround": "Non ancora, verso le {time}",
+      "tireCar": "Auto",
+      "tireCarMarine": "Imbarcazione",
+      "tireMake": "Pneumatici",
+      "tireSize": "Misura",
+      "tireSet": "Treno",
+      "tireTread": "Battistrada residuo",
+      "openUntil": "Oggi aperto fino alle",
+      "opensAt": "Oggi apre alle"
+    },
+    "print": {
+      "kicker": "La tua auto",
+      "kickerMarine": "La tua imbarcazione",
+      "dateline": "{workshop}, {time}.",
+      "stepDone": "Fatto",
+      "stepNow": "Ora",
+      "stepTodo": "Non ancora",
+      "waiting": "Ti aspetta",
+      "waitingCount": "{count, plural, one {# voce} other {# voci}}",
+      "waitingOwed": "{total} da pagare su {invoices}",
+      "colWhat": "Cosa",
+      "colDocument": "Documento",
+      "colDeadline": "Scadenza",
+      "colAmount": "Importo",
+      "tireCar": "Auto",
+      "tireCarMarine": "Imbarcazione",
+      "tireTyre": "Pneumatico",
+      "tireSize": "Misura",
+      "tireSet": "Treno",
+      "tireTread": "Battistrada",
+      "portalLabel": "Portale clienti",
+      "callWorkshop": "Chiama l'officina"
+    }
+  },
+  "chat": {
+    "title": "Messaggi",
+    "label": "Messaggi con {workshop}",
+    "subtitle": "{workshop}",
+    "call": "Chiama {workshop}",
+    "emptyTitle": "Ancora nessun messaggio",
+    "emptyBody": "Scrivi qui a {workshop}. La risposta arriverà in questa conversazione.",
+    "inputLabel": "Scrivi un messaggio a {workshop}",
+    "placeholder": "Scrivi a {workshop}",
+    "addPhoto": "Aggiungi una foto",
+    "send": "Invia",
+    "photo": "Foto di {name}",
+    "you": "Tu",
+    "emptyBodyOff": "Qui non è stato scritto nulla.",
+    "video": "Video di {name}",
+    "file": "Apri il file",
+    "openLarge": "{what}, apri in grande",
+    "closeViewer": "Chiudi",
+    "today": "Oggi",
+    "yesterday": "Ieri",
+    "seen": "Visto",
+    "sending": "Invio in corso",
+    "retry": "Riprova",
+    "discard": "Elimina",
+    "earlier": "Mostra i precedenti",
+    "newBelow": "Nuovo messaggio",
+    "keysHint": "Invio manda il messaggio. Maiusc e Invio vanno a capo.",
+    "off": "Questa officina ha disattivato i messaggi. Puoi comunque leggere quello che è stato scritto.",
+    "errors": {
+      "notSent": "Non inviato. Controlla la connessione.",
+      "chatOff": "Non inviato. L'officina ha disattivato i messaggi.",
+      "tooFast": "Non inviato. Troppi messaggi tutti insieme, aspetta un momento.",
+      "restoring": "Non inviato. L'officina non è disponibile per qualche istante. Riprova tra qualche minuto."
+    },
+    "upload": {
+      "adding": "Aggiunta di {name}",
+      "remove": "Rimuovi {name}",
+      "tooMany": "Un messaggio può contenere fino a {count} foto o video. Invia prima questi.",
+      "tooLarge": "Il file è troppo grande. Vanno bene foto fino a {photo} MB e video fino a {video} MB.",
+      "type": "Qui si possono inviare solo foto e video.",
+      "failed": "Non è stato possibile aggiungere un file. Riprova."
+    },
+    "suggestions": {
+      "label": "Idee per un primo messaggio",
+      "call": "Potete chiamarmi?",
+      "book": "Vorrei prenotare un appuntamento.",
+      "invoice": "Ho una domanda sulla mia fattura."
+    },
+    "events": {
+      "workStarted": "Sono iniziati i lavori su {vehicle}",
+      "workStartedNoVehicle": "Sono iniziati i lavori",
+      "update": "Aggiornamento da {workshop}",
+      "updateAbout": "Riguardo a {vehicle}",
+      "seeUpdate": "Vedi l'aggiornamento",
+      "quote": "Preventivo",
+      "quoteLine": "Preventivo {title}",
+      "quoteWaiting": "Un preventivo attende la tua risposta",
+      "quotes": "{count} preventivi",
+      "answerQuote": "Leggi e rispondi",
+      "invoice": "Fattura",
+      "invoiceLine": "Fattura {title}",
+      "invoiceOverdue": "Fattura scaduta",
+      "invoices": "{count} fatture",
+      "seeInvoice": "Vedi la fattura",
+      "jobsStarted": "Sono iniziati i lavori per {count} interventi"
+    }
+  },
+  "messagesPage": {
+    "title": "Messaggi",
+    "offTitle": "I messaggi sono disattivati",
+    "offBody": "Questa officina non riceve messaggi qui. Chiama il {phone} o prenota un appuntamento.",
+    "offBodyNoPhone": "Questa officina non riceve messaggi qui. Prenota un appuntamento e scrivi di cosa hai bisogno."
   },
   "invoices": {
     "title": "Fatture",
-    "description": "Tutte le tue fatture di servizio.",
+    "description": "Le fatture dei lavori che l'officina ha terminato.",
     "noInvoices": "Nessuna fattura ancora.",
-    "failedToLoad": "Caricamento delle fatture non riuscito.",
+    "noInvoicesHint": "Quando l'officina termina un lavoro, la fattura compare qui.",
+    "failedToLoad": "Non siamo riusciti a caricare le tue fatture. Riprova tra poco.",
     "invoice": "Fattura",
+    "invoiceNumber": "Fattura {number}",
     "vehicle": "Veicolo",
     "date": "Data",
     "amount": "Importo",
     "payment": "Pagamento",
     "view": "Visualizza",
     "download": "Scarica",
+    "downloadPdf": "Scarica il PDF",
     "downloadCertificate": "Scarica il verbale di ispezione",
-    "paid": "pagato",
-    "partial": "parziale",
-    "unpaid": "non pagato",
+    "paid": "Pagata",
+    "partial": "Pagata in parte",
+    "unpaid": "Non pagata",
+    "overdue": "Scaduta",
+    "toPayTitle": "Restano da pagare",
+    "toPayCount": "{count, plural, one {su # fattura} other {su # fatture}}",
+    "toPayNextDue": "Prossima scadenza {date}",
+    "toPayOpen": "Vedi e paga {invoice}",
+    "toPayOpenNoPay": "Apri {invoice}",
+    "nothingToPay": "Niente da pagare",
+    "nothingToPayBody": "Tutte le fatture qui sono pagate.",
+    "leftToPay": "Restano {amount} da pagare",
+    "dueOn": "Scade il {date}",
     "back": "Torna alle fatture",
-    "openShared": "Apri la copia condivisa"
+    "payOnline": "Paga online",
+    "summaryTotal": "Totale",
+    "summaryPaid": "Pagato",
+    "summaryLeft": "Da pagare",
+    "summaryDue": "Scadenza",
+    "summaryDate": "Data",
+    "fullInvoice": "La fattura completa"
   },
   "quotes": {
     "title": "Preventivi",
-    "description": "Preventivi e stime per i tuoi veicoli.",
+    "description": "I prezzi che l'officina ti ha inviato prima di fare i lavori.",
     "noQuotes": "Nessun preventivo ancora.",
-    "failedToLoad": "Caricamento dei preventivi non riuscito.",
+    "noQuotesHint": "Quando l'officina ti manda un prezzo per un lavoro, lo trovi qui.",
+    "failedToLoad": "Non siamo riusciti a caricare i tuoi preventivi. Riprova tra poco.",
     "quote": "Preventivo",
     "vehicle": "Veicolo",
     "status": "Stato",
     "amount": "Importo",
-    "validUntil": "Valido Fino Al",
+    "validUntil": "Valido fino al",
+    "validUntilDate": "Valido fino al {date}",
+    "waitingTitle": "In attesa della tua risposta",
+    "waitingNone": "Nessun preventivo attende la tua risposta.",
+    "waitingAnswer": "Leggi e rispondi",
     "view": "Visualizza"
   },
   "inspections": {
     "title": "Ispezioni",
-    "description": "Rapporti di ispezione del veicolo.",
+    "description": "I verbali dei controlli dell'officina sulla tua auto.",
     "noInspections": "Nessuna ispezione ancora.",
-    "failedToLoad": "Caricamento delle ispezioni non riuscito.",
+    "noInspectionsHint": "Quando l'officina termina un'ispezione, il verbale compare qui.",
+    "failedToLoad": "Non siamo riusciti a caricare le tue ispezioni. Riprova tra poco.",
     "vehicle": "Veicolo",
-    "template": "Checklist",
+    "template": "Ispezione",
     "status": "Stato",
     "date": "Data",
     "summary": "Riepilogo",
@@ -141,31 +401,49 @@
     "poor": "{count} scarso"
   },
   "vehicles": {
-    "title": "Veicoli",
-    "description": "I tuoi veicoli registrati.",
-    "noVehicles": "Nessun veicolo trovato.",
-    "failedToLoad": "Caricamento dei veicoli non riuscito.",
+    "title": "Le tue auto",
+    "titleMarine": "Le tue imbarcazioni",
+    "description": "Le auto che l'officina ha registrato a tuo nome.",
+    "descriptionMarine": "Le imbarcazioni che l'officina ha registrato a tuo nome.",
+    "noVehicles": "Nessuna auto registrata.",
+    "noVehiclesMarine": "Ancora nessuna imbarcazione registrata.",
+    "noVehiclesHint": "Prenota un appuntamento e parlaci della tua auto. La aggiungiamo qui.",
+    "noVehiclesHintMarine": "Prenota un appuntamento e parlaci della tua imbarcazione. La aggiungiamo qui.",
+    "back": "Torna alle mie auto",
+    "backMarine": "Torna alle mie imbarcazioni",
+    "about": "Informazioni su questa auto",
+    "aboutMarine": "Informazioni su questa imbarcazione",
+    "failedToLoad": "Non siamo riusciti a caricare le tue auto. Riprova tra poco.",
+    "failedToLoadMarine": "Non siamo riusciti a caricare le tue imbarcazioni. Riprova tra poco.",
     "plate": "Targa: {plate}",
+    "plateMarine": "Registrazione: {plate}",
     "vin": "VIN: {vin}",
+    "vinMarine": "HIN: {vin}",
     "typeKey": "HSN/TSN: {typeKey}",
-    "serviceCount": "{count, plural, one {# servizio} other {# servizi}}",
+    "distanceKm": "{value} km",
+    "distanceMi": "{value} mi",
+    "engineHours": "{value} ore motore",
+    "serviceCount": "{count, plural, one {# visita} other {# visite}}",
     "inspectionCount": "{count, plural, one {# ispezione} other {# ispezioni}}",
-    "serviceHistory": "Storico Servizi ({count})",
+    "serviceHistory": "Storico interventi ({count})",
     "inspectionsTab": "Ispezioni ({count})",
-    "noServiceRecords": "Nessun record di servizio ancora.",
+    "noServiceRecords": "Ancora nessun lavoro registrato.",
     "noInspections": "Nessuna ispezione ancora.",
-    "vehicleNotFound": "Veicolo non trovato.",
+    "vehicleNotFound": "Non abbiamo trovato questo veicolo.",
     "completed": "Completato il {date}",
     "good": "{count} buono",
     "fair": "{count} discreto",
     "poor": "{count} scarso",
     "view": "Visualizza",
-    "serviceHistoryTitle": "Storico interventi",
-    "inspectionsTitle": "Ispezioni",
-    "columnVehicle": "Veicolo",
+    "columnVehicle": "Auto",
+    "columnVehicleMarine": "Imbarcazione",
     "columnPlate": "Targa",
-    "columnServices": "Interventi",
+    "columnPlateMarine": "Registrazione",
+    "columnServices": "Visite",
     "columnInspections": "Ispezioni",
+    "warrantyActive": "Garanzia attiva",
+    "warrantyExpiring": "Garanzia in scadenza",
+    "warrantyExpired": "Garanzia scaduta",
     "reportSold": "Non possiedo più questo veicolo",
     "reportSoldHint": "Avviseremo l'officina perché smetta di inviare promemoria. La tua cronologia resta com'è.",
     "reportSoldConfirm": "Sì, avvisa l'officina",
@@ -174,36 +452,99 @@
     "reportSoldFailed": "Impossibile inviare al momento",
     "reportSoldAlready": "Hai comunicato all'officina che questo veicolo non è più tuo."
   },
-  "requestService": {
-    "title": "Richiedi Servizio",
-    "description": "Invia una richiesta di servizio per uno dei tuoi veicoli.",
-    "newServiceRequest": "Nuova Richiesta di Servizio",
-    "formDescription": "Descrivi il problema e ti risponderemo.",
-    "vehicleLabel": "Veicolo",
-    "vehiclePlaceholder": "Seleziona un veicolo",
-    "descriptionLabel": "Descrivi il problema",
-    "descriptionPlaceholder": "Cosa sta succedendo con il tuo veicolo?",
-    "preferredDate": "Data preferita",
-    "preferredDateOptional": "(opzionale)",
-    "submitRequest": "Invia Richiesta",
-    "selectVehicle": "Seleziona un veicolo",
-    "describeIssue": "Descrivi il problema",
-    "submitSuccess": "Richiesta di servizio inviata",
-    "submitError": "Invio della richiesta non riuscito",
-    "noVehicles": "Non hai veicoli registrati. Contattaci per aggiungere prima un veicolo.",
-    "yourRequests": "Le Tue Richieste di Servizio",
-    "failedToLoad": "Caricamento dei dati non riuscito.",
-    "staffNotes": "Note del personale: {notes}",
-    "preferred": "Preferita: {date}",
-    "notListedOption": "Il mio veicolo non è in elenco",
-    "newVehicleHint": "Descrivi il veicolo e lo aggiungeremo al tuo profilo.",
-    "fillVehicleDetails": "Inserisci marca e modello del veicolo",
+  "book": {
+    "title": "Prenota un appuntamento",
+    "description": "Dicci di cosa hai bisogno. Ti ricontattiamo con un orario.",
+    "descriptionMessages": "Dicci di cosa hai bisogno. Ti rispondiamo qui in Messaggi con un orario.",
+    "failedToLoad": "Non siamo riusciti a caricare questa pagina. Riprova tra poco.",
+    "whichVehicle": "Quale auto?",
+    "whichVehicleMarine": "Quale imbarcazione?",
+    "anotherVehicle": "Un'altra auto",
+    "anotherVehicleMarine": "Un'altra imbarcazione",
+    "inWorkshopNow": "ora in officina",
+    "selectVehicle": "Scegli a quale si riferisce",
+    "newVehicleHint": "Raccontaci di cosa si tratta e la aggiungiamo al tuo profilo.",
     "makeLabel": "Marca",
     "makePlaceholder": "es. Ford",
     "modelLabel": "Modello",
     "modelPlaceholder": "es. Kuga",
     "yearLabel": "Anno",
-    "plateLabel": "Targa"
+    "plateLabel": "Targa",
+    "plateLabelMarine": "Matricola",
+    "fillMake": "Inserisci la marca",
+    "fillModel": "Inserisci il modello",
+    "invalidYear": "Inserisci un anno tra {min} e {max}",
+    "optional": "(facoltativo)",
+    "whatNeeded": "Di cosa hai bisogno?",
+    "topics": {
+      "service": "Tagliando",
+      "inspection": "Controllo",
+      "tires": "Cambio gomme",
+      "brakes": "Freni",
+      "problem": "Qualcosa non va"
+    },
+    "descriptionLabel": "Descrivilo con parole tue",
+    "descriptionPlaceholder": "Per esempio: un rumore sordo davanti a sinistra sulle buche, peggio quando l'auto è fredda",
+    "descriptionPlaceholderMarine": "Per esempio: il motore parte a fatica quando è freddo",
+    "describeIssue": "Scegli qui sopra di cosa hai bisogno, oppure dicci in poche parole",
+    "filesLabel": "Foto o un breve video",
+    "filesCount": "{count} di {max} aggiunti",
+    "filesLimits": "foto fino a {photo} MB, video fino a {video} MB",
+    "filesAdd": "Aggiungi foto o video",
+    "filesDrop": "Trascina qui i file, oppure sceglili da questo computer",
+    "filesCamera": "Scatta una foto",
+    "filesTooMany": "Puoi aggiungere fino a {max} file. Togline uno per aggiungerne un altro.",
+    "filesStillUploading": "Aspetta che i file finiscano di caricarsi, poi invia.",
+    "filesFailed": "Un file non è stato caricato. Riprova o toglilo, poi invia.",
+    "fileUploading": "Caricamento di {name}",
+    "fileReady": "{name}, aggiunto",
+    "fileRemove": "Rimuovi {name}",
+    "fileRetry": "Riprova",
+    "fileType": "{name} non è una foto o un video che possiamo ricevere.",
+    "fileEmpty": "{name} è vuoto.",
+    "fileTooLarge": "{name} è troppo grande.",
+    "fileTooMany": "Sono troppi file tutti insieme. Aspetta qualche minuto e riprova.",
+    "fileSignedOut": "Sei stato disconnesso. Accedi di nuovo per aggiungere file.",
+    "fileNetwork": "La connessione si è interrotta durante il caricamento.",
+    "fileFailed": "Il file non è stato caricato.",
+    "dayLabel": "Giorno che ti va bene",
+    "pastDate": "Scegli oggi o un giorno successivo",
+    "timeLabel": "Momento della giornata",
+    "timeHint": "Scegli prima un giorno, poi indica quale parte della giornata ti va bene.",
+    "time": {
+      "any": "Qualsiasi ora",
+      "morning": "Mattina",
+      "afternoon": "Pomeriggio"
+    },
+    "timeLower": {
+      "morning": "mattina",
+      "afternoon": "pomeriggio"
+    },
+    "closedDaysHint": "Chiuso in questi giorni:",
+    "send": "Invia a {workshop}",
+    "sendHint": "Non è prenotato nulla finché l'officina non conferma un orario.",
+    "submitError": "Non siamo riusciti a inviarla in questo momento. Riprova tra poco.",
+    "sentTitle": "Inviata a {workshop}",
+    "sentBody": "L'officina legge la tua richiesta e guarda quello che hai inviato. La risposta arriva in Messaggi, con un orario.",
+    "sentBodyNoMessages": "L'officina legge la tua richiesta e guarda quello che hai inviato, poi ti ricontatta con un orario. Puoi seguirla da questa pagina.",
+    "sentMessages": "Vai a Messaggi",
+    "sentHome": "Torna alla home",
+    "sentAnother": "Chiedi qualcos'altro",
+    "nextTitle": "Cosa succede ora",
+    "nextRead": "Leggiamo la tua richiesta e guardiamo le tue foto.",
+    "nextAnswerMessages": "Ti rispondiamo in Messaggi con un orario e, se serve, un preventivo.",
+    "nextAnswer": "Ti ricontattiamo con un orario e, se serve, un preventivo.",
+    "nextVisit": "L'appuntamento compare nella tua home con giorno e ora.",
+    "talkTitle": "Preferisci parlarne?",
+    "talkCall": "Chiama il {phone}",
+    "yourRequests": "Le tue richieste",
+    "sentOn": "Inviata il {date}",
+    "preferred": "Preferenza: {date}",
+    "staffNotes": "Nota dell'officina: {notes}",
+    "requestFiles": "{count, plural, one {# file che hai inviato} other {# file che hai inviato}}",
+    "requestPhoto": "Apri la foto",
+    "requestVideo": "Apri il video",
+    "requestFileMissing": "Questa foto non è più disponibile"
   },
   "booking": {
     "title": "Prenota la revisione",
@@ -248,6 +589,51 @@
     "confirmationBody": "La tua {vehicle} è prenotata per {when} da {workshop}. Devi cambiare? Usa il link del messaggio precedente o chiama il {phone}.",
     "confirmationBodyRequest": "Grazie, {workshop} ha ricevuto la tua richiesta per {when} per la tua {vehicle} e confermerà a breve. Domande? Chiama il {phone}."
   },
+  "quoteDetail": {
+    "back": "Torna ai preventivi",
+    "title": "Preventivo",
+    "answerLabel": "La tua risposta",
+    "failedToLoad": "Non siamo riusciti a caricare questo preventivo.",
+    "total": "Totale",
+    "number": "Numero preventivo",
+    "date": "Data",
+    "validUntil": "Valido fino al",
+    "vehicle": "Veicolo",
+    "fullQuote": "Il preventivo completo",
+    "answerTitle": "L'officina aspetta la tua risposta",
+    "accept": "Accetta il preventivo",
+    "askChanges": "Chiedi modifiche",
+    "confirmAcceptTitle": "Accettare questo preventivo?",
+    "confirmAcceptBody": "L'officina saprà che vuoi far fare i lavori a questo prezzo.",
+    "confirmAcceptYes": "Sì, accetto",
+    "cancel": "Annulla",
+    "changesLabel": "Cosa vorresti cambiare?",
+    "changesPlaceholder": "Per esempio: senza le spazzole tergicristallo",
+    "sendChanges": "Invia all'officina",
+    "answerFailed": "Non siamo riusciti a inviare la tua risposta. Riprova.",
+    "acceptedTitle": "Hai accettato questo preventivo",
+    "acceptedBody": "L'officina è stata avvisata e ti ricontatterà.",
+    "changesTitle": "Hai chiesto delle modifiche",
+    "changesBody": "L'officina è stata avvisata e ti invierà un preventivo aggiornato."
+  },
+  "inspectionDetail": {
+    "back": "Torna alle ispezioni",
+    "title": "Ispezione",
+    "about": "Informazioni su questa ispezione",
+    "failedToLoad": "Non siamo riusciti a caricare questa ispezione.",
+    "vehicle": "Veicolo",
+    "vessel": "Imbarcazione",
+    "doneOn": "Eseguita il",
+    "startedOn": "Iniziata il",
+    "odometer": "Chilometraggio",
+    "engineHours": "Ore motore",
+    "nextDue": "Prossima ispezione",
+    "certificateNumber": "Numero di certificato",
+    "stillWorking": "L'officina sta ancora lavorando a questa ispezione. I risultati possono cambiare.",
+    "openShared": "Vedi le foto e scarica il resoconto",
+    "noResults": "Ancora nessun risultato.",
+    "notes": "Note dell'officina"
+  },
   "status": {
     "job": {
       "pending": "Prenotato",
@@ -257,7 +643,7 @@
       "completed": "Completato"
     },
     "request": {
-      "pending": "In attesa",
+      "pending": "In attesa di risposta",
       "converted": "Prenotata",
       "dismissed": "Chiusa",
       "cancelled": "Annullata"

+ 106 - 53
messages/it/settings.json

@@ -977,6 +977,11 @@
     "paymentReceivedDescription": "Inviato quando viene registrato un pagamento per una fattura.",
     "saveSmsTemplates": "Salva modelli SMS",
     "smsTemplateSaved": "Impostazioni modelli SMS salvate",
+    "layoutTitle": "Layout fattura",
+    "layoutDescription": "Personalizza l'ordine e la visibilita delle sezioni nelle fatture e nei preventivi.",
+    "layoutSaved": "Layout salvato con successo",
+    "layoutDocInvoice": "Fattura",
+    "layoutDocQuote": "Preventivo",
     "smsDefaults": {
       "invoiceReady": "La fattura di {company_name} è pronta. Visualizzala qui: {share_link}\nCordiali saluti {company_name} - {current_user}",
       "quoteReady": "Il tuo preventivo è pronto per la revisione. Visualizzalo qui: {share_link}",
@@ -997,11 +1002,6 @@
       "rose": "Rosa",
       "indigo": "Indaco"
     },
-    "layoutTitle": "Layout fattura",
-    "layoutDescription": "Personalizza l'ordine e la visibilita delle sezioni nelle fatture e nei preventivi.",
-    "layoutSaved": "Layout salvato con successo",
-    "layoutDocInvoice": "Fattura",
-    "layoutDocQuote": "Preventivo",
     "goToLayout": "Disposizione e sezioni",
     "openDesigner": "Apri il designer",
     "designerIntro": "Scegli un punto di partenza, poi apri il designer per cambiare tutto.",
@@ -1699,55 +1699,108 @@
   },
   "portal": {
     "title": "Portale clienti",
-    "description": "Consenti ai tuoi clienti di accedere e visualizzare i loro veicoli, fatture, preventivi e ispezioni. I clienti possono anche inviare richieste di servizio.",
-    "enablePortal": "Abilita portale clienti",
-    "enablePortalHint": "I clienti con un indirizzo email possono accedere tramite link magico",
-    "enabled": "Portale clienti abilitato",
-    "disabled": "Portale clienti disabilitato",
-    "failedUpdate": "Aggiornamento impostazione non riuscito",
-    "customSlug": "Slug portale personalizzato",
-    "save": "Salva",
-    "slugSaved": "Slug portale salvato",
-    "slugRemoved": "Slug portale rimosso",
-    "failedUpdateSlug": "Aggiornamento slug non riuscito",
-    "slugHint": "Lettere minuscole, numeri, trattini e underscore. 3-48 caratteri. Lascia vuoto per usare l'URL predefinito.",
-    "portalUrl": "URL del portale",
-    "urlCopied": "URL del portale copiato",
-    "shareHint": "Condividi questo link con i tuoi clienti per permettere loro di accedere al portale.",
+    "description": "I tuoi clienti accedono per seguire i lavori, rispondere ai preventivi, pagare le fatture, prenotare un appuntamento e scriverti.",
+    "enablePortal": "Attiva il portale clienti",
+    "enablePortalHint": "I clienti accedono con un link inviato alla loro email o al loro telefono. Nessuna password da ricordare.",
+    "failedUpdate": "Impossibile salvare le impostazioni",
+    "customSlug": "Indirizzo del portale",
+    "slugHint": "Lettere minuscole, numeri, trattini e underscore, da 3 a 48 caratteri. Lascia vuoto per usare l'indirizzo predefinito.",
+    "portalUrl": "Link al tuo portale",
+    "urlCopied": "Link copiato",
+    "shareHint": "Condividi questo link con i tuoi clienti perché possano accedere.",
     "serviceRequestAlertsHint": "Le richieste di servizio dal portale compaiono sempre nella campanella delle notifiche. Puoi riceverle anche via e-mail.",
-    "serviceRequestAlertsLink": "Impostazioni avvisi →",
+    "serviceRequestAlertsLink": "Impostazioni avvisi",
     "descriptionLabel": "La tua officina",
     "descriptionPlaceholder": "Racconta ai clienti qualcosa sulla tua officina, i servizi che offri e ciò che ti rende unico.",
-    "descriptionHint": "Mostrato ai visitatori in cima alla pagina del portale.",
-    "hoursLabel": "Orari di apertura",
-    "hoursPlaceholder": "Lun-Ven: 8:00-17:00\nSab: 9:00-13:00\nDom: Chiuso",
-    "hoursHint": "Testo libero. Usa interruzioni di riga per elencare ogni giorno separatamente.",
-    "contentSaved": "Contenuto del portale salvato",
-    "background": {
-      "title": "Sfondo del portale",
-      "description": "Scegli l'aspetto della pagina di benvenuto del portale clienti.",
-      "typeNone": "Nessuno",
-      "typeTemplate": "Modello",
-      "typeImage": "Immagine personalizzata",
-      "chooseTemplate": "Scegli un modello",
-      "uploadLabel": "Immagine di sfondo",
-      "upload": "Carica immagine",
-      "replace": "Sostituisci immagine",
-      "remove": "Rimuovi",
-      "uploadHint": "JPG, PNG o WebP. Max 8 MB. Consigliato almeno 1600×900.",
-      "uploading": "Caricamento sfondo…",
-      "uploaded": "Sfondo aggiornato",
-      "uploadFailed": "Caricamento sfondo non riuscito",
-      "templateNames": {
-        "default": "Sobrio",
-        "sunrise": "Alba",
-        "ocean": "Oceano",
-        "forest": "Foresta",
-        "slate": "Ardesia",
-        "sand": "Sabbia"
+    "descriptionHint": "Mostrato nella pagina di accesso del tuo portale.",
+    "copyUrl": "Copia il link"
+  },
+  "customerPortal": {
+    "slugPlaceholder": "la-mia-officina",
+    "slugUnsaved": "Questo indirizzo funziona dopo il salvataggio.",
+    "slugInvalid": "Usa da 3 a 48 lettere minuscole, numeri, trattini o underscore, iniziando e finendo con una lettera o un numero.",
+    "slugReserved": "Questa parola è riservata. Scegli un altro indirizzo.",
+    "slugTaken": "Un'altra officina usa già questo indirizzo. Scegline un altro.",
+    "hours": {
+      "title": "Orari di apertura",
+      "fromCalendar": "Il portale mostra gli orari di apertura e i giorni di chiusura del calendario della tua officina.",
+      "link": "Impostazioni orari di apertura",
+      "typedNote": "La pagina di accesso mostra ancora gli orari scritti qui in precedenza, perché nel calendario non sono ancora impostati orari di apertura. Impostali lì e il portale mostrerà quelli.",
+      "typedLabel": "Mostrato oggi nella pagina di accesso"
+    },
+    "look": {
+      "title": "Aspetto del portale clienti",
+      "description": "Una sola scelta definisce la pagina di accesso e tutte le pagine che i clienti vedono dopo. I clienti non possono cambiarla."
+    },
+    "theme": {
+      "legend": "Tema",
+      "daylight": {
+        "name": "Daylight",
+        "tagline": "Chiaro e calmo"
+      },
+      "garage": {
+        "name": "Garage",
+        "tagline": "Scuro come la lavagna dei box"
+      },
+      "print": {
+        "name": "Print",
+        "tagline": "Sobrio, da rivista"
+      },
+      "colour": {
+        "name": "Colour",
+        "tagline": "Il tuo colore, in grande"
       }
     },
-    "copyUrl": "Copia URL del portale"
+    "colour": {
+      "title": "Il tuo colore",
+      "description": "Usato per pulsanti ed evidenziazioni in ogni tema.",
+      "swatches": "Colori suggeriti",
+      "orange": "Arancione",
+      "blue": "Blu",
+      "green": "Verde",
+      "red": "Rosso",
+      "black": "Nero",
+      "hexLabel": "Colore come codice esadecimale",
+      "invalid": "Questo non è un colore. Scrivilo come codice esadecimale, per esempio #1D4ED8.",
+      "usingTheme": "Usa il colore di {theme}, {hex}.",
+      "themeColour": "Il colore di {theme} è {hex}.",
+      "useTheme": "Usa il colore del tema",
+      "sample": "Prenota un appuntamento",
+      "inkLight": "Il testo su questo colore è in bianco, così resta leggibile.",
+      "inkDark": "Il testo su questo colore è in nero, così resta leggibile.",
+      "faint": "Questo colore risalta poco sullo sfondo di {theme}. Link ed evidenziazioni potrebbero vedersi male."
+    },
+    "cover": {
+      "title": "Foto di copertina e logo",
+      "description": "Mostrati nella pagina di accesso. Il logo viene dalle impostazioni Azienda.",
+      "companyLink": "Impostazioni Azienda",
+      "hint": "PNG, JPEG o WebP, fino a 8 MB.",
+      "none": "Nessuna foto di copertina",
+      "alt": "La foto di copertina nella pagina di accesso",
+      "upload": "Carica una foto",
+      "replace": "Sostituisci la foto",
+      "remove": "Rimuovi la foto",
+      "uploading": "Caricamento in corso",
+      "uploadFailed": "Impossibile caricare la foto"
+    },
+    "features": {
+      "title": "Cosa ricevono i clienti",
+      "description": "Le parti del portale che puoi disattivare.",
+      "messages": "Messaggi nel portale",
+      "messagesHint": "I clienti ti scrivono dal portale. I loro messaggi arrivano nella tua casella Messaggi.",
+      "tires": "Mostra i pneumatici in deposito",
+      "tiresHint": "I clienti vedono i pneumatici che custodisci per loro, con la profondità del battistrada."
+    },
+    "bar": {
+      "label": "Salva le impostazioni del portale clienti",
+      "unsaved": "Hai modifiche non salvate",
+      "saved": "Tutto salvato",
+      "discard": "Annulla le modifiche",
+      "save": "Salva le modifiche",
+      "open": "Apri il portale come cliente",
+      "openOff": "Attiva il portale e salva per aprirlo."
+    },
+    "savedToast": "Impostazioni del portale clienti salvate"
   },
   "email": {
     "title": "Provider e-mail",
@@ -1989,13 +2042,13 @@
     "noMembers": "Nessun membro trovato",
     "addRecipient": "Aggiungi destinatario...",
     "searchMembers": "Cerca membri...",
-    "sendNow": "Invia ora",
-    "sentNow": "Report inviato con successo",
     "newSchedule": "Nuova pianificazione",
     "editSchedule": "Modifica pianificazione",
     "edit": "Modifica",
     "cancel": "Annulla",
     "sent": "inviati",
+    "sendNow": "Invia ora",
+    "sentNow": "Report inviato con successo",
     "emptyTitle": "Nessun report programmato",
     "emptyDescription": "Crea una pianificazione per generare e inviare automaticamente report al tuo team.",
     "sectionLabels": {
@@ -2847,9 +2900,9 @@
       "uploading": "Caricamento…",
       "width": "Larghezza del logo",
       "hint": "Separato dal logo aziendale. Al caricamento viene ritagliato e preparato per l'email. PNG, JPEG o WebP fino a 4 MB.",
-      "position": "Posizione",
       "tooLarge": "L'immagine deve essere inferiore a 4 MB",
-      "uploadFailed": "Impossibile caricare il logo"
+      "uploadFailed": "Impossibile caricare il logo",
+      "position": "Posizione"
     },
     "image": {
       "empty": "Nessuna immagine caricata. Il blocco non stampa nulla finché non ce n'è una.",

+ 3 - 0
messages/lt/audit.json

@@ -81,6 +81,7 @@
     "settings_updateInvoiceLayout": "Atnaujintas sąskaitos išdėstymas",
     "settings_updateQuoteLayout": "Atnaujintas pasiūlymo išdėstymas",
     "settings_updatePortalSlug": "Atnaujintas portalo URL",
+    "settings_updateCustomerPortal": "Atnaujinti kliento portalo nustatymai",
     "inspectionTemplate_create": "Sukurtas apžiūros kontrolinis sąrašas",
     "inspectionTemplate_update": "Atnaujintas apžiūros kontrolinis sąrašas",
     "inspectionTemplate_delete": "Ištrintas apžiūros kontrolinis sąrašas",
@@ -102,6 +103,7 @@
     "statusReport_create": "Sukurta būsenos ataskaita",
     "statusReport_send": "Išsiųsta būsenos ataskaita",
     "statusReport_delete": "Ištrinta būsenos ataskaita",
+    "portal_send": "Išsiųsta žinutė portale",
     "telegram_send": "Išsiųsta Telegram žinutė",
     "webhook_create": "Sukurtas webhook’as",
     "webhook_update": "Atnaujintas webhook’as",
@@ -306,6 +308,7 @@
     "technician_create": "Sukurtas meistras „{name}“",
     "technician_delete": "Ištrintas meistras {id}",
     "technician_update": "Atnaujintas meistras {id}",
+    "portal_send": "Išsiųsta žinutė {name} kliento portale",
     "telegram_send": "Telegram žinutė išsiųsta {name}",
     "tire_location_bulk_create": "Sukurta {count, plural, one {# padangų saugojimo vieta} few {# padangų saugojimo vietos} many {# padangų saugojimo vietos} other {# padangų saugojimo vietų}}",
     "tire_location_create": "Sukurta padangų saugojimo vieta {code}",

+ 6 - 0
messages/lt/customers.json

@@ -120,6 +120,12 @@
     "saveNotes": "Išsaugoti pastabas",
     "submitted": "Pateikta {date}",
     "preferred": "Pageidaujama: {date}",
+    "preferredMorning": "Pageidaujama: {date}, rytą",
+    "preferredAfternoon": "Pageidaujama: {date}, po pietų",
+    "files": "{count, plural, one {# kliento nuotrauka ar vaizdo įrašas} few {# kliento nuotraukos ar vaizdo įrašai} many {# kliento nuotraukos ar vaizdo įrašo} other {# kliento nuotraukų ar vaizdo įrašų}}",
+    "openPhoto": "Atidaryti nuotrauką {number}",
+    "openVideo": "Atidaryti vaizdo įrašą {number}",
+    "fileMissing": "Nuotrauka {number} nebepasiekiama",
     "workOrderCreated": "Darbo užsakymas sukurtas",
     "workOrderError": "Nepavyko sukurti darbo užsakymo",
     "requestDismissed": "Užklausa atmesta",

+ 23 - 0
messages/lt/messaging.json

@@ -51,5 +51,28 @@
       "noMatches": "Pagal paiešką klientų nerasta.",
       "noRecipients": "Dar nėra klientų su el. pašto adresu."
     }
+  },
+  "portal": {
+    "badge": "Portalas",
+    "empty": "{name} portale dar nieko neparašė.",
+    "placeholder": "Rašyti {name} portale",
+    "send": "Siųsti žinutę",
+    "sendFailed": "Nepavyko išsiųsti žinutės",
+    "sendHint": "Enter išsiunčia, Shift+Enter pradeda naują eilutę. {name} ją pamatys kitą kartą atidaręs portalą.",
+    "loadOlder": "Įkelti senesnes žinutes",
+    "loadFailed": "Nepavyko įkelti pokalbio.",
+    "tryAgain": "Bandyti dar kartą",
+    "addPhoto": "Pridėti nuotrauką",
+    "removePhoto": "Pašalinti {name}",
+    "uploadFailed": "Nepavyko pridėti nuotraukos. Nuotraukos gali būti iki {size} MB.",
+    "tooManyPhotos": "Žinutėje telpa iki {count} nuotraukų.",
+    "photoFrom": "Nuotrauka nuo {name}",
+    "videoFrom": "Vaizdo įrašas nuo {name}",
+    "openFile": "Atidaryti failą",
+    "you": "Jūs",
+    "seen": "Perskaityta",
+    "off": "Žinutės kliento portale išjungtos, todėl šį pokalbį galima skaityti, bet ne atsakyti.",
+    "offSettings": "Kliento portalo nustatymai",
+    "deleteDescription": "Pašalina visą pokalbį su {name}, ir kliento pusėje: jis dings iš jo portalo."
   }
 }

+ 484 - 98
messages/lt/portal.json

@@ -12,28 +12,42 @@
     "description": "Norėdami pasiekti klientų portalą, naudokite tiesioginę nuorodą, kurią gavote iš savo dirbtuvių.",
     "hint": "Jūsų dirbtuvės pasidalins portalo nuoroda el. paštu arba SMS žinute."
   },
-  "landing": {
-    "contactTitle": "Susisiekite su mumis",
-    "aboutTitle": "Apie mus",
-    "noContactInfo": "Kontaktiniai duomenys dar nepateikti.",
-    "address": "Adresas",
-    "phone": "Telefonas",
-    "email": "El. paštas",
-    "hours": "Darbo laikas",
-    "directions": "Kelio nuorodos"
+  "signIn": {
+    "eyebrow": "Mūsų klientams",
+    "heading": "Jūsų automobilis, sąskaitos ir žinutės vienoje vietoje.",
+    "headingMarine": "Jūsų valtis, sąskaitos ir žinutės vienoje vietoje.",
+    "headingNoMessages": "Jūsų automobilis, sąskaitos ir pasiūlymai vienoje vietoje.",
+    "headingNoMessagesMarine": "Jūsų valtis, sąskaitos ir pasiūlymai vienoje vietoje.",
+    "confirmEyebrow": "Beveik baigta",
+    "hoursTitle": "Darbo laikas",
+    "findUs": "Kaip mus rasti",
+    "callUs": "Skambinkite mums",
+    "directions": "Maršrutas",
+    "dayRange": "{from}–{to}",
+    "timeRange": "{start}–{end}",
+    "closed": "nedirba"
   },
   "login": {
-    "signInTitle": "Klientų prisijungimas",
-    "signInSubtitle": "Prisijunkite, kad peržiūrėtumėte sąskaitas, pasiūlymus ir paslaugų istoriją.",
-    "emailLabel": "El. pašto adresas",
+    "emailLabel": "Jūsų el. pašto adresas",
     "emailPlaceholder": "you@example.com",
-    "sendLink": "Siųsti prisijungimo nuorodą",
+    "sendLink": "Atsiųsti prisijungimo nuorodą",
     "checkEmail": "Patikrinkite el. paštą",
     "checkEmailDescription": "Jei tokia paskyra egzistuoja, išsiuntėme prisijungimo nuorodą. Nuoroda galioja 15 minučių.",
     "tryDifferentEmail": "Pabandyti kitą el. paštą",
+    "requestFailed": "Šiuo metu nepavyko išsiųsti. Patikrinkite ryšį ir bandykite dar kartą.",
+    "tooManyTries": "Per daug bandymų per trumpą laiką. Palaukite minutę ir bandykite dar kartą.",
+    "tryAgain": "Bandyti dar kartą",
+    "sendNewCode": "Siųsti naują kodą",
+    "newCodeSent": "Išsiuntėme naują kodą.",
+    "errors": {
+      "invalid": "Ši prisijungimo nuoroda neveikia. Paprašykite naujos žemiau.",
+      "used": "Ši prisijungimo nuoroda jau panaudota. Paprašykite naujos žemiau.",
+      "expired": "Šios prisijungimo nuorodos galiojimas baigėsi. Paprašykite naujos žemiau.",
+      "noAccount": "Neradome jūsų paskyros. Paprašykite dirbtuvių patikrinti, kokį el. pašto adresą jos turi."
+    },
     "tabEmail": "El. paštas",
     "tabSms": "SMS",
-    "phoneLabel": "Telefono numeris",
+    "phoneLabel": "Jūsų mobiliojo telefono numeris",
     "phonePlaceholder": "+370 61234567",
     "phoneLocalPlaceholder": "61234567",
     "sendCode": "Siųsti kodą",
@@ -48,90 +62,336 @@
     "confirmDescription": "Jungiatės kaip {email}. Paspauskite mygtuką, kad tęstumėte.",
     "confirmButton": "Tęsti prisijungimą",
     "notFound": "Nerasta",
-    "portalNotExist": "Šis portalas neegzistuoja.",
-    "portalNotAvailable": "Portalas nepasiekiamas",
-    "portalNotEnabled": "Kliento portalas šiai organizacijai neįjungtas."
+    "portalNotExist": "Šis puslapis neegzistuoja.",
+    "portalNotAvailable": "Nepasiekiama",
+    "portalNotEnabled": "Šios dirbtuvės šiuo metu nesiūlo prieigos internetu.",
+    "noPassword": "Be slaptažodžio. Atsiųsime nuorodą, kuri jus prijungs.",
+    "noPasswordSms": "Be slaptažodžio. SMS žinute atsiųsime kodą, kuris jus prijungs.",
+    "method": "Kaip prisijungti"
   },
   "nav": {
-    "dashboard": "Valdymo skydelis",
-    "vehicles": "Transporto priemonės",
+    "label": "Pagrindinis meniu",
+    "skip": "Pereiti prie turinio",
+    "home": "Pradžia",
+    "messages": "Žinutės",
+    "book": "Registracija",
+    "bookLong": "Užsiregistruoti vizitui",
+    "cars": "Mano automobiliai",
+    "carsMarine": "Mano valtys",
+    "papers": "Dokumentai",
+    "papersLong": "Sąskaitos ir pasiūlymai",
+    "unread": "{count, plural, one {# neperskaityta žinutė} few {# neperskaitytos žinutės} many {# neperskaitytos žinutės} other {# neperskaitytų žinučių}}",
+    "documents": "Dokumentai",
     "invoices": "Sąskaitos",
     "quotes": "Pasiūlymai",
-    "inspections": "Apžiūros",
-    "requestService": "Užsakyti paslaugą"
+    "inspections": "Apžiūros"
   },
   "header": {
-    "signOut": "Atsijungti",
-    "askShort": "Servisas"
+    "homeLink": "{name}, pradžia",
+    "account": "Jūsų paskyra, {name}",
+    "signedInAs": "Prisijungta kaip",
+    "signOut": "Atsijungti"
+  },
+  "hoursLine": {
+    "openUntil": "Dirba iki {time}",
+    "opensAt": "Atsidaro {time}",
+    "closedNow": "Šiandien jau nedirba",
+    "closedToday": "Šiandien nedirba"
+  },
+  "format": {
+    "today": "šiandien",
+    "tomorrow": "rytoj"
   },
   "shell": {
     "notFound": "Nerasta",
-    "portalNotExist": "Šis portalas neegzistuoja.",
-    "portalNotAvailable": "Portalas nepasiekiamas",
-    "portalNotEnabled": "Kliento portalas šiai organizacijai neįjungtas."
+    "portalNotExist": "Šis puslapis neegzistuoja.",
+    "portalNotAvailable": "Nepasiekiama",
+    "portalNotEnabled": "Šios dirbtuvės dar neatvėrė puslapių klientams.",
+    "callWorkshop": "Skambinti {phone}",
+    "openMap": "Atidaryti {address} žemėlapyje",
+    "errorTitle": "Kažkas nepavyko",
+    "errorBody": "Šio puslapio parodyti nepavyko. Bandykite dar kartą arba grįžkite į pradžios puslapį.",
+    "tryAgain": "Bandyti dar kartą",
+    "pageNotFoundTitle": "Tokio puslapio neradome",
+    "pageNotFoundBody": "Nuoroda gali būti pasenusi arba puslapis pašalintas.",
+    "backHome": "Grįžti į pradžią"
   },
-  "dashboard": {
-    "welcome": "Sveiki, {name}",
-    "overview": "Jūsų paskyros apžvalga.",
-    "vehicles": "Transporto priemonės",
-    "openInvoices": "Neapmokėtos sąskaitos",
-    "pendingQuotes": "Laukiantys pasiūlymai",
-    "recentInvoices": "Naujausios sąskaitos",
-    "recentQuotes": "Naujausi pasiūlymai",
-    "pendingServiceRequests": "Laukiantys paslaugų užklausos",
-    "viewAll": "Peržiūrėti visas",
-    "newRequest": "Nauja užklausa",
-    "noInvoicesYet": "Sąskaitų dar nėra.",
-    "noQuotesYet": "Pasiūlymų dar nėra.",
-    "view": "Peržiūrėti",
-    "pending": "Laukia",
-    "failedToLoad": "Nepavyko įkelti valdymo skydelio.",
-    "quickRequestService": "Užsakyti servisą",
-    "quickRequestServiceHint": "Rezervuokite remontą ar patikrą",
-    "quickViewInvoices": "Jūsų sąskaitos",
-    "quickViewInvoicesHint": "Sąskaitos ir mokėjimų istorija",
-    "quickViewVehicles": "Jūsų transporto priemonės",
-    "quickViewVehiclesHint": "Aptarnavimo istorija ir informacija",
-    "activeJobs": "Aktyvūs darbai"
+  "home": {
+    "failedToLoad": "Nepavyko įkelti jūsų puslapio. Bandykite po akimirkos.",
+    "heroWorkingPromised": "Sveiki, {name}. Jūsų automobilis dirbtuvėse, bus paruoštas {day} apie {time}.",
+    "heroWorkingPromisedMarine": "Sveiki, {name}. Jūsų valtis dirbtuvėse, bus paruošta {day} apie {time}.",
+    "heroWorking": "Sveiki, {name}. Jūsų automobilis dirbtuvėse.",
+    "heroWorkingMarine": "Sveiki, {name}. Jūsų valtis dirbtuvėse.",
+    "heroReady": "Sveiki, {name}. Jūsų automobilį jau galima atsiimti.",
+    "heroReadyMarine": "Sveiki, {name}. Jūsų valtį jau galima atsiimti.",
+    "heroBookedAt": "Sveiki, {name}. Laukiame jūsų automobilio {day} {time}.",
+    "heroBookedAtMarine": "Sveiki, {name}. Laukiame jūsų valties {day} {time}.",
+    "heroBooked": "Sveiki, {name}. Jūsų vizitas užregistruotas.",
+    "heroNothing": "Sveiki, {name}. Šiuo metu dirbtuvėse nieko jūsų nėra.",
+    "heroNothingBody": "Užsiregistruokite, kai jūsų automobiliui prireiks mūsų. Darbų eigą sekite čia, žingsnis po žingsnio.",
+    "heroNothingBodyMarine": "Užsiregistruokite, kai jūsų valčiai prireiks mūsų. Darbų eigą sekite čia, žingsnis po žingsnio.",
+    "stepsLabel": "Kiek pažengė darbai",
+    "stepBooked": "Užregistruota",
+    "stepCheckedIn": "Priimta",
+    "stepWorking": "Dirbtuvėse",
+    "stepReady": "Galima atsiimti",
+    "latestUpdate": "Naujausia iš dirbtuvių · {when}",
+    "updateFallback": "Dirbtuvės pasidalijo naujienomis apie darbus.",
+    "seeUpdate": "Žiūrėti nuotraukas ir vaizdo įrašą",
+    "otherJobs": "Taip pat užregistruota arba vykdoma",
+    "jobBookedFor": "Užregistruota {day} {time}",
+    "jobReadyAround": "Bus paruošta {day} apie {time}",
+    "needsAnswer": "Laukia jūsų atsakymo",
+    "validUntil": "Galioja iki {day}",
+    "quoteNumber": "Pasiūlymas {number}",
+    "quote": "Pasiūlymas",
+    "readQuote": "Skaityti pasiūlymą",
+    "moreQuotes": "{count, plural, one {Dar # pasiūlymas laukia jūsų atsakymo} few {Dar # pasiūlymai laukia jūsų atsakymo} many {Dar # pasiūlymo laukia jūsų atsakymo} other {Dar # pasiūlymų laukia jūsų atsakymo}}",
+    "toPay": "Mokėti",
+    "due": "Apmokėti iki {day}",
+    "overdueSince": "Vėluoja nuo {day}",
+    "invoiceNumber": "Sąskaita {number}",
+    "invoice": "Sąskaita",
+    "payNow": "Mokėti dabar",
+    "seeInvoice": "Žiūrėti sąskaitą",
+    "moreInvoices": "{count, plural, one {Dar # sąskaita apmokėti} few {Dar # sąskaitos apmokėti} many {Dar # sąskaitos apmokėti} other {Dar # sąskaitų apmokėti}}, iš viso {total}",
+    "paidSoFar": "Sumokėta {paid} iš {total}",
+    "toPayCount": "{count, plural, one {# sąskaita} few {# sąskaitos} many {# sąskaitos} other {# sąskaitų}}",
+    "toPayOverdueCount": "Vėluoja: {count}",
+    "toPayMostUrgent": "Skubiausia",
+    "toPayNext": "Kita apmokėti",
+    "seeAllInvoices": "Žiūrėti visas sąskaitas ({count})",
+    "nextStep": "Toliau",
+    "nextStepWorking": "Priimame automobilį ir pradedame darbus.",
+    "nextStepWorkingMarine": "Priimame valtį ir pradedame darbus.",
+    "nextStepReady": "Kai bus galima atsiimti, gausite žinutę čia.",
+    "nextStepReadyNoChat": "Pranešime, kai bus galima atsiimti.",
+    "nextStepCollect": "Užsukite, kai jums patogu.",
+    "tires": "Padangų saugojimas",
+    "tiresStoredSummer": "Pas mus saugomos vasarinės padangos",
+    "tiresStoredWinter": "Pas mus saugomos žieminės padangos",
+    "tiresStoredAllSeason": "Pas mus saugomos universalios padangos",
+    "tiresStoredOther": "Pas mus saugomos padangos",
+    "tiresSeasonSummer": "Vasarinės padangos",
+    "tiresSeasonWinter": "Žieminės padangos",
+    "tiresSeasonAllSeason": "Universalios padangos",
+    "tiresSeasonOther": "Padangos",
+    "tiresStudded": "dygliuotos",
+    "tiresOnRims": "su ratlankiais",
+    "tiresStoredSince": "saugomos nuo {day}",
+    "tiresTreadLeft": "likęs protektorius",
+    "tiresTreadLine": "Likęs protektorius: {depth}",
+    "tiresNotMeasured": "Protektorius dar nepamatuotas",
+    "tiresCount": "{count, plural, one {# padanga} few {# padangos} many {# padangos} other {# padangų}}",
+    "cars": "Mano automobiliai",
+    "carsMarine": "Mano valtys",
+    "carVisits": "{count, plural, =0 {vizitų dar nėra} one {# vizitas} few {# vizitai} many {# vizito} other {# vizitų}}",
+    "carInWorkshop": "Dirbtuvėse",
+    "carWarrantyActive": "garantija galioja",
+    "carWarrantyExpiring": "garantija greitai baigsis",
+    "carsEmptyTitle": "Automobilių dar nėra",
+    "carsEmptyTitleMarine": "Valčių dar nėra",
+    "carsEmptyBody": "Kai dirbtuvės užregistruos jūsų automobilį, čia matysite jo istoriją.",
+    "carsEmptyBodyMarine": "Kai dirbtuvės užregistruos jūsų valtį, čia matysite jos istoriją.",
+    "nextVisit": "Kitas vizitas",
+    "visitWhen": "{day}, {time}",
+    "directions": "Maršrutas",
+    "nextVisitEmptyTitle": "Vizitas neužregistruotas",
+    "nextVisitEmptyBody": "Pasirinkite patogią dieną ir parašykite, ko reikia automobiliui.",
+    "nextVisitEmptyBodyMarine": "Pasirinkite patogią dieną ir parašykite, ko reikia valčiai.",
+    "bookVisit": "Užsiregistruoti vizitui",
+    "requests": "Išsiųsta dirbtuvėms",
+    "requestSent": "Išsiųsta {day}",
+    "requestWaiting": "Laukiama atsakymo",
+    "requestWishedDay": "pageidaujama diena: {day}",
+    "messagesLabel": "Žinutės su {workshop}",
+    "messagePreviewFrom": "{name}:",
+    "messagePreviewYou": "Jūs:",
+    "messagePreviewPhoto": "Nuotrauka",
+    "messagePreviewEmpty": "Rašyti: {workshop}",
+    "messagePreviewOpen": "Atidaryti žinutes su {workshop}"
+  },
+  "themes": {
+    "colour": {
+      "stepNow": "Dabar",
+      "storedSince": "Saugoma nuo"
+    },
+    "garage": {
+      "readyAround": "Bus paruošta {day} apie",
+      "expectedAt": "Laukiama {day}",
+      "stepDone": "Atlikta",
+      "stepNow": "Dabar",
+      "stepNotYet": "Dar ne",
+      "stepNotYetAround": "Dar ne, apie {time}",
+      "tireCar": "Automobilis",
+      "tireCarMarine": "Valtis",
+      "tireMake": "Padangos",
+      "tireSize": "Dydis",
+      "tireSet": "Komplektas",
+      "tireTread": "Likęs protektorius",
+      "openUntil": "Šiandien dirba iki",
+      "opensAt": "Šiandien atsidaro"
+    },
+    "print": {
+      "kicker": "Jūsų automobilis",
+      "kickerMarine": "Jūsų valtis",
+      "dateline": "{workshop}, {time}.",
+      "stepDone": "Atlikta",
+      "stepNow": "Dabar",
+      "stepTodo": "Dar ne",
+      "waiting": "Laukia jūsų",
+      "waitingCount": "{count, plural, one {# dalykas} few {# dalykai} many {# dalyko} other {# dalykų}}",
+      "waitingOwed": "{total} mokėti ({invoices})",
+      "colWhat": "Kas",
+      "colDocument": "Dokumentas",
+      "colDeadline": "Terminas",
+      "colAmount": "Suma",
+      "tireCar": "Automobilis",
+      "tireCarMarine": "Valtis",
+      "tireTyre": "Padanga",
+      "tireSize": "Dydis",
+      "tireSet": "Komplektas",
+      "tireTread": "Protektorius",
+      "portalLabel": "Klientų portalas",
+      "callWorkshop": "Skambinti dirbtuvėms"
+    }
+  },
+  "chat": {
+    "title": "Žinutės",
+    "label": "Žinutės su {workshop}",
+    "subtitle": "{workshop}",
+    "call": "Skambinti: {workshop}",
+    "emptyTitle": "Žinučių dar nėra",
+    "emptyBody": "Rašykite čia ({workshop}). Atsakymas pasirodys šiame pokalbyje.",
+    "inputLabel": "Parašykite žinutę ({workshop})",
+    "placeholder": "Rašyti: {workshop}",
+    "addPhoto": "Pridėti nuotrauką",
+    "send": "Siųsti",
+    "photo": "Nuotrauka nuo {name}",
+    "you": "Jūs",
+    "emptyBodyOff": "Čia nieko neparašyta.",
+    "video": "Vaizdo įrašas nuo {name}",
+    "file": "Atidaryti failą",
+    "openLarge": "{what}, atidaryti padidintą",
+    "closeViewer": "Uždaryti",
+    "today": "Šiandien",
+    "yesterday": "Vakar",
+    "seen": "Perskaityta",
+    "sending": "Siunčiama",
+    "retry": "Bandyti dar kartą",
+    "discard": "Ištrinti",
+    "earlier": "Rodyti ankstesnes",
+    "newBelow": "Nauja žinutė",
+    "keysHint": "Enter išsiunčia žinutę. Shift ir Enter pradeda naują eilutę.",
+    "off": "Šios dirbtuvės išjungė žinutes. Tai, kas parašyta, vis tiek galite skaityti.",
+    "errors": {
+      "notSent": "Neišsiųsta. Patikrinkite ryšį.",
+      "chatOff": "Neišsiųsta. Dirbtuvės išjungė žinutes.",
+      "tooFast": "Neišsiųsta. Per daug žinučių iš karto, palaukite akimirką.",
+      "restoring": "Neišsiųsta. Dirbtuvės trumpam nepasiekiamos. Pabandykite dar kartą po kelių minučių."
+    },
+    "upload": {
+      "adding": "Pridedama: {name}",
+      "remove": "Pašalinti {name}",
+      "tooMany": "Žinutėje telpa iki {count} nuotraukų ar vaizdo įrašų. Pirmiausia išsiųskite šiuos.",
+      "tooLarge": "Failas per didelis. Nuotraukos gali būti iki {photo} MB, vaizdo įrašai iki {video} MB.",
+      "type": "Čia galima siųsti tik nuotraukas ir vaizdo įrašus.",
+      "failed": "Nepavyko pridėti failo. Bandykite dar kartą."
+    },
+    "suggestions": {
+      "label": "Idėjos pirmai žinutei",
+      "call": "Ar galite man paskambinti?",
+      "book": "Norėčiau užsiregistruoti vizitui.",
+      "invoice": "Turiu klausimą dėl sąskaitos."
+    },
+    "events": {
+      "workStarted": "Pradėti darbai: {vehicle}",
+      "workStartedNoVehicle": "Pradėti jūsų užsakymo darbai",
+      "update": "Naujienos iš {workshop}",
+      "updateAbout": "Apie: {vehicle}",
+      "seeUpdate": "Žiūrėti naujienas",
+      "quote": "Pasiūlymas",
+      "quoteLine": "Pasiūlymas {title}",
+      "quoteWaiting": "Pasiūlymas laukia jūsų atsakymo",
+      "quotes": "Pasiūlymai: {count}",
+      "answerQuote": "Skaityti ir atsakyti",
+      "invoice": "Sąskaita",
+      "invoiceLine": "Sąskaita {title}",
+      "invoiceOverdue": "Sąskaita vėluoja",
+      "invoices": "Sąskaitos: {count}",
+      "seeInvoice": "Žiūrėti sąskaitą",
+      "jobsStarted": "Pradėti darbai, užsakymų: {count}"
+    }
+  },
+  "messagesPage": {
+    "title": "Žinutės",
+    "offTitle": "Žinutės išjungtos",
+    "offBody": "Šios dirbtuvės čia žinučių nepriima. Skambinkite {phone} arba užsiregistruokite vizitui.",
+    "offBodyNoPhone": "Šios dirbtuvės čia žinučių nepriima. Užsiregistruokite vizitui ir parašykite, ko jums reikia."
   },
   "invoices": {
     "title": "Sąskaitos",
-    "description": "Visos jūsų paslaugų sąskaitos.",
+    "description": "Sąskaitos už darbus, kuriuos dirbtuvės jau atliko.",
     "noInvoices": "Sąskaitų dar nėra.",
-    "failedToLoad": "Nepavyko įkelti sąskaitų.",
+    "noInvoicesHint": "Kai dirbtuvės baigs darbą, jo sąskaita pasirodys čia.",
+    "failedToLoad": "Nepavyko įkelti jūsų sąskaitų. Bandykite po akimirkos.",
     "invoice": "Sąskaita",
+    "invoiceNumber": "Sąskaita {number}",
     "vehicle": "Transporto priemonė",
     "date": "Data",
     "amount": "Suma",
     "payment": "Mokėjimas",
     "view": "Peržiūrėti",
     "download": "Atsisiųsti",
+    "downloadPdf": "Atsisiųsti PDF",
     "downloadCertificate": "Atsisiųsti apžiūros pažymą",
-    "paid": "apmokėta",
-    "partial": "dalinai",
-    "unpaid": "neapmokėta",
+    "paid": "Apmokėta",
+    "partial": "Apmokėta iš dalies",
+    "unpaid": "Neapmokėta",
+    "overdue": "Vėluoja",
+    "toPayTitle": "Liko sumokėti",
+    "toPayCount": "{count, plural, one {už # sąskaitą} few {už # sąskaitas} many {už # sąskaitos} other {už # sąskaitų}}",
+    "toPayNextDue": "Artimiausias terminas {date}",
+    "toPayOpen": "Žiūrėti ir mokėti: {invoice}",
+    "toPayOpenNoPay": "Atidaryti: {invoice}",
+    "nothingToPay": "Nieko nereikia mokėti",
+    "nothingToPayBody": "Visos sąskaitos apmokėtos.",
+    "leftToPay": "Liko sumokėti {amount}",
+    "dueOn": "Apmokėti iki {date}",
     "back": "Atgal į sąskaitas",
-    "openShared": "Atidaryti bendrinamą kopiją"
+    "payOnline": "Mokėti internetu",
+    "summaryTotal": "Iš viso",
+    "summaryPaid": "Sumokėta",
+    "summaryLeft": "Liko sumokėti",
+    "summaryDue": "Apmokėjimo terminas",
+    "summaryDate": "Data",
+    "fullInvoice": "Visa sąskaita"
   },
   "quotes": {
     "title": "Pasiūlymai",
-    "description": "Pasiūlymai ir sąmatos jūsų transporto priemonėms.",
+    "description": "Kainos, kurias dirbtuvės jums atsiuntė prieš atlikdamos darbus.",
     "noQuotes": "Pasiūlymų dar nėra.",
-    "failedToLoad": "Nepavyko įkelti pasiūlymų.",
+    "noQuotesHint": "Kai dirbtuvės atsiųs jums darbų kainą, ji pasirodys čia.",
+    "failedToLoad": "Nepavyko įkelti jūsų pasiūlymų. Bandykite po akimirkos.",
     "quote": "Pasiūlymas",
     "vehicle": "Transporto priemonė",
     "status": "Būsena",
     "amount": "Suma",
     "validUntil": "Galioja iki",
+    "validUntilDate": "Galioja iki {date}",
+    "waitingTitle": "Laukia jūsų atsakymo",
+    "waitingNone": "Nė vienas pasiūlymas nelaukia jūsų atsakymo.",
+    "waitingAnswer": "Skaityti ir atsakyti",
     "view": "Peržiūrėti"
   },
   "inspections": {
     "title": "Apžiūros",
-    "description": "Transporto priemonių apžiūrų ataskaitos.",
+    "description": "Dirbtuvių atliktų jūsų automobilio patikrų ataskaitos.",
     "noInspections": "Apžiūrų dar nėra.",
-    "failedToLoad": "Nepavyko įkelti apžiūrų.",
+    "noInspectionsHint": "Kai dirbtuvės baigs apžiūrą, jos ataskaita pasirodys čia.",
+    "failedToLoad": "Nepavyko įkelti jūsų apžiūrų. Bandykite po akimirkos.",
     "vehicle": "Transporto priemonė",
-    "template": "Kontrolinis sąrašas",
+    "template": "Apžiūra",
     "status": "Būsena",
     "date": "Data",
     "summary": "Santrauka",
@@ -141,31 +401,49 @@
     "poor": "{count} blogai"
   },
   "vehicles": {
-    "title": "Transporto priemonės",
-    "description": "Jūsų registruotos transporto priemonės.",
-    "noVehicles": "Transporto priemonių nerasta.",
-    "failedToLoad": "Nepavyko įkelti transporto priemonių.",
+    "title": "Jūsų automobiliai",
+    "titleMarine": "Jūsų valtys",
+    "description": "Automobiliai, kuriuos dirbtuvės turi užregistravusios jūsų vardu.",
+    "descriptionMarine": "Valtys, kurias dirbtuvės turi užregistravusios jūsų vardu.",
+    "noVehicles": "Automobilių dar nėra.",
+    "noVehiclesMarine": "Valčių dar nėra.",
+    "noVehiclesHint": "Užsiregistruokite vizitui ir papasakokite apie savo automobilį. Mes jį čia pridėsime.",
+    "noVehiclesHintMarine": "Užsiregistruokite vizitui ir papasakokite apie savo valtį. Mes ją čia pridėsime.",
+    "back": "Atgal į mano automobilius",
+    "backMarine": "Atgal į mano valtis",
+    "about": "Apie šį automobilį",
+    "aboutMarine": "Apie šią valtį",
+    "failedToLoad": "Nepavyko įkelti jūsų automobilių. Bandykite po akimirkos.",
+    "failedToLoadMarine": "Nepavyko įkelti jūsų valčių. Bandykite po akimirkos.",
     "plate": "Valst. Nr.: {plate}",
+    "plateMarine": "Reg. nr.: {plate}",
     "vin": "VIN: {vin}",
+    "vinMarine": "HIN: {vin}",
     "typeKey": "HSN/TSN: {typeKey}",
-    "serviceCount": "{count, plural, one {# paslauga} other {# paslaugos}}",
+    "distanceKm": "{value} km",
+    "distanceMi": "{value} mi",
+    "engineHours": "{value} variklio val.",
+    "serviceCount": "{count, plural, one {# vizitas} few {# vizitai} many {# vizito} other {# vizitų}}",
     "inspectionCount": "{count, plural, one {# apžiūra} other {# apžiūros}}",
-    "serviceHistory": "Paslaugų istorija ({count})",
+    "serviceHistory": "Aptarnavimo istorija ({count})",
     "inspectionsTab": "Apžiūros ({count})",
-    "noServiceRecords": "Paslaugų įrašų dar nėra.",
+    "noServiceRecords": "Darbų dar neužregistruota.",
     "noInspections": "Apžiūrų dar nėra.",
-    "vehicleNotFound": "Transporto priemonė nerasta.",
+    "vehicleNotFound": "Šios transporto priemonės neradome.",
     "completed": "Atlikta {date}",
     "good": "{count} gerai",
     "fair": "{count} vidutiniškai",
     "poor": "{count} blogai",
     "view": "Peržiūrėti",
-    "serviceHistoryTitle": "Aptarnavimo istorija",
-    "inspectionsTitle": "Apžiūros",
-    "columnVehicle": "Transporto priemonė",
+    "columnVehicle": "Automobilis",
+    "columnVehicleMarine": "Valtis",
     "columnPlate": "Valst. nr.",
-    "columnServices": "Aptarnavimai",
+    "columnPlateMarine": "Reg. nr.",
+    "columnServices": "Vizitai",
     "columnInspections": "Apžiūros",
+    "warrantyActive": "Garantija galioja",
+    "warrantyExpiring": "Garantija greitai baigsis",
+    "warrantyExpired": "Garantija pasibaigė",
     "reportSold": "Ši transporto priemonė nebe mano",
     "reportSoldHint": "Pranešime dirbtuvėms, kad nebesiųstų priminimų apie ją. Jūsų istorija lieka.",
     "reportSoldConfirm": "Taip, pranešti dirbtuvėms",
@@ -174,36 +452,99 @@
     "reportSoldFailed": "Šiuo metu nepavyko išsiųsti",
     "reportSoldAlready": "Pranešėte dirbtuvėms, kad ši transporto priemonė nebe jūsų."
   },
-  "requestService": {
-    "title": "Užsakyti paslaugą",
-    "description": "Pateikite paslaugos užklausą vienai iš savo transporto priemonių.",
-    "newServiceRequest": "Nauja paslaugos užklausa",
-    "formDescription": "Aprašykite problemą ir mes su jumis susisieksime.",
-    "vehicleLabel": "Transporto priemonė",
-    "vehiclePlaceholder": "Pasirinkite transporto priemonę",
-    "descriptionLabel": "Aprašykite problemą",
-    "descriptionPlaceholder": "Kas nutiko jūsų transporto priemonei?",
-    "preferredDate": "Pageidaujama data",
-    "preferredDateOptional": "(neprivaloma)",
-    "submitRequest": "Pateikti užklausą",
-    "selectVehicle": "Pasirinkite transporto priemonę",
-    "describeIssue": "Aprašykite problemą",
-    "submitSuccess": "Paslaugos užklausa pateikta",
-    "submitError": "Nepavyko pateikti užklausos",
-    "noVehicles": "Neturite registruotų transporto priemonių. Susisiekite su mumis, kad pirmiausia pridėtumėte transporto priemonę.",
-    "yourRequests": "Jūsų paslaugų užklausos",
-    "failedToLoad": "Nepavyko įkelti duomenų.",
-    "staffNotes": "Personalo pastabos: {notes}",
-    "preferred": "Pageidaujama: {date}",
-    "notListedOption": "Mano transporto priemonės sąraše nėra",
-    "newVehicleHint": "Papasakokite apie transporto priemonę – pridėsime ją prie jūsų profilio.",
-    "fillVehicleDetails": "Įveskite transporto priemonės markę ir modelį",
+  "book": {
+    "title": "Užsiregistruoti vizitui",
+    "description": "Parašykite, ko jums reikia. Susisieksime ir pasiūlysime laiką.",
+    "descriptionMessages": "Parašykite, ko jums reikia. Atsakysime čia, skiltyje Žinutės, ir pasiūlysime laiką.",
+    "failedToLoad": "Nepavyko įkelti šio puslapio. Bandykite po akimirkos.",
+    "whichVehicle": "Kuris automobilis?",
+    "whichVehicleMarine": "Kuri valtis?",
+    "anotherVehicle": "Kitas automobilis",
+    "anotherVehicleMarine": "Kita valtis",
+    "inWorkshopNow": "dabar dirbtuvėse",
+    "selectVehicle": "Pasirinkite, kurios transporto priemonės tai liečia",
+    "newVehicleHint": "Papasakokite apie ją, ir pridėsime ją prie jūsų profilio.",
     "makeLabel": "Markė",
     "makePlaceholder": "pvz., Ford",
     "modelLabel": "Modelis",
     "modelPlaceholder": "pvz., Kuga",
     "yearLabel": "Metai",
-    "plateLabel": "Valstybinis numeris"
+    "plateLabel": "Valstybinis numeris",
+    "plateLabelMarine": "Registracijos numeris",
+    "fillMake": "Įveskite markę",
+    "fillModel": "Įveskite modelį",
+    "invalidYear": "Įveskite metus nuo {min} iki {max}",
+    "optional": "(neprivaloma)",
+    "whatNeeded": "Ko jums reikia?",
+    "topics": {
+      "service": "Techninis aptarnavimas",
+      "inspection": "Apžiūra",
+      "tires": "Padangų keitimas",
+      "brakes": "Stabdžiai",
+      "problem": "Kažkas negerai"
+    },
+    "descriptionLabel": "Apibūdinkite savais žodžiais",
+    "descriptionPlaceholder": "Pavyzdžiui: priekyje kairėje kažkas bilda važiuojant per nelygumus, labiau kai automobilis šaltas",
+    "descriptionPlaceholderMarine": "Pavyzdžiui: šaltas variklis sunkiai užsiveda",
+    "describeIssue": "Pasirinkite, ko reikia, aukščiau arba parašykite keliais žodžiais",
+    "filesLabel": "Nuotraukos arba trumpas vaizdo įrašas",
+    "filesCount": "Pridėta {count} iš {max}",
+    "filesLimits": "nuotraukos iki {photo} MB, vaizdo įrašas iki {video} MB",
+    "filesAdd": "Pridėti nuotraukų ar vaizdo įrašą",
+    "filesDrop": "Numeskite failus čia arba pasirinkite juos šiame kompiuteryje",
+    "filesCamera": "Fotografuoti",
+    "filesTooMany": "Galite pridėti iki {max} failų. Pašalinkite vieną, kad pridėtumėte kitą.",
+    "filesStillUploading": "Palaukite, kol failai bus įkelti, tada siųskite.",
+    "filesFailed": "Vienas failas neįsikėlė. Bandykite dar kartą arba jį pašalinkite, tada siųskite.",
+    "fileUploading": "Įkeliama: {name}",
+    "fileReady": "{name}, pridėta",
+    "fileRemove": "Pašalinti {name}",
+    "fileRetry": "Bandyti dar kartą",
+    "fileType": "{name} nėra nuotrauka ar vaizdo įrašas, kurį galime priimti.",
+    "fileEmpty": "{name} yra tuščias.",
+    "fileTooLarge": "{name} per didelis.",
+    "fileTooMany": "Per daug failų iš karto. Palaukite kelias minutes ir bandykite dar kartą.",
+    "fileSignedOut": "Buvote atjungti. Prisijunkite dar kartą, kad pridėtumėte failų.",
+    "fileNetwork": "Įkeliant nutrūko ryšys.",
+    "fileFailed": "Šis failas neįsikėlė.",
+    "dayLabel": "Jums patogi diena",
+    "pastDate": "Pasirinkite šiandieną arba vėlesnę dieną",
+    "timeLabel": "Paros metas",
+    "timeHint": "Pirmiausia pasirinkite dieną, tada nurodykite patogų metą.",
+    "time": {
+      "any": "Bet kuriuo metu",
+      "morning": "Rytas",
+      "afternoon": "Popietė"
+    },
+    "timeLower": {
+      "morning": "rytą",
+      "afternoon": "po pietų"
+    },
+    "closedDaysHint": "Nedirbama šiomis dienomis:",
+    "send": "Siųsti: {workshop}",
+    "sendHint": "Niekas nėra rezervuota, kol dirbtuvės nepatvirtina laiko.",
+    "submitError": "Šiuo metu nepavyko išsiųsti. Bandykite po akimirkos.",
+    "sentTitle": "Išsiųsta: {workshop}",
+    "sentBody": "Dirbtuvės perskaitys jūsų užklausą ir peržiūrės, ką atsiuntėte. Atsakymą su laiku gausite skiltyje Žinutės.",
+    "sentBodyNoMessages": "Dirbtuvės perskaitys jūsų užklausą ir peržiūrės, ką atsiuntėte, tada susisieks ir pasiūlys laiką. Eigą galite sekti šiame puslapyje.",
+    "sentMessages": "Eiti į Žinutes",
+    "sentHome": "Grįžti į pradžią",
+    "sentAnother": "Prašyti kito dalyko",
+    "nextTitle": "Kas bus toliau",
+    "nextRead": "Perskaitome jūsų užklausą ir peržiūrime nuotraukas.",
+    "nextAnswerMessages": "Atsakome skiltyje Žinutės, pasiūlome laiką ir, jei reikia, pasiūlymą.",
+    "nextAnswer": "Susisiekiame, pasiūlome laiką ir, jei reikia, pasiūlymą.",
+    "nextVisit": "Vizitas su diena ir laiku atsiras jūsų pradžios puslapyje.",
+    "talkTitle": "Mieliau pasikalbėtumėte?",
+    "talkCall": "Skambinkite {phone}",
+    "yourRequests": "Jūsų užklausos",
+    "sentOn": "Išsiųsta {date}",
+    "preferred": "Pageidaujama: {date}",
+    "staffNotes": "Dirbtuvių pastaba: {notes}",
+    "requestFiles": "{count, plural, one {# jūsų atsiųstas failas} few {# jūsų atsiųsti failai} many {# jūsų atsiųsto failo} other {# jūsų atsiųstų failų}}",
+    "requestPhoto": "Atidaryti nuotrauką",
+    "requestVideo": "Atidaryti vaizdo įrašą",
+    "requestFileMissing": "Ši nuotrauka nebepasiekiama"
   },
   "booking": {
     "title": "Rezervuokite apžiūrą",
@@ -248,6 +589,51 @@
     "confirmationBody": "Jūsų {vehicle} rezervuota {when} dirbtuvėse {workshop}. Reikia pakeisti? Naudokite nuorodą ankstesnėje žinutėje arba skambinkite {phone}.",
     "confirmationBodyRequest": "Ačiū, {workshop} gavo jūsų užklausą dėl {when} jūsų {vehicle} ir netrukus patvirtins. Klausimai? Skambinkite {phone}."
   },
+  "quoteDetail": {
+    "back": "Atgal į pasiūlymus",
+    "title": "Pasiūlymas",
+    "answerLabel": "Jūsų atsakymas",
+    "failedToLoad": "Nepavyko įkelti šio pasiūlymo.",
+    "total": "Iš viso",
+    "number": "Pasiūlymo numeris",
+    "date": "Data",
+    "validUntil": "Galioja iki",
+    "vehicle": "Transporto priemonė",
+    "fullQuote": "Visas pasiūlymas",
+    "answerTitle": "Dirbtuvės laukia jūsų atsakymo",
+    "accept": "Priimti pasiūlymą",
+    "askChanges": "Prašyti pakeitimų",
+    "confirmAcceptTitle": "Priimti šį pasiūlymą?",
+    "confirmAcceptBody": "Dirbtuvėms bus pranešta, kad norite, jog darbai būtų atlikti už šią kainą.",
+    "confirmAcceptYes": "Taip, priimti",
+    "cancel": "Atšaukti",
+    "changesLabel": "Ką norėtumėte pakeisti?",
+    "changesPlaceholder": "Pavyzdžiui: be valytuvų šluotelių",
+    "sendChanges": "Siųsti dirbtuvėms",
+    "answerFailed": "Nepavyko išsiųsti jūsų atsakymo. Bandykite dar kartą.",
+    "acceptedTitle": "Jūs priėmėte šį pasiūlymą",
+    "acceptedBody": "Dirbtuvėms pranešta, jos su jumis susisieks.",
+    "changesTitle": "Jūs paprašėte pakeitimų",
+    "changesBody": "Dirbtuvėms pranešta, jos atsiųs jums atnaujintą pasiūlymą."
+  },
+  "inspectionDetail": {
+    "back": "Atgal į apžiūras",
+    "title": "Apžiūra",
+    "about": "Apie šią apžiūrą",
+    "failedToLoad": "Nepavyko įkelti šios apžiūros.",
+    "vehicle": "Transporto priemonė",
+    "vessel": "Valtis",
+    "doneOn": "Atlikta",
+    "startedOn": "Pradėta",
+    "odometer": "Rida",
+    "engineHours": "Variklio valandos",
+    "nextDue": "Kita apžiūra",
+    "certificateNumber": "Pažymos numeris",
+    "stillWorking": "Dirbtuvės dar atlieka šią apžiūrą. Rezultatai gali keistis.",
+    "openShared": "Žiūrėti nuotraukas ir atsisiųsti ataskaitą",
+    "noResults": "Rezultatų dar nėra.",
+    "notes": "Dirbtuvių pastabos"
+  },
   "status": {
     "job": {
       "pending": "Užregistruota",
@@ -257,7 +643,7 @@
       "completed": "Baigta"
     },
     "request": {
-      "pending": "Laukiama",
+      "pending": "Laukiama atsakymo",
       "converted": "Užregistruota",
       "dismissed": "Uždaryta",
       "cancelled": "Atšaukta"

+ 97 - 44
messages/lt/settings.json

@@ -1699,55 +1699,108 @@
   },
   "portal": {
     "title": "Kliento portalas",
-    "description": "Leiskite klientams prisijungti ir peržiūrėti savo transporto priemones, sąskaitas, pasiūlymus ir apžiūras. Klientai taip pat gali pateikti paslaugų užklausas.",
+    "description": "Jūsų klientai prisijungia, kad sektų savo užsakymą, atsakytų į pasiūlymus, apmokėtų sąskaitas, užsiregistruotų vizitui ir rašytų jums.",
     "enablePortal": "Įjungti kliento portalą",
-    "enablePortalHint": "Klientai su el. pašto adresu gali prisijungti per stebuklingo laiško nuorodą",
-    "enabled": "Kliento portalas įjungtas",
-    "disabled": "Kliento portalas išjungtas",
-    "failedUpdate": "Nepavyko atnaujinti nustatymo",
-    "customSlug": "Pasirinktinis portalo URL",
-    "save": "Išsaugoti",
-    "slugSaved": "Portalo URL išsaugotas",
-    "slugRemoved": "Portalo URL pašalintas",
-    "failedUpdateSlug": "Nepavyko atnaujinti URL",
-    "slugHint": "Mažosios raidės, skaičiai, brūkšneliai ir pabraukimai. 3–48 simboliai. Palikite tuščią, kad naudotumėte numatytąjį URL.",
-    "portalUrl": "Portalo URL",
-    "urlCopied": "Portalo URL nukopijuotas",
-    "shareHint": "Pasidalinkite šia nuoroda su klientais, kad jie galėtų prisijungti prie savo portalo.",
+    "enablePortalHint": "Klientai prisijungia per nuorodą, atsiųstą el. paštu ar į telefoną. Slaptažodžio prisiminti nereikia.",
+    "failedUpdate": "Nepavyko išsaugoti nustatymų",
+    "customSlug": "Portalo adresas",
+    "slugHint": "Mažosios raidės, skaičiai, brūkšneliai ir pabraukimai, nuo 3 iki 48 simbolių. Palikite tuščią, kad būtų naudojamas numatytasis adresas.",
+    "portalUrl": "Nuoroda į jūsų portalą",
+    "urlCopied": "Nuoroda nukopijuota",
+    "shareHint": "Pasidalinkite šia nuoroda su klientais, kad jie galėtų prisijungti.",
     "serviceRequestAlertsHint": "Serviso užklausos iš portalo visada rodomos pranešimų varpelyje. Jas taip pat galite gauti el. paštu.",
-    "serviceRequestAlertsLink": "Pranešimų nustatymai →",
+    "serviceRequestAlertsLink": "Pranešimų nustatymai",
     "descriptionLabel": "Apie jūsų dirbtuves",
     "descriptionPlaceholder": "Papasakokite klientams apie savo dirbtuves, siūlomas paslaugas ir kuo esate unikalūs.",
-    "descriptionHint": "Rodoma lankytojams jūsų portalo pradžios puslapio viršuje.",
-    "hoursLabel": "Darbo laikas",
-    "hoursPlaceholder": "Pir-Pen: 8:00-17:00\nŠeš: 9:00-13:00\nSek: Uždaryta",
-    "hoursHint": "Laisvas tekstas. Naudokite naujas eilutes, kad nurodytumėte kiekvieną dieną atskirai.",
-    "contentSaved": "Portalo turinys išsaugotas",
-    "background": {
-      "title": "Portalo fonas",
-      "description": "Pasirinkite, kaip atrodo klientų portalo pradžios puslapis.",
-      "typeNone": "Joks",
-      "typeTemplate": "Šablonas",
-      "typeImage": "Pasirinktinė nuotrauka",
-      "chooseTemplate": "Pasirinkite šabloną",
-      "uploadLabel": "Fono nuotrauka",
+    "descriptionHint": "Rodoma jūsų portalo prisijungimo puslapyje.",
+    "copyUrl": "Kopijuoti nuorodą"
+  },
+  "customerPortal": {
+    "slugPlaceholder": "mano-dirbtuves",
+    "slugUnsaved": "Šis adresas veiks, kai išsaugosite.",
+    "slugInvalid": "Naudokite nuo 3 iki 48 mažųjų raidžių, skaičių, brūkšnelių ar pabraukimų; pradžioje ir pabaigoje turi būti raidė arba skaičius.",
+    "slugReserved": "Šis žodis rezervuotas. Pasirinkite kitą adresą.",
+    "slugTaken": "Šį adresą jau naudoja kitos dirbtuvės. Pasirinkite kitą.",
+    "hours": {
+      "title": "Darbo laikas",
+      "fromCalendar": "Portale rodomas darbo laikas ir nedarbo dienos iš jūsų dirbtuvių kalendoriaus.",
+      "link": "Darbo laiko nustatymai",
+      "typedNote": "Prisijungimo puslapyje vis dar rodomas anksčiau čia įvestas darbo laikas, nes kalendoriuje darbo laikas dar nenustatytas. Nustatykite jį ten, ir portalas rodys jį.",
+      "typedLabel": "Šiuo metu rodoma prisijungimo puslapyje"
+    },
+    "look": {
+      "title": "Kliento portalo išvaizda",
+      "description": "Vienas pasirinkimas nustato prisijungimo puslapį ir visus puslapius, kuriuos klientai mato po jo. Klientai jo pakeisti negali."
+    },
+    "theme": {
+      "legend": "Tema",
+      "daylight": {
+        "name": "Daylight",
+        "tagline": "Šviesi ir rami"
+      },
+      "garage": {
+        "name": "Garage",
+        "tagline": "Tamsi boksų lenta"
+      },
+      "print": {
+        "name": "Print",
+        "tagline": "Kaip laikraštis, santūri"
+      },
+      "colour": {
+        "name": "Colour",
+        "tagline": "Jūsų spalva, ryškiai"
+      }
+    },
+    "colour": {
+      "title": "Jūsų spalva",
+      "description": "Naudojama mygtukams ir paryškinimams kiekvienoje temoje.",
+      "swatches": "Siūlomos spalvos",
+      "orange": "Oranžinė",
+      "blue": "Mėlyna",
+      "green": "Žalia",
+      "red": "Raudona",
+      "black": "Juoda",
+      "hexLabel": "Spalva hex kodu",
+      "invalid": "Tai ne spalva. Įrašykite ją hex kodu, pvz., #1D4ED8.",
+      "usingTheme": "Naudojama temos {theme} spalva, {hex}.",
+      "themeColour": "Temos {theme} spalva yra {hex}.",
+      "useTheme": "Naudoti temos spalvą",
+      "sample": "Užsiregistruoti vizitui",
+      "inkLight": "Tekstas ant šios spalvos rodomas baltas, kad būtų įskaitomas.",
+      "inkDark": "Tekstas ant šios spalvos rodomas juodas, kad būtų įskaitomas.",
+      "faint": "Ši spalva blankiai išsiskiria temos {theme} fone. Nuorodos ir paryškinimai gali būti sunkiai matomi."
+    },
+    "cover": {
+      "title": "Viršelio nuotrauka ir logotipas",
+      "description": "Rodoma prisijungimo puslapyje. Logotipas imamas iš įmonės nustatymų.",
+      "companyLink": "Įmonės nustatymai",
+      "hint": "PNG, JPEG arba WebP, iki 8 MB.",
+      "none": "Viršelio nuotraukos nėra",
+      "alt": "Viršelio nuotrauka prisijungimo puslapyje",
       "upload": "Įkelti nuotrauką",
       "replace": "Pakeisti nuotrauką",
-      "remove": "Pašalinti",
-      "uploadHint": "JPG, PNG arba WebP. Iki 8 MB. Rekomenduojama bent 1600×900.",
-      "uploading": "Įkeliamas fonas…",
-      "uploaded": "Fonas atnaujintas",
-      "uploadFailed": "Nepavyko įkelti fono",
-      "templateNames": {
-        "default": "Subtilus",
-        "sunrise": "Saulėtekis",
-        "ocean": "Vandenynas",
-        "forest": "Miškas",
-        "slate": "Skalūnas",
-        "sand": "Smėlis"
-      }
+      "remove": "Pašalinti nuotrauką",
+      "uploading": "Įkeliama",
+      "uploadFailed": "Nepavyko įkelti nuotraukos"
+    },
+    "features": {
+      "title": "Ką gauna klientai",
+      "description": "Portalo dalys, kurias galite išjungti.",
+      "messages": "Žinutės portale",
+      "messagesHint": "Klientai jums rašo iš portalo. Jų žinutės patenka į jūsų Žinučių dėžutę.",
+      "tires": "Rodyti saugomas padangas",
+      "tiresHint": "Klientai mato padangas, kurias jiems saugote, su protektoriaus gyliu."
+    },
+    "bar": {
+      "label": "Išsaugoti kliento portalo nustatymus",
+      "unsaved": "Turite neišsaugotų pakeitimų",
+      "saved": "Viskas išsaugota",
+      "discard": "Atmesti pakeitimus",
+      "save": "Išsaugoti pakeitimus",
+      "open": "Atidaryti portalą kaip klientas",
+      "openOff": "Įjunkite portalą ir išsaugokite, kad galėtumėte jį atidaryti."
     },
-    "copyUrl": "Kopijuoti portalo URL"
+    "savedToast": "Kliento portalo nustatymai išsaugoti"
   },
   "email": {
     "title": "El. pašto tiekėjas",
@@ -2847,9 +2900,9 @@
       "uploading": "Įkeliama…",
       "width": "Logotipo plotis",
       "hint": "Atskiras nuo įmonės logotipo. Įkeliant jis apkarpomas ir paruošiamas el. laiškui. PNG, JPEG arba WebP iki 4 MB.",
-      "position": "Padėtis",
       "tooLarge": "Paveikslėlis turi būti mažesnis nei 4 MB",
-      "uploadFailed": "Nepavyko įkelti logotipo"
+      "uploadFailed": "Nepavyko įkelti logotipo",
+      "position": "Padėtis"
     },
     "image": {
       "empty": "Paveikslėlis neįkeltas. Blokas nieko nespausdina, kol jo nėra.",

+ 3 - 0
messages/nb/audit.json

@@ -81,6 +81,7 @@
     "settings_updateInvoiceLayout": "Oppdaterte fakturalayout",
     "settings_updateQuoteLayout": "Oppdaterte tilbudslayout",
     "settings_updatePortalSlug": "Oppdaterte portal-URL",
+    "settings_updateCustomerPortal": "Oppdaterte innstillinger for kundeportalen",
     "inspectionTemplate_create": "Opprettet inspeksjonssjekkliste",
     "inspectionTemplate_update": "Oppdaterte inspeksjonssjekkliste",
     "inspectionTemplate_delete": "Slettet inspeksjonssjekkliste",
@@ -102,6 +103,7 @@
     "statusReport_create": "Opprettet statusrapport",
     "statusReport_send": "Sendt statusrapport",
     "statusReport_delete": "Slettet statusrapport",
+    "portal_send": "Sendte portalmelding",
     "telegram_send": "Sendt Telegram-melding",
     "webhook_create": "Opprettet webhook",
     "webhook_update": "Oppdatert webhook",
@@ -306,6 +308,7 @@
     "technician_create": "Opprettet mekaniker «{name}»",
     "technician_delete": "Slettet mekaniker {id}",
     "technician_update": "Oppdaterte mekaniker {id}",
+    "portal_send": "Sendte en melding til {name} i kundeportalen",
     "telegram_send": "Sendte Telegram-melding til {name}",
     "tire_location_bulk_create": "Opprettet {count, plural, one {# dekkplass} other {# dekkplasser}}",
     "tire_location_create": "Opprettet dekkplass {code}",

+ 6 - 0
messages/nb/customers.json

@@ -120,6 +120,12 @@
     "saveNotes": "Lagre notater",
     "submitted": "Sendt inn {date}",
     "preferred": "Foretrukket: {date}",
+    "preferredMorning": "Foretrukket: {date}, formiddag",
+    "preferredAfternoon": "Foretrukket: {date}, ettermiddag",
+    "files": "{count, plural, one {# bilde eller video fra kunden} other {# bilder eller videoer fra kunden}}",
+    "openPhoto": "Åpne bilde {number}",
+    "openVideo": "Åpne video {number}",
+    "fileMissing": "Bilde {number} er ikke lenger tilgjengelig",
     "workOrderCreated": "Arbeidsordre opprettet",
     "workOrderError": "Kunne ikke opprette arbeidsordre",
     "requestDismissed": "Forespørsel avvist",

+ 23 - 0
messages/nb/messaging.json

@@ -51,5 +51,28 @@
       "noMatches": "Ingen kunder passer søket.",
       "noRecipients": "Ingen kunder med e-postadresse ennå."
     }
+  },
+  "portal": {
+    "badge": "Portal",
+    "empty": "{name} har ikke skrevet i portalen ennå.",
+    "placeholder": "Skriv til {name} i portalen",
+    "send": "Send melding",
+    "sendFailed": "Kunne ikke sende meldingen",
+    "sendHint": "Enter sender, Shift+Enter gir ny linje. {name} ser meldingen neste gang portalen åpnes.",
+    "loadOlder": "Last inn eldre meldinger",
+    "loadFailed": "Kunne ikke laste inn samtalen.",
+    "tryAgain": "Prøv igjen",
+    "addPhoto": "Legg til et bilde",
+    "removePhoto": "Fjern {name}",
+    "uploadFailed": "Bildet kunne ikke legges til. Bilder kan være opptil {size} MB.",
+    "tooManyPhotos": "En melding kan ha opptil {count} bilder.",
+    "photoFrom": "Bilde fra {name}",
+    "videoFrom": "Video fra {name}",
+    "openFile": "Åpne fil",
+    "you": "Du",
+    "seen": "Sett",
+    "off": "Meldinger i kundeportalen er slått av, så denne samtalen kan leses, men ikke besvares.",
+    "offSettings": "Innstillinger for kundeportalen",
+    "deleteDescription": "Fjerner hele samtalen med {name}, også for kunden: den forsvinner fra portalen deres."
   }
 }

+ 483 - 97
messages/nb/portal.json

@@ -12,28 +12,42 @@
     "description": "Bruk den direkte lenken fra verkstedet ditt for å få tilgang til kundeportalen.",
     "hint": "Verkstedet ditt vil dele portallenken med deg via e-post eller SMS."
   },
-  "landing": {
-    "contactTitle": "Kontakt oss",
-    "aboutTitle": "Om oss",
-    "noContactInfo": "Kontaktinformasjon er ikke tilgjengelig ennå.",
-    "address": "Adresse",
-    "phone": "Telefon",
-    "email": "E-post",
-    "hours": "Åpningstider",
-    "directions": "Veibeskrivelse"
+  "signIn": {
+    "eyebrow": "For våre kunder",
+    "heading": "Se bilen din, fakturaene dine og meldingene dine.",
+    "headingMarine": "Se båten din, fakturaene dine og meldingene dine.",
+    "headingNoMessages": "Se bilen din, fakturaene dine og tilbudene dine.",
+    "headingNoMessagesMarine": "Se båten din, fakturaene dine og tilbudene dine.",
+    "confirmEyebrow": "Nesten ferdig",
+    "hoursTitle": "Åpningstider",
+    "findUs": "Finn oss",
+    "callUs": "Ring oss",
+    "directions": "Veibeskrivelse",
+    "dayRange": "{from}–{to}",
+    "timeRange": "{start}–{end}",
+    "closed": "stengt"
   },
   "login": {
-    "signInTitle": "Kundeinnlogging",
-    "signInSubtitle": "Logg inn for å se fakturaer, tilbud og servicehistorikk.",
-    "emailLabel": "E-postadresse",
+    "emailLabel": "E-postadressen din",
     "emailPlaceholder": "deg@eksempel.com",
-    "sendLink": "Send innloggingslenke",
+    "sendLink": "Send meg en innloggingslenke",
     "checkEmail": "Sjekk e-posten din",
     "checkEmailDescription": "Hvis det finnes en konto for den e-postadressen, har vi sendt en innloggingslenke. Lenken utløper om 15 minutter.",
     "tryDifferentEmail": "Prøv en annen e-postadresse",
+    "requestFailed": "Vi fikk ikke sendt det akkurat nå. Sjekk tilkoblingen og prøv igjen.",
+    "tooManyTries": "For mange forsøk på kort tid. Vent et minutt og prøv igjen.",
+    "tryAgain": "Prøv igjen",
+    "sendNewCode": "Send en ny kode",
+    "newCodeSent": "Vi har sendt en ny kode.",
+    "errors": {
+      "invalid": "Den innloggingslenken virker ikke. Be om en ny nedenfor.",
+      "used": "Den innloggingslenken er allerede brukt. Be om en ny nedenfor.",
+      "expired": "Den innloggingslenken har utløpt. Be om en ny nedenfor.",
+      "noAccount": "Vi fant ikke kontoen din. Be verkstedet sjekke hvilken e-postadresse de har registrert på deg."
+    },
     "tabEmail": "E-post",
     "tabSms": "SMS",
-    "phoneLabel": "Telefonnummer",
+    "phoneLabel": "Mobilnummeret ditt",
     "phonePlaceholder": "+47 12345678",
     "phoneLocalPlaceholder": "12345678",
     "sendCode": "Send kode",
@@ -48,90 +62,336 @@
     "confirmDescription": "Du logger inn som {email}. Trykk på knappen for å fortsette.",
     "confirmButton": "Fortsett til innlogging",
     "notFound": "Ikke funnet",
-    "portalNotExist": "Denne portalen finnes ikke.",
-    "portalNotAvailable": "Portal ikke tilgjengelig",
-    "portalNotEnabled": "Kundeportalen er ikke aktivert for denne organisasjonen."
+    "portalNotExist": "Denne siden finnes ikke.",
+    "portalNotAvailable": "Ikke tilgjengelig",
+    "portalNotEnabled": "Dette verkstedet tilbyr ikke innlogging på nett akkurat nå.",
+    "noPassword": "Ingen passord. Vi sender deg en lenke som logger deg inn.",
+    "noPasswordSms": "Ingen passord. Vi sender deg en kode på SMS som logger deg inn.",
+    "method": "Slik logger du inn"
   },
   "nav": {
-    "dashboard": "Oversikt",
-    "vehicles": "Kjøretøy",
+    "label": "Hovedmeny",
+    "skip": "Hopp til innholdet",
+    "home": "Hjem",
+    "messages": "Meldinger",
+    "book": "Bestill time",
+    "bookLong": "Bestill time",
+    "cars": "Mine biler",
+    "carsMarine": "Mine båter",
+    "papers": "Papirer",
+    "papersLong": "Fakturaer og tilbud",
+    "unread": "{count, plural, one {# ulest melding} other {# uleste meldinger}}",
+    "documents": "Dokumenter",
     "invoices": "Fakturaer",
     "quotes": "Tilbud",
-    "inspections": "Kontroller",
-    "requestService": "Be om service"
+    "inspections": "Kontroller"
   },
   "header": {
-    "signOut": "Logg ut",
-    "askShort": "Service"
+    "homeLink": "{name}, hjem",
+    "account": "Kontoen din, {name}",
+    "signedInAs": "Logget inn som",
+    "signOut": "Logg ut"
+  },
+  "hoursLine": {
+    "openUntil": "Åpent til {time}",
+    "opensAt": "Åpner kl. {time}",
+    "closedNow": "Stengt for i dag",
+    "closedToday": "Stengt i dag"
+  },
+  "format": {
+    "today": "i dag",
+    "tomorrow": "i morgen"
   },
   "shell": {
     "notFound": "Ikke funnet",
-    "portalNotExist": "Denne portalen finnes ikke.",
-    "portalNotAvailable": "Portal ikke tilgjengelig",
-    "portalNotEnabled": "Kundeportalen er ikke aktivert for denne organisasjonen."
+    "portalNotExist": "Denne siden finnes ikke.",
+    "portalNotAvailable": "Ikke tilgjengelig",
+    "portalNotEnabled": "Dette verkstedet har ikke åpnet kundesidene sine ennå.",
+    "callWorkshop": "Ring {phone}",
+    "openMap": "Åpne {address} i kart",
+    "errorTitle": "Noe gikk galt",
+    "errorBody": "Vi kunne ikke vise denne siden. Prøv igjen, eller gå tilbake til forsiden din.",
+    "tryAgain": "Prøv igjen",
+    "pageNotFoundTitle": "Vi fant ikke den siden",
+    "pageNotFoundBody": "Lenken kan være gammel, eller siden kan ha blitt fjernet.",
+    "backHome": "Tilbake til forsiden"
   },
-  "dashboard": {
-    "welcome": "Velkommen, {name}",
-    "overview": "Her er en oversikt over kontoen din.",
-    "vehicles": "Kjøretøy",
-    "openInvoices": "Åpne fakturaer",
-    "pendingQuotes": "Ventende tilbud",
-    "recentInvoices": "Nylige fakturaer",
-    "recentQuotes": "Nylige tilbud",
-    "pendingServiceRequests": "Ventende serviceforespørsler",
-    "viewAll": "Se alle",
-    "newRequest": "Ny forespørsel",
-    "noInvoicesYet": "Ingen fakturaer ennå.",
-    "noQuotesYet": "Ingen tilbud ennå.",
-    "view": "Se",
-    "pending": "Ventende",
-    "failedToLoad": "Kunne ikke laste inn oversikten.",
-    "quickRequestService": "Be om service",
-    "quickRequestServiceHint": "Bestill reparasjon eller kontroll",
-    "quickViewInvoices": "Dine fakturaer",
-    "quickViewInvoicesHint": "Regninger og betalingshistorikk",
-    "quickViewVehicles": "Dine kjøretøy",
-    "quickViewVehiclesHint": "Servicehistorikk og detaljer",
-    "activeJobs": "Pågående arbeid"
+  "home": {
+    "failedToLoad": "Vi fikk ikke lastet inn siden din. Prøv igjen om litt.",
+    "heroWorkingPromised": "Hei {name}. Bilen din er på verkstedet og er klar {day} rundt {time}.",
+    "heroWorkingPromisedMarine": "Hei {name}. Båten din er på verkstedet og er klar {day} rundt {time}.",
+    "heroWorking": "Hei {name}. Bilen din er på verkstedet.",
+    "heroWorkingMarine": "Hei {name}. Båten din er på verkstedet.",
+    "heroReady": "Hei {name}. Bilen din er klar til henting.",
+    "heroReadyMarine": "Hei {name}. Båten din er klar til henting.",
+    "heroBookedAt": "Hei {name}. Vi venter bilen din {day} kl. {time}.",
+    "heroBookedAtMarine": "Hei {name}. Vi venter båten din {day} kl. {time}.",
+    "heroBooked": "Hei {name}. Timen din er bestilt.",
+    "heroNothing": "Hei {name}. Du har ingenting på verkstedet akkurat nå.",
+    "heroNothingBody": "Bestill time når bilen trenger oss. Her følger du arbeidet steg for steg.",
+    "heroNothingBodyMarine": "Bestill time når båten trenger oss. Her følger du arbeidet steg for steg.",
+    "stepsLabel": "Hvor langt arbeidet har kommet",
+    "stepBooked": "Bestilt",
+    "stepCheckedIn": "Innlevert",
+    "stepWorking": "På verkstedet",
+    "stepReady": "Klar til henting",
+    "latestUpdate": "Siste nytt fra verkstedet · {when}",
+    "updateFallback": "Verkstedet har delt en oppdatering om arbeidet.",
+    "seeUpdate": "Se bilder og video",
+    "otherJobs": "Også bestilt eller i gang",
+    "jobBookedFor": "Bestilt {day} kl. {time}",
+    "jobReadyAround": "Klar {day} rundt {time}",
+    "needsAnswer": "Venter på svar fra deg",
+    "validUntil": "Gyldig til {day}",
+    "quoteNumber": "Tilbud {number}",
+    "quote": "Tilbud",
+    "readQuote": "Les tilbudet",
+    "moreQuotes": "{count, plural, one {# tilbud til venter på svar fra deg} other {# tilbud til venter på svar fra deg}}",
+    "toPay": "Å betale",
+    "due": "Forfaller {day}",
+    "overdueSince": "Forfalt siden {day}",
+    "invoiceNumber": "Faktura {number}",
+    "invoice": "Faktura",
+    "payNow": "Betal nå",
+    "seeInvoice": "Se fakturaen",
+    "moreInvoices": "{count, plural, one {# faktura til å betale} other {# fakturaer til å betale}}, {total} totalt",
+    "paidSoFar": "{paid} av {total} betalt",
+    "toPayCount": "{count, plural, one {# faktura} other {# fakturaer}}",
+    "toPayOverdueCount": "{count} forfalt",
+    "toPayMostUrgent": "Haster mest",
+    "toPayNext": "Neste å betale",
+    "seeAllInvoices": "Se alle {count} fakturaene",
+    "nextStep": "Neste",
+    "nextStepWorking": "Vi tar imot bilen og setter i gang arbeidet.",
+    "nextStepWorkingMarine": "Vi tar imot båten og setter i gang arbeidet.",
+    "nextStepReady": "Du får en melding her når den er klar til henting.",
+    "nextStepReadyNoChat": "Vi gir deg beskjed når den er klar til henting.",
+    "nextStepCollect": "Kom innom når det passer deg.",
+    "tires": "Dekkhotell",
+    "tiresStoredSummer": "Sommerdekk lagret hos oss",
+    "tiresStoredWinter": "Vinterdekk lagret hos oss",
+    "tiresStoredAllSeason": "Helårsdekk lagret hos oss",
+    "tiresStoredOther": "Dekk lagret hos oss",
+    "tiresSeasonSummer": "Sommerdekk",
+    "tiresSeasonWinter": "Vinterdekk",
+    "tiresSeasonAllSeason": "Helårsdekk",
+    "tiresSeasonOther": "Dekk",
+    "tiresStudded": "piggdekk",
+    "tiresOnRims": "på felg",
+    "tiresStoredSince": "lagret siden {day}",
+    "tiresTreadLeft": "mønsterdybde igjen",
+    "tiresTreadLine": "{depth} mønsterdybde igjen",
+    "tiresNotMeasured": "Mønsterdybden er ikke målt ennå",
+    "tiresCount": "{count, plural, one {# dekk} other {# dekk}}",
+    "cars": "Mine biler",
+    "carsMarine": "Mine båter",
+    "carVisits": "{count, plural, =0 {ingen besøk ennå} one {# besøk} other {# besøk}}",
+    "carInWorkshop": "På verkstedet",
+    "carWarrantyActive": "garanti gjelder",
+    "carWarrantyExpiring": "garantien går snart ut",
+    "carsEmptyTitle": "Ingen biler registrert ennå",
+    "carsEmptyTitleMarine": "Ingen båter registrert ennå",
+    "carsEmptyBody": "Når verkstedet registrerer bilen din, vises historikken her.",
+    "carsEmptyBodyMarine": "Når verkstedet registrerer båten din, vises historikken her.",
+    "nextVisit": "Neste time",
+    "visitWhen": "{day} kl. {time}",
+    "directions": "Veibeskrivelse",
+    "nextVisitEmptyTitle": "Ingen time bestilt",
+    "nextVisitEmptyBody": "Velg en dag som passer, og fortell oss hva bilen trenger.",
+    "nextVisitEmptyBodyMarine": "Velg en dag som passer, og fortell oss hva båten trenger.",
+    "bookVisit": "Bestill time",
+    "requests": "Sendt til verkstedet",
+    "requestSent": "Sendt {day}",
+    "requestWaiting": "Venter på svar",
+    "requestWishedDay": "ønsket {day}",
+    "messagesLabel": "Meldinger med {workshop}",
+    "messagePreviewFrom": "{name}:",
+    "messagePreviewYou": "Du:",
+    "messagePreviewPhoto": "Bilde",
+    "messagePreviewEmpty": "Skriv til {workshop}",
+    "messagePreviewOpen": "Åpne meldingene dine med {workshop}"
+  },
+  "themes": {
+    "colour": {
+      "stepNow": "Nå",
+      "storedSince": "Lagret siden"
+    },
+    "garage": {
+      "readyAround": "Klar {day} rundt",
+      "expectedAt": "Ventet {day} kl.",
+      "stepDone": "Ferdig",
+      "stepNow": "Nå",
+      "stepNotYet": "Ikke ennå",
+      "stepNotYetAround": "Ikke ennå, rundt {time}",
+      "tireCar": "Bil",
+      "tireCarMarine": "Båt",
+      "tireMake": "Dekk",
+      "tireSize": "Dimensjon",
+      "tireSet": "Sett",
+      "tireTread": "Mønsterdybde",
+      "openUntil": "Åpent i dag til",
+      "opensAt": "Åpner i dag kl."
+    },
+    "print": {
+      "kicker": "Bilen din",
+      "kickerMarine": "Båten din",
+      "dateline": "{workshop}, {time}.",
+      "stepDone": "Ferdig",
+      "stepNow": "Nå",
+      "stepTodo": "Ikke ennå",
+      "waiting": "Venter på deg",
+      "waitingCount": "{count, plural, one {# sak} other {# saker}}",
+      "waitingOwed": "{total} å betale fordelt på {invoices}",
+      "colWhat": "Hva",
+      "colDocument": "Dokument",
+      "colDeadline": "Frist",
+      "colAmount": "Beløp",
+      "tireCar": "Bil",
+      "tireCarMarine": "Båt",
+      "tireTyre": "Dekk",
+      "tireSize": "Dimensjon",
+      "tireSet": "Sett",
+      "tireTread": "Mønster",
+      "portalLabel": "Kundeportal",
+      "callWorkshop": "Ring verkstedet"
+    }
+  },
+  "chat": {
+    "title": "Meldinger",
+    "label": "Meldinger med {workshop}",
+    "subtitle": "{workshop}",
+    "call": "Ring {workshop}",
+    "emptyTitle": "Ingen meldinger ennå",
+    "emptyBody": "Skriv til {workshop} her. Svaret kommer i denne samtalen.",
+    "inputLabel": "Skriv en melding til {workshop}",
+    "placeholder": "Skriv til {workshop}",
+    "addPhoto": "Legg til et bilde",
+    "send": "Send",
+    "photo": "Bilde fra {name}",
+    "you": "Du",
+    "emptyBodyOff": "Det er ikke skrevet noe her.",
+    "video": "Video fra {name}",
+    "file": "Åpne filen",
+    "openLarge": "{what}, vis i stort format",
+    "closeViewer": "Lukk",
+    "today": "I dag",
+    "yesterday": "I går",
+    "seen": "Sett",
+    "sending": "Sender",
+    "retry": "Prøv igjen",
+    "discard": "Slett",
+    "earlier": "Vis eldre",
+    "newBelow": "Ny melding",
+    "keysHint": "Enter sender meldingen. Shift og Enter gir ny linje.",
+    "off": "Dette verkstedet har slått av meldinger. Du kan fortsatt lese det som er skrevet.",
+    "errors": {
+      "notSent": "Ikke sendt. Sjekk tilkoblingen din.",
+      "chatOff": "Ikke sendt. Verkstedet har slått av meldinger.",
+      "tooFast": "Ikke sendt. Det ble mange meldinger på en gang, vent litt.",
+      "restoring": "Ikke sendt. Verkstedet er utilgjengelig en kort stund. Prøv igjen om noen minutter."
+    },
+    "upload": {
+      "adding": "Legger til {name}",
+      "remove": "Fjern {name}",
+      "tooMany": "En melding kan ha opptil {count} bilder eller videoer. Send disse først.",
+      "tooLarge": "Filen er for stor. Bilder kan være opptil {photo} MB og videoer opptil {video} MB.",
+      "type": "Bare bilder og videoer kan sendes her.",
+      "failed": "En fil kunne ikke legges til. Prøv igjen."
+    },
+    "suggestions": {
+      "label": "Forslag til en første melding",
+      "call": "Kan dere ringe meg?",
+      "book": "Jeg vil gjerne bestille time.",
+      "invoice": "Jeg har et spørsmål om fakturaen min."
+    },
+    "events": {
+      "workStarted": "Arbeidet på {vehicle} er i gang",
+      "workStartedNoVehicle": "Arbeidet med jobben din er i gang",
+      "update": "Oppdatering fra {workshop}",
+      "updateAbout": "Om {vehicle}",
+      "seeUpdate": "Se oppdateringen",
+      "quote": "Tilbud",
+      "quoteLine": "Tilbud {title}",
+      "quoteWaiting": "Tilbud venter på svar fra deg",
+      "quotes": "{count} tilbud",
+      "answerQuote": "Les og svar",
+      "invoice": "Faktura",
+      "invoiceLine": "Faktura {title}",
+      "invoiceOverdue": "Faktura forfalt",
+      "invoices": "{count} fakturaer",
+      "seeInvoice": "Se fakturaen",
+      "jobsStarted": "Arbeidet med {count} jobber er i gang"
+    }
+  },
+  "messagesPage": {
+    "title": "Meldinger",
+    "offTitle": "Meldinger er slått av",
+    "offBody": "Dette verkstedet tar ikke imot meldinger her. Ring {phone} eller bestill time.",
+    "offBodyNoPhone": "Dette verkstedet tar ikke imot meldinger her. Bestill time og skriv hva du trenger."
   },
   "invoices": {
     "title": "Fakturaer",
-    "description": "Alle dine servicefakturaer.",
+    "description": "Regninger for arbeid verkstedet har fullført.",
     "noInvoices": "Ingen fakturaer ennå.",
-    "failedToLoad": "Kunne ikke laste inn fakturaer.",
+    "noInvoicesHint": "Når verkstedet har fullført en jobb, vises fakturaen her.",
+    "failedToLoad": "Vi fikk ikke lastet inn fakturaene dine. Prøv igjen om litt.",
     "invoice": "Faktura",
+    "invoiceNumber": "Faktura {number}",
     "vehicle": "Kjøretøy",
     "date": "Dato",
     "amount": "Beløp",
     "payment": "Betaling",
     "view": "Se",
     "download": "Last ned",
+    "downloadPdf": "Last ned PDF",
     "downloadCertificate": "Last ned kontrollseddel",
-    "paid": "betalt",
-    "partial": "delbetalt",
-    "unpaid": "ubetalt",
+    "paid": "Betalt",
+    "partial": "Delvis betalt",
+    "unpaid": "Ikke betalt",
+    "overdue": "Forfalt",
+    "toPayTitle": "Igjen å betale",
+    "toPayCount": "{count, plural, one {fordelt på # faktura} other {fordelt på # fakturaer}}",
+    "toPayNextDue": "Neste forfall {date}",
+    "toPayOpen": "Se og betal {invoice}",
+    "toPayOpenNoPay": "Åpne {invoice}",
+    "nothingToPay": "Ingenting å betale",
+    "nothingToPayBody": "Alle fakturaene her er betalt.",
+    "leftToPay": "{amount} igjen å betale",
+    "dueOn": "Forfall {date}",
     "back": "Tilbake til fakturaer",
-    "openShared": "Åpne den delte kopien"
+    "payOnline": "Betal på nett",
+    "summaryTotal": "Totalt",
+    "summaryPaid": "Betalt",
+    "summaryLeft": "Igjen å betale",
+    "summaryDue": "Forfallsdato",
+    "summaryDate": "Dato",
+    "fullInvoice": "Hele fakturaen"
   },
   "quotes": {
     "title": "Tilbud",
-    "description": "Tilbud og estimater for kjøretøyene dine.",
+    "description": "Priser verkstedet har sendt deg før arbeidet gjøres.",
     "noQuotes": "Ingen tilbud ennå.",
-    "failedToLoad": "Kunne ikke laste inn tilbud.",
+    "noQuotesHint": "Når verkstedet sender deg en pris på et arbeid, vises den her.",
+    "failedToLoad": "Vi fikk ikke lastet inn tilbudene dine. Prøv igjen om litt.",
     "quote": "Tilbud",
     "vehicle": "Kjøretøy",
     "status": "Status",
     "amount": "Beløp",
     "validUntil": "Gyldig til",
+    "validUntilDate": "Gyldig til {date}",
+    "waitingTitle": "Venter på svar fra deg",
+    "waitingNone": "Ingen tilbud venter på svar fra deg.",
+    "waitingAnswer": "Les og svar",
     "view": "Se"
   },
   "inspections": {
     "title": "Kontroller",
-    "description": "Rapporter fra kjøretøykontroller.",
+    "description": "Rapporter fra verkstedets kontroller av bilen din.",
     "noInspections": "Ingen kontroller ennå.",
-    "failedToLoad": "Kunne ikke laste inn kontroller.",
+    "noInspectionsHint": "Når verkstedet har fullført en kontroll, vises rapporten her.",
+    "failedToLoad": "Vi fikk ikke lastet inn kontrollene dine. Prøv igjen om litt.",
     "vehicle": "Kjøretøy",
-    "template": "Sjekkliste",
+    "template": "Kontroll",
     "status": "Status",
     "date": "Dato",
     "summary": "Sammendrag",
@@ -141,31 +401,49 @@
     "poor": "{count} dårlig"
   },
   "vehicles": {
-    "title": "Kjøretøy",
-    "description": "Dine registrerte kjøretøy.",
-    "noVehicles": "Ingen kjøretøy funnet.",
-    "failedToLoad": "Kunne ikke laste inn kjøretøy.",
+    "title": "Bilene dine",
+    "titleMarine": "Båtene dine",
+    "description": "Bilene verkstedet har registrert på deg.",
+    "descriptionMarine": "Båtene verkstedet har registrert på deg.",
+    "noVehicles": "Ingen biler registrert ennå.",
+    "noVehiclesMarine": "Ingen båter registrert ennå.",
+    "noVehiclesHint": "Bestill time og fortell oss om bilen din. Vi legger den til her.",
+    "noVehiclesHintMarine": "Bestill time og fortell oss om båten din. Vi legger den til her.",
+    "back": "Tilbake til mine biler",
+    "backMarine": "Tilbake til mine båter",
+    "about": "Om denne bilen",
+    "aboutMarine": "Om denne båten",
+    "failedToLoad": "Vi fikk ikke lastet inn bilene dine. Prøv igjen om litt.",
+    "failedToLoadMarine": "Vi kunne ikke laste inn båtene dine. Prøv igjen om litt.",
     "plate": "Reg.nr: {plate}",
+    "plateMarine": "Registrering: {plate}",
     "vin": "VIN: {vin}",
+    "vinMarine": "HIN: {vin}",
     "typeKey": "HSN/TSN: {typeKey}",
-    "serviceCount": "{count, plural, one {# service} other {# tjenester}}",
+    "distanceKm": "{value} km",
+    "distanceMi": "{value} mi",
+    "engineHours": "{value} motortimer",
+    "serviceCount": "{count, plural, one {# besøk} other {# besøk}}",
     "inspectionCount": "{count, plural, one {# kontroll} other {# kontroller}}",
     "serviceHistory": "Servicehistorikk ({count})",
     "inspectionsTab": "Kontroller ({count})",
-    "noServiceRecords": "Ingen servicehistorikk ennå.",
+    "noServiceRecords": "Ingen arbeid registrert ennå.",
     "noInspections": "Ingen kontroller ennå.",
-    "vehicleNotFound": "Kjøretøy ikke funnet.",
+    "vehicleNotFound": "Vi fant ikke dette kjøretøyet.",
     "completed": "Fullført {date}",
     "good": "{count} bra",
     "fair": "{count} middels",
     "poor": "{count} dårlig",
     "view": "Se",
-    "serviceHistoryTitle": "Servicehistorikk",
-    "inspectionsTitle": "Inspeksjoner",
-    "columnVehicle": "Kjøretøy",
+    "columnVehicle": "Bil",
+    "columnVehicleMarine": "Båt",
     "columnPlate": "Reg.nr.",
-    "columnServices": "Tjenester",
+    "columnPlateMarine": "Registrering",
+    "columnServices": "Besøk",
     "columnInspections": "Kontroller",
+    "warrantyActive": "Garanti gjelder",
+    "warrantyExpiring": "Garantien utløper snart",
+    "warrantyExpired": "Garantien er utløpt",
     "reportSold": "Jeg eier ikke dette kjøretøyet lenger",
     "reportSoldHint": "Vi gir verkstedet beskjed så de slutter å sende påminnelser om det. Historikken din blir som den er.",
     "reportSoldConfirm": "Ja, gi verkstedet beskjed",
@@ -174,36 +452,99 @@
     "reportSoldFailed": "Kunne ikke sende akkurat nå",
     "reportSoldAlready": "Du har meldt fra til verkstedet at dette kjøretøyet ikke lenger er ditt."
   },
-  "requestService": {
-    "title": "Be om service",
-    "description": "Send inn en serviceforespørsel for ett av kjøretøyene dine.",
-    "newServiceRequest": "Ny serviceforespørsel",
-    "formDescription": "Beskriv problemet, så tar vi kontakt med deg.",
-    "vehicleLabel": "Kjøretøy",
-    "vehiclePlaceholder": "Velg et kjøretøy",
-    "descriptionLabel": "Beskriv problemet",
-    "descriptionPlaceholder": "Hva er galt med kjøretøyet ditt?",
-    "preferredDate": "Ønsket dato",
-    "preferredDateOptional": "(valgfritt)",
-    "submitRequest": "Send forespørsel",
-    "selectVehicle": "Vennligst velg et kjøretøy",
-    "describeIssue": "Vennligst beskriv problemet",
-    "submitSuccess": "Serviceforespørsel sendt",
-    "submitError": "Kunne ikke sende forespørselen",
-    "noVehicles": "Du har ingen registrerte kjøretøy. Kontakt oss for å legge til et kjøretøy først.",
-    "yourRequests": "Dine serviceforespørsler",
-    "failedToLoad": "Kunne ikke laste inn data.",
-    "staffNotes": "Personalnotater: {notes}",
-    "preferred": "Ønsket: {date}",
-    "notListedOption": "Kjøretøyet mitt står ikke i listen",
-    "newVehicleHint": "Fortell oss om kjøretøyet, så legger vi det til i din profil.",
-    "fillVehicleDetails": "Fyll inn kjøretøyets merke og modell",
+  "book": {
+    "title": "Bestill time",
+    "description": "Fortell oss hva du trenger. Vi kommer tilbake til deg med en tid.",
+    "descriptionMessages": "Fortell oss hva du trenger. Vi svarer her i Meldinger med en tid.",
+    "failedToLoad": "Vi fikk ikke lastet inn denne siden. Prøv igjen om litt.",
+    "whichVehicle": "Hvilken bil?",
+    "whichVehicleMarine": "Hvilken båt?",
+    "anotherVehicle": "En annen bil",
+    "anotherVehicleMarine": "En annen båt",
+    "inWorkshopNow": "på verkstedet nå",
+    "selectVehicle": "Velg hvilken det gjelder",
+    "newVehicleHint": "Fortell oss om den, så legger vi den til i profilen din.",
     "makeLabel": "Merke",
     "makePlaceholder": "f.eks. Ford",
     "modelLabel": "Modell",
     "modelPlaceholder": "f.eks. Kuga",
     "yearLabel": "Årsmodell",
-    "plateLabel": "Registreringsnummer"
+    "plateLabel": "Registreringsnummer",
+    "plateLabelMarine": "Registreringsnummer",
+    "fillMake": "Skriv inn merket",
+    "fillModel": "Skriv inn modellen",
+    "invalidYear": "Skriv inn et år mellom {min} og {max}",
+    "optional": "(valgfritt)",
+    "whatNeeded": "Hva trenger du?",
+    "topics": {
+      "service": "Service",
+      "inspection": "Kontroll",
+      "tires": "Dekkskift",
+      "brakes": "Bremser",
+      "problem": "Noe er galt"
+    },
+    "descriptionLabel": "Beskriv det med dine egne ord",
+    "descriptionPlaceholder": "For eksempel: det banker foran til venstre over humper, verst når bilen er kald",
+    "descriptionPlaceholderMarine": "For eksempel: motoren er tung å starte når den er kald",
+    "describeIssue": "Velg hva du trenger over, eller fortell oss med noen få ord",
+    "filesLabel": "Bilder eller en kort video",
+    "filesCount": "{count} av {max} lagt til",
+    "filesLimits": "bilder opptil {photo} MB, video opptil {video} MB",
+    "filesAdd": "Legg til bilder eller video",
+    "filesDrop": "Slipp filer her, eller velg dem fra denne datamaskinen",
+    "filesCamera": "Ta et bilde",
+    "filesTooMany": "Du kan legge til opptil {max} filer. Fjern én for å legge til en ny.",
+    "filesStillUploading": "Vent til filene er ferdig lastet opp, og send så.",
+    "filesFailed": "En fil ble ikke lastet opp. Prøv igjen eller fjern den, og send så.",
+    "fileUploading": "Laster opp {name}",
+    "fileReady": "{name}, lagt til",
+    "fileRemove": "Fjern {name}",
+    "fileRetry": "Prøv igjen",
+    "fileType": "{name} er ikke et bilde eller en video vi kan ta imot.",
+    "fileEmpty": "{name} er tom.",
+    "fileTooLarge": "{name} er for stor.",
+    "fileTooMany": "Det er mange filer på en gang. Vent noen minutter og prøv igjen.",
+    "fileSignedOut": "Du er logget ut. Logg inn igjen for å legge til filer.",
+    "fileNetwork": "Tilkoblingen falt ut under opplastingen.",
+    "fileFailed": "Filen ble ikke lastet opp.",
+    "dayLabel": "Dag som passer deg",
+    "pastDate": "Velg i dag eller en senere dag",
+    "timeLabel": "Tid på dagen",
+    "timeHint": "Velg en dag først, så kan du si hvilken del av dagen som passer.",
+    "time": {
+      "any": "Når som helst",
+      "morning": "Formiddag",
+      "afternoon": "Ettermiddag"
+    },
+    "timeLower": {
+      "morning": "formiddag",
+      "afternoon": "ettermiddag"
+    },
+    "closedDaysHint": "Stengt disse dagene:",
+    "send": "Send til {workshop}",
+    "sendHint": "Ingenting er bestilt før verkstedet bekrefter en tid.",
+    "submitError": "Vi fikk ikke sendt dette akkurat nå. Prøv igjen om litt.",
+    "sentTitle": "Sendt til {workshop}",
+    "sentBody": "Verkstedet leser forespørselen din og ser på det du sendte. Svaret kommer i Meldinger, med en tid.",
+    "sentBodyNoMessages": "Verkstedet leser forespørselen din og ser på det du sendte, og kommer tilbake til deg med en tid. Du kan følge den på denne siden.",
+    "sentMessages": "Gå til Meldinger",
+    "sentHome": "Tilbake til forsiden",
+    "sentAnother": "Be om noe annet",
+    "nextTitle": "Hva skjer nå",
+    "nextRead": "Vi leser forespørselen din og ser på bildene dine.",
+    "nextAnswerMessages": "Vi svarer i Meldinger med en tid, og et tilbud om det er nyttig.",
+    "nextAnswer": "Vi kommer tilbake til deg med en tid, og et tilbud om det er nyttig.",
+    "nextVisit": "Timen vises på forsiden din med dag og klokkeslett.",
+    "talkTitle": "Vil du heller snakke?",
+    "talkCall": "Ring {phone}",
+    "yourRequests": "Det du har bedt om",
+    "sentOn": "Sendt {date}",
+    "preferred": "Ønsket dag: {date}",
+    "staffNotes": "Notat fra verkstedet: {notes}",
+    "requestFiles": "{count, plural, one {# fil du sendte} other {# filer du sendte}}",
+    "requestPhoto": "Åpne bildet",
+    "requestVideo": "Åpne videoen",
+    "requestFileMissing": "Dette bildet er ikke lenger tilgjengelig"
   },
   "booking": {
     "title": "Bestill EU-kontroll",
@@ -248,6 +589,51 @@
     "confirmationBody": "{vehicle} er bestilt til {when} hos {workshop}. Må du endre? Bruk lenken i forrige melding eller ring {phone}.",
     "confirmationBodyRequest": "Takk, {workshop} har mottatt forespørselen din om {when} for {vehicle} og bekrefter snart. Spørsmål? Ring {phone}."
   },
+  "quoteDetail": {
+    "back": "Tilbake til tilbud",
+    "title": "Tilbud",
+    "answerLabel": "Ditt svar",
+    "failedToLoad": "Vi kunne ikke laste inn dette tilbudet.",
+    "total": "Totalt",
+    "number": "Tilbudsnummer",
+    "date": "Dato",
+    "validUntil": "Gyldig til",
+    "vehicle": "Kjøretøy",
+    "fullQuote": "Hele tilbudet",
+    "answerTitle": "Verkstedet venter på svar fra deg",
+    "accept": "Godta tilbudet",
+    "askChanges": "Be om endringer",
+    "confirmAcceptTitle": "Godta dette tilbudet?",
+    "confirmAcceptBody": "Verkstedet får beskjed om at du vil ha arbeidet gjort til denne prisen.",
+    "confirmAcceptYes": "Ja, godta",
+    "cancel": "Avbryt",
+    "changesLabel": "Hva vil du ha endret?",
+    "changesPlaceholder": "For eksempel: dropp vindusviskerbladene",
+    "sendChanges": "Send til verkstedet",
+    "answerFailed": "Vi fikk ikke sendt svaret ditt. Prøv igjen.",
+    "acceptedTitle": "Du har godtatt dette tilbudet",
+    "acceptedBody": "Verkstedet har fått beskjed og tar kontakt.",
+    "changesTitle": "Du har bedt om endringer",
+    "changesBody": "Verkstedet har fått beskjed og sender deg et oppdatert tilbud."
+  },
+  "inspectionDetail": {
+    "back": "Tilbake til kontroller",
+    "title": "Kontroll",
+    "about": "Om denne kontrollen",
+    "failedToLoad": "Vi kunne ikke laste inn denne kontrollen.",
+    "vehicle": "Kjøretøy",
+    "vessel": "Fartøy",
+    "doneOn": "Utført",
+    "startedOn": "Startet",
+    "odometer": "Kilometerstand",
+    "engineHours": "Motortimer",
+    "nextDue": "Neste kontroll",
+    "certificateNumber": "Sertifikatnummer",
+    "stillWorking": "Verkstedet jobber fortsatt med denne kontrollen. Resultatene kan endre seg.",
+    "openShared": "Se bilder og last ned rapporten",
+    "noResults": "Ingen resultater ennå.",
+    "notes": "Notater fra verkstedet"
+  },
   "status": {
     "job": {
       "pending": "Booket",
@@ -257,7 +643,7 @@
       "completed": "Fullført"
     },
     "request": {
-      "pending": "Venter",
+      "pending": "Venter på svar",
       "converted": "Booket",
       "dismissed": "Avsluttet",
       "cancelled": "Avlyst"

+ 101 - 48
messages/nb/settings.json

@@ -1699,55 +1699,108 @@
   },
   "portal": {
     "title": "Kundeportal",
-    "description": "La kundene dine logge inn og se kjøretøyene, fakturaene, tilbudene og inspeksjonene sine. Kunder kan også sende inn serviceforespørsler.",
-    "enablePortal": "Aktiver kundeportal",
-    "enablePortalHint": "Kunder med en e-postadresse kan logge inn via magisk lenke",
-    "enabled": "Kundeportal aktivert",
-    "disabled": "Kundeportal deaktivert",
-    "failedUpdate": "Kunne ikke oppdatere innstilling",
-    "customSlug": "Egendefinert portal-slug",
-    "save": "Lagre",
-    "slugSaved": "Portal-slug lagret",
-    "slugRemoved": "Portal-slug fjernet",
-    "failedUpdateSlug": "Kunne ikke oppdatere slug",
-    "slugHint": "Små bokstaver, tall, bindestreker og understreker. 3-48 tegn. La stå tom for å bruke standard-URL.",
-    "portalUrl": "Portal-URL",
-    "urlCopied": "Portal-URL kopiert",
-    "shareHint": "Del denne lenken med kundene dine slik at de kan logge inn på portalen sin.",
+    "description": "Kundene logger inn for å følge jobben sin, svare på tilbud, betale fakturaer, bestille time og skrive til deg.",
+    "enablePortal": "Slå på kundeportalen",
+    "enablePortalHint": "Kundene logger inn med en lenke sendt til e-posten eller telefonen sin. Det er ikke noe passord å huske.",
+    "failedUpdate": "Kunne ikke lagre innstillingene",
+    "customSlug": "Portaladresse",
+    "slugHint": "Små bokstaver, tall, bindestreker og understreker, 3 til 48 tegn. La feltet stå tomt for å bruke standardadressen.",
+    "portalUrl": "Lenke til portalen din",
+    "urlCopied": "Lenken er kopiert",
+    "shareHint": "Del denne lenken med kundene dine så de kan logge inn.",
     "serviceRequestAlertsHint": "Serviceforespørsler fra portalen dukker alltid opp i varselbjella. Du kan også få dem på e-post.",
-    "serviceRequestAlertsLink": "Varselinnstillinger →",
+    "serviceRequestAlertsLink": "Varselinnstillinger",
     "descriptionLabel": "Om verkstedet",
     "descriptionPlaceholder": "Fortell kundene litt om verkstedet, tjenestene dere tilbyr og hva som gjør dere unike.",
-    "descriptionHint": "Vises til besøkende øverst på portalsiden.",
-    "hoursLabel": "Åpningstider",
-    "hoursPlaceholder": "Man-fre: 08:00-17:00\nLør: 09:00-13:00\nSøn: Stengt",
-    "hoursHint": "Fritekst. Bruk linjeskift for å liste opp dagene hver for seg.",
-    "contentSaved": "Portalinnhold lagret",
-    "background": {
-      "title": "Portalbakgrunn",
-      "description": "Velg hvordan landingssiden for kundeportalen ser ut.",
-      "typeNone": "Ingen",
-      "typeTemplate": "Mal",
-      "typeImage": "Eget bilde",
-      "chooseTemplate": "Velg en mal",
-      "uploadLabel": "Bakgrunnsbilde",
-      "upload": "Last opp bilde",
-      "replace": "Bytt bilde",
-      "remove": "Fjern",
-      "uploadHint": "JPG, PNG eller WebP. Maks 8 MB. Anbefalt minst 1600x900.",
-      "uploading": "Laster opp bakgrunn...",
-      "uploaded": "Bakgrunn oppdatert",
-      "uploadFailed": "Kunne ikke laste opp bakgrunn",
-      "templateNames": {
-        "default": "Diskret",
-        "sunrise": "Soloppgang",
-        "ocean": "Hav",
-        "forest": "Skog",
-        "slate": "Skifer",
-        "sand": "Sand"
+    "descriptionHint": "Vises på innloggingssiden til portalen din.",
+    "copyUrl": "Kopier lenken"
+  },
+  "customerPortal": {
+    "slugPlaceholder": "mitt-verksted",
+    "slugUnsaved": "Adressen virker når du har lagret.",
+    "slugInvalid": "Bruk 3 til 48 små bokstaver, tall, bindestreker eller understreker. Adressen må begynne og slutte med en bokstav eller et tall.",
+    "slugReserved": "Det ordet er reservert. Velg en annen adresse.",
+    "slugTaken": "Et annet verksted bruker allerede den adressen. Velg en annen.",
+    "hours": {
+      "title": "Åpningstider",
+      "fromCalendar": "Portalen viser åpningstidene og de stengte dagene fra verkstedkalenderen din.",
+      "link": "Innstillinger for åpningstider",
+      "typedNote": "Innloggingssiden viser fortsatt åpningstidene som ble skrevet inn her tidligere, fordi det ikke er satt åpningstider i kalenderen ennå. Sett dem der, så viser portalen dem i stedet.",
+      "typedLabel": "Vises på innloggingssiden i dag"
+    },
+    "look": {
+      "title": "Utseendet på kundeportalen",
+      "description": "Ett valg bestemmer innloggingssiden og alle sidene kundene ser etterpå. Kundene kan ikke endre det."
+    },
+    "theme": {
+      "legend": "Tema",
+      "daylight": {
+        "name": "Daylight",
+        "tagline": "Lyst og rolig"
+      },
+      "garage": {
+        "name": "Garage",
+        "tagline": "Mørk tavle som i depotet"
+      },
+      "print": {
+        "name": "Print",
+        "tagline": "Avisaktig og stille"
+      },
+      "colour": {
+        "name": "Colour",
+        "tagline": "Din farge, stort"
       }
     },
-    "copyUrl": "Kopier portal-URL"
+    "colour": {
+      "title": "Din farge",
+      "description": "Brukes på knapper og fremhevinger i alle temaer.",
+      "swatches": "Foreslåtte farger",
+      "orange": "Oransje",
+      "blue": "Blå",
+      "green": "Grønn",
+      "red": "Rød",
+      "black": "Svart",
+      "hexLabel": "Farge som hex-kode",
+      "invalid": "Det er ikke en farge. Skriv den som en hex-kode, for eksempel #1D4ED8.",
+      "usingTheme": "Bruker fargen som følger med {theme}, {hex}.",
+      "themeColour": "Fargen som følger med {theme}, er {hex}.",
+      "useTheme": "Bruk temaets farge",
+      "sample": "Bestill time",
+      "inkLight": "Tekst på denne fargen vises i hvitt, så den er lett å lese.",
+      "inkDark": "Tekst på denne fargen vises i svart, så den er lett å lese.",
+      "faint": "Denne fargen er svak mot bakgrunnen i {theme}. Lenker og fremhevinger kan bli vanskelige å se."
+    },
+    "cover": {
+      "title": "Forsidebilde og logo",
+      "description": "Vises på innloggingssiden. Logoen hentes fra Firmainnstillinger.",
+      "companyLink": "Firmainnstillinger",
+      "hint": "PNG, JPEG eller WebP, opptil 8 MB.",
+      "none": "Ingen forsidebilde",
+      "alt": "Forsidebildet på innloggingssiden",
+      "upload": "Last opp et bilde",
+      "replace": "Bytt bilde",
+      "remove": "Fjern bildet",
+      "uploading": "Laster opp",
+      "uploadFailed": "Kunne ikke laste opp bildet"
+    },
+    "features": {
+      "title": "Hva kundene får",
+      "description": "Delene av portalen du kan slå av.",
+      "messages": "Meldinger i portalen",
+      "messagesHint": "Kundene skriver til deg fra portalen. Meldingene havner i innboksen under Meldinger.",
+      "tires": "Vis lagrede dekk",
+      "tiresHint": "Kundene ser dekkene du oppbevarer for dem, med mønsterdybde."
+    },
+    "bar": {
+      "label": "Lagre innstillingene for kundeportalen",
+      "unsaved": "Du har endringer som ikke er lagret",
+      "saved": "Alt er lagret",
+      "discard": "Forkast endringer",
+      "save": "Lagre endringer",
+      "open": "Åpne portalen som kunde",
+      "openOff": "Slå på portalen og lagre for å åpne den."
+    },
+    "savedToast": "Innstillingene for kundeportalen er lagret"
   },
   "email": {
     "title": "E-postleverandør",
@@ -1989,13 +2042,13 @@
     "noMembers": "Ingen teammedlemmer funnet",
     "addRecipient": "Legg til mottaker...",
     "searchMembers": "Søk etter medlemmer...",
-    "sendNow": "Send nå",
-    "sentNow": "Rapport sendt",
     "newSchedule": "Ny tidsplan",
     "editSchedule": "Rediger tidsplan",
     "edit": "Rediger",
     "cancel": "Avbryt",
     "sent": "sendt",
+    "sendNow": "Send nå",
+    "sentNow": "Rapport sendt",
     "emptyTitle": "Ingen planlagte rapporter",
     "emptyDescription": "Opprett en tidsplan for å automatisk generere og sende rapporter til teamet ditt.",
     "sectionLabels": {
@@ -2847,9 +2900,9 @@
       "uploading": "Laster opp…",
       "width": "Logobredde",
       "hint": "Uavhengig av firmalogoen. Den beskjæres og klargjøres for e-post når den lastes opp. PNG, JPEG eller WebP på inntil 4 MB.",
-      "position": "Plassering",
       "tooLarge": "Bildet må være under 4 MB",
-      "uploadFailed": "Kunne ikke laste opp logoen"
+      "uploadFailed": "Kunne ikke laste opp logoen",
+      "position": "Plassering"
     },
     "image": {
       "empty": "Ingen bilde lastet opp. Blokken skriver ikke ut noe før det finnes ett.",

+ 3 - 0
messages/nl/audit.json

@@ -81,6 +81,7 @@
     "settings_updateInvoiceLayout": "Factuurlay-out bijgewerkt",
     "settings_updateQuoteLayout": "Offertelay-out bijgewerkt",
     "settings_updatePortalSlug": "Portal-URL bijgewerkt",
+    "settings_updateCustomerPortal": "Instellingen klantenportaal bijgewerkt",
     "inspectionTemplate_create": "Inspectiechecklist gemaakt",
     "inspectionTemplate_update": "Inspectiechecklist bijgewerkt",
     "inspectionTemplate_delete": "Inspectiechecklist verwijderd",
@@ -102,6 +103,7 @@
     "statusReport_create": "Statusrapport aangemaakt",
     "statusReport_send": "Statusrapport verzonden",
     "statusReport_delete": "Statusrapport verwijderd",
+    "portal_send": "Portaalbericht verstuurd",
     "telegram_send": "Telegram-bericht verzonden",
     "webhook_create": "Webhook aangemaakt",
     "webhook_update": "Webhook bijgewerkt",
@@ -306,6 +308,7 @@
     "technician_create": "Monteur \"{name}\" aangemaakt",
     "technician_delete": "Monteur {id} verwijderd",
     "technician_update": "Monteur {id} bijgewerkt",
+    "portal_send": "Een bericht aan {name} gestuurd in het klantenportaal",
     "telegram_send": "Telegram-bericht verstuurd naar {name}",
     "tire_location_bulk_create": "{count, plural, one {# bandenplek} other {# bandenplekken}} aangemaakt",
     "tire_location_create": "Bandenplek {code} aangemaakt",

+ 6 - 0
messages/nl/customers.json

@@ -120,6 +120,12 @@
     "saveNotes": "Opmerkingen opslaan",
     "submitted": "Ingediend {date}",
     "preferred": "Voorkeur: {date}",
+    "preferredMorning": "Voorkeur: {date}, ochtend",
+    "preferredAfternoon": "Voorkeur: {date}, middag",
+    "files": "{count, plural, one {# foto of video van de klant} other {# foto's of video's van de klant}}",
+    "openPhoto": "Foto {number} openen",
+    "openVideo": "Video {number} openen",
+    "fileMissing": "Foto {number} is niet meer beschikbaar",
     "workOrderCreated": "Werkorder aangemaakt",
     "workOrderError": "Aanmaken van werkorder mislukt",
     "requestDismissed": "Aanvraag afgewezen",

+ 23 - 0
messages/nl/messaging.json

@@ -51,5 +51,28 @@
       "noMatches": "Geen klant komt overeen met je zoekopdracht.",
       "noRecipients": "Nog geen klanten met een e-mailadres."
     }
+  },
+  "portal": {
+    "badge": "Portaal",
+    "empty": "{name} heeft nog niet geschreven in het portaal.",
+    "placeholder": "Schrijf {name} in het portaal",
+    "send": "Bericht versturen",
+    "sendFailed": "Het bericht kon niet worden verstuurd",
+    "sendHint": "Enter verstuurt, Shift+Enter begint een nieuwe regel. {name} ziet het bij het volgende bezoek aan het portaal.",
+    "loadOlder": "Oudere berichten laden",
+    "loadFailed": "Het gesprek kon niet worden geladen.",
+    "tryAgain": "Opnieuw proberen",
+    "addPhoto": "Foto toevoegen",
+    "removePhoto": "{name} verwijderen",
+    "uploadFailed": "De foto kon niet worden toegevoegd. Foto's mogen tot {size} MB zijn.",
+    "tooManyPhotos": "Een bericht kan maximaal {count} foto's bevatten.",
+    "photoFrom": "Foto van {name}",
+    "videoFrom": "Video van {name}",
+    "openFile": "Bestand openen",
+    "you": "Jij",
+    "seen": "Gelezen",
+    "off": "Berichten in het klantenportaal staan uit, dus dit gesprek kan worden gelezen maar niet beantwoord.",
+    "offSettings": "Instellingen klantenportaal",
+    "deleteDescription": "Verwijdert het hele gesprek met {name}, ook voor de klant: het verdwijnt uit diens portaal."
   }
 }

+ 484 - 98
messages/nl/portal.json

@@ -12,28 +12,42 @@
     "description": "Gebruik de directe link van uw werkplaats om toegang te krijgen tot het klantenportaal.",
     "hint": "Uw werkplaats deelt de portaallink met u via e-mail of sms."
   },
-  "landing": {
-    "contactTitle": "Neem contact op",
-    "aboutTitle": "Over ons",
-    "noContactInfo": "Contactgegevens zijn nog niet beschikbaar.",
-    "address": "Adres",
-    "phone": "Telefoon",
-    "email": "E-mail",
-    "hours": "Openingstijden",
-    "directions": "Routebeschrijving"
+  "signIn": {
+    "eyebrow": "Voor onze klanten",
+    "heading": "Bekijk uw auto, uw facturen en uw berichten.",
+    "headingMarine": "Bekijk uw boot, uw facturen en uw berichten.",
+    "headingNoMessages": "Bekijk uw auto, uw facturen en uw offertes.",
+    "headingNoMessagesMarine": "Bekijk uw boot, uw facturen en uw offertes.",
+    "confirmEyebrow": "Bijna klaar",
+    "hoursTitle": "Openingstijden",
+    "findUs": "Hier vindt u ons",
+    "callUs": "Bel ons",
+    "directions": "Routebeschrijving",
+    "dayRange": "{from} t/m {to}",
+    "timeRange": "{start}–{end}",
+    "closed": "gesloten"
   },
   "login": {
-    "signInTitle": "Klantlogin",
-    "signInSubtitle": "Log in om uw facturen, offertes en servicegeschiedenis te bekijken.",
-    "emailLabel": "E-mailadres",
+    "emailLabel": "Uw e-mailadres",
     "emailPlaceholder": "u@voorbeeld.nl",
-    "sendLink": "Aanmeldlink versturen",
+    "sendLink": "Stuur mij een inloglink",
     "checkEmail": "Controleer uw e-mail",
     "checkEmailDescription": "Als er een account bestaat voor dat e-mailadres, hebben we een aanmeldlink verstuurd. De link verloopt na 15 minuten.",
     "tryDifferentEmail": "Probeer een ander e-mailadres",
+    "requestFailed": "Dat lukte nu even niet. Controleer uw verbinding en probeer het opnieuw.",
+    "tooManyTries": "Te veel pogingen in korte tijd. Wacht een minuut en probeer het opnieuw.",
+    "tryAgain": "Opnieuw proberen",
+    "sendNewCode": "Nieuwe code sturen",
+    "newCodeSent": "We hebben een nieuwe code gestuurd.",
+    "errors": {
+      "invalid": "Die inloglink werkt niet. Vraag hieronder een nieuwe aan.",
+      "used": "Die inloglink is al gebruikt. Vraag hieronder een nieuwe aan.",
+      "expired": "Die inloglink is verlopen. Vraag hieronder een nieuwe aan.",
+      "noAccount": "We konden uw account niet vinden. Vraag de werkplaats welk e-mailadres ze van u hebben."
+    },
     "tabEmail": "E-mail",
     "tabSms": "SMS",
-    "phoneLabel": "Telefoonnummer",
+    "phoneLabel": "Uw mobiele nummer",
     "phonePlaceholder": "+31 612345678",
     "phoneLocalPlaceholder": "612345678",
     "sendCode": "Code versturen",
@@ -48,90 +62,336 @@
     "confirmDescription": "U logt in als {email}. Druk op de knop om door te gaan.",
     "confirmButton": "Doorgaan met inloggen",
     "notFound": "Niet gevonden",
-    "portalNotExist": "Dit portaal bestaat niet.",
-    "portalNotAvailable": "Portaal niet beschikbaar",
-    "portalNotEnabled": "Het klantenportaal is niet ingeschakeld voor deze organisatie."
+    "portalNotExist": "Deze pagina bestaat niet.",
+    "portalNotAvailable": "Niet beschikbaar",
+    "portalNotEnabled": "Deze werkplaats biedt op dit moment geen online toegang.",
+    "noPassword": "Geen wachtwoord. We sturen u een link waarmee u inlogt.",
+    "noPasswordSms": "Geen wachtwoord. We sturen u een sms met een code waarmee u inlogt.",
+    "method": "Hoe wilt u inloggen?"
   },
   "nav": {
-    "dashboard": "Dashboard",
-    "vehicles": "Voertuigen",
+    "label": "Hoofdmenu",
+    "skip": "Naar de inhoud",
+    "home": "Home",
+    "messages": "Berichten",
+    "book": "Afspraak",
+    "bookLong": "Afspraak maken",
+    "cars": "Mijn auto's",
+    "carsMarine": "Mijn boten",
+    "papers": "Papieren",
+    "papersLong": "Facturen en offertes",
+    "unread": "{count, plural, one {# ongelezen bericht} other {# ongelezen berichten}}",
+    "documents": "Documenten",
     "invoices": "Facturen",
     "quotes": "Offertes",
-    "inspections": "Inspecties",
-    "requestService": "Service aanvragen"
+    "inspections": "Inspecties"
   },
   "header": {
-    "signOut": "Afmelden",
-    "askShort": "Service"
+    "homeLink": "{name}, home",
+    "account": "Uw account, {name}",
+    "signedInAs": "Ingelogd als",
+    "signOut": "Afmelden"
+  },
+  "hoursLine": {
+    "openUntil": "Open tot {time}",
+    "opensAt": "Open vanaf {time}",
+    "closedNow": "Gesloten voor vandaag",
+    "closedToday": "Vandaag gesloten"
+  },
+  "format": {
+    "today": "vandaag",
+    "tomorrow": "morgen"
   },
   "shell": {
     "notFound": "Niet gevonden",
-    "portalNotExist": "Dit portaal bestaat niet.",
-    "portalNotAvailable": "Portaal niet beschikbaar",
-    "portalNotEnabled": "Het klantenportaal is niet ingeschakeld voor deze organisatie."
+    "portalNotExist": "Deze pagina bestaat niet.",
+    "portalNotAvailable": "Niet beschikbaar",
+    "portalNotEnabled": "Deze werkplaats heeft zijn klantenpagina's nog niet geopend.",
+    "callWorkshop": "{phone} bellen",
+    "openMap": "{address} openen in kaarten",
+    "errorTitle": "Er ging iets mis",
+    "errorBody": "Deze pagina kon niet worden getoond. Probeer het opnieuw of ga terug naar uw startpagina.",
+    "tryAgain": "Opnieuw proberen",
+    "pageNotFoundTitle": "We konden die pagina niet vinden",
+    "pageNotFoundBody": "De link is misschien oud, of de pagina is verwijderd.",
+    "backHome": "Terug naar de startpagina"
   },
-  "dashboard": {
-    "welcome": "Welkom, {name}",
-    "overview": "Hier is een overzicht van uw account.",
-    "vehicles": "Voertuigen",
-    "openInvoices": "Openstaande facturen",
-    "pendingQuotes": "Openstaande offertes",
-    "recentInvoices": "Recente facturen",
-    "recentQuotes": "Recente offertes",
-    "pendingServiceRequests": "Openstaande serviceaanvragen",
-    "viewAll": "Alles bekijken",
-    "newRequest": "Nieuw verzoek",
-    "noInvoicesYet": "Nog geen facturen.",
-    "noQuotesYet": "Nog geen offertes.",
-    "view": "Bekijken",
-    "pending": "In behandeling",
-    "failedToLoad": "Dashboard laden mislukt.",
-    "quickRequestService": "Service aanvragen",
-    "quickRequestServiceHint": "Reparatie of controle boeken",
-    "quickViewInvoices": "Uw facturen",
-    "quickViewInvoicesHint": "Facturen en betaalgeschiedenis",
-    "quickViewVehicles": "Uw voertuigen",
-    "quickViewVehiclesHint": "Servicegeschiedenis en details",
-    "activeJobs": "Lopende werkzaamheden"
+  "home": {
+    "failedToLoad": "We konden uw pagina niet laden. Probeer het zo opnieuw.",
+    "heroWorkingPromised": "Hallo {name}. Uw auto staat in de werkplaats en is {day} rond {time} klaar.",
+    "heroWorkingPromisedMarine": "Hallo {name}. Uw boot ligt in de werkplaats en is {day} rond {time} klaar.",
+    "heroWorking": "Hallo {name}. Uw auto staat in de werkplaats.",
+    "heroWorkingMarine": "Hallo {name}. Uw boot ligt in de werkplaats.",
+    "heroReady": "Hallo {name}. Uw auto staat klaar om op te halen.",
+    "heroReadyMarine": "Hallo {name}. Uw boot ligt klaar om op te halen.",
+    "heroBookedAt": "Hallo {name}. We verwachten uw auto {day} om {time}.",
+    "heroBookedAtMarine": "Hallo {name}. We verwachten uw boot {day} om {time}.",
+    "heroBooked": "Hallo {name}. Uw afspraak staat gepland.",
+    "heroNothing": "Hallo {name}. Er staat nu niets van u in de werkplaats.",
+    "heroNothingBody": "Maak een afspraak als uw auto ons nodig heeft. Hier volgt u het werk stap voor stap.",
+    "heroNothingBodyMarine": "Maak een afspraak als uw boot ons nodig heeft. Hier volgt u het werk stap voor stap.",
+    "stepsLabel": "Hoe ver het werk is",
+    "stepBooked": "Gepland",
+    "stepCheckedIn": "Ontvangen",
+    "stepWorking": "In de werkplaats",
+    "stepReady": "Klaar om op te halen",
+    "latestUpdate": "Laatste nieuws van de werkplaats · {when}",
+    "updateFallback": "De werkplaats heeft een update over het werk gedeeld.",
+    "seeUpdate": "Foto's en video bekijken",
+    "otherJobs": "Ook gepland of bezig",
+    "jobBookedFor": "Gepland op {day} om {time}",
+    "jobReadyAround": "Klaar {day} rond {time}",
+    "needsAnswer": "Wacht op uw antwoord",
+    "validUntil": "Geldig tot {day}",
+    "quoteNumber": "Offerte {number}",
+    "quote": "Offerte",
+    "readQuote": "Offerte lezen",
+    "moreQuotes": "{count, plural, one {Nog # offerte wacht op uw antwoord} other {Nog # offertes wachten op uw antwoord}}",
+    "toPay": "Te betalen",
+    "due": "Te betalen voor {day}",
+    "overdueSince": "Te laat sinds {day}",
+    "invoiceNumber": "Factuur {number}",
+    "invoice": "Factuur",
+    "payNow": "Nu betalen",
+    "seeInvoice": "Factuur bekijken",
+    "moreInvoices": "{count, plural, one {Nog # factuur te betalen} other {Nog # facturen te betalen}}, samen {total}",
+    "paidSoFar": "{paid} van {total} betaald",
+    "toPayCount": "{count, plural, one {# factuur} other {# facturen}}",
+    "toPayOverdueCount": "{count} te laat",
+    "toPayMostUrgent": "Meest dringend",
+    "toPayNext": "Als eerste te betalen",
+    "seeAllInvoices": "Alle {count} facturen bekijken",
+    "nextStep": "Volgende stap",
+    "nextStepWorking": "We nemen de auto in ontvangst en beginnen met het werk.",
+    "nextStepWorkingMarine": "We nemen de boot in ontvangst en beginnen met het werk.",
+    "nextStepReady": "U krijgt hier een bericht zodra hij klaar is om op te halen.",
+    "nextStepReadyNoChat": "We laten het u weten zodra hij klaar is om op te halen.",
+    "nextStepCollect": "Kom langs wanneer het u uitkomt.",
+    "tires": "Bandenhotel",
+    "tiresStoredSummer": "Zomerbanden bij ons opgeslagen",
+    "tiresStoredWinter": "Winterbanden bij ons opgeslagen",
+    "tiresStoredAllSeason": "All-season banden bij ons opgeslagen",
+    "tiresStoredOther": "Banden bij ons opgeslagen",
+    "tiresSeasonSummer": "Zomerbanden",
+    "tiresSeasonWinter": "Winterbanden",
+    "tiresSeasonAllSeason": "All-season banden",
+    "tiresSeasonOther": "Banden",
+    "tiresStudded": "met spikes",
+    "tiresOnRims": "op velg",
+    "tiresStoredSince": "opgeslagen sinds {day}",
+    "tiresTreadLeft": "profiel over",
+    "tiresTreadLine": "{depth} profiel over",
+    "tiresNotMeasured": "Profiel nog niet gemeten",
+    "tiresCount": "{count, plural, one {# band} other {# banden}}",
+    "cars": "Mijn auto's",
+    "carsMarine": "Mijn boten",
+    "carVisits": "{count, plural, =0 {nog geen bezoeken} one {# bezoek} other {# bezoeken}}",
+    "carInWorkshop": "In de werkplaats",
+    "carWarrantyActive": "garantie loopt",
+    "carWarrantyExpiring": "garantie loopt binnenkort af",
+    "carsEmptyTitle": "Nog geen auto's geregistreerd",
+    "carsEmptyTitleMarine": "Nog geen boten geregistreerd",
+    "carsEmptyBody": "Zodra de werkplaats uw auto registreert, ziet u hier de geschiedenis.",
+    "carsEmptyBodyMarine": "Zodra de werkplaats uw boot registreert, ziet u hier de geschiedenis.",
+    "nextVisit": "Volgende afspraak",
+    "visitWhen": "{day}, {time}",
+    "directions": "Routebeschrijving",
+    "nextVisitEmptyTitle": "Geen afspraak gepland",
+    "nextVisitEmptyBody": "Kies een dag die u uitkomt en vertel ons wat de auto nodig heeft.",
+    "nextVisitEmptyBodyMarine": "Kies een dag die u uitkomt en vertel ons wat de boot nodig heeft.",
+    "bookVisit": "Afspraak maken",
+    "requests": "Verstuurd naar de werkplaats",
+    "requestSent": "Verstuurd {day}",
+    "requestWaiting": "Wacht op antwoord",
+    "requestWishedDay": "gewenst: {day}",
+    "messagesLabel": "Berichten met {workshop}",
+    "messagePreviewFrom": "{name}:",
+    "messagePreviewYou": "U:",
+    "messagePreviewPhoto": "Foto",
+    "messagePreviewEmpty": "Schrijf naar {workshop}",
+    "messagePreviewOpen": "Open uw berichten met {workshop}"
+  },
+  "themes": {
+    "colour": {
+      "stepNow": "Nu",
+      "storedSince": "Opgeslagen sinds"
+    },
+    "garage": {
+      "readyAround": "Klaar {day} rond",
+      "expectedAt": "Verwacht {day} om",
+      "stepDone": "Klaar",
+      "stepNow": "Nu",
+      "stepNotYet": "Nog niet",
+      "stepNotYetAround": "Nog niet, rond {time}",
+      "tireCar": "Auto",
+      "tireCarMarine": "Boot",
+      "tireMake": "Banden",
+      "tireSize": "Maat",
+      "tireSet": "Set",
+      "tireTread": "Profiel over",
+      "openUntil": "Vandaag open tot",
+      "opensAt": "Vandaag open vanaf"
+    },
+    "print": {
+      "kicker": "Uw auto",
+      "kickerMarine": "Uw boot",
+      "dateline": "{workshop}, {time}.",
+      "stepDone": "Klaar",
+      "stepNow": "Nu",
+      "stepTodo": "Nog niet",
+      "waiting": "Wacht op u",
+      "waitingCount": "{count, plural, one {# punt} other {# punten}}",
+      "waitingOwed": "{total} te betalen op {invoices}",
+      "colWhat": "Wat",
+      "colDocument": "Document",
+      "colDeadline": "Uiterlijk",
+      "colAmount": "Bedrag",
+      "tireCar": "Auto",
+      "tireCarMarine": "Boot",
+      "tireTyre": "Band",
+      "tireSize": "Maat",
+      "tireSet": "Set",
+      "tireTread": "Profiel",
+      "portalLabel": "Klantenportaal",
+      "callWorkshop": "Bel de werkplaats"
+    }
+  },
+  "chat": {
+    "title": "Berichten",
+    "label": "Berichten met {workshop}",
+    "subtitle": "{workshop}",
+    "call": "{workshop} bellen",
+    "emptyTitle": "Nog geen berichten",
+    "emptyBody": "Schrijf hier naar {workshop}. Het antwoord verschijnt in dit gesprek.",
+    "inputLabel": "Schrijf een bericht aan {workshop}",
+    "placeholder": "Schrijf naar {workshop}",
+    "addPhoto": "Foto toevoegen",
+    "send": "Versturen",
+    "photo": "Foto van {name}",
+    "you": "U",
+    "emptyBodyOff": "Hier is niets geschreven.",
+    "video": "Video van {name}",
+    "file": "Bestand openen",
+    "openLarge": "{what}, groot openen",
+    "closeViewer": "Sluiten",
+    "today": "Vandaag",
+    "yesterday": "Gisteren",
+    "seen": "Gelezen",
+    "sending": "Wordt verstuurd",
+    "retry": "Opnieuw proberen",
+    "discard": "Verwijderen",
+    "earlier": "Eerdere berichten tonen",
+    "newBelow": "Nieuw bericht",
+    "keysHint": "Enter verstuurt het bericht. Shift en Enter begint een nieuwe regel.",
+    "off": "Deze werkplaats heeft berichten uitgezet. U kunt nog wel lezen wat er geschreven is.",
+    "errors": {
+      "notSent": "Niet verstuurd. Controleer uw verbinding.",
+      "chatOff": "Niet verstuurd. De werkplaats heeft berichten uitgezet.",
+      "tooFast": "Niet verstuurd. Dat waren veel berichten tegelijk, wacht even.",
+      "restoring": "Niet verstuurd. De werkplaats is even niet bereikbaar. Probeer het over een paar minuten opnieuw."
+    },
+    "upload": {
+      "adding": "{name} wordt toegevoegd",
+      "remove": "{name} verwijderen",
+      "tooMany": "Een bericht kan maximaal {count} foto's of video's bevatten. Verstuur deze eerst.",
+      "tooLarge": "Dat bestand is te groot. Foto's mogen tot {photo} MB zijn en video's tot {video} MB.",
+      "type": "Hier kunnen alleen foto's en video's worden verstuurd.",
+      "failed": "Een bestand kon niet worden toegevoegd. Probeer het opnieuw."
+    },
+    "suggestions": {
+      "label": "Ideeën voor een eerste bericht",
+      "call": "Kunt u mij bellen?",
+      "book": "Ik wil graag een afspraak maken.",
+      "invoice": "Ik heb een vraag over mijn factuur."
+    },
+    "events": {
+      "workStarted": "Het werk aan uw {vehicle} is begonnen",
+      "workStartedNoVehicle": "Het werk aan uw opdracht is begonnen",
+      "update": "Update van {workshop}",
+      "updateAbout": "Over uw {vehicle}",
+      "seeUpdate": "Update bekijken",
+      "quote": "Offerte",
+      "quoteLine": "Offerte {title}",
+      "quoteWaiting": "Offerte wacht op uw antwoord",
+      "quotes": "{count} offertes",
+      "answerQuote": "Lezen en beantwoorden",
+      "invoice": "Factuur",
+      "invoiceLine": "Factuur {title}",
+      "invoiceOverdue": "Factuur te laat",
+      "invoices": "{count} facturen",
+      "seeInvoice": "Factuur bekijken",
+      "jobsStarted": "Het werk aan {count} opdrachten is begonnen"
+    }
+  },
+  "messagesPage": {
+    "title": "Berichten",
+    "offTitle": "Berichten staan uit",
+    "offBody": "Deze werkplaats ontvangt hier geen berichten. Bel {phone} of maak een afspraak.",
+    "offBodyNoPhone": "Deze werkplaats ontvangt hier geen berichten. Maak een afspraak en schrijf erbij wat u nodig heeft."
   },
   "invoices": {
     "title": "Facturen",
-    "description": "Al uw servicefacturen.",
+    "description": "Rekeningen voor werk dat de werkplaats heeft afgerond.",
     "noInvoices": "Nog geen facturen.",
-    "failedToLoad": "Facturen laden mislukt.",
+    "noInvoicesHint": "Zodra de werkplaats een opdracht heeft afgerond, ziet u de factuur hier.",
+    "failedToLoad": "We konden uw facturen niet laden. Probeer het zo opnieuw.",
     "invoice": "Factuur",
+    "invoiceNumber": "Factuur {number}",
     "vehicle": "Voertuig",
     "date": "Datum",
     "amount": "Bedrag",
     "payment": "Betaling",
     "view": "Bekijken",
     "download": "Downloaden",
+    "downloadPdf": "PDF downloaden",
     "downloadCertificate": "Keuringsrapport downloaden",
-    "paid": "betaald",
-    "partial": "gedeeltelijk",
-    "unpaid": "onbetaald",
+    "paid": "Betaald",
+    "partial": "Deels betaald",
+    "unpaid": "Niet betaald",
+    "overdue": "Te laat",
+    "toPayTitle": "Nog te betalen",
+    "toPayCount": "{count, plural, one {op # factuur} other {op # facturen}}",
+    "toPayNextDue": "Volgende vervaldatum {date}",
+    "toPayOpen": "{invoice} bekijken en betalen",
+    "toPayOpenNoPay": "{invoice} openen",
+    "nothingToPay": "Niets te betalen",
+    "nothingToPayBody": "Alle facturen hier zijn betaald.",
+    "leftToPay": "Nog {amount} te betalen",
+    "dueOn": "Te betalen voor {date}",
     "back": "Terug naar facturen",
-    "openShared": "Gedeelde kopie openen"
+    "payOnline": "Online betalen",
+    "summaryTotal": "Totaal",
+    "summaryPaid": "Betaald",
+    "summaryLeft": "Nog te betalen",
+    "summaryDue": "Vervaldatum",
+    "summaryDate": "Datum",
+    "fullInvoice": "De volledige factuur"
   },
   "quotes": {
     "title": "Offertes",
-    "description": "Offertes en kostenramingen voor uw voertuigen.",
+    "description": "Prijzen die de werkplaats u heeft gestuurd voordat het werk begint.",
     "noQuotes": "Nog geen offertes.",
-    "failedToLoad": "Offertes laden mislukt.",
+    "noQuotesHint": "Zodra de werkplaats u een prijs voor een klus stuurt, ziet u die hier.",
+    "failedToLoad": "We konden uw offertes niet laden. Probeer het zo opnieuw.",
     "quote": "Offerte",
     "vehicle": "Voertuig",
     "status": "Status",
     "amount": "Bedrag",
     "validUntil": "Geldig tot",
+    "validUntilDate": "Geldig tot {date}",
+    "waitingTitle": "Wacht op uw antwoord",
+    "waitingNone": "Er wacht geen offerte op uw antwoord.",
+    "waitingAnswer": "Lezen en beantwoorden",
     "view": "Bekijken"
   },
   "inspections": {
     "title": "Inspecties",
-    "description": "Voertuiginspectierapporten.",
+    "description": "Rapporten van de controles die de werkplaats aan uw auto heeft gedaan.",
     "noInspections": "Nog geen inspecties.",
-    "failedToLoad": "Inspecties laden mislukt.",
+    "noInspectionsHint": "Zodra de werkplaats een inspectie heeft afgerond, ziet u het rapport hier.",
+    "failedToLoad": "We konden uw inspecties niet laden. Probeer het zo opnieuw.",
     "vehicle": "Voertuig",
-    "template": "Checklist",
+    "template": "Inspectie",
     "status": "Status",
     "date": "Datum",
     "summary": "Samenvatting",
@@ -141,31 +401,49 @@
     "poor": "{count} slecht"
   },
   "vehicles": {
-    "title": "Voertuigen",
-    "description": "Uw geregistreerde voertuigen.",
-    "noVehicles": "Geen voertuigen gevonden.",
-    "failedToLoad": "Voertuigen laden mislukt.",
+    "title": "Uw auto's",
+    "titleMarine": "Uw boten",
+    "description": "De auto's die de werkplaats van u heeft geregistreerd.",
+    "descriptionMarine": "De boten die de werkplaats van u heeft geregistreerd.",
+    "noVehicles": "Nog geen auto's geregistreerd.",
+    "noVehiclesMarine": "Nog geen boten geregistreerd.",
+    "noVehiclesHint": "Maak een afspraak en vertel ons over uw auto. Wij zetten hem hier.",
+    "noVehiclesHintMarine": "Maak een afspraak en vertel ons over uw boot. Wij zetten hem hier.",
+    "back": "Terug naar mijn auto's",
+    "backMarine": "Terug naar mijn boten",
+    "about": "Over deze auto",
+    "aboutMarine": "Over deze boot",
+    "failedToLoad": "We konden uw auto's niet laden. Probeer het zo opnieuw.",
+    "failedToLoadMarine": "We konden uw boten niet laden. Probeer het zo opnieuw.",
     "plate": "Kenteken: {plate}",
+    "plateMarine": "Registratie: {plate}",
     "vin": "VIN: {vin}",
+    "vinMarine": "HIN: {vin}",
     "typeKey": "HSN/TSN: {typeKey}",
-    "serviceCount": "{count, plural, one {# onderhoudsbeurt} other {# onderhoudsbeurten}}",
+    "distanceKm": "{value} km",
+    "distanceMi": "{value} mijl",
+    "engineHours": "{value} motoruren",
+    "serviceCount": "{count, plural, one {# bezoek} other {# bezoeken}}",
     "inspectionCount": "{count, plural, one {# inspectie} other {# inspecties}}",
-    "serviceHistory": "Servicegeschiedenis ({count})",
+    "serviceHistory": "Onderhoudsgeschiedenis ({count})",
     "inspectionsTab": "Inspecties ({count})",
-    "noServiceRecords": "Nog geen servicerecords.",
+    "noServiceRecords": "Nog geen werk geregistreerd.",
     "noInspections": "Nog geen inspecties.",
-    "vehicleNotFound": "Voertuig niet gevonden.",
+    "vehicleNotFound": "We konden dit voertuig niet vinden.",
     "completed": "Afgerond {date}",
     "good": "{count} goed",
     "fair": "{count} redelijk",
     "poor": "{count} slecht",
     "view": "Bekijken",
-    "serviceHistoryTitle": "Servicegeschiedenis",
-    "inspectionsTitle": "Inspecties",
-    "columnVehicle": "Voertuig",
+    "columnVehicle": "Auto",
+    "columnVehicleMarine": "Boot",
     "columnPlate": "Kenteken",
-    "columnServices": "Onderhoudsbeurten",
+    "columnPlateMarine": "Registratie",
+    "columnServices": "Bezoeken",
     "columnInspections": "Inspecties",
+    "warrantyActive": "Garantie loopt",
+    "warrantyExpiring": "Garantie verloopt binnenkort",
+    "warrantyExpired": "Garantie verlopen",
     "reportSold": "Ik heb dit voertuig niet meer",
     "reportSoldHint": "We laten het de werkplaats weten zodat ze er geen herinneringen meer over sturen. Uw geschiedenis blijft staan.",
     "reportSoldConfirm": "Ja, werkplaats informeren",
@@ -174,36 +452,99 @@
     "reportSoldFailed": "Kon nu niet worden verstuurd",
     "reportSoldAlready": "U heeft de werkplaats laten weten dat dit voertuig niet meer van u is."
   },
-  "requestService": {
-    "title": "Service aanvragen",
-    "description": "Dien een serviceaanvraag in voor een van uw voertuigen.",
-    "newServiceRequest": "Nieuwe serviceaanvraag",
-    "formDescription": "Beschrijf het probleem en we nemen zo snel mogelijk contact met u op.",
-    "vehicleLabel": "Voertuig",
-    "vehiclePlaceholder": "Selecteer een voertuig",
-    "descriptionLabel": "Beschrijf het probleem",
-    "descriptionPlaceholder": "Wat is er aan de hand met uw voertuig?",
-    "preferredDate": "Gewenste datum",
-    "preferredDateOptional": "(optioneel)",
-    "submitRequest": "Verzoek indienen",
-    "selectVehicle": "Selecteer een voertuig",
-    "describeIssue": "Beschrijf het probleem",
-    "submitSuccess": "Serviceaanvraag ingediend",
-    "submitError": "Indienen van aanvraag mislukt",
-    "noVehicles": "U heeft geen geregistreerde voertuigen. Neem contact met ons op om eerst een voertuig toe te voegen.",
-    "yourRequests": "Uw serviceaanvragen",
-    "failedToLoad": "Gegevens laden mislukt.",
-    "staffNotes": "Medewerkernotities: {notes}",
-    "preferred": "Gewenst: {date}",
-    "notListedOption": "Mijn voertuig staat er niet bij",
-    "newVehicleHint": "Vertel ons over het voertuig, dan voegen we het toe aan je profiel.",
-    "fillVehicleDetails": "Vul het merk en model van het voertuig in",
+  "book": {
+    "title": "Afspraak maken",
+    "description": "Vertel ons wat u nodig heeft. We komen bij u terug met een tijd.",
+    "descriptionMessages": "Vertel ons wat u nodig heeft. We antwoorden hier in Berichten met een tijd.",
+    "failedToLoad": "We konden deze pagina niet laden. Probeer het zo opnieuw.",
+    "whichVehicle": "Welke auto?",
+    "whichVehicleMarine": "Welke boot?",
+    "anotherVehicle": "Een andere auto",
+    "anotherVehicleMarine": "Een andere boot",
+    "inWorkshopNow": "nu in de werkplaats",
+    "selectVehicle": "Kies waar het om gaat",
+    "newVehicleHint": "Vertel ons erover en we voegen hem toe aan uw profiel.",
     "makeLabel": "Merk",
     "makePlaceholder": "bijv. Ford",
     "modelLabel": "Model",
     "modelPlaceholder": "bijv. Kuga",
     "yearLabel": "Bouwjaar",
-    "plateLabel": "Kenteken"
+    "plateLabel": "Kenteken",
+    "plateLabelMarine": "Registratienummer",
+    "fillMake": "Vul het merk in",
+    "fillModel": "Vul het model in",
+    "invalidYear": "Vul een jaar in tussen {min} en {max}",
+    "optional": "(optioneel)",
+    "whatNeeded": "Wat heeft u nodig?",
+    "topics": {
+      "service": "Onderhoud",
+      "inspection": "Keuring",
+      "tires": "Banden wisselen",
+      "brakes": "Remmen",
+      "problem": "Er is iets mis"
+    },
+    "descriptionLabel": "Beschrijf het in uw eigen woorden",
+    "descriptionPlaceholder": "Bijvoorbeeld: een kloppend geluid linksvoor bij drempels, erger als de auto koud is",
+    "descriptionPlaceholderMarine": "Bijvoorbeeld: de motor start moeilijk als hij koud is",
+    "describeIssue": "Kies hierboven wat u nodig heeft, of vertel het ons in een paar woorden",
+    "filesLabel": "Foto's of een korte video",
+    "filesCount": "{count} van {max} toegevoegd",
+    "filesLimits": "foto's tot {photo} MB, video tot {video} MB",
+    "filesAdd": "Foto's of video toevoegen",
+    "filesDrop": "Sleep bestanden hierheen, of kies ze op deze computer",
+    "filesCamera": "Foto maken",
+    "filesTooMany": "U kunt maximaal {max} bestanden toevoegen. Haal er een weg om een ander toe te voegen.",
+    "filesStillUploading": "Wacht tot uw bestanden zijn geüpload en verstuur dan.",
+    "filesFailed": "Een bestand is niet geüpload. Probeer het opnieuw of haal het weg, en verstuur dan.",
+    "fileUploading": "{name} wordt geüpload",
+    "fileReady": "{name}, toegevoegd",
+    "fileRemove": "{name} verwijderen",
+    "fileRetry": "Opnieuw proberen",
+    "fileType": "{name} is geen foto of video die we kunnen ontvangen.",
+    "fileEmpty": "{name} is leeg.",
+    "fileTooLarge": "{name} is te groot.",
+    "fileTooMany": "Dat zijn veel bestanden tegelijk. Wacht een paar minuten en probeer het opnieuw.",
+    "fileSignedOut": "U bent uitgelogd. Log opnieuw in om bestanden toe te voegen.",
+    "fileNetwork": "De verbinding viel weg tijdens het uploaden.",
+    "fileFailed": "Dat bestand is niet geüpload.",
+    "dayLabel": "Dag die u uitkomt",
+    "pastDate": "Kies vandaag of een latere dag",
+    "timeLabel": "Tijd van de dag",
+    "timeHint": "Kies eerst een dag, dan kunt u aangeven welk deel ervan u uitkomt.",
+    "time": {
+      "any": "Maakt niet uit",
+      "morning": "Ochtend",
+      "afternoon": "Middag"
+    },
+    "timeLower": {
+      "morning": "ochtend",
+      "afternoon": "middag"
+    },
+    "closedDaysHint": "Gesloten op deze dagen:",
+    "send": "Versturen naar {workshop}",
+    "sendHint": "Er staat pas iets gepland als de werkplaats een tijd bevestigt.",
+    "submitError": "Versturen lukte nu niet. Probeer het zo opnieuw.",
+    "sentTitle": "Verstuurd naar {workshop}",
+    "sentBody": "De werkplaats leest uw aanvraag en bekijkt wat u heeft gestuurd. Het antwoord komt in Berichten, met een tijd.",
+    "sentBodyNoMessages": "De werkplaats leest uw aanvraag en bekijkt wat u heeft gestuurd, en komt dan bij u terug met een tijd. U kunt het op deze pagina volgen.",
+    "sentMessages": "Naar Berichten",
+    "sentHome": "Terug naar home",
+    "sentAnother": "Iets anders aanvragen",
+    "nextTitle": "Wat er nu gebeurt",
+    "nextRead": "We lezen uw aanvraag en bekijken uw foto's.",
+    "nextAnswerMessages": "We antwoorden in Berichten met een tijd, en een offerte als dat helpt.",
+    "nextAnswer": "We komen bij u terug met een tijd, en een offerte als dat helpt.",
+    "nextVisit": "De afspraak verschijnt op uw startpagina met dag en tijd.",
+    "talkTitle": "Liever even bellen?",
+    "talkCall": "Bel {phone}",
+    "yourRequests": "Wat u heeft aangevraagd",
+    "sentOn": "Verstuurd {date}",
+    "preferred": "Voorkeur: {date}",
+    "staffNotes": "Notitie van de werkplaats: {notes}",
+    "requestFiles": "{count, plural, one {# bestand dat u stuurde} other {# bestanden die u stuurde}}",
+    "requestPhoto": "Foto openen",
+    "requestVideo": "Video openen",
+    "requestFileMissing": "Deze foto is niet meer beschikbaar"
   },
   "booking": {
     "title": "Boek uw keuring",
@@ -248,6 +589,51 @@
     "confirmationBody": "Uw {vehicle} is geboekt voor {when} bij {workshop}. Wijzigen? Gebruik de link in ons vorige bericht of bel {phone}.",
     "confirmationBodyRequest": "Bedankt, {workshop} heeft uw verzoek voor {when} voor uw {vehicle} ontvangen en bevestigt binnenkort. Vragen? Bel {phone}."
   },
+  "quoteDetail": {
+    "back": "Terug naar offertes",
+    "title": "Offerte",
+    "answerLabel": "Uw antwoord",
+    "failedToLoad": "We konden deze offerte niet laden.",
+    "total": "Totaal",
+    "number": "Offertenummer",
+    "date": "Datum",
+    "validUntil": "Geldig tot",
+    "vehicle": "Voertuig",
+    "fullQuote": "De volledige offerte",
+    "answerTitle": "De werkplaats wacht op uw antwoord",
+    "accept": "Offerte accepteren",
+    "askChanges": "Wijzigingen vragen",
+    "confirmAcceptTitle": "Deze offerte accepteren?",
+    "confirmAcceptBody": "De werkplaats krijgt bericht dat u het werk voor deze prijs wilt laten doen.",
+    "confirmAcceptYes": "Ja, accepteren",
+    "cancel": "Annuleren",
+    "changesLabel": "Wat wilt u anders?",
+    "changesPlaceholder": "Bijvoorbeeld: de ruitenwisserbladen niet vervangen",
+    "sendChanges": "Naar de werkplaats sturen",
+    "answerFailed": "We konden uw antwoord niet versturen. Probeer het opnieuw.",
+    "acceptedTitle": "U heeft deze offerte geaccepteerd",
+    "acceptedBody": "De werkplaats weet ervan en neemt contact met u op.",
+    "changesTitle": "U heeft om wijzigingen gevraagd",
+    "changesBody": "De werkplaats weet ervan en stuurt u een aangepaste offerte."
+  },
+  "inspectionDetail": {
+    "back": "Terug naar inspecties",
+    "title": "Inspectie",
+    "about": "Over deze inspectie",
+    "failedToLoad": "We konden deze inspectie niet laden.",
+    "vehicle": "Voertuig",
+    "vessel": "Vaartuig",
+    "doneOn": "Uitgevoerd op",
+    "startedOn": "Gestart op",
+    "odometer": "Kilometerstand",
+    "engineHours": "Motoruren",
+    "nextDue": "Volgende inspectie",
+    "certificateNumber": "Certificaatnummer",
+    "stillWorking": "De werkplaats is nog bezig met deze inspectie. De resultaten kunnen nog veranderen.",
+    "openShared": "Foto's bekijken en het rapport downloaden",
+    "noResults": "Nog geen resultaten.",
+    "notes": "Opmerkingen van de werkplaats"
+  },
   "status": {
     "job": {
       "pending": "Geboekt",
@@ -257,7 +643,7 @@
       "completed": "Afgerond"
     },
     "request": {
-      "pending": "In behandeling",
+      "pending": "Wacht op antwoord",
       "converted": "Geboekt",
       "dismissed": "Gesloten",
       "cancelled": "Geannuleerd"

+ 106 - 53
messages/nl/settings.json

@@ -977,6 +977,11 @@
     "paymentReceivedDescription": "Verzonden wanneer een betaling wordt geregistreerd.",
     "saveSmsTemplates": "SMS-sjablonen opslaan",
     "smsTemplateSaved": "SMS-sjablooninstellingen opgeslagen",
+    "layoutTitle": "Factuurindeling",
+    "layoutDescription": "Pas de volgorde en zichtbaarheid van secties in uw facturen en offertes aan.",
+    "layoutSaved": "Indeling succesvol opgeslagen",
+    "layoutDocInvoice": "Factuur",
+    "layoutDocQuote": "Offerte",
     "smsDefaults": {
       "invoiceReady": "Factuur van {company_name} is gereed. Bekijk deze hier: {share_link}\nMet vriendelijke groet {company_name} - {current_user}",
       "quoteReady": "Uw offerte is klaar voor beoordeling. Bekijk deze hier: {share_link}",
@@ -997,11 +1002,6 @@
       "rose": "Roze",
       "indigo": "Indigo"
     },
-    "layoutTitle": "Factuurindeling",
-    "layoutDescription": "Pas de volgorde en zichtbaarheid van secties in uw facturen en offertes aan.",
-    "layoutSaved": "Indeling succesvol opgeslagen",
-    "layoutDocInvoice": "Factuur",
-    "layoutDocQuote": "Offerte",
     "goToLayout": "Indeling en secties",
     "openDesigner": "Ontwerper openen",
     "designerIntro": "Kies een startpunt en open de ontwerper om alles aan te passen.",
@@ -1699,55 +1699,108 @@
   },
   "portal": {
     "title": "Klantenportaal",
-    "description": "Laat uw klanten inloggen en hun voertuigen, facturen, offertes en inspecties bekijken. Klanten kunnen ook serviceverzoeken indienen.",
-    "enablePortal": "Klantenportaal inschakelen",
-    "enablePortalHint": "Klanten met een e-mailadres kunnen inloggen via een magische link",
-    "enabled": "Klantenportaal ingeschakeld",
-    "disabled": "Klantenportaal uitgeschakeld",
-    "failedUpdate": "Instelling bijwerken mislukt",
-    "customSlug": "Aangepaste portaalslug",
-    "save": "Opslaan",
-    "slugSaved": "Portaalslug opgeslagen",
-    "slugRemoved": "Portaalslug verwijderd",
-    "failedUpdateSlug": "Slug bijwerken mislukt",
-    "slugHint": "Kleine letters, cijfers, koppeltekens en underscores. 3-48 tekens. Laat leeg om de standaard-URL te gebruiken.",
-    "portalUrl": "Portaal-URL",
-    "urlCopied": "Portaal-URL gekopieerd",
-    "shareHint": "Deel deze link met uw klanten zodat ze kunnen inloggen op hun portaal.",
+    "description": "Uw klanten loggen in om hun opdracht te volgen, offertes te beantwoorden, facturen te betalen, een afspraak te maken en u te schrijven.",
+    "enablePortal": "Klantenportaal aanzetten",
+    "enablePortalHint": "Klanten loggen in met een link die naar hun e-mail of telefoon wordt gestuurd. Er is geen wachtwoord om te onthouden.",
+    "failedUpdate": "De instellingen konden niet worden opgeslagen",
+    "customSlug": "Portaaladres",
+    "slugHint": "Kleine letters, cijfers, koppeltekens en underscores, 3 tot 48 tekens. Laat leeg om het standaardadres te gebruiken.",
+    "portalUrl": "Link naar uw portaal",
+    "urlCopied": "Link gekopieerd",
+    "shareHint": "Deel deze link met uw klanten zodat ze kunnen inloggen.",
     "serviceRequestAlertsHint": "Serviceaanvragen uit het portaal verschijnen altijd in je meldingsbel. Je kunt ze ook per e-mail ontvangen.",
-    "serviceRequestAlertsLink": "Meldingsinstellingen →",
+    "serviceRequestAlertsLink": "Meldingsinstellingen",
     "descriptionLabel": "Over uw werkplaats",
     "descriptionPlaceholder": "Vertel klanten iets over uw werkplaats, de diensten die u aanbiedt en wat u uniek maakt.",
-    "descriptionHint": "Wordt aan bezoekers getoond bovenaan uw portaalpagina.",
-    "hoursLabel": "Openingstijden",
-    "hoursPlaceholder": "Ma-Vr: 8:00-17:00\nZa: 9:00-13:00\nZo: Gesloten",
-    "hoursHint": "Vrije tekst. Gebruik regeleinden om elke dag apart te vermelden.",
-    "contentSaved": "Portaalinhoud opgeslagen",
-    "background": {
-      "title": "Portaalachtergrond",
-      "description": "Kies hoe de landingspagina van het klantenportaal eruitziet.",
-      "typeNone": "Geen",
-      "typeTemplate": "Sjabloon",
-      "typeImage": "Eigen afbeelding",
-      "chooseTemplate": "Kies een sjabloon",
-      "uploadLabel": "Achtergrondafbeelding",
-      "upload": "Afbeelding uploaden",
-      "replace": "Afbeelding vervangen",
-      "remove": "Verwijderen",
-      "uploadHint": "JPG, PNG of WebP. Max 8 MB. Aanbevolen minstens 1600×900.",
-      "uploading": "Achtergrond uploaden…",
-      "uploaded": "Achtergrond bijgewerkt",
-      "uploadFailed": "Achtergrond uploaden mislukt",
-      "templateNames": {
-        "default": "Subtiel",
-        "sunrise": "Zonsopgang",
-        "ocean": "Oceaan",
-        "forest": "Bos",
-        "slate": "Leisteen",
-        "sand": "Zand"
+    "descriptionHint": "Getoond op de inlogpagina van uw portaal.",
+    "copyUrl": "Link kopiëren"
+  },
+  "customerPortal": {
+    "slugPlaceholder": "mijn-werkplaats",
+    "slugUnsaved": "Dit adres werkt zodra u opslaat.",
+    "slugInvalid": "Gebruik 3 tot 48 kleine letters, cijfers, koppeltekens of underscores, en begin en eindig met een letter of cijfer.",
+    "slugReserved": "Dat woord is gereserveerd. Kies een ander adres.",
+    "slugTaken": "Een andere werkplaats gebruikt dat adres al. Kies een ander.",
+    "hours": {
+      "title": "Openingstijden",
+      "fromCalendar": "Het portaal toont de openingstijden en sluitingsdagen uit uw werkplaatsagenda.",
+      "link": "Instellingen voor openingstijden",
+      "typedNote": "Uw inlogpagina toont nog de tijden die hier eerder zijn ingetypt, omdat er nog geen openingstijden in de agenda staan. Stel ze daar in, dan toont het portaal die.",
+      "typedLabel": "Nu getoond op de inlogpagina"
+    },
+    "look": {
+      "title": "Uiterlijk van uw klantenportaal",
+      "description": "Eén keuze bepaalt de inlogpagina en elke pagina die uw klanten daarna zien. Klanten kunnen dit niet wijzigen."
+    },
+    "theme": {
+      "legend": "Thema",
+      "daylight": {
+        "name": "Daylight",
+        "tagline": "Licht en rustig"
+      },
+      "garage": {
+        "name": "Garage",
+        "tagline": "Donker als een pitbord"
+      },
+      "print": {
+        "name": "Print",
+        "tagline": "Als een krant, rustig"
+      },
+      "colour": {
+        "name": "Colour",
+        "tagline": "Uw kleur, groot"
       }
     },
-    "copyUrl": "Portaal-URL kopiëren"
+    "colour": {
+      "title": "Uw kleur",
+      "description": "Gebruikt voor knoppen en accenten in elk thema.",
+      "swatches": "Voorgestelde kleuren",
+      "orange": "Oranje",
+      "blue": "Blauw",
+      "green": "Groen",
+      "red": "Rood",
+      "black": "Zwart",
+      "hexLabel": "Kleur als hexcode",
+      "invalid": "Dat is geen kleur. Schrijf hem als hexcode, zoals #1D4ED8.",
+      "usingTheme": "De kleur van {theme} wordt gebruikt, {hex}.",
+      "themeColour": "De kleur van {theme} is {hex}.",
+      "useTheme": "Kleur van het thema gebruiken",
+      "sample": "Afspraak maken",
+      "inkLight": "Tekst op deze kleur wordt wit weergegeven, zodat hij leesbaar blijft.",
+      "inkDark": "Tekst op deze kleur wordt zwart weergegeven, zodat hij leesbaar blijft.",
+      "faint": "Deze kleur valt weinig op tegen de achtergrond van {theme}. Links en accenten kunnen slecht zichtbaar zijn."
+    },
+    "cover": {
+      "title": "Omslagfoto en logo",
+      "description": "Getoond op de inlogpagina. Uw logo komt uit de bedrijfsinstellingen.",
+      "companyLink": "Bedrijfsinstellingen",
+      "hint": "PNG, JPEG of WebP, tot 8 MB.",
+      "none": "Geen omslagfoto",
+      "alt": "De omslagfoto op de inlogpagina",
+      "upload": "Foto uploaden",
+      "replace": "Foto vervangen",
+      "remove": "Foto verwijderen",
+      "uploading": "Bezig met uploaden",
+      "uploadFailed": "De foto kon niet worden geüpload"
+    },
+    "features": {
+      "title": "Wat klanten krijgen",
+      "description": "De onderdelen van het portaal die u kunt uitzetten.",
+      "messages": "Berichten in het portaal",
+      "messagesHint": "Klanten schrijven u vanuit het portaal. Hun berichten komen in uw inbox onder Berichten.",
+      "tires": "Opgeslagen banden tonen",
+      "tiresHint": "Klanten zien de banden die u voor hen bewaart, met profieldiepte."
+    },
+    "bar": {
+      "label": "Instellingen van het klantenportaal opslaan",
+      "unsaved": "U heeft wijzigingen die niet zijn opgeslagen",
+      "saved": "Alles is opgeslagen",
+      "discard": "Wijzigingen negeren",
+      "save": "Wijzigingen opslaan",
+      "open": "Portaal openen als klant",
+      "openOff": "Zet het portaal aan en sla op om het te openen."
+    },
+    "savedToast": "Instellingen van het klantenportaal opgeslagen"
   },
   "email": {
     "title": "E-mailprovider",
@@ -1989,13 +2042,13 @@
     "noMembers": "Geen teamleden gevonden",
     "addRecipient": "Ontvanger toevoegen...",
     "searchMembers": "Leden zoeken...",
-    "sendNow": "Nu verzenden",
-    "sentNow": "Rapport succesvol verzonden",
     "newSchedule": "Nieuwe planning",
     "editSchedule": "Planning bewerken",
     "edit": "Bewerken",
     "cancel": "Annuleren",
     "sent": "verzonden",
+    "sendNow": "Nu verzenden",
+    "sentNow": "Rapport succesvol verzonden",
     "emptyTitle": "Geen geplande rapporten",
     "emptyDescription": "Maak een planning aan om automatisch rapporten te genereren en naar uw team te sturen.",
     "sectionLabels": {
@@ -2847,9 +2900,9 @@
       "uploading": "Uploaden…",
       "width": "Logobreedte",
       "hint": "Los van het bedrijfslogo. Het wordt bij het uploaden bijgesneden en voor e-mail voorbereid. PNG, JPEG of WebP tot 4 MB.",
-      "position": "Positie",
       "tooLarge": "De afbeelding moet kleiner zijn dan 4 MB",
-      "uploadFailed": "Kon het logo niet uploaden"
+      "uploadFailed": "Kon het logo niet uploaden",
+      "position": "Positie"
     },
     "image": {
       "empty": "Geen afbeelding geüpload. Het blok drukt niets af totdat er een is.",

+ 3 - 0
messages/pl/audit.json

@@ -81,6 +81,7 @@
     "settings_updateInvoiceLayout": "Zaktualizowano układ faktury",
     "settings_updateQuoteLayout": "Zaktualizowano układ wyceny",
     "settings_updatePortalSlug": "Zaktualizowano URL portalu",
+    "settings_updateCustomerPortal": "Zaktualizowano ustawienia portalu klienta",
     "inspectionTemplate_create": "Utworzono listę kontrolną przeglądu",
     "inspectionTemplate_update": "Zaktualizowano listę kontrolną przeglądu",
     "inspectionTemplate_delete": "Usunięto listę kontrolną przeglądu",
@@ -102,6 +103,7 @@
     "statusReport_create": "Utworzono raport statusu",
     "statusReport_send": "Wysłano raport statusu",
     "statusReport_delete": "Usunięto raport statusu",
+    "portal_send": "Wysłano wiadomość w portalu",
     "telegram_send": "Wysłano wiadomość Telegram",
     "webhook_create": "Utworzono webhook",
     "webhook_update": "Zaktualizowano webhook",
@@ -306,6 +308,7 @@
     "technician_create": "Utworzono mechanika „{name}”",
     "technician_delete": "Usunięto mechanika {id}",
     "technician_update": "Zaktualizowano mechanika {id}",
+    "portal_send": "Wysłano wiadomość do {name} w portalu klienta",
     "telegram_send": "Wysłano wiadomość Telegram do {name}",
     "tire_location_bulk_create": "Utworzono {count, plural, one {# miejsce na opony} few {# miejsca na opony} many {# miejsc na opony} other {# miejsca na opony}}",
     "tire_location_create": "Utworzono miejsce na opony {code}",

+ 6 - 0
messages/pl/customers.json

@@ -120,6 +120,12 @@
     "saveNotes": "Zapisz notatki",
     "submitted": "Wysłano {date}",
     "preferred": "Preferowany termin: {date}",
+    "preferredMorning": "Preferowany termin: {date}, rano",
+    "preferredAfternoon": "Preferowany termin: {date}, po południu",
+    "files": "{count, plural, one {# zdjęcie lub film od klienta} few {# zdjęcia lub filmy od klienta} many {# zdjęć lub filmów od klienta} other {# zdjęcia lub filmu od klienta}}",
+    "openPhoto": "Otwórz zdjęcie {number}",
+    "openVideo": "Otwórz film {number}",
+    "fileMissing": "Zdjęcie {number} nie jest już dostępne",
     "workOrderCreated": "Zlecenie pracy utworzone",
     "workOrderError": "Nie udało się utworzyć zlecenia pracy",
     "requestDismissed": "Zlecenie odrzucone",

+ 23 - 0
messages/pl/messaging.json

@@ -51,5 +51,28 @@
       "noMatches": "Żaden klient nie pasuje do wyszukiwania.",
       "noRecipients": "Brak klientów z adresem e-mail."
     }
+  },
+  "portal": {
+    "badge": "Portal",
+    "empty": "{name} nie napisał jeszcze nic w portalu.",
+    "placeholder": "Napisz do {name} w portalu",
+    "send": "Wyślij wiadomość",
+    "sendFailed": "Nie udało się wysłać wiadomości",
+    "sendHint": "Enter wysyła, Shift+Enter zaczyna nową linię. {name} zobaczy ją przy następnym otwarciu portalu.",
+    "loadOlder": "Wczytaj starsze wiadomości",
+    "loadFailed": "Nie udało się wczytać rozmowy.",
+    "tryAgain": "Spróbuj ponownie",
+    "addPhoto": "Dodaj zdjęcie",
+    "removePhoto": "Usuń {name}",
+    "uploadFailed": "Nie udało się dodać zdjęcia. Zdjęcia mogą mieć do {size} MB.",
+    "tooManyPhotos": "Wiadomość mieści do {count} zdjęć.",
+    "photoFrom": "Zdjęcie od {name}",
+    "videoFrom": "Wideo od {name}",
+    "openFile": "Otwórz plik",
+    "you": "Ty",
+    "seen": "Przeczytano",
+    "off": "Wiadomości w portalu klienta są wyłączone, więc tę rozmowę można czytać, ale nie można na nią odpowiadać.",
+    "offSettings": "Ustawienia portalu klienta",
+    "deleteDescription": "Usuwa całą rozmowę z {name}, także u klienta: znika ona z jego portalu."
   }
 }

+ 485 - 99
messages/pl/portal.json

@@ -12,28 +12,42 @@
     "description": "Użyj bezpośredniego linku podanego przez Twój warsztat, aby uzyskać dostęp do portalu klienta.",
     "hint": "Twój warsztat udostępni Ci link do portalu e-mailem lub SMS-em."
   },
-  "landing": {
-    "contactTitle": "Skontaktuj się z nami",
-    "aboutTitle": "O nas",
-    "noContactInfo": "Dane kontaktowe nie są jeszcze dostępne.",
-    "address": "Adres",
-    "phone": "Telefon",
-    "email": "E-mail",
-    "hours": "Godziny otwarcia",
-    "directions": "Wyznacz trasę"
+  "signIn": {
+    "eyebrow": "Dla naszych klientów",
+    "heading": "Twoje auto, faktury i wiadomości w jednym miejscu.",
+    "headingMarine": "Twoja łódź, faktury i wiadomości w jednym miejscu.",
+    "headingNoMessages": "Twoje auto, faktury i wyceny w jednym miejscu.",
+    "headingNoMessagesMarine": "Twoja łódź, faktury i wyceny w jednym miejscu.",
+    "confirmEyebrow": "Prawie gotowe",
+    "hoursTitle": "Godziny otwarcia",
+    "findUs": "Jak do nas trafić",
+    "callUs": "Zadzwoń do nas",
+    "directions": "Wskazówki dojazdu",
+    "dayRange": "{from} do {to}",
+    "timeRange": "{start} do {end}",
+    "closed": "nieczynne"
   },
   "login": {
-    "signInTitle": "Logowanie klienta",
-    "signInSubtitle": "Zaloguj się, aby zobaczyć faktury, oferty i historię serwisową.",
-    "emailLabel": "Adres e-mail",
+    "emailLabel": "Twój adres e-mail",
     "emailPlaceholder": "ty@przyklad.pl",
-    "sendLink": "Wyślij link do logowania",
+    "sendLink": "Wyślij mi link do logowania",
     "checkEmail": "Sprawdź swoją skrzynkę",
     "checkEmailDescription": "Jeśli konto dla tego adresu e-mail istnieje, wysłaliśmy link do logowania. Link wygasa po 15 minutach.",
     "tryDifferentEmail": "Wypróbuj inny adres e-mail",
+    "requestFailed": "Nie udało się teraz wysłać. Sprawdź połączenie i spróbuj ponownie.",
+    "tooManyTries": "Za dużo prób w krótkim czasie. Odczekaj minutę i spróbuj ponownie.",
+    "tryAgain": "Spróbuj ponownie",
+    "sendNewCode": "Wyślij nowy kod",
+    "newCodeSent": "Wysłaliśmy nowy kod.",
+    "errors": {
+      "invalid": "Ten link do logowania nie działa. Poproś poniżej o nowy.",
+      "used": "Ten link do logowania został już użyty. Poproś poniżej o nowy.",
+      "expired": "Ten link do logowania wygasł. Poproś poniżej o nowy.",
+      "noAccount": "Nie znaleźliśmy Twojego konta. Poproś warsztat, aby sprawdził Twój adres e-mail w swoich danych."
+    },
     "tabEmail": "E-mail",
     "tabSms": "SMS",
-    "phoneLabel": "Numer telefonu",
+    "phoneLabel": "Twój numer komórkowy",
     "phonePlaceholder": "+48 512345678",
     "phoneLocalPlaceholder": "512345678",
     "sendCode": "Wyślij kod",
@@ -48,90 +62,336 @@
     "confirmDescription": "Logujesz się jako {email}. Naciśnij przycisk, aby kontynuować.",
     "confirmButton": "Przejdź do logowania",
     "notFound": "Nie znaleziono",
-    "portalNotExist": "Ten portal nie istnieje.",
-    "portalNotAvailable": "Portal niedostępny",
-    "portalNotEnabled": "Portal klienta nie jest włączony dla tej organizacji."
+    "portalNotExist": "Ta strona nie istnieje.",
+    "portalNotAvailable": "Niedostępne",
+    "portalNotEnabled": "Ten warsztat nie oferuje teraz dostępu online.",
+    "noPassword": "Bez hasła. Wyślemy Ci link, który Cię zaloguje.",
+    "noPasswordSms": "Bez hasła. Wyślemy Ci SMS-em kod, który Cię zaloguje.",
+    "method": "Jak się zalogować"
   },
   "nav": {
-    "dashboard": "Panel główny",
-    "vehicles": "Pojazdy",
+    "label": "Główna nawigacja",
+    "skip": "Przejdź do treści",
+    "home": "Start",
+    "messages": "Wiadomości",
+    "book": "Umów wizytę",
+    "bookLong": "Umów wizytę",
+    "cars": "Moje auta",
+    "carsMarine": "Moje łodzie",
+    "papers": "Dokumenty",
+    "papersLong": "Faktury i wyceny",
+    "unread": "{count, plural, one {# nieprzeczytana wiadomość} few {# nieprzeczytane wiadomości} many {# nieprzeczytanych wiadomości} other {# nieprzeczytanej wiadomości}}",
+    "documents": "Dokumenty",
     "invoices": "Faktury",
     "quotes": "Wyceny",
-    "inspections": "Inspekcje",
-    "requestService": "Zamów serwis"
+    "inspections": "Inspekcje"
   },
   "header": {
-    "signOut": "Wyloguj się",
-    "askShort": "Serwis"
+    "homeLink": "{name}, strona główna",
+    "account": "Twoje konto, {name}",
+    "signedInAs": "Zalogowano jako",
+    "signOut": "Wyloguj się"
+  },
+  "hoursLine": {
+    "openUntil": "Otwarte do {time}",
+    "opensAt": "Otwieramy o {time}",
+    "closedNow": "Na dziś zamknięte",
+    "closedToday": "Dziś nieczynne"
+  },
+  "format": {
+    "today": "dzisiaj",
+    "tomorrow": "jutro"
   },
   "shell": {
     "notFound": "Nie znaleziono",
-    "portalNotExist": "Ten portal nie istnieje.",
-    "portalNotAvailable": "Portal niedostępny",
-    "portalNotEnabled": "Portal klienta nie jest włączony dla tej organizacji."
+    "portalNotExist": "Ta strona nie istnieje.",
+    "portalNotAvailable": "Niedostępne",
+    "portalNotEnabled": "Ten warsztat nie udostępnił jeszcze stron dla klientów.",
+    "callWorkshop": "Zadzwoń: {phone}",
+    "openMap": "Otwórz {address} na mapie",
+    "errorTitle": "Coś poszło nie tak",
+    "errorBody": "Nie udało się wyświetlić tej strony. Spróbuj ponownie lub wróć na stronę główną.",
+    "tryAgain": "Spróbuj ponownie",
+    "pageNotFoundTitle": "Nie znaleźliśmy tej strony",
+    "pageNotFoundBody": "Link może być nieaktualny albo strona została usunięta.",
+    "backHome": "Wróć na stronę główną"
   },
-  "dashboard": {
-    "welcome": "Witaj, {name}",
-    "overview": "Oto przegląd Twojego konta.",
-    "vehicles": "Pojazdy",
-    "openInvoices": "Otwarte faktury",
-    "pendingQuotes": "Oczekujące wyceny",
-    "recentInvoices": "Ostatnie faktury",
-    "recentQuotes": "Ostatnie wyceny",
-    "pendingServiceRequests": "Oczekujące zlecenia serwisowe",
-    "viewAll": "Zobacz wszystkie",
-    "newRequest": "Nowe zlecenie",
-    "noInvoicesYet": "Brak faktur.",
-    "noQuotesYet": "Brak wycen.",
-    "view": "Zobacz",
-    "pending": "Oczekujące",
-    "failedToLoad": "Nie udało się załadować panelu.",
-    "quickRequestService": "Zamów serwis",
-    "quickRequestServiceHint": "Zarezerwuj naprawę lub przegląd",
-    "quickViewInvoices": "Twoje faktury",
-    "quickViewInvoicesHint": "Faktury i historia płatności",
-    "quickViewVehicles": "Twoje pojazdy",
-    "quickViewVehiclesHint": "Historia serwisowa i szczegóły",
-    "activeJobs": "Bieżące zlecenia"
+  "home": {
+    "failedToLoad": "Nie udało się wczytać Twojej strony. Spróbuj ponownie za chwilę.",
+    "heroWorkingPromised": "Cześć {name}. Twoje auto jest w warsztacie, będzie gotowe {day} około {time}.",
+    "heroWorkingPromisedMarine": "Cześć {name}. Twoja łódź jest w warsztacie, będzie gotowa {day} około {time}.",
+    "heroWorking": "Cześć {name}. Twoje auto jest w warsztacie.",
+    "heroWorkingMarine": "Cześć {name}. Twoja łódź jest w warsztacie.",
+    "heroReady": "Cześć {name}. Twoje auto jest gotowe do odbioru.",
+    "heroReadyMarine": "Cześć {name}. Twoja łódź jest gotowa do odbioru.",
+    "heroBookedAt": "Cześć {name}. Czekamy na Twoje auto {day} o {time}.",
+    "heroBookedAtMarine": "Cześć {name}. Czekamy na Twoją łódź {day} o {time}.",
+    "heroBooked": "Cześć {name}. Twoja wizyta jest umówiona.",
+    "heroNothing": "Cześć {name}. W warsztacie nie ma teraz nic Twojego.",
+    "heroNothingBody": "Umów wizytę, gdy Twoje auto będzie nas potrzebować. Tutaj śledzisz prace krok po kroku.",
+    "heroNothingBodyMarine": "Umów wizytę, gdy Twoja łódź będzie nas potrzebować. Tutaj śledzisz prace krok po kroku.",
+    "stepsLabel": "Na jakim etapie są prace",
+    "stepBooked": "Umówione",
+    "stepCheckedIn": "Przyjęte",
+    "stepWorking": "W warsztacie",
+    "stepReady": "Gotowe do odbioru",
+    "latestUpdate": "Najnowsze z warsztatu · {when}",
+    "updateFallback": "Warsztat przesłał informację o postępie prac.",
+    "seeUpdate": "Zobacz zdjęcia i wideo",
+    "otherJobs": "Też umówione lub w toku",
+    "jobBookedFor": "Umówione na {day}, {time}",
+    "jobReadyAround": "Gotowe {day} około {time}",
+    "needsAnswer": "Czeka na Twoją odpowiedź",
+    "validUntil": "Ważna do {day}",
+    "quoteNumber": "Wycena {number}",
+    "quote": "Wycena",
+    "readQuote": "Przeczytaj wycenę",
+    "moreQuotes": "{count, plural, one {Jeszcze # wycena czeka na Twoją odpowiedź} few {Jeszcze # wyceny czekają na Twoją odpowiedź} many {Jeszcze # wycen czeka na Twoją odpowiedź} other {Jeszcze # wyceny czeka na Twoją odpowiedź}}",
+    "toPay": "Do zapłaty",
+    "due": "Termin: {day}",
+    "overdueSince": "Po terminie od {day}",
+    "invoiceNumber": "Faktura {number}",
+    "invoice": "Faktura",
+    "payNow": "Zapłać teraz",
+    "seeInvoice": "Zobacz fakturę",
+    "moreInvoices": "{count, plural, one {Jeszcze # faktura do zapłaty} few {Jeszcze # faktury do zapłaty} many {Jeszcze # faktur do zapłaty} other {Jeszcze # faktury do zapłaty}}, razem {total}",
+    "paidSoFar": "Zapłacono {paid} z {total}",
+    "toPayCount": "{count, plural, one {# faktura} few {# faktury} many {# faktur} other {# faktury}}",
+    "toPayOverdueCount": "Po terminie: {count}",
+    "toPayMostUrgent": "Najpilniejsza",
+    "toPayNext": "Następna do zapłaty",
+    "seeAllInvoices": "Zobacz wszystkie faktury ({count})",
+    "nextStep": "Dalej",
+    "nextStepWorking": "Przyjmujemy auto i zaczynamy prace.",
+    "nextStepWorkingMarine": "Przyjmujemy łódź i zaczynamy prace.",
+    "nextStepReady": "Dostaniesz tu wiadomość, gdy będzie gotowe do odbioru.",
+    "nextStepReadyNoChat": "Damy Ci znać, gdy będzie gotowe do odbioru.",
+    "nextStepCollect": "Przyjdź, kiedy Ci pasuje.",
+    "tires": "Przechowalnia opon",
+    "tiresStoredSummer": "Opony letnie przechowywane u nas",
+    "tiresStoredWinter": "Opony zimowe przechowywane u nas",
+    "tiresStoredAllSeason": "Opony całoroczne przechowywane u nas",
+    "tiresStoredOther": "Opony przechowywane u nas",
+    "tiresSeasonSummer": "Opony letnie",
+    "tiresSeasonWinter": "Opony zimowe",
+    "tiresSeasonAllSeason": "Opony całoroczne",
+    "tiresSeasonOther": "Opony",
+    "tiresStudded": "z kolcami",
+    "tiresOnRims": "na felgach",
+    "tiresStoredSince": "przechowywane od {day}",
+    "tiresTreadLeft": "pozostały bieżnik",
+    "tiresTreadLine": "Pozostały bieżnik: {depth}",
+    "tiresNotMeasured": "Bieżnik jeszcze niezmierzony",
+    "tiresCount": "{count, plural, one {# opona} few {# opony} many {# opon} other {# opony}}",
+    "cars": "Moje auta",
+    "carsMarine": "Moje łodzie",
+    "carVisits": "{count, plural, =0 {jeszcze bez wizyt} one {# wizyta} few {# wizyty} many {# wizyt} other {# wizyty}}",
+    "carInWorkshop": "W warsztacie",
+    "carWarrantyActive": "gwarancja aktywna",
+    "carWarrantyExpiring": "gwarancja wkrótce wygasa",
+    "carsEmptyTitle": "Nie ma jeszcze zapisanych aut",
+    "carsEmptyTitleMarine": "Nie ma jeszcze zapisanych łodzi",
+    "carsEmptyBody": "Gdy warsztat zapisze Twoje auto, tutaj pojawi się jego historia.",
+    "carsEmptyBodyMarine": "Gdy warsztat zapisze Twoją łódź, tutaj pojawi się jej historia.",
+    "nextVisit": "Następna wizyta",
+    "visitWhen": "{day}, {time}",
+    "directions": "Wskazówki dojazdu",
+    "nextVisitEmptyTitle": "Brak umówionej wizyty",
+    "nextVisitEmptyBody": "Wybierz dogodny dzień i napisz, czego potrzebuje auto.",
+    "nextVisitEmptyBodyMarine": "Wybierz dogodny dzień i napisz, czego potrzebuje łódź.",
+    "bookVisit": "Umów wizytę",
+    "requests": "Wysłane do warsztatu",
+    "requestSent": "Wysłano {day}",
+    "requestWaiting": "Czeka na odpowiedź",
+    "requestWishedDay": "preferowany dzień: {day}",
+    "messagesLabel": "Wiadomości z {workshop}",
+    "messagePreviewFrom": "{name}:",
+    "messagePreviewYou": "Ty:",
+    "messagePreviewPhoto": "Zdjęcie",
+    "messagePreviewEmpty": "Napisz do {workshop}",
+    "messagePreviewOpen": "Otwórz wiadomości z {workshop}"
+  },
+  "themes": {
+    "colour": {
+      "stepNow": "Teraz",
+      "storedSince": "Przechowywane od"
+    },
+    "garage": {
+      "readyAround": "Gotowe {day} około",
+      "expectedAt": "Oczekiwane {day} o",
+      "stepDone": "Zrobione",
+      "stepNow": "Teraz",
+      "stepNotYet": "Jeszcze nie",
+      "stepNotYetAround": "Jeszcze nie, około {time}",
+      "tireCar": "Auto",
+      "tireCarMarine": "Łódź",
+      "tireMake": "Opony",
+      "tireSize": "Rozmiar",
+      "tireSet": "Komplet",
+      "tireTread": "Bieżnik",
+      "openUntil": "Dziś otwarte do",
+      "opensAt": "Dziś otwieramy o"
+    },
+    "print": {
+      "kicker": "Twoje auto",
+      "kickerMarine": "Twoja łódź",
+      "dateline": "{workshop}, {time}.",
+      "stepDone": "Zrobione",
+      "stepNow": "Teraz",
+      "stepTodo": "Jeszcze nie",
+      "waiting": "Czeka na Ciebie",
+      "waitingCount": "{count, plural, one {# sprawa} few {# sprawy} many {# spraw} other {# sprawy}}",
+      "waitingOwed": "{total} do zapłaty ({invoices})",
+      "colWhat": "Co",
+      "colDocument": "Dokument",
+      "colDeadline": "Termin",
+      "colAmount": "Kwota",
+      "tireCar": "Auto",
+      "tireCarMarine": "Łódź",
+      "tireTyre": "Opona",
+      "tireSize": "Rozmiar",
+      "tireSet": "Komplet",
+      "tireTread": "Bieżnik",
+      "portalLabel": "Portal klienta",
+      "callWorkshop": "Zadzwoń do warsztatu"
+    }
+  },
+  "chat": {
+    "title": "Wiadomości",
+    "label": "Wiadomości z {workshop}",
+    "subtitle": "{workshop}",
+    "call": "Zadzwoń do {workshop}",
+    "emptyTitle": "Brak wiadomości",
+    "emptyBody": "Napisz tutaj do {workshop}. Odpowiedź pojawi się w tej rozmowie.",
+    "inputLabel": "Napisz wiadomość do {workshop}",
+    "placeholder": "Napisz do {workshop}",
+    "addPhoto": "Dodaj zdjęcie",
+    "send": "Wyślij",
+    "photo": "Zdjęcie od {name}",
+    "you": "Ty",
+    "emptyBodyOff": "Nic tu jeszcze nie napisano.",
+    "video": "Wideo od {name}",
+    "file": "Otwórz plik",
+    "openLarge": "{what}, otwórz w powiększeniu",
+    "closeViewer": "Zamknij",
+    "today": "Dzisiaj",
+    "yesterday": "Wczoraj",
+    "seen": "Przeczytano",
+    "sending": "Wysyłanie",
+    "retry": "Spróbuj ponownie",
+    "discard": "Usuń",
+    "earlier": "Pokaż wcześniejsze",
+    "newBelow": "Nowa wiadomość",
+    "keysHint": "Enter wysyła wiadomość. Shift i Enter zaczyna nową linię.",
+    "off": "Ten warsztat wyłączył wiadomości. Nadal możesz przeczytać to, co zostało napisane.",
+    "errors": {
+      "notSent": "Nie wysłano. Sprawdź połączenie.",
+      "chatOff": "Nie wysłano. Warsztat wyłączył wiadomości.",
+      "tooFast": "Nie wysłano. To dużo wiadomości naraz, odczekaj chwilę.",
+      "restoring": "Nie wysłano. Warsztat jest chwilowo niedostępny. Spróbuj ponownie za kilka minut."
+    },
+    "upload": {
+      "adding": "Dodawanie: {name}",
+      "remove": "Usuń {name}",
+      "tooMany": "Wiadomość mieści do {count} zdjęć lub filmów. Najpierw wyślij te.",
+      "tooLarge": "Ten plik jest za duży. Zdjęcia mogą mieć do {photo} MB, a filmy do {video} MB.",
+      "type": "Tutaj można wysyłać tylko zdjęcia i filmy.",
+      "failed": "Nie udało się dodać pliku. Spróbuj ponownie."
+    },
+    "suggestions": {
+      "label": "Pomysły na pierwszą wiadomość",
+      "call": "Czy możecie do mnie zadzwonić?",
+      "book": "Chciałbym umówić wizytę.",
+      "invoice": "Mam pytanie dotyczące faktury."
+    },
+    "events": {
+      "workStarted": "Rozpoczęto prace: {vehicle}",
+      "workStartedNoVehicle": "Rozpoczęto prace nad Twoim zleceniem",
+      "update": "Informacja od {workshop}",
+      "updateAbout": "Dotyczy: {vehicle}",
+      "seeUpdate": "Zobacz informację",
+      "quote": "Wycena",
+      "quoteLine": "Wycena {title}",
+      "quoteWaiting": "Wycena czeka na Twoją odpowiedź",
+      "quotes": "Wyceny: {count}",
+      "answerQuote": "Przeczytaj i odpowiedz",
+      "invoice": "Faktura",
+      "invoiceLine": "Faktura {title}",
+      "invoiceOverdue": "Faktura po terminie",
+      "invoices": "Faktury: {count}",
+      "seeInvoice": "Zobacz fakturę",
+      "jobsStarted": "Rozpoczęto prace przy zleceniach: {count}"
+    }
+  },
+  "messagesPage": {
+    "title": "Wiadomości",
+    "offTitle": "Wiadomości są wyłączone",
+    "offBody": "Ten warsztat nie przyjmuje tutaj wiadomości. Zadzwoń pod {phone} albo umów wizytę.",
+    "offBodyNoPhone": "Ten warsztat nie przyjmuje tutaj wiadomości. Umów wizytę i napisz, czego potrzebujesz."
   },
   "invoices": {
     "title": "Faktury",
-    "description": "Wszystkie Twoje faktury serwisowe.",
+    "description": "Rachunki za prace, które warsztat już wykonał.",
     "noInvoices": "Brak faktur.",
-    "failedToLoad": "Nie udało się załadować faktur.",
+    "noInvoicesHint": "Gdy warsztat zakończy zlecenie, tutaj pojawi się faktura.",
+    "failedToLoad": "Nie udało się wczytać Twoich faktur. Spróbuj ponownie za chwilę.",
     "invoice": "Faktura",
+    "invoiceNumber": "Faktura {number}",
     "vehicle": "Pojazd",
     "date": "Data",
     "amount": "Kwota",
     "payment": "Płatność",
     "view": "Zobacz",
     "download": "Pobierz",
+    "downloadPdf": "Pobierz PDF",
     "downloadCertificate": "Pobierz zaświadczenie z przeglądu",
-    "paid": "zapłacono",
-    "partial": "częściowo",
-    "unpaid": "niezapłacono",
+    "paid": "Zapłacona",
+    "partial": "Częściowo zapłacona",
+    "unpaid": "Niezapłacona",
+    "overdue": "Po terminie",
+    "toPayTitle": "Pozostało do zapłaty",
+    "toPayCount": "{count, plural, one {za # fakturę} few {za # faktury} many {za # faktur} other {za # faktury}}",
+    "toPayNextDue": "Najbliższy termin: {date}",
+    "toPayOpen": "Zobacz i zapłać: {invoice}",
+    "toPayOpenNoPay": "Otwórz: {invoice}",
+    "nothingToPay": "Nic do zapłaty",
+    "nothingToPayBody": "Wszystkie faktury są zapłacone.",
+    "leftToPay": "Pozostało do zapłaty: {amount}",
+    "dueOn": "Termin płatności: {date}",
     "back": "Powrót do faktur",
-    "openShared": "Otwórz udostępnioną kopię"
+    "payOnline": "Zapłać online",
+    "summaryTotal": "Razem",
+    "summaryPaid": "Zapłacono",
+    "summaryLeft": "Do zapłaty",
+    "summaryDue": "Termin płatności",
+    "summaryDate": "Data",
+    "fullInvoice": "Cała faktura"
   },
   "quotes": {
     "title": "Wyceny",
-    "description": "Wyceny i kosztorysy dla Twoich pojazdów.",
+    "description": "Ceny, które warsztat przesłał Ci przed wykonaniem prac.",
     "noQuotes": "Brak wycen.",
-    "failedToLoad": "Nie udało się załadować wycen.",
+    "noQuotesHint": "Gdy warsztat prześle Ci cenę za prace, pojawi się tutaj.",
+    "failedToLoad": "Nie udało się wczytać Twoich wycen. Spróbuj ponownie za chwilę.",
     "quote": "Wycena",
     "vehicle": "Pojazd",
     "status": "Status",
     "amount": "Kwota",
-    "validUntil": "Ważne do",
+    "validUntil": "Ważna do",
+    "validUntilDate": "Ważna do {date}",
+    "waitingTitle": "Czeka na Twoją odpowiedź",
+    "waitingNone": "Żadna wycena nie czeka na Twoją odpowiedź.",
+    "waitingAnswer": "Przeczytaj i odpowiedz",
     "view": "Zobacz"
   },
   "inspections": {
     "title": "Inspekcje",
-    "description": "Raporty z inspekcji pojazdów.",
+    "description": "Raporty z kontroli Twojego auta wykonanych przez warsztat.",
     "noInspections": "Brak inspekcji.",
-    "failedToLoad": "Nie udało się załadować inspekcji.",
+    "noInspectionsHint": "Gdy warsztat zakończy inspekcję, tutaj pojawi się raport.",
+    "failedToLoad": "Nie udało się wczytać Twoich inspekcji. Spróbuj ponownie za chwilę.",
     "vehicle": "Pojazd",
-    "template": "Lista kontrolna",
+    "template": "Inspekcja",
     "status": "Status",
     "date": "Data",
     "summary": "Podsumowanie",
@@ -141,31 +401,49 @@
     "poor": "{count} zły"
   },
   "vehicles": {
-    "title": "Pojazdy",
-    "description": "Twoje zarejestrowane pojazdy.",
-    "noVehicles": "Nie znaleziono pojazdów.",
-    "failedToLoad": "Nie udało się załadować pojazdów.",
+    "title": "Twoje auta",
+    "titleMarine": "Twoje łodzie",
+    "description": "Auta, które warsztat ma zapisane na Ciebie.",
+    "descriptionMarine": "Łodzie, które warsztat ma zapisane na Ciebie.",
+    "noVehicles": "Nie ma jeszcze zapisanych aut.",
+    "noVehiclesMarine": "Nie ma jeszcze zapisanych łodzi.",
+    "noVehiclesHint": "Umów wizytę i opowiedz nam o swoim aucie. Dodamy je tutaj.",
+    "noVehiclesHintMarine": "Umów wizytę i opowiedz nam o swojej łodzi. Dodamy ją tutaj.",
+    "back": "Wróć do moich aut",
+    "backMarine": "Wróć do moich łodzi",
+    "about": "O tym aucie",
+    "aboutMarine": "O tej łodzi",
+    "failedToLoad": "Nie udało się wczytać Twoich aut. Spróbuj ponownie za chwilę.",
+    "failedToLoadMarine": "Nie udało się wczytać Twoich łodzi. Spróbuj ponownie za chwilę.",
     "plate": "Tablica: {plate}",
+    "plateMarine": "Numer rejestracyjny: {plate}",
     "vin": "VIN: {vin}",
+    "vinMarine": "HIN: {vin}",
     "typeKey": "HSN/TSN: {typeKey}",
-    "serviceCount": "{count, plural, one {# usługa} few {# usługi} many {# usług} other {# usług}}",
+    "distanceKm": "{value} km",
+    "distanceMi": "{value} mil",
+    "engineHours": "Motogodziny: {value}",
+    "serviceCount": "{count, plural, one {# wizyta} few {# wizyty} many {# wizyt} other {# wizyty}}",
     "inspectionCount": "{count, plural, one {# inspekcja} few {# inspekcje} many {# inspekcji} other {# inspekcji}}",
     "serviceHistory": "Historia serwisowa ({count})",
     "inspectionsTab": "Inspekcje ({count})",
-    "noServiceRecords": "Brak zapisów serwisowych.",
+    "noServiceRecords": "Nie zapisano jeszcze żadnych prac.",
     "noInspections": "Brak inspekcji.",
-    "vehicleNotFound": "Nie znaleziono pojazdu.",
+    "vehicleNotFound": "Nie znaleźliśmy tego pojazdu.",
     "completed": "Ukończono {date}",
     "good": "{count} dobry",
     "fair": "{count} dostateczny",
     "poor": "{count} zły",
     "view": "Zobacz",
-    "serviceHistoryTitle": "Historia serwisowa",
-    "inspectionsTitle": "Przeglądy",
-    "columnVehicle": "Pojazd",
+    "columnVehicle": "Auto",
+    "columnVehicleMarine": "Łódź",
     "columnPlate": "Rejestracja",
-    "columnServices": "Usługi",
+    "columnPlateMarine": "Numer rejestracyjny",
+    "columnServices": "Wizyty",
     "columnInspections": "Przeglądy",
+    "warrantyActive": "Gwarancja aktywna",
+    "warrantyExpiring": "Gwarancja wkrótce wygasa",
+    "warrantyExpired": "Gwarancja wygasła",
     "reportSold": "Nie mam już tego pojazdu",
     "reportSoldHint": "Powiadomimy warsztat, aby przestał wysyłać o nim przypomnienia. Twoja historia zostaje.",
     "reportSoldConfirm": "Tak, powiadom warsztat",
@@ -174,36 +452,99 @@
     "reportSoldFailed": "Nie udało się teraz wysłać",
     "reportSoldAlready": "Poinformowałeś warsztat, że ten pojazd nie jest już Twój."
   },
-  "requestService": {
-    "title": "Zamów serwis",
-    "description": "Prześlij zlecenie serwisowe dla jednego ze swoich pojazdów.",
-    "newServiceRequest": "Nowe zlecenie serwisowe",
-    "formDescription": "Opisz problem, a my odezwiemy się do Ciebie.",
-    "vehicleLabel": "Pojazd",
-    "vehiclePlaceholder": "Wybierz pojazd",
-    "descriptionLabel": "Opisz problem",
-    "descriptionPlaceholder": "Co się dzieje z Twoim pojazdem?",
-    "preferredDate": "Preferowana data",
-    "preferredDateOptional": "(opcjonalnie)",
-    "submitRequest": "Prześlij zlecenie",
-    "selectVehicle": "Proszę wybrać pojazd",
-    "describeIssue": "Proszę opisać problem",
-    "submitSuccess": "Zlecenie serwisowe przesłane",
-    "submitError": "Nie udało się przesłać zlecenia",
-    "noVehicles": "Nie masz zarejestrowanych pojazdów. Skontaktuj się z nami, aby najpierw dodać pojazd.",
-    "yourRequests": "Twoje zlecenia serwisowe",
-    "failedToLoad": "Nie udało się załadować danych.",
-    "staffNotes": "Uwagi personelu: {notes}",
-    "preferred": "Preferowana: {date}",
-    "notListedOption": "Mojego pojazdu nie ma na liście",
-    "newVehicleHint": "Opisz pojazd, a dodamy go do Twojego profilu.",
-    "fillVehicleDetails": "Podaj markę i model pojazdu",
+  "book": {
+    "title": "Umów wizytę",
+    "description": "Napisz, czego potrzebujesz. Odezwiemy się z propozycją terminu.",
+    "descriptionMessages": "Napisz, czego potrzebujesz. Odpowiemy tutaj w Wiadomościach z propozycją terminu.",
+    "failedToLoad": "Nie udało się wczytać tej strony. Spróbuj ponownie za chwilę.",
+    "whichVehicle": "Które auto?",
+    "whichVehicleMarine": "Która łódź?",
+    "anotherVehicle": "Inne auto",
+    "anotherVehicleMarine": "Inna łódź",
+    "inWorkshopNow": "teraz w warsztacie",
+    "selectVehicle": "Wybierz, którego pojazdu to dotyczy",
+    "newVehicleHint": "Opowiedz nam o nim, a dodamy go do Twojego profilu.",
     "makeLabel": "Marka",
     "makePlaceholder": "np. Ford",
     "modelLabel": "Model",
     "modelPlaceholder": "np. Kuga",
-    "yearLabel": "Rocznik",
-    "plateLabel": "Numer rejestracyjny"
+    "yearLabel": "Rok",
+    "plateLabel": "Numer rejestracyjny",
+    "plateLabelMarine": "Numer rejestracyjny",
+    "fillMake": "Wpisz markę",
+    "fillModel": "Wpisz model",
+    "invalidYear": "Wpisz rok od {min} do {max}",
+    "optional": "(opcjonalnie)",
+    "whatNeeded": "Czego potrzebujesz?",
+    "topics": {
+      "service": "Serwis",
+      "inspection": "Przegląd",
+      "tires": "Wymiana opon",
+      "brakes": "Hamulce",
+      "problem": "Coś jest nie tak"
+    },
+    "descriptionLabel": "Opisz to własnymi słowami",
+    "descriptionPlaceholder": "Na przykład: stukanie z przodu po lewej na nierównościach, gorzej gdy auto jest zimne",
+    "descriptionPlaceholderMarine": "Na przykład: silnik trudno odpala na zimno",
+    "describeIssue": "Wybierz powyżej, czego potrzebujesz, albo opisz to w kilku słowach",
+    "filesLabel": "Zdjęcia lub krótki film",
+    "filesCount": "Dodano {count} z {max}",
+    "filesLimits": "zdjęcia do {photo} MB, film do {video} MB",
+    "filesAdd": "Dodaj zdjęcia lub film",
+    "filesDrop": "Upuść pliki tutaj albo wybierz je z tego komputera",
+    "filesCamera": "Zrób zdjęcie",
+    "filesTooMany": "Możesz dodać najwyżej {max} plików. Usuń jeden, aby dodać kolejny.",
+    "filesStillUploading": "Poczekaj, aż pliki się prześlą, a potem wyślij.",
+    "filesFailed": "Jeden plik się nie przesłał. Spróbuj ponownie albo go usuń, a potem wyślij.",
+    "fileUploading": "Przesyłanie: {name}",
+    "fileReady": "{name}, dodano",
+    "fileRemove": "Usuń {name}",
+    "fileRetry": "Spróbuj ponownie",
+    "fileType": "{name} to nie zdjęcie ani film, który możemy przyjąć.",
+    "fileEmpty": "{name} jest pusty.",
+    "fileTooLarge": "{name} jest za duży.",
+    "fileTooMany": "To dużo plików naraz. Odczekaj kilka minut i spróbuj ponownie.",
+    "fileSignedOut": "Zostałeś wylogowany. Zaloguj się ponownie, aby dodać pliki.",
+    "fileNetwork": "Połączenie zostało przerwane podczas przesyłania.",
+    "fileFailed": "Ten plik się nie przesłał.",
+    "dayLabel": "Dogodny dzień",
+    "pastDate": "Wybierz dzisiejszy lub późniejszy dzień",
+    "timeLabel": "Pora dnia",
+    "timeHint": "Najpierw wybierz dzień, aby wskazać dogodną porę.",
+    "time": {
+      "any": "Dowolna pora",
+      "morning": "Rano",
+      "afternoon": "Po południu"
+    },
+    "timeLower": {
+      "morning": "rano",
+      "afternoon": "po południu"
+    },
+    "closedDaysHint": "Zamknięte w te dni:",
+    "send": "Wyślij do {workshop}",
+    "sendHint": "Nic nie jest zarezerwowane, dopóki warsztat nie potwierdzi terminu.",
+    "submitError": "Nie udało się teraz wysłać. Spróbuj ponownie za chwilę.",
+    "sentTitle": "Wysłano do {workshop}",
+    "sentBody": "Warsztat przeczyta Twoje zgłoszenie i obejrzy, co przesłałeś. Odpowiedź z terminem przyjdzie w Wiadomościach.",
+    "sentBodyNoMessages": "Warsztat przeczyta Twoje zgłoszenie i obejrzy, co przesłałeś, a potem odezwie się z terminem. Możesz to śledzić na tej stronie.",
+    "sentMessages": "Przejdź do Wiadomości",
+    "sentHome": "Wróć na stronę główną",
+    "sentAnother": "Poproś o coś innego",
+    "nextTitle": "Co dalej",
+    "nextRead": "Czytamy Twoje zgłoszenie i oglądamy zdjęcia.",
+    "nextAnswerMessages": "Odpowiadamy w Wiadomościach z terminem, a w razie potrzeby z wyceną.",
+    "nextAnswer": "Odzywamy się z terminem, a w razie potrzeby z wyceną.",
+    "nextVisit": "Wizyta pojawi się na Twojej stronie głównej z dniem i godziną.",
+    "talkTitle": "Wolisz porozmawiać?",
+    "talkCall": "Zadzwoń: {phone}",
+    "yourRequests": "Twoje zgłoszenia",
+    "sentOn": "Wysłano {date}",
+    "preferred": "Preferowany termin: {date}",
+    "staffNotes": "Uwaga od warsztatu: {notes}",
+    "requestFiles": "{count, plural, one {# plik od Ciebie} few {# pliki od Ciebie} many {# plików od Ciebie} other {# pliku od Ciebie}}",
+    "requestPhoto": "Otwórz zdjęcie",
+    "requestVideo": "Otwórz film",
+    "requestFileMissing": "To zdjęcie nie jest już dostępne"
   },
   "booking": {
     "title": "Zarezerwuj przegląd",
@@ -248,6 +589,51 @@
     "confirmationBody": "Twój {vehicle} jest zarezerwowany na {when} w {workshop}. Chcesz zmienić? Użyj linku z poprzedniej wiadomości lub zadzwoń: {phone}.",
     "confirmationBodyRequest": "Dziękujemy, {workshop} otrzymał prośbę o {when} dla Twojego {vehicle} i wkrótce ją potwierdzi. Pytania? Zadzwoń: {phone}."
   },
+  "quoteDetail": {
+    "back": "Wróć do wycen",
+    "title": "Wycena",
+    "answerLabel": "Twoja odpowiedź",
+    "failedToLoad": "Nie udało się wczytać tej wyceny.",
+    "total": "Razem",
+    "number": "Numer wyceny",
+    "date": "Data",
+    "validUntil": "Ważna do",
+    "vehicle": "Pojazd",
+    "fullQuote": "Cała wycena",
+    "answerTitle": "Warsztat czeka na Twoją odpowiedź",
+    "accept": "Akceptuj wycenę",
+    "askChanges": "Poproś o zmiany",
+    "confirmAcceptTitle": "Zaakceptować tę wycenę?",
+    "confirmAcceptBody": "Warsztat dostanie informację, że chcesz wykonać prace w tej cenie.",
+    "confirmAcceptYes": "Tak, akceptuję",
+    "cancel": "Anuluj",
+    "changesLabel": "Co chcesz zmienić?",
+    "changesPlaceholder": "Na przykład: bez wymiany wycieraczek",
+    "sendChanges": "Wyślij do warsztatu",
+    "answerFailed": "Nie udało się wysłać odpowiedzi. Spróbuj ponownie.",
+    "acceptedTitle": "Zaakceptowałeś tę wycenę",
+    "acceptedBody": "Warsztat został powiadomiony i się z Tobą skontaktuje.",
+    "changesTitle": "Poprosiłeś o zmiany",
+    "changesBody": "Warsztat został powiadomiony i prześle Ci poprawioną wycenę."
+  },
+  "inspectionDetail": {
+    "back": "Wróć do inspekcji",
+    "title": "Inspekcja",
+    "about": "O tej inspekcji",
+    "failedToLoad": "Nie udało się wczytać tej inspekcji.",
+    "vehicle": "Pojazd",
+    "vessel": "Łódź",
+    "doneOn": "Wykonano",
+    "startedOn": "Rozpoczęto",
+    "odometer": "Przebieg",
+    "engineHours": "Motogodziny",
+    "nextDue": "Następna inspekcja",
+    "certificateNumber": "Numer zaświadczenia",
+    "stillWorking": "Warsztat nadal wykonuje tę inspekcję. Wyniki mogą się zmienić.",
+    "openShared": "Zobacz zdjęcia i pobierz raport",
+    "noResults": "Nie ma jeszcze wyników.",
+    "notes": "Uwagi od warsztatu"
+  },
   "status": {
     "job": {
       "pending": "Zarezerwowane",
@@ -257,7 +643,7 @@
       "completed": "Zakończone"
     },
     "request": {
-      "pending": "Oczekuje",
+      "pending": "Czeka na odpowiedź",
       "converted": "Zarezerwowane",
       "dismissed": "Zamknięte",
       "cancelled": "Anulowane"

+ 105 - 52
messages/pl/settings.json

@@ -977,6 +977,11 @@
     "paymentReceivedDescription": "Wysyłana gdy platnosc zostanie zarejestrowana dla faktury.",
     "saveSmsTemplates": "Zapisz szablony SMS",
     "smsTemplateSaved": "Ustawienia szablonów SMS zapisane",
+    "layoutTitle": "Układ faktury",
+    "layoutDescription": "Dostosuj kolejność i widoczność sekcji w fakturach i wycenach.",
+    "layoutSaved": "Układ zapisany pomyślnie",
+    "layoutDocInvoice": "Faktura",
+    "layoutDocQuote": "Wycena",
     "smsDefaults": {
       "invoiceReady": "Faktura od {company_name} jest gotowa. Zobacz ją tutaj: {share_link}\nPozdrawiamy {company_name} - {current_user}",
       "quoteReady": "Twoja wycena jest gotowa do przeglądu. Zobacz ją tutaj: {share_link}",
@@ -997,11 +1002,6 @@
       "rose": "Różowy",
       "indigo": "Indygo"
     },
-    "layoutTitle": "Układ faktury",
-    "layoutDescription": "Dostosuj kolejność i widoczność sekcji w fakturach i wycenach.",
-    "layoutSaved": "Układ zapisany pomyślnie",
-    "layoutDocInvoice": "Faktura",
-    "layoutDocQuote": "Wycena",
     "goToLayout": "Układ i sekcje",
     "openDesigner": "Otwórz kreator",
     "designerIntro": "Wybierz punkt wyjścia, a potem otwórz kreator, aby zmienić wszystko.",
@@ -1699,55 +1699,108 @@
   },
   "portal": {
     "title": "Portal klienta",
-    "description": "Pozwól swoim klientom logować się i przeglądać swoje pojazdy, faktury, wyceny i inspekcje. Klienci mogą również wysyłać zapytania serwisowe.",
+    "description": "Twoi klienci logują się, aby śledzić swoje zlecenie, odpowiadać na wyceny, płacić faktury, umawiać wizyty i pisać do Ciebie.",
     "enablePortal": "Włącz portal klienta",
-    "enablePortalHint": "Klienci z adresem e-mail mogą logować się za pomocą magicznego linku",
-    "enabled": "Portal klienta wlaczony",
-    "disabled": "Portal klienta wylaczony",
-    "failedUpdate": "Nie udało się zaktualizować ustawienia",
-    "customSlug": "Niestandardowy slug portalu",
-    "save": "Zapisz",
-    "slugSaved": "Slug portalu zapisany",
-    "slugRemoved": "Slug portalu usunięty",
-    "failedUpdateSlug": "Nie udało się zaktualizować sluga",
-    "slugHint": "Małe litery, cyfry, myślniki i podkreślenia. 3-48 znaków. Pozostaw puste, aby użyć domyślnego URL.",
-    "portalUrl": "URL portalu",
-    "urlCopied": "URL portalu skopiowany",
-    "shareHint": "Udostępnij ten link swoim klientom, aby mogli zalogować się do swojego portalu.",
+    "enablePortalHint": "Klienci logują się linkiem wysłanym na e-mail lub telefon. Nie muszą pamiętać hasła.",
+    "failedUpdate": "Nie udało się zapisać ustawień",
+    "customSlug": "Adres portalu",
+    "slugHint": "Małe litery, cyfry, myślniki i podkreślenia, od 3 do 48 znaków. Zostaw puste, aby użyć domyślnego adresu.",
+    "portalUrl": "Link do Twojego portalu",
+    "urlCopied": "Link skopiowany",
+    "shareHint": "Udostępnij ten link klientom, aby mogli się zalogować.",
     "serviceRequestAlertsHint": "Zgłoszenia serwisowe z portalu zawsze pojawiają się w dzwonku powiadomień. Możesz je otrzymywać także e-mailem.",
-    "serviceRequestAlertsLink": "Ustawienia powiadomień →",
+    "serviceRequestAlertsLink": "Ustawienia powiadomień",
     "descriptionLabel": "O Twoim warsztacie",
     "descriptionPlaceholder": "Opowiedz klientom o swoim warsztacie, oferowanych usługach i tym, co Cię wyróżnia.",
-    "descriptionHint": "Wyświetlane odwiedzającym na górze strony portalu.",
-    "hoursLabel": "Godziny otwarcia",
-    "hoursPlaceholder": "Pn-Pt: 8:00-17:00\nSob: 9:00-13:00\nNd: Zamknięte",
-    "hoursHint": "Tekst dowolny. Użyj nowej linii, aby wymienić każdy dzień osobno.",
-    "contentSaved": "Treść portalu zapisana",
-    "background": {
-      "title": "Tło portalu",
-      "description": "Wybierz wygląd strony głównej portalu klienta.",
-      "typeNone": "Brak",
-      "typeTemplate": "Szablon",
-      "typeImage": "Własne zdjęcie",
-      "chooseTemplate": "Wybierz szablon",
-      "uploadLabel": "Zdjęcie tła",
-      "upload": "Prześlij zdjęcie",
-      "replace": "Zamień zdjęcie",
-      "remove": "Usuń",
-      "uploadHint": "JPG, PNG lub WebP. Maks. 8 MB. Zalecane co najmniej 1600×900.",
-      "uploading": "Przesyłanie tła…",
-      "uploaded": "Tło zaktualizowane",
-      "uploadFailed": "Nie udało się przesłać tła",
-      "templateNames": {
-        "default": "Subtelny",
-        "sunrise": "Wschód słońca",
-        "ocean": "Ocean",
-        "forest": "Las",
-        "slate": "Łupek",
-        "sand": "Piasek"
+    "descriptionHint": "Wyświetlane na stronie logowania Twojego portalu.",
+    "copyUrl": "Skopiuj link"
+  },
+  "customerPortal": {
+    "slugPlaceholder": "moj-warsztat",
+    "slugUnsaved": "Ten adres zacznie działać po zapisaniu.",
+    "slugInvalid": "Użyj od 3 do 48 małych liter, cyfr, myślników lub podkreśleń, zaczynając i kończąc literą lub cyfrą.",
+    "slugReserved": "To słowo jest zarezerwowane. Wybierz inny adres.",
+    "slugTaken": "Inny warsztat używa już tego adresu. Wybierz inny.",
+    "hours": {
+      "title": "Godziny otwarcia",
+      "fromCalendar": "Portal pokazuje godziny otwarcia i dni zamknięcia z kalendarza warsztatu.",
+      "link": "Ustawienia godzin otwarcia",
+      "typedNote": "Strona logowania nadal pokazuje godziny wpisane tutaj wcześniej, bo w kalendarzu nie ustawiono jeszcze godzin otwarcia. Ustaw je tam, a portal pokaże je zamiast tych.",
+      "typedLabel": "Obecnie widoczne na stronie logowania"
+    },
+    "look": {
+      "title": "Wygląd portalu klienta",
+      "description": "Jeden wybór ustawia stronę logowania i wszystkie strony, które klienci widzą potem. Klienci nie mogą go zmienić."
+    },
+    "theme": {
+      "legend": "Motyw",
+      "daylight": {
+        "name": "Daylight",
+        "tagline": "Jasny i spokojny"
+      },
+      "garage": {
+        "name": "Garage",
+        "tagline": "Ciemna tablica z boksu"
+      },
+      "print": {
+        "name": "Print",
+        "tagline": "Jak gazeta, stonowany"
+      },
+      "colour": {
+        "name": "Colour",
+        "tagline": "Twój kolor, w dużym wydaniu"
       }
     },
-    "copyUrl": "Kopiuj adres URL portalu"
+    "colour": {
+      "title": "Twój kolor",
+      "description": "Używany na przyciskach i wyróżnieniach w każdym motywie.",
+      "swatches": "Proponowane kolory",
+      "orange": "Pomarańczowy",
+      "blue": "Niebieski",
+      "green": "Zielony",
+      "red": "Czerwony",
+      "black": "Czarny",
+      "hexLabel": "Kolor jako kod hex",
+      "invalid": "To nie jest kolor. Wpisz go jako kod hex, np. #1D4ED8.",
+      "usingTheme": "Używany jest kolor motywu {theme}, {hex}.",
+      "themeColour": "Kolor motywu {theme} to {hex}.",
+      "useTheme": "Użyj koloru motywu",
+      "sample": "Umów wizytę",
+      "inkLight": "Tekst na tym kolorze jest biały, więc pozostaje czytelny.",
+      "inkDark": "Tekst na tym kolorze jest czarny, więc pozostaje czytelny.",
+      "faint": "Ten kolor słabo odcina się od tła motywu {theme}. Linki i wyróżnienia mogą być słabo widoczne."
+    },
+    "cover": {
+      "title": "Zdjęcie w tle i logo",
+      "description": "Wyświetlane na stronie logowania. Logo pochodzi z ustawień firmy.",
+      "companyLink": "Ustawienia firmy",
+      "hint": "PNG, JPEG lub WebP, do 8 MB.",
+      "none": "Brak zdjęcia w tle",
+      "alt": "Zdjęcie w tle na stronie logowania",
+      "upload": "Prześlij zdjęcie",
+      "replace": "Zmień zdjęcie",
+      "remove": "Usuń zdjęcie",
+      "uploading": "Przesyłanie",
+      "uploadFailed": "Nie udało się przesłać zdjęcia"
+    },
+    "features": {
+      "title": "Co dostają klienci",
+      "description": "Części portalu, które możesz wyłączyć.",
+      "messages": "Wiadomości w portalu",
+      "messagesHint": "Klienci piszą do Ciebie z portalu. Ich wiadomości trafiają do Twojej skrzynki Wiadomości.",
+      "tires": "Pokazuj przechowywane opony",
+      "tiresHint": "Klienci widzą opony, które dla nich przechowujesz, wraz z głębokością bieżnika."
+    },
+    "bar": {
+      "label": "Zapisz ustawienia portalu klienta",
+      "unsaved": "Masz niezapisane zmiany",
+      "saved": "Wszystko zapisane",
+      "discard": "Odrzuć zmiany",
+      "save": "Zapisz zmiany",
+      "open": "Otwórz portal jako klient",
+      "openOff": "Włącz portal i zapisz, aby go otworzyć."
+    },
+    "savedToast": "Ustawienia portalu klienta zapisane"
   },
   "email": {
     "title": "Dostawca poczty e-mail",
@@ -1989,13 +2042,13 @@
     "noMembers": "Nie znaleziono członków zespołu",
     "addRecipient": "Dodaj odbiorcę...",
     "searchMembers": "Szukaj członków...",
-    "sendNow": "Wyślij teraz",
-    "sentNow": "Raport wysłany pomyślnie",
     "newSchedule": "Nowy harmonogram",
     "editSchedule": "Edytuj harmonogram",
     "edit": "Edytuj",
     "cancel": "Anuluj",
     "sent": "wysłano",
+    "sendNow": "Wyślij teraz",
+    "sentNow": "Raport wysłany pomyślnie",
     "emptyTitle": "Brak zaplanowanych raportów",
     "emptyDescription": "Utwórz harmonogram, aby automatycznie generować i wysyłać raporty do zespołu.",
     "sectionLabels": {
@@ -2847,9 +2900,9 @@
       "uploading": "Przesyłanie…",
       "width": "Szerokość logo",
       "hint": "Niezależne od logo firmy. Przy przesyłaniu jest przycinane i przygotowywane do wiadomości e-mail. PNG, JPEG lub WebP do 4 MB.",
-      "position": "Położenie",
       "tooLarge": "Obraz musi mieć mniej niż 4 MB",
-      "uploadFailed": "Nie udało się przesłać logo"
+      "uploadFailed": "Nie udało się przesłać logo",
+      "position": "Położenie"
     },
     "image": {
       "empty": "Nie przesłano obrazu. Blok nic nie drukuje, dopóki go nie ma.",

+ 3 - 0
messages/pt-BR/audit.json

@@ -81,6 +81,7 @@
     "settings_updateInvoiceLayout": "Layout da fatura atualizado",
     "settings_updateQuoteLayout": "Layout do orçamento atualizado",
     "settings_updatePortalSlug": "URL do portal atualizada",
+    "settings_updateCustomerPortal": "Configurações do portal do cliente atualizadas",
     "inspectionTemplate_create": "Checklist de inspeção criado",
     "inspectionTemplate_update": "Checklist de inspeção atualizado",
     "inspectionTemplate_delete": "Checklist de inspeção excluído",
@@ -102,6 +103,7 @@
     "statusReport_create": "Relatório de status criado",
     "statusReport_send": "Relatório de status enviado",
     "statusReport_delete": "Relatório de status excluído",
+    "portal_send": "Mensagem enviada pelo portal",
     "telegram_send": "Mensagem do Telegram enviada",
     "webhook_create": "Webhook criado",
     "webhook_update": "Webhook atualizado",
@@ -306,6 +308,7 @@
     "technician_create": "Técnico \"{name}\" criado",
     "technician_delete": "Técnico {id} excluído",
     "technician_update": "Técnico {id} atualizado",
+    "portal_send": "Enviou uma mensagem para {name} no portal do cliente",
     "telegram_send": "Mensagem do Telegram enviada para {name}",
     "tire_location_bulk_create": "{count, plural, one {# local de pneus criado} other {# locais de pneus criados}}",
     "tire_location_create": "Local de pneus {code} criado",

+ 6 - 0
messages/pt-BR/customers.json

@@ -120,6 +120,12 @@
     "saveNotes": "Salvar Observações",
     "submitted": "Enviado em {date}",
     "preferred": "Preferência: {date}",
+    "preferredMorning": "Preferência: {date}, manhã",
+    "preferredAfternoon": "Preferência: {date}, tarde",
+    "files": "{count, plural, one {# foto ou vídeo do cliente} other {# fotos ou vídeos do cliente}}",
+    "openPhoto": "Abrir foto {number}",
+    "openVideo": "Abrir vídeo {number}",
+    "fileMissing": "A foto {number} não está mais disponível",
     "workOrderCreated": "Ordem de serviço criada",
     "workOrderError": "Falha ao criar ordem de serviço",
     "requestDismissed": "Solicitação dispensada",

+ 23 - 0
messages/pt-BR/messaging.json

@@ -51,5 +51,28 @@
       "noMatches": "Nenhum cliente corresponde à sua busca.",
       "noRecipients": "Ainda não há clientes com endereço de e-mail."
     }
+  },
+  "portal": {
+    "badge": "Portal",
+    "empty": "{name} ainda não escreveu no portal.",
+    "placeholder": "Escreva para {name} no portal",
+    "send": "Enviar mensagem",
+    "sendFailed": "Não foi possível enviar a mensagem",
+    "sendHint": "Enter envia, Shift+Enter começa uma nova linha. {name} vê a mensagem na próxima vez que abrir o portal.",
+    "loadOlder": "Carregar mensagens anteriores",
+    "loadFailed": "Não foi possível carregar a conversa.",
+    "tryAgain": "Tentar de novo",
+    "addPhoto": "Adicionar uma foto",
+    "removePhoto": "Remover {name}",
+    "uploadFailed": "Não foi possível adicionar a foto. Fotos de até {size} MB funcionam.",
+    "tooManyPhotos": "Uma mensagem aceita até {count} fotos.",
+    "photoFrom": "Foto de {name}",
+    "videoFrom": "Vídeo de {name}",
+    "openFile": "Abrir arquivo",
+    "you": "Você",
+    "seen": "Visto",
+    "off": "As mensagens no portal do cliente estão desativadas, então esta conversa pode ser lida, mas não respondida.",
+    "offSettings": "Configurações do portal do cliente",
+    "deleteDescription": "Remove toda a conversa com {name}, também para o cliente: ela some do portal dele."
   }
 }

+ 489 - 103
messages/pt-BR/portal.json

@@ -12,28 +12,31 @@
     "description": "Use o link direto fornecido pela sua oficina para acessar o portal do cliente.",
     "hint": "Sua oficina compartilhará o link do portal com você por e-mail ou SMS."
   },
-  "landing": {
-    "contactTitle": "Fale conosco",
-    "aboutTitle": "Sobre nós",
-    "noContactInfo": "As informações de contato ainda não estão disponíveis.",
-    "address": "Endereço",
-    "phone": "Telefone",
-    "email": "E-mail",
-    "hours": "Horário de funcionamento",
-    "directions": "Como chegar"
+  "signIn": {
+    "eyebrow": "Para nossos clientes",
+    "heading": "Veja seu carro, suas faturas e suas mensagens.",
+    "headingMarine": "Veja seu barco, suas faturas e suas mensagens.",
+    "headingNoMessages": "Veja seu carro, suas faturas e seus orçamentos.",
+    "headingNoMessagesMarine": "Veja seu barco, suas faturas e seus orçamentos.",
+    "confirmEyebrow": "Quase lá",
+    "hoursTitle": "Horário de funcionamento",
+    "findUs": "Onde estamos",
+    "callUs": "Ligue para nós",
+    "directions": "Como chegar",
+    "dayRange": "{from} a {to}",
+    "timeRange": "{start} às {end}",
+    "closed": "fechado"
   },
   "login": {
-    "signInTitle": "Acesso do cliente",
-    "signInSubtitle": "Entre para ver suas faturas, orçamentos e histórico de serviço.",
-    "emailLabel": "Endereço de e-mail",
+    "emailLabel": "Seu e-mail",
     "emailPlaceholder": "você@exemplo.com",
-    "sendLink": "Enviar link de acesso",
+    "sendLink": "Receber um link de acesso",
     "checkEmail": "Verifique seu e-mail",
     "checkEmailDescription": "Se uma conta existir para esse e-mail, enviamos um link de acesso. O link expira em 15 minutos.",
     "tryDifferentEmail": "Tente um e-mail diferente",
     "tabEmail": "E-mail",
     "tabSms": "SMS",
-    "phoneLabel": "Número de telefone",
+    "phoneLabel": "Seu número de celular",
     "phonePlaceholder": "+55 11912345678",
     "phoneLocalPlaceholder": "11912345678",
     "sendCode": "Enviar código",
@@ -47,58 +50,78 @@
     "confirmTitle": "Entrar em {workshop}",
     "confirmDescription": "Você está entrando como {email}. Pressione o botão para continuar.",
     "confirmButton": "Continuar para entrar",
-    "notFound": "Não Encontrado",
-    "portalNotExist": "Este portal não existe.",
-    "portalNotAvailable": "Portal Indisponível",
-    "portalNotEnabled": "O portal do cliente não está habilitado para esta organização."
+    "notFound": "Não encontrado",
+    "portalNotExist": "Esta página não existe.",
+    "portalNotAvailable": "Indisponível",
+    "portalNotEnabled": "Esta oficina não oferece acesso online no momento.",
+    "noPassword": "Sem senha. Enviamos um link que faz o seu login.",
+    "noPasswordSms": "Sem senha. Enviamos por SMS um código que faz o seu login.",
+    "method": "Como entrar",
+    "requestFailed": "Não conseguimos enviar agora. Verifique sua conexão e tente de novo.",
+    "tooManyTries": "Muitas tentativas em pouco tempo. Espere um minuto e tente de novo.",
+    "tryAgain": "Tentar de novo",
+    "sendNewCode": "Enviar um novo código",
+    "newCodeSent": "Enviamos um novo código.",
+    "errors": {
+      "invalid": "Esse link de acesso não funciona. Peça um novo abaixo.",
+      "used": "Esse link de acesso já foi usado. Peça um novo abaixo.",
+      "expired": "Esse link de acesso expirou. Peça um novo abaixo.",
+      "noAccount": "Não encontramos sua conta. Peça à oficina para conferir o e-mail que ela tem cadastrado para você."
+    }
   },
   "nav": {
-    "dashboard": "Painel",
-    "vehicles": "Veículos",
     "invoices": "Faturas",
     "quotes": "Orçamentos",
     "inspections": "Inspeções",
-    "requestService": "Solicitar Serviço"
+    "label": "Navegação principal",
+    "skip": "Pular para o conteúdo",
+    "home": "Início",
+    "messages": "Mensagens",
+    "cars": "Meus carros",
+    "carsMarine": "Meus barcos",
+    "papers": "Documentos",
+    "papersLong": "Faturas e orçamentos",
+    "unread": "{count, plural, one {# mensagem não lida} other {# mensagens não lidas}}",
+    "documents": "Documentos",
+    "book": "Agendar",
+    "bookLong": "Agendar uma visita"
   },
   "header": {
     "signOut": "Sair",
-    "askShort": "Serviço"
+    "homeLink": "{name}, início",
+    "account": "Sua conta, {name}",
+    "signedInAs": "Conectado como"
   },
-  "shell": {
-    "notFound": "Não Encontrado",
-    "portalNotExist": "Este portal não existe.",
-    "portalNotAvailable": "Portal Indisponível",
-    "portalNotEnabled": "O portal do cliente não está habilitado para esta organização."
+  "hoursLine": {
+    "openUntil": "Aberto até {time}",
+    "opensAt": "Abre às {time}",
+    "closedNow": "Fechado por hoje",
+    "closedToday": "Fechado hoje"
   },
-  "dashboard": {
-    "welcome": "Bem-vindo(a), {name}",
-    "overview": "Aqui está um resumo da sua conta.",
-    "vehicles": "Veículos",
-    "openInvoices": "Faturas em Aberto",
-    "pendingQuotes": "Orçamentos Pendentes",
-    "recentInvoices": "Faturas Recentes",
-    "recentQuotes": "Orçamentos Recentes",
-    "pendingServiceRequests": "Solicitações de Serviço Pendentes",
-    "viewAll": "Ver todos",
-    "newRequest": "Nova solicitação",
-    "noInvoicesYet": "Nenhuma fatura ainda.",
-    "noQuotesYet": "Nenhum orçamento ainda.",
-    "view": "Ver",
-    "pending": "Pendente",
-    "failedToLoad": "Falha ao carregar o painel.",
-    "quickRequestService": "Solicitar serviço",
-    "quickRequestServiceHint": "Agendar reparo ou revisão",
-    "quickViewInvoices": "Suas faturas",
-    "quickViewInvoicesHint": "Faturas e histórico de pagamentos",
-    "quickViewVehicles": "Seus veículos",
-    "quickViewVehiclesHint": "Histórico de serviços e detalhes",
-    "activeJobs": "Serviços em andamento"
+  "format": {
+    "today": "hoje",
+    "tomorrow": "amanhã"
+  },
+  "shell": {
+    "notFound": "Não encontrado",
+    "portalNotExist": "Esta página não existe.",
+    "portalNotAvailable": "Indisponível",
+    "portalNotEnabled": "Esta oficina ainda não abriu suas páginas para clientes.",
+    "callWorkshop": "Ligar para {phone}",
+    "openMap": "Abrir {address} no mapa",
+    "errorTitle": "Algo deu errado",
+    "errorBody": "Não foi possível mostrar esta página. Tente de novo ou volte para o início.",
+    "tryAgain": "Tentar de novo",
+    "pageNotFoundTitle": "Não encontramos essa página",
+    "pageNotFoundBody": "O link pode estar desatualizado ou a página pode ter sido removida.",
+    "backHome": "Voltar para o início"
   },
   "invoices": {
     "title": "Faturas",
-    "description": "Todas as suas faturas de serviço.",
+    "description": "Cobranças dos serviços que a oficina já concluiu.",
     "noInvoices": "Nenhuma fatura ainda.",
-    "failedToLoad": "Falha ao carregar as faturas.",
+    "noInvoicesHint": "Quando a oficina terminar um serviço, a fatura aparece aqui.",
+    "failedToLoad": "Não conseguimos carregar suas faturas. Tente de novo daqui a pouco.",
     "invoice": "Fatura",
     "vehicle": "Veículo",
     "date": "Data",
@@ -107,31 +130,55 @@
     "view": "Ver",
     "download": "Baixar",
     "downloadCertificate": "Baixar laudo de inspeção",
-    "paid": "pago",
-    "partial": "parcial",
-    "unpaid": "não pago",
+    "paid": "Paga",
+    "partial": "Paga em parte",
+    "unpaid": "Em aberto",
+    "overdue": "Vencida",
+    "toPayTitle": "Falta pagar",
+    "toPayCount": "{count, plural, one {em # fatura} other {em # faturas}}",
+    "toPayNextDue": "Próximo vencimento: {date}",
+    "toPayOpen": "Ver e pagar {invoice}",
+    "toPayOpenNoPay": "Abrir {invoice}",
+    "nothingToPay": "Nada a pagar",
+    "nothingToPayBody": "Todas as faturas aqui estão pagas.",
     "back": "Voltar para faturas",
-    "openShared": "Abrir a cópia compartilhada"
+    "invoiceNumber": "Fatura {number}",
+    "downloadPdf": "Baixar PDF",
+    "leftToPay": "Faltam {amount} a pagar",
+    "dueOn": "Vence em {date}",
+    "payOnline": "Pagar online",
+    "summaryTotal": "Total",
+    "summaryPaid": "Pago",
+    "summaryLeft": "Falta pagar",
+    "summaryDue": "Vencimento",
+    "summaryDate": "Data",
+    "fullInvoice": "A fatura completa"
   },
   "quotes": {
     "title": "Orçamentos",
-    "description": "Orçamentos e estimativas para seus veículos.",
+    "description": "Preços que a oficina enviou para você antes de fazer o serviço.",
     "noQuotes": "Nenhum orçamento ainda.",
-    "failedToLoad": "Falha ao carregar os orçamentos.",
+    "noQuotesHint": "Quando a oficina enviar um preço para algum serviço, ele aparece aqui.",
+    "failedToLoad": "Não conseguimos carregar seus orçamentos. Tente de novo daqui a pouco.",
     "quote": "Orçamento",
     "vehicle": "Veículo",
     "status": "Status",
     "amount": "Valor",
-    "validUntil": "Válido Até",
-    "view": "Ver"
+    "validUntil": "Válido até",
+    "view": "Ver",
+    "validUntilDate": "Válido até {date}",
+    "waitingTitle": "Aguardando sua resposta",
+    "waitingNone": "Nenhum orçamento aguarda sua resposta.",
+    "waitingAnswer": "Ler e responder"
   },
   "inspections": {
     "title": "Inspeções",
-    "description": "Relatórios de inspeção veicular.",
+    "description": "Relatórios das verificações que a oficina fez no seu carro.",
     "noInspections": "Nenhuma inspeção ainda.",
-    "failedToLoad": "Falha ao carregar as inspeções.",
+    "noInspectionsHint": "Quando a oficina terminar uma inspeção, o relatório aparece aqui.",
+    "failedToLoad": "Não conseguimos carregar suas inspeções. Tente de novo daqui a pouco.",
     "vehicle": "Veículo",
-    "template": "Checklist",
+    "template": "Inspeção",
     "status": "Status",
     "date": "Data",
     "summary": "Resumo",
@@ -141,69 +188,150 @@
     "poor": "{count} ruim"
   },
   "vehicles": {
-    "title": "Veículos",
-    "description": "Seus veículos cadastrados.",
-    "noVehicles": "Nenhum veículo encontrado.",
-    "failedToLoad": "Falha ao carregar os veículos.",
+    "title": "Seus carros",
+    "description": "Os carros que a oficina tem cadastrados no seu nome.",
+    "noVehicles": "Nenhum carro cadastrado ainda.",
+    "failedToLoad": "Não conseguimos carregar seus carros. Tente de novo daqui a pouco.",
     "plate": "Placa: {plate}",
     "vin": "VIN: {vin}",
     "typeKey": "HSN/TSN: {typeKey}",
-    "serviceCount": "{count, plural, one {# serviço} other {# serviços}}",
+    "serviceCount": "{count, plural, one {# visita} other {# visitas}}",
     "inspectionCount": "{count, plural, one {# inspeção} other {# inspeções}}",
-    "serviceHistory": "Histórico de Serviços ({count})",
+    "serviceHistory": "Histórico de serviços ({count})",
     "inspectionsTab": "Inspeções ({count})",
-    "noServiceRecords": "Nenhum registro de serviço ainda.",
+    "noServiceRecords": "Nenhum serviço registrado ainda.",
     "noInspections": "Nenhuma inspeção ainda.",
-    "vehicleNotFound": "Veículo não encontrado.",
+    "vehicleNotFound": "Não encontramos este veículo.",
     "completed": "Concluído em {date}",
     "good": "{count} bom",
     "fair": "{count} regular",
     "poor": "{count} ruim",
     "view": "Ver",
-    "serviceHistoryTitle": "Histórico de serviços",
-    "inspectionsTitle": "Inspeções",
-    "columnVehicle": "Veículo",
+    "columnVehicle": "Carro",
     "columnPlate": "Placa",
-    "columnServices": "Serviços",
+    "columnServices": "Visitas",
     "columnInspections": "Inspeções",
+    "warrantyActive": "Garantia vigente",
+    "warrantyExpiring": "Garantia vence em breve",
+    "warrantyExpired": "Garantia vencida",
     "reportSold": "Não tenho mais este veículo",
     "reportSoldHint": "Avisaremos a oficina para que pare de enviar lembretes sobre ele. Seu histórico permanece.",
     "reportSoldConfirm": "Sim, avisar a oficina",
     "reportSoldCancel": "Manter",
     "reportSoldDone": "Obrigado, a oficina foi avisada",
     "reportSoldFailed": "Não foi possível enviar agora",
-    "reportSoldAlready": "Você informou à oficina que este veículo não é mais seu."
+    "reportSoldAlready": "Você informou à oficina que este veículo não é mais seu.",
+    "titleMarine": "Seus barcos",
+    "descriptionMarine": "Os barcos que a oficina tem cadastrados no seu nome.",
+    "noVehiclesMarine": "Nenhum barco cadastrado ainda.",
+    "noVehiclesHint": "Agende uma visita e conte sobre seu carro. Nós o adicionamos aqui.",
+    "noVehiclesHintMarine": "Agende uma visita e conte sobre seu barco. Nós o adicionamos aqui.",
+    "back": "Voltar para meus carros",
+    "backMarine": "Voltar para meus barcos",
+    "about": "Sobre este carro",
+    "aboutMarine": "Sobre este barco",
+    "failedToLoadMarine": "Não conseguimos carregar seus barcos. Tente de novo daqui a pouco.",
+    "plateMarine": "Inscrição: {plate}",
+    "vinMarine": "HIN: {vin}",
+    "distanceKm": "{value} km",
+    "distanceMi": "{value} mi",
+    "engineHours": "{value} horas de motor",
+    "columnVehicleMarine": "Barco",
+    "columnPlateMarine": "Inscrição"
   },
-  "requestService": {
-    "title": "Solicitar Serviço",
-    "description": "Envie uma solicitação de serviço para um dos seus veículos.",
-    "newServiceRequest": "Nova Solicitação de Serviço",
-    "formDescription": "Descreva o problema e entraremos em contato.",
-    "vehicleLabel": "Veículo",
-    "vehiclePlaceholder": "Selecione um veículo",
-    "descriptionLabel": "Descreva o problema",
-    "descriptionPlaceholder": "O que está acontecendo com o seu veículo?",
-    "preferredDate": "Data preferida",
-    "preferredDateOptional": "(opcional)",
-    "submitRequest": "Enviar Solicitação",
-    "selectVehicle": "Por favor, selecione um veículo",
-    "describeIssue": "Por favor, descreva o problema",
-    "submitSuccess": "Solicitação de serviço enviada",
-    "submitError": "Falha ao enviar a solicitação",
-    "noVehicles": "Você não tem veículos cadastrados. Por favor, entre em contato conosco para adicionar um veículo primeiro.",
-    "yourRequests": "Suas Solicitações de Serviço",
-    "failedToLoad": "Falha ao carregar os dados.",
-    "staffNotes": "Notas da equipe: {notes}",
-    "preferred": "Preferido: {date}",
-    "notListedOption": "Meu veículo não está na lista",
-    "newVehicleHint": "Conte-nos sobre o veículo e o adicionaremos ao seu perfil.",
-    "fillVehicleDetails": "Informe a marca e o modelo do veículo",
+  "book": {
+    "title": "Agendar uma visita",
+    "description": "Conte o que você precisa. Retornamos com um horário.",
+    "descriptionMessages": "Conte o que você precisa. Respondemos aqui em Mensagens com um horário.",
+    "failedToLoad": "Não conseguimos carregar esta página. Tente de novo daqui a pouco.",
+    "whichVehicle": "Qual carro?",
+    "whichVehicleMarine": "Qual barco?",
+    "anotherVehicle": "Outro carro",
+    "anotherVehicleMarine": "Outro barco",
+    "inWorkshopNow": "na oficina agora",
+    "selectVehicle": "Escolha sobre qual é",
+    "newVehicleHint": "Conte sobre ele e nós o adicionamos ao seu perfil.",
     "makeLabel": "Marca",
     "makePlaceholder": "ex.: Ford",
     "modelLabel": "Modelo",
-    "modelPlaceholder": "ex.: Kuga",
+    "modelPlaceholder": "ex.: Ka",
     "yearLabel": "Ano",
-    "plateLabel": "Placa"
+    "plateLabel": "Placa",
+    "plateLabelMarine": "Inscrição",
+    "fillMake": "Informe a marca",
+    "fillModel": "Informe o modelo",
+    "invalidYear": "Informe um ano entre {min} e {max}",
+    "optional": "(opcional)",
+    "whatNeeded": "Do que você precisa?",
+    "topics": {
+      "service": "Revisão",
+      "inspection": "Inspeção",
+      "tires": "Troca de pneus",
+      "brakes": "Freios",
+      "problem": "Algo está errado"
+    },
+    "descriptionLabel": "Descreva com suas palavras",
+    "descriptionPlaceholder": "Por exemplo: um barulho de batida na dianteira esquerda em lombadas, pior quando o carro está frio",
+    "descriptionPlaceholderMarine": "Por exemplo: o motor custa a pegar quando está frio",
+    "describeIssue": "Escolha acima do que você precisa ou conte em poucas palavras",
+    "filesLabel": "Fotos ou um vídeo curto",
+    "filesCount": "{count} de {max} adicionados",
+    "filesLimits": "fotos de até {photo} MB, vídeo de até {video} MB",
+    "filesAdd": "Adicionar fotos ou vídeo",
+    "filesDrop": "Solte os arquivos aqui ou escolha neste computador",
+    "filesCamera": "Tirar uma foto",
+    "filesTooMany": "Você pode adicionar até {max} arquivos. Remova um para adicionar outro.",
+    "filesStillUploading": "Espere seus arquivos terminarem de enviar e depois envie.",
+    "filesFailed": "Um arquivo não foi enviado. Tente de novo ou remova, depois envie.",
+    "fileUploading": "Enviando {name}",
+    "fileReady": "{name}, adicionado",
+    "fileRemove": "Remover {name}",
+    "fileRetry": "Tentar de novo",
+    "fileType": "{name} não é uma foto ou vídeo que possamos receber.",
+    "fileEmpty": "{name} está vazio.",
+    "fileTooLarge": "{name} é grande demais.",
+    "fileTooMany": "São muitos arquivos de uma vez. Espere alguns minutos e tente de novo.",
+    "fileSignedOut": "Você saiu da sua conta. Entre de novo para adicionar arquivos.",
+    "fileNetwork": "A conexão caiu durante o envio.",
+    "fileFailed": "Esse arquivo não foi enviado.",
+    "dayLabel": "Dia que é bom para você",
+    "pastDate": "Escolha hoje ou um dia depois",
+    "timeLabel": "Período do dia",
+    "timeHint": "Escolha um dia primeiro para dizer qual período é melhor.",
+    "time": {
+      "any": "Qualquer horário",
+      "morning": "Manhã",
+      "afternoon": "Tarde"
+    },
+    "timeLower": {
+      "morning": "manhã",
+      "afternoon": "tarde"
+    },
+    "closedDaysHint": "Fechado nestes dias:",
+    "send": "Enviar para {workshop}",
+    "sendHint": "Nada fica agendado até a oficina confirmar um horário.",
+    "submitError": "Não conseguimos enviar agora. Tente de novo daqui a pouco.",
+    "sentTitle": "Enviado para {workshop}",
+    "sentBody": "A oficina lê seu pedido e olha o que você enviou. A resposta chega em Mensagens, com um horário.",
+    "sentBodyNoMessages": "A oficina lê seu pedido e olha o que você enviou, depois retorna com um horário. Você pode acompanhar nesta página.",
+    "sentMessages": "Ir para Mensagens",
+    "sentHome": "Voltar ao início",
+    "sentAnother": "Pedir outra coisa",
+    "nextTitle": "O que acontece agora",
+    "nextRead": "Lemos seu pedido e olhamos suas fotos.",
+    "nextAnswerMessages": "Respondemos em Mensagens com um horário e, se ajudar, um orçamento.",
+    "nextAnswer": "Retornamos com um horário e, se ajudar, um orçamento.",
+    "nextVisit": "A visita aparece na sua página inicial com o dia e o horário.",
+    "talkTitle": "Prefere conversar?",
+    "talkCall": "Ligue para {phone}",
+    "yourRequests": "O que você já pediu",
+    "sentOn": "Enviado em {date}",
+    "preferred": "Preferência: {date}",
+    "staffNotes": "Nota da oficina: {notes}",
+    "requestFiles": "{count, plural, one {# arquivo que você enviou} other {# arquivos que você enviou}}",
+    "requestPhoto": "Abrir a foto",
+    "requestVideo": "Abrir o vídeo",
+    "requestFileMissing": "Esta foto não está mais disponível"
   },
   "booking": {
     "title": "Agende sua inspeção",
@@ -257,7 +385,7 @@
       "completed": "Concluído"
     },
     "request": {
-      "pending": "Pendente",
+      "pending": "Aguardando resposta",
       "converted": "Agendada",
       "dismissed": "Encerrada",
       "cancelled": "Cancelada"
@@ -273,5 +401,263 @@
     "today": "Hoje",
     "closedSoon": "Fechamentos em breve",
     "openOnly": "Aberto {hours}"
+  },
+  "home": {
+    "failedToLoad": "Não conseguimos carregar sua página. Tente de novo daqui a pouco.",
+    "heroWorkingPromised": "Olá, {name}. Seu carro está na oficina e fica pronto {day} por volta das {time}.",
+    "heroWorkingPromisedMarine": "Olá, {name}. Seu barco está na oficina e fica pronto {day} por volta das {time}.",
+    "heroWorking": "Olá, {name}. Seu carro está na oficina.",
+    "heroWorkingMarine": "Olá, {name}. Seu barco está na oficina.",
+    "heroReady": "Olá, {name}. Seu carro está pronto para retirada.",
+    "heroReadyMarine": "Olá, {name}. Seu barco está pronto para retirada.",
+    "heroBookedAt": "Olá, {name}. Esperamos seu carro {day} às {time}.",
+    "heroBookedAtMarine": "Olá, {name}. Esperamos seu barco {day} às {time}.",
+    "heroBooked": "Olá, {name}. Sua visita está agendada.",
+    "heroNothing": "Olá, {name}. Nada na oficina no momento.",
+    "heroNothingBody": "Agende uma visita quando seu carro precisar. Você acompanha o serviço por aqui, passo a passo.",
+    "heroNothingBodyMarine": "Agende uma visita quando seu barco precisar. Você acompanha o serviço por aqui, passo a passo.",
+    "stepsLabel": "Andamento do serviço",
+    "stepBooked": "Agendado",
+    "stepCheckedIn": "Recebido",
+    "stepWorking": "Na oficina",
+    "stepReady": "Pronto para retirada",
+    "latestUpdate": "Novidade da oficina · {when}",
+    "updateFallback": "A oficina compartilhou uma atualização sobre o serviço.",
+    "seeUpdate": "Ver fotos e vídeo",
+    "otherJobs": "Também agendado ou em andamento",
+    "jobBookedFor": "Agendado para {day} às {time}",
+    "jobReadyAround": "Pronto {day} por volta das {time}",
+    "needsAnswer": "Aguarda sua resposta",
+    "validUntil": "Válido até {day}",
+    "quoteNumber": "Orçamento {number}",
+    "quote": "Orçamento",
+    "readQuote": "Ler o orçamento",
+    "moreQuotes": "{count, plural, one {Mais # orçamento aguarda sua resposta} other {Mais # orçamentos aguardam sua resposta}}",
+    "toPay": "A pagar",
+    "due": "Vencimento: {day}",
+    "overdueSince": "Vencida desde {day}",
+    "invoiceNumber": "Fatura {number}",
+    "invoice": "Fatura",
+    "payNow": "Pagar agora",
+    "seeInvoice": "Ver a fatura",
+    "moreInvoices": "{count, plural, one {Mais # fatura a pagar} other {Mais # faturas a pagar}}, {total} no total",
+    "paidSoFar": "{paid} de {total} pago",
+    "toPayCount": "{count, plural, one {# fatura} other {# faturas}}",
+    "toPayOverdueCount": "Vencidas: {count}",
+    "toPayMostUrgent": "Mais urgente",
+    "toPayNext": "Próxima a pagar",
+    "seeAllInvoices": "Ver todas as {count} faturas",
+    "nextStep": "Próximo passo",
+    "nextStepWorking": "Recebemos o carro e começamos o serviço.",
+    "nextStepWorkingMarine": "Recebemos o barco e começamos o serviço.",
+    "nextStepReady": "Você recebe uma mensagem aqui quando estiver pronto para retirada.",
+    "nextStepReadyNoChat": "Avisamos você quando estiver pronto para retirada.",
+    "nextStepCollect": "Passe aqui quando for melhor para você.",
+    "tires": "Hotel de pneus",
+    "tiresStoredSummer": "Pneus de verão guardados conosco",
+    "tiresStoredWinter": "Pneus de inverno guardados conosco",
+    "tiresStoredAllSeason": "Pneus para todas as estações guardados conosco",
+    "tiresStoredOther": "Pneus guardados conosco",
+    "tiresSeasonSummer": "Pneus de verão",
+    "tiresSeasonWinter": "Pneus de inverno",
+    "tiresSeasonAllSeason": "Pneus para todas as estações",
+    "tiresSeasonOther": "Pneus",
+    "tiresStudded": "com cravos",
+    "tiresOnRims": "com rodas",
+    "tiresStoredSince": "guardados desde {day}",
+    "tiresTreadLeft": "de sulco restante",
+    "tiresTreadLine": "{depth} de sulco restante",
+    "tiresNotMeasured": "Sulco ainda não medido",
+    "tiresCount": "{count, plural, one {# pneu} other {# pneus}}",
+    "cars": "Meus carros",
+    "carsMarine": "Meus barcos",
+    "carVisits": "{count, plural, =0 {nenhuma visita ainda} one {# visita} other {# visitas}}",
+    "carInWorkshop": "Na oficina",
+    "carWarrantyActive": "garantia ativa",
+    "carWarrantyExpiring": "garantia termina em breve",
+    "carsEmptyTitle": "Nenhum carro cadastrado ainda",
+    "carsEmptyTitleMarine": "Nenhum barco cadastrado ainda",
+    "carsEmptyBody": "Quando a oficina cadastrar seu carro, o histórico dele aparece aqui.",
+    "carsEmptyBodyMarine": "Quando a oficina cadastrar seu barco, o histórico dele aparece aqui.",
+    "nextVisit": "Próxima visita",
+    "visitWhen": "{day}, {time}",
+    "directions": "Como chegar",
+    "nextVisitEmptyTitle": "Nenhuma visita agendada",
+    "nextVisitEmptyBody": "Escolha um dia que seja bom para você e conte o que o carro precisa.",
+    "nextVisitEmptyBodyMarine": "Escolha um dia que seja bom para você e conte o que o barco precisa.",
+    "bookVisit": "Agendar uma visita",
+    "requests": "Enviado para a oficina",
+    "requestSent": "Enviado: {day}",
+    "requestWaiting": "Aguardando resposta",
+    "requestWishedDay": "dia desejado: {day}",
+    "messagesLabel": "Mensagens com {workshop}",
+    "messagePreviewFrom": "{name}:",
+    "messagePreviewYou": "Você:",
+    "messagePreviewPhoto": "Foto",
+    "messagePreviewEmpty": "Escreva para {workshop}",
+    "messagePreviewOpen": "Abrir suas mensagens com {workshop}"
+  },
+  "themes": {
+    "colour": {
+      "stepNow": "Agora",
+      "storedSince": "Guardados desde"
+    },
+    "garage": {
+      "readyAround": "Pronto {day} por volta das",
+      "expectedAt": "Esperado {day} às",
+      "stepDone": "Feito",
+      "stepNow": "Agora",
+      "stepNotYet": "Ainda não",
+      "stepNotYetAround": "Ainda não, por volta das {time}",
+      "tireCar": "Carro",
+      "tireCarMarine": "Barco",
+      "tireMake": "Pneus",
+      "tireSize": "Medida",
+      "tireSet": "Jogo",
+      "tireTread": "Sulco restante",
+      "openUntil": "Aberto hoje até",
+      "opensAt": "Abre hoje às"
+    },
+    "print": {
+      "kicker": "Seu carro",
+      "kickerMarine": "Seu barco",
+      "dateline": "{workshop}, {time}.",
+      "stepDone": "Feito",
+      "stepNow": "Agora",
+      "stepTodo": "Ainda não",
+      "waiting": "Aguardando você",
+      "waitingCount": "{count, plural, one {# item} other {# itens}}",
+      "waitingOwed": "{total} a pagar em {invoices}",
+      "colWhat": "O quê",
+      "colDocument": "Documento",
+      "colDeadline": "Prazo",
+      "colAmount": "Valor",
+      "tireCar": "Carro",
+      "tireCarMarine": "Barco",
+      "tireTyre": "Pneu",
+      "tireSize": "Medida",
+      "tireSet": "Jogo",
+      "tireTread": "Sulco",
+      "portalLabel": "Portal do cliente",
+      "callWorkshop": "Ligar para a oficina"
+    }
+  },
+  "chat": {
+    "title": "Mensagens",
+    "label": "Mensagens com {workshop}",
+    "subtitle": "{workshop}",
+    "call": "Ligar para {workshop}",
+    "emptyTitle": "Nenhuma mensagem ainda",
+    "emptyBody": "Escreva para {workshop} aqui. A resposta aparece nesta conversa.",
+    "inputLabel": "Escreva uma mensagem para {workshop}",
+    "placeholder": "Escreva para {workshop}",
+    "addPhoto": "Adicionar uma foto",
+    "send": "Enviar",
+    "photo": "Foto de {name}",
+    "you": "Você",
+    "emptyBodyOff": "Nada foi escrito aqui.",
+    "video": "Vídeo de {name}",
+    "file": "Abrir o arquivo",
+    "openLarge": "{what}, abrir em tamanho grande",
+    "closeViewer": "Fechar",
+    "today": "Hoje",
+    "yesterday": "Ontem",
+    "seen": "Visto",
+    "sending": "Enviando",
+    "retry": "Tentar de novo",
+    "discard": "Excluir",
+    "earlier": "Mostrar anteriores",
+    "newBelow": "Nova mensagem",
+    "keysHint": "Enter envia a mensagem. Shift e Enter começa uma nova linha.",
+    "off": "Esta oficina desativou as mensagens. Você ainda pode ler o que foi escrito.",
+    "errors": {
+      "notSent": "Não enviada. Verifique sua conexão.",
+      "chatOff": "Não enviada. A oficina desativou as mensagens.",
+      "tooFast": "Não enviada. Foram muitas mensagens de uma vez, espere um pouco.",
+      "restoring": "Não enviada. A oficina está indisponível por um instante. Tente de novo em alguns minutos."
+    },
+    "upload": {
+      "adding": "Adicionando {name}",
+      "remove": "Remover {name}",
+      "tooMany": "Uma mensagem aceita até {count} fotos ou vídeos. Envie estes primeiro.",
+      "tooLarge": "Esse arquivo é grande demais. Fotos de até {photo} MB e vídeos de até {video} MB funcionam.",
+      "type": "Só é possível enviar fotos e vídeos aqui.",
+      "failed": "Não foi possível adicionar um arquivo. Tente de novo."
+    },
+    "suggestions": {
+      "label": "Ideias para uma primeira mensagem",
+      "call": "Vocês podem me ligar?",
+      "book": "Gostaria de agendar uma visita.",
+      "invoice": "Tenho uma dúvida sobre minha fatura."
+    },
+    "events": {
+      "workStarted": "O serviço no seu {vehicle} começou",
+      "workStartedNoVehicle": "O seu serviço começou",
+      "update": "Atualização de {workshop}",
+      "updateAbout": "Sobre seu {vehicle}",
+      "seeUpdate": "Ver a atualização",
+      "quote": "Orçamento",
+      "quoteLine": "Orçamento {title}",
+      "quoteWaiting": "Orçamento aguardando sua resposta",
+      "quotes": "{count} orçamentos",
+      "answerQuote": "Ler e responder",
+      "invoice": "Fatura",
+      "invoiceLine": "Fatura {title}",
+      "invoiceOverdue": "Fatura vencida",
+      "invoices": "{count} faturas",
+      "seeInvoice": "Ver fatura",
+      "jobsStarted": "Começou o serviço em {count} trabalhos"
+    }
+  },
+  "messagesPage": {
+    "title": "Mensagens",
+    "offTitle": "As mensagens estão desativadas",
+    "offBody": "Esta oficina não recebe mensagens por aqui. Ligue para {phone} ou agende uma visita.",
+    "offBodyNoPhone": "Esta oficina não recebe mensagens por aqui. Agende uma visita e escreva o que você precisa."
+  },
+  "quoteDetail": {
+    "back": "Voltar para orçamentos",
+    "title": "Orçamento",
+    "answerLabel": "Sua resposta",
+    "failedToLoad": "Não conseguimos carregar este orçamento.",
+    "total": "Total",
+    "number": "Número do orçamento",
+    "date": "Data",
+    "validUntil": "Válido até",
+    "vehicle": "Veículo",
+    "fullQuote": "O orçamento completo",
+    "answerTitle": "A oficina está aguardando sua resposta",
+    "accept": "Aceitar orçamento",
+    "askChanges": "Pedir alterações",
+    "confirmAcceptTitle": "Aceitar este orçamento?",
+    "confirmAcceptBody": "A oficina será avisada de que você quer o serviço feito por este preço.",
+    "confirmAcceptYes": "Sim, aceitar",
+    "cancel": "Cancelar",
+    "changesLabel": "O que você gostaria de mudar?",
+    "changesPlaceholder": "Por exemplo: tirar as palhetas do limpador",
+    "sendChanges": "Enviar à oficina",
+    "answerFailed": "Não conseguimos enviar sua resposta. Tente de novo.",
+    "acceptedTitle": "Você aceitou este orçamento",
+    "acceptedBody": "A oficina foi avisada e vai entrar em contato.",
+    "changesTitle": "Você pediu alterações",
+    "changesBody": "A oficina foi avisada e vai enviar um orçamento atualizado."
+  },
+  "inspectionDetail": {
+    "back": "Voltar para inspeções",
+    "title": "Inspeção",
+    "about": "Sobre esta inspeção",
+    "failedToLoad": "Não conseguimos carregar esta inspeção.",
+    "vehicle": "Veículo",
+    "vessel": "Embarcação",
+    "doneOn": "Feita em",
+    "startedOn": "Iniciada em",
+    "odometer": "Quilometragem",
+    "engineHours": "Horas de motor",
+    "nextDue": "Próxima inspeção",
+    "certificateNumber": "Número do laudo",
+    "stillWorking": "A oficina ainda está fazendo esta inspeção. Os resultados podem mudar.",
+    "openShared": "Ver fotos e baixar o relatório",
+    "noResults": "Nenhum resultado ainda.",
+    "notes": "Observações da oficina"
   }
 }

+ 97 - 44
messages/pt-BR/settings.json

@@ -1699,55 +1699,108 @@
   },
   "portal": {
     "title": "Portal do cliente",
-    "description": "Permita que seus clientes facam login e visualizem seus veículos, faturas, orçamentos e inspeções. Os clientes também podem enviar solicitações de serviço.",
-    "enablePortal": "Ativar portal do cliente",
-    "enablePortalHint": "Clientes com endereço de e-mail podem fazer login via link mágico",
-    "enabled": "Portal do cliente ativado",
-    "disabled": "Portal do cliente desativado",
-    "failedUpdate": "Falha ao atualizar configuração",
-    "customSlug": "Slug personalizado do portal",
-    "save": "Salvar",
-    "slugSaved": "Slug do portal salvo",
-    "slugRemoved": "Slug do portal removido",
-    "failedUpdateSlug": "Falha ao atualizar slug",
-    "slugHint": "Letras minúsculas, números, hífens e underscores. 3-48 caracteres. Deixe em branco para usar a URL padrão.",
-    "portalUrl": "URL do portal",
-    "urlCopied": "URL do portal copiada",
-    "shareHint": "Compartilhe este link com seus clientes para que possam fazer login no portal.",
+    "description": "Seus clientes entram para acompanhar o serviço, responder orçamentos, pagar faturas, agendar uma visita e escrever para você.",
+    "enablePortal": "Ativar o portal do cliente",
+    "enablePortalHint": "Os clientes entram com um link enviado para o e-mail ou celular deles. Não há senha para lembrar.",
+    "failedUpdate": "Não foi possível salvar as configurações",
+    "customSlug": "Endereço do portal",
+    "slugHint": "Letras minúsculas, números, hífens e underscores, de 3 a 48 caracteres. Deixe em branco para usar o endereço padrão.",
+    "portalUrl": "Link do seu portal",
+    "urlCopied": "Link copiado",
+    "shareHint": "Compartilhe este link com seus clientes para que eles possam entrar.",
     "serviceRequestAlertsHint": "As solicitações de serviço do portal sempre aparecem no seu sino de notificações. Você também pode recebê-las por e-mail.",
-    "serviceRequestAlertsLink": "Configurações de alerta →",
+    "serviceRequestAlertsLink": "Configurações de alerta",
     "descriptionLabel": "Sobre sua oficina",
     "descriptionPlaceholder": "Conte aos clientes sobre sua oficina, os serviços que você oferece e o que torna seu trabalho único.",
-    "descriptionHint": "Mostrado aos visitantes no topo da página inicial do seu portal.",
-    "hoursLabel": "Horário de funcionamento",
-    "hoursPlaceholder": "Seg-Sex: 8:00-17:00\nSáb: 9:00-13:00\nDom: Fechado",
-    "hoursHint": "Texto livre. Use quebras de linha para listar cada dia separadamente.",
-    "contentSaved": "Conteúdo do portal salvo",
-    "background": {
-      "title": "Plano de fundo do portal",
-      "description": "Escolha como a página inicial do portal do cliente fica.",
-      "typeNone": "Nenhum",
-      "typeTemplate": "Modelo",
-      "typeImage": "Imagem personalizada",
-      "chooseTemplate": "Escolha um modelo",
-      "uploadLabel": "Imagem de fundo",
-      "upload": "Enviar imagem",
-      "replace": "Substituir imagem",
-      "remove": "Remover",
-      "uploadHint": "JPG, PNG ou WebP. Máx. 8 MB. Recomendado pelo menos 1600×900.",
-      "uploading": "Enviando plano de fundo…",
-      "uploaded": "Plano de fundo atualizado",
-      "uploadFailed": "Falha ao enviar o plano de fundo",
-      "templateNames": {
-        "default": "Sutil",
-        "sunrise": "Amanhecer",
-        "ocean": "Oceano",
-        "forest": "Floresta",
-        "slate": "Ardósia",
-        "sand": "Areia"
+    "descriptionHint": "Mostrado na página de login do seu portal.",
+    "copyUrl": "Copiar o link"
+  },
+  "customerPortal": {
+    "slugPlaceholder": "minha-oficina",
+    "slugUnsaved": "Este endereço funciona depois que você salvar.",
+    "slugInvalid": "Use de 3 a 48 letras minúsculas, números, hífens ou underscores, começando e terminando com letra ou número.",
+    "slugReserved": "Essa palavra é reservada. Escolha outro endereço.",
+    "slugTaken": "Outra oficina já usa esse endereço. Escolha outro.",
+    "hours": {
+      "title": "Horário de funcionamento",
+      "fromCalendar": "O portal mostra o horário de funcionamento e os dias fechados do calendário da sua oficina.",
+      "link": "Configurações de horário de funcionamento",
+      "typedNote": "Sua página de login ainda mostra o horário digitado aqui antes, porque ainda não há horário de funcionamento no calendário. Defina lá e o portal passa a mostrar esse.",
+      "typedLabel": "Mostrado na página de login hoje"
+    },
+    "look": {
+      "title": "Visual do seu portal do cliente",
+      "description": "Uma única escolha define a página de login e todas as páginas que seus clientes veem depois. Os clientes não podem mudar."
+    },
+    "theme": {
+      "legend": "Tema",
+      "daylight": {
+        "name": "Daylight",
+        "tagline": "Claro e tranquilo"
+      },
+      "garage": {
+        "name": "Garage",
+        "tagline": "Painel de box escuro"
+      },
+      "print": {
+        "name": "Print",
+        "tagline": "Editorial e discreto"
+      },
+      "colour": {
+        "name": "Colour",
+        "tagline": "Sua cor, em destaque"
       }
     },
-    "copyUrl": "Copiar URL do portal"
+    "colour": {
+      "title": "Sua cor",
+      "description": "Usada em botões e destaques em todos os temas.",
+      "swatches": "Cores sugeridas",
+      "orange": "Laranja",
+      "blue": "Azul",
+      "green": "Verde",
+      "red": "Vermelho",
+      "black": "Preto",
+      "hexLabel": "Cor em código hexadecimal",
+      "invalid": "Isso não é uma cor. Escreva como código hexadecimal, por exemplo #1D4ED8.",
+      "usingTheme": "Usando a cor que vem com {theme}, {hex}.",
+      "themeColour": "A cor que vem com {theme} é {hex}.",
+      "useTheme": "Usar a cor do tema",
+      "sample": "Agendar uma visita",
+      "inkLight": "O texto sobre esta cor fica em branco, para continuar legível.",
+      "inkDark": "O texto sobre esta cor fica em preto, para continuar legível.",
+      "faint": "Esta cor fica fraca contra o fundo de {theme}. Links e destaques podem ficar difíceis de ver."
+    },
+    "cover": {
+      "title": "Foto de capa e logotipo",
+      "description": "Mostrados na página de login. Seu logotipo vem das configurações da empresa.",
+      "companyLink": "Configurações da empresa",
+      "hint": "PNG, JPEG ou WebP, até 8 MB.",
+      "none": "Nenhuma foto de capa",
+      "alt": "A foto de capa na página de login",
+      "upload": "Enviar uma foto",
+      "replace": "Substituir a foto",
+      "remove": "Remover a foto",
+      "uploading": "Enviando",
+      "uploadFailed": "Não foi possível enviar a foto"
+    },
+    "features": {
+      "title": "O que os clientes recebem",
+      "description": "As partes do portal que você pode desativar.",
+      "messages": "Mensagens no portal",
+      "messagesHint": "Os clientes escrevem para você pelo portal. As mensagens chegam na sua caixa de Mensagens.",
+      "tires": "Mostrar pneus guardados",
+      "tiresHint": "Os clientes veem os pneus que você guarda para eles, com a profundidade do sulco."
+    },
+    "bar": {
+      "label": "Salvar as configurações do portal do cliente",
+      "unsaved": "Você tem alterações não salvas",
+      "saved": "Tudo salvo",
+      "discard": "Descartar alterações",
+      "save": "Salvar alterações",
+      "open": "Abrir o portal como cliente",
+      "openOff": "Ative o portal e salve para abri-lo."
+    },
+    "savedToast": "Configurações do portal do cliente salvas"
   },
   "email": {
     "title": "Provedor de e-mail",

+ 3 - 0
messages/pt-PT/audit.json

@@ -81,6 +81,7 @@
     "settings_updateInvoiceLayout": "Esquema da fatura atualizado",
     "settings_updateQuoteLayout": "Esquema do orçamento atualizado",
     "settings_updatePortalSlug": "URL do portal atualizado",
+    "settings_updateCustomerPortal": "Definições do portal do cliente atualizadas",
     "inspectionTemplate_create": "Lista de verificação de inspeção criada",
     "inspectionTemplate_update": "Lista de verificação de inspeção atualizada",
     "inspectionTemplate_delete": "Lista de verificação de inspeção eliminada",
@@ -102,6 +103,7 @@
     "statusReport_create": "Relatório de estado criado",
     "statusReport_send": "Relatório de estado enviado",
     "statusReport_delete": "Relatório de estado eliminado",
+    "portal_send": "Mensagem enviada no portal",
     "telegram_send": "Mensagem do Telegram enviada",
     "webhook_create": "Webhook criado",
     "webhook_update": "Webhook atualizado",
@@ -306,6 +308,7 @@
     "technician_create": "Técnico \"{name}\" criado",
     "technician_delete": "Técnico {id} eliminado",
     "technician_update": "Técnico {id} atualizado",
+    "portal_send": "Enviou uma mensagem a {name} no portal do cliente",
     "telegram_send": "Mensagem do Telegram enviada para {name}",
     "tire_location_bulk_create": "{count, plural, one {# local de armazenamento de pneus criado} other {# locais de armazenamento de pneus criados}}",
     "tire_location_create": "Local de armazenamento de pneus {code} criado",

+ 6 - 0
messages/pt-PT/customers.json

@@ -120,6 +120,12 @@
     "saveNotes": "Guardar Notas",
     "submitted": "Enviado a {date}",
     "preferred": "Data preferida: {date}",
+    "preferredMorning": "Data preferida: {date}, manhã",
+    "preferredAfternoon": "Data preferida: {date}, tarde",
+    "files": "{count, plural, one {# foto ou vídeo do cliente} other {# fotos ou vídeos do cliente}}",
+    "openPhoto": "Abrir foto {number}",
+    "openVideo": "Abrir vídeo {number}",
+    "fileMissing": "A foto {number} já não está disponível",
     "workOrderCreated": "Ordem de serviço criada",
     "workOrderError": "Não foi possível criar a ordem de serviço",
     "requestDismissed": "Pedido dispensado",

+ 23 - 0
messages/pt-PT/messaging.json

@@ -51,5 +51,28 @@
       "noMatches": "Nenhum cliente corresponde à sua pesquisa.",
       "noRecipients": "Ainda não há clientes com endereço de e-mail."
     }
+  },
+  "portal": {
+    "badge": "Portal",
+    "empty": "{name} ainda não escreveu no portal.",
+    "placeholder": "Escreva a {name} no portal",
+    "send": "Enviar mensagem",
+    "sendFailed": "Não foi possível enviar a mensagem",
+    "sendHint": "Enter envia, Shift+Enter começa uma nova linha. {name} vê-a da próxima vez que abrir o portal.",
+    "loadOlder": "Carregar mensagens anteriores",
+    "loadFailed": "Não foi possível carregar a conversa.",
+    "tryAgain": "Tentar novamente",
+    "addPhoto": "Adicionar uma foto",
+    "removePhoto": "Remover {name}",
+    "uploadFailed": "Não foi possível adicionar a foto. Funcionam fotos até {size} MB.",
+    "tooManyPhotos": "Uma mensagem leva até {count} fotos.",
+    "photoFrom": "Foto de {name}",
+    "videoFrom": "Vídeo de {name}",
+    "openFile": "Abrir ficheiro",
+    "you": "Você",
+    "seen": "Vista",
+    "off": "As mensagens no portal do cliente estão desativadas, por isso esta conversa pode ser lida mas não respondida.",
+    "offSettings": "Definições do portal do cliente",
+    "deleteDescription": "Remove toda a conversa com {name}, também para o cliente: desaparece do portal dele."
   }
 }

+ 486 - 100
messages/pt-PT/portal.json

@@ -12,28 +12,31 @@
     "description": "Utilize o link direto fornecido pela sua oficina para aceder à área de cliente.",
     "hint": "A sua oficina irá enviar-lhe o link da área de cliente por e-mail ou SMS."
   },
-  "landing": {
-    "contactTitle": "Contacte-nos",
-    "aboutTitle": "Sobre nós",
-    "noContactInfo": "Os contactos ainda não estão disponíveis.",
-    "address": "Morada",
-    "phone": "Telefone",
-    "email": "E-mail",
-    "hours": "Horário de funcionamento",
-    "directions": "Como chegar"
+  "signIn": {
+    "eyebrow": "Para os nossos clientes",
+    "heading": "Veja o seu carro, as suas faturas e as suas mensagens.",
+    "headingMarine": "Veja o seu barco, as suas faturas e as suas mensagens.",
+    "headingNoMessages": "Veja o seu carro, as suas faturas e os seus orçamentos.",
+    "headingNoMessagesMarine": "Veja o seu barco, as suas faturas e os seus orçamentos.",
+    "confirmEyebrow": "Quase lá",
+    "hoursTitle": "Horário de funcionamento",
+    "findUs": "Onde estamos",
+    "callUs": "Ligue-nos",
+    "directions": "Direções",
+    "dayRange": "{from} a {to}",
+    "timeRange": "{start} às {end}",
+    "closed": "fechado"
   },
   "login": {
-    "signInTitle": "Acesso de cliente",
-    "signInSubtitle": "Inicie sessão para ver as suas faturas, orçamentos e histórico de serviços.",
-    "emailLabel": "Endereço de e-mail",
+    "emailLabel": "O seu endereço de e-mail",
     "emailPlaceholder": "nome@exemplo.pt",
-    "sendLink": "Enviar link de acesso",
+    "sendLink": "Enviem-me um link de acesso",
     "checkEmail": "Verifique o seu e-mail",
     "checkEmailDescription": "Se existir uma conta com esse e-mail, enviámos-lhe um link de acesso. O link expira dentro de 15 minutos.",
     "tryDifferentEmail": "Experimentar outro e-mail",
     "tabEmail": "E-mail",
     "tabSms": "SMS",
-    "phoneLabel": "Número de telemóvel",
+    "phoneLabel": "O seu número de telemóvel",
     "phonePlaceholder": "+351 912345678",
     "phoneLocalPlaceholder": "912345678",
     "sendCode": "Enviar código",
@@ -48,57 +51,77 @@
     "confirmDescription": "Está a iniciar sessão como {email}. Prima o botão para continuar.",
     "confirmButton": "Continuar para iniciar sessão",
     "notFound": "Não encontrado",
-    "portalNotExist": "Esta área de cliente não existe.",
-    "portalNotAvailable": "Área de cliente indisponível",
-    "portalNotEnabled": "A área de cliente não está ativa para esta oficina."
+    "portalNotExist": "Esta página não existe.",
+    "portalNotAvailable": "Indisponível",
+    "portalNotEnabled": "De momento, esta oficina não disponibiliza acesso online.",
+    "noPassword": "Sem palavra-passe. Enviamos-lhe um link que inicia a sessão.",
+    "noPasswordSms": "Sem palavra-passe. Enviamos-lhe por SMS um código que inicia a sessão.",
+    "method": "Como iniciar sessão",
+    "requestFailed": "Não foi possível enviar agora. Verifique a sua ligação e tente novamente.",
+    "tooManyTries": "Demasiadas tentativas em pouco tempo. Aguarde um minuto e tente novamente.",
+    "tryAgain": "Tentar novamente",
+    "sendNewCode": "Enviar um novo código",
+    "newCodeSent": "Enviámos-lhe um novo código.",
+    "errors": {
+      "invalid": "Este link de acesso não funciona. Peça um novo abaixo.",
+      "used": "Este link de acesso já foi utilizado. Peça um novo abaixo.",
+      "expired": "Este link de acesso expirou. Peça um novo abaixo.",
+      "noAccount": "Não encontrámos a sua conta. Peça à oficina que confirme o e-mail que tem registado para si."
+    }
   },
   "nav": {
-    "dashboard": "Início",
-    "vehicles": "Viaturas",
     "invoices": "Faturas",
     "quotes": "Orçamentos",
     "inspections": "Inspeções",
-    "requestService": "Pedir serviço"
+    "label": "Navegação principal",
+    "skip": "Saltar para o conteúdo",
+    "home": "Início",
+    "messages": "Mensagens",
+    "cars": "Os meus carros",
+    "carsMarine": "Os meus barcos",
+    "papers": "Documentos",
+    "papersLong": "Faturas e orçamentos",
+    "unread": "{count, plural, one {# mensagem por ler} other {# mensagens por ler}}",
+    "documents": "Documentos",
+    "book": "Marcar",
+    "bookLong": "Marcar uma visita"
   },
   "header": {
     "signOut": "Terminar sessão",
-    "askShort": "Serviço"
+    "homeLink": "{name}, início",
+    "account": "A sua conta, {name}",
+    "signedInAs": "Sessão iniciada como"
+  },
+  "hoursLine": {
+    "openUntil": "Aberto até às {time}",
+    "opensAt": "Abre às {time}",
+    "closedNow": "Fechado por hoje",
+    "closedToday": "Fechado hoje"
+  },
+  "format": {
+    "today": "hoje",
+    "tomorrow": "amanhã"
   },
   "shell": {
     "notFound": "Não encontrado",
-    "portalNotExist": "Esta área de cliente não existe.",
-    "portalNotAvailable": "Área de cliente indisponível",
-    "portalNotEnabled": "A área de cliente não está ativa para esta oficina."
-  },
-  "dashboard": {
-    "welcome": "Olá, {name}",
-    "overview": "Aqui tem um resumo da sua conta.",
-    "vehicles": "Viaturas",
-    "openInvoices": "Faturas por pagar",
-    "pendingQuotes": "Orçamentos pendentes",
-    "recentInvoices": "Faturas recentes",
-    "recentQuotes": "Orçamentos recentes",
-    "pendingServiceRequests": "Pedidos de serviço pendentes",
-    "viewAll": "Ver tudo",
-    "newRequest": "Novo pedido",
-    "noInvoicesYet": "Ainda não tem faturas.",
-    "noQuotesYet": "Ainda não tem orçamentos.",
-    "view": "Ver",
-    "pending": "Pendente",
-    "failedToLoad": "Não foi possível carregar o resumo.",
-    "quickRequestService": "Pedir serviço",
-    "quickRequestServiceHint": "Marcar uma reparação ou revisão",
-    "quickViewInvoices": "As suas faturas",
-    "quickViewInvoicesHint": "Faturas e histórico de pagamentos",
-    "quickViewVehicles": "As suas viaturas",
-    "quickViewVehiclesHint": "Histórico de serviços e detalhes",
-    "activeJobs": "Trabalhos em curso"
+    "portalNotExist": "Esta página não existe.",
+    "portalNotAvailable": "Indisponível",
+    "portalNotEnabled": "Esta oficina ainda não abriu a sua área de cliente.",
+    "callWorkshop": "Ligar para o {phone}",
+    "openMap": "Abrir {address} no mapa",
+    "errorTitle": "Ocorreu um problema",
+    "errorBody": "Não foi possível mostrar esta página. Tente novamente ou volte à página inicial.",
+    "tryAgain": "Tentar novamente",
+    "pageNotFoundTitle": "Não encontrámos essa página",
+    "pageNotFoundBody": "O link pode estar desatualizado ou a página pode ter sido removida.",
+    "backHome": "Voltar ao início"
   },
   "invoices": {
     "title": "Faturas",
-    "description": "Todas as faturas dos seus serviços.",
+    "description": "Faturas dos trabalhos que a oficina já concluiu.",
     "noInvoices": "Ainda não tem faturas.",
-    "failedToLoad": "Não foi possível carregar as faturas.",
+    "noInvoicesHint": "Quando a oficina terminar um trabalho, a fatura aparece aqui.",
+    "failedToLoad": "Não foi possível carregar as suas faturas. Tente novamente daqui a pouco.",
     "invoice": "Fatura",
     "vehicle": "Viatura",
     "date": "Data",
@@ -107,31 +130,55 @@
     "view": "Ver",
     "download": "Transferir",
     "downloadCertificate": "Transferir certificado de inspeção",
-    "paid": "paga",
-    "partial": "paga parcialmente",
-    "unpaid": "por pagar",
+    "paid": "Paga",
+    "partial": "Paga parcialmente",
+    "unpaid": "Por pagar",
+    "overdue": "Vencida",
+    "toPayTitle": "Por pagar",
+    "toPayCount": "{count, plural, one {em # fatura} other {em # faturas}}",
+    "toPayNextDue": "Próximo vencimento: {date}",
+    "toPayOpen": "Ver e pagar {invoice}",
+    "toPayOpenNoPay": "Abrir {invoice}",
+    "nothingToPay": "Nada a pagar",
+    "nothingToPayBody": "Todas as faturas aqui estão pagas.",
     "back": "Voltar às faturas",
-    "openShared": "Abrir a cópia partilhada"
+    "invoiceNumber": "Fatura {number}",
+    "downloadPdf": "Transferir PDF",
+    "leftToPay": "Falta pagar {amount}",
+    "dueOn": "Vence a {date}",
+    "payOnline": "Pagar online",
+    "summaryTotal": "Total",
+    "summaryPaid": "Pago",
+    "summaryLeft": "Por pagar",
+    "summaryDue": "Data de vencimento",
+    "summaryDate": "Data",
+    "fullInvoice": "A fatura completa"
   },
   "quotes": {
     "title": "Orçamentos",
-    "description": "Orçamentos e estimativas para as suas viaturas.",
+    "description": "Preços que a oficina lhe enviou antes de fazer o trabalho.",
     "noQuotes": "Ainda não tem orçamentos.",
-    "failedToLoad": "Não foi possível carregar os orçamentos.",
+    "noQuotesHint": "Quando a oficina lhe enviar um preço para um trabalho, ele aparece aqui.",
+    "failedToLoad": "Não foi possível carregar os seus orçamentos. Tente novamente daqui a pouco.",
     "quote": "Orçamento",
     "vehicle": "Viatura",
     "status": "Estado",
     "amount": "Valor",
     "validUntil": "Válido até",
-    "view": "Ver"
+    "view": "Ver",
+    "validUntilDate": "Válido até {date}",
+    "waitingTitle": "À espera da sua resposta",
+    "waitingNone": "Nenhum orçamento está à espera da sua resposta.",
+    "waitingAnswer": "Ler e responder"
   },
   "inspections": {
     "title": "Inspeções",
-    "description": "Relatórios de inspeção das suas viaturas.",
+    "description": "Relatórios das verificações que a oficina fez ao seu carro.",
     "noInspections": "Ainda não tem inspeções.",
-    "failedToLoad": "Não foi possível carregar as inspeções.",
+    "noInspectionsHint": "Quando a oficina terminar uma inspeção, o relatório aparece aqui.",
+    "failedToLoad": "Não foi possível carregar as suas inspeções. Tente novamente daqui a pouco.",
     "vehicle": "Viatura",
-    "template": "Lista de verificação",
+    "template": "Inspeção",
     "status": "Estado",
     "date": "Data",
     "summary": "Resumo",
@@ -141,69 +188,150 @@
     "poor": "{count} mau"
   },
   "vehicles": {
-    "title": "Viaturas",
-    "description": "As suas viaturas registadas.",
-    "noVehicles": "Não foram encontradas viaturas.",
-    "failedToLoad": "Não foi possível carregar as viaturas.",
+    "title": "Os seus carros",
+    "description": "Os carros que a oficina tem registados em seu nome.",
+    "noVehicles": "Ainda não há carros registados.",
+    "failedToLoad": "Não foi possível carregar os seus carros. Tente novamente daqui a pouco.",
     "plate": "Matrícula: {plate}",
     "vin": "VIN: {vin}",
     "typeKey": "HSN/TSN: {typeKey}",
-    "serviceCount": "{count, plural, one {# serviço} other {# serviços}}",
+    "serviceCount": "{count, plural, one {# visita} other {# visitas}}",
     "inspectionCount": "{count, plural, one {# inspeção} other {# inspeções}}",
     "serviceHistory": "Histórico de serviços ({count})",
     "inspectionsTab": "Inspeções ({count})",
-    "noServiceRecords": "Ainda não há registos de serviço.",
+    "noServiceRecords": "Ainda não há trabalhos registados.",
     "noInspections": "Ainda não há inspeções.",
-    "vehicleNotFound": "Viatura não encontrada.",
+    "vehicleNotFound": "Não encontrámos esta viatura.",
     "completed": "Concluído a {date}",
     "good": "{count} bom",
     "fair": "{count} razoável",
     "poor": "{count} mau",
     "view": "Ver",
-    "serviceHistoryTitle": "Histórico de serviços",
-    "inspectionsTitle": "Inspeções",
-    "columnVehicle": "Viatura",
+    "columnVehicle": "Carro",
     "columnPlate": "Matrícula",
-    "columnServices": "Serviços",
+    "columnServices": "Visitas",
     "columnInspections": "Inspeções",
+    "warrantyActive": "Garantia em vigor",
+    "warrantyExpiring": "Garantia a terminar",
+    "warrantyExpired": "Garantia expirada",
     "reportSold": "Esta viatura já não é minha",
     "reportSoldHint": "Vamos avisar a oficina para deixar de enviar lembretes sobre ela. O seu histórico mantém-se.",
     "reportSoldConfirm": "Sim, avisar a oficina",
     "reportSoldCancel": "Manter",
     "reportSoldDone": "Obrigado, a oficina foi avisada",
     "reportSoldFailed": "Não foi possível enviar agora",
-    "reportSoldAlready": "Já informou a oficina de que esta viatura deixou de ser sua."
+    "reportSoldAlready": "Já informou a oficina de que esta viatura deixou de ser sua.",
+    "titleMarine": "Os seus barcos",
+    "descriptionMarine": "Os barcos que a oficina tem registados em seu nome.",
+    "noVehiclesMarine": "Ainda não há barcos registados.",
+    "noVehiclesHint": "Marque uma visita e fale-nos do seu carro. Nós adicionamo-lo aqui.",
+    "noVehiclesHintMarine": "Marque uma visita e fale-nos do seu barco. Nós adicionamo-lo aqui.",
+    "back": "Voltar aos meus carros",
+    "backMarine": "Voltar aos meus barcos",
+    "about": "Sobre este carro",
+    "aboutMarine": "Sobre este barco",
+    "failedToLoadMarine": "Não foi possível carregar os seus barcos. Tente novamente daqui a pouco.",
+    "plateMarine": "Registo: {plate}",
+    "vinMarine": "HIN: {vin}",
+    "distanceKm": "{value} km",
+    "distanceMi": "{value} mi",
+    "engineHours": "{value} horas de motor",
+    "columnVehicleMarine": "Barco",
+    "columnPlateMarine": "Registo"
   },
-  "requestService": {
-    "title": "Pedir serviço",
-    "description": "Envie um pedido de serviço para uma das suas viaturas.",
-    "newServiceRequest": "Novo pedido de serviço",
-    "formDescription": "Descreva o problema e entraremos em contacto consigo.",
-    "vehicleLabel": "Viatura",
-    "vehiclePlaceholder": "Selecione uma viatura",
-    "descriptionLabel": "Descreva o problema",
-    "descriptionPlaceholder": "O que se passa com a sua viatura?",
-    "preferredDate": "Data preferida",
-    "preferredDateOptional": "(opcional)",
-    "submitRequest": "Enviar pedido",
-    "selectVehicle": "Selecione uma viatura",
-    "describeIssue": "Descreva o problema",
-    "submitSuccess": "Pedido de serviço enviado",
-    "submitError": "Não foi possível enviar o pedido",
-    "noVehicles": "Não tem viaturas registadas. Contacte-nos para adicionarmos primeiro uma viatura.",
-    "yourRequests": "Os seus pedidos de serviço",
-    "failedToLoad": "Não foi possível carregar os dados.",
-    "staffNotes": "Notas da oficina: {notes}",
-    "preferred": "Preferência: {date}",
-    "notListedOption": "A minha viatura não está na lista",
-    "newVehicleHint": "Indique-nos os dados da viatura e iremos adicioná-la ao seu perfil.",
-    "fillVehicleDetails": "Indique a marca e o modelo da viatura",
+  "book": {
+    "title": "Marcar uma visita",
+    "description": "Diga-nos do que precisa. Respondemos com uma hora.",
+    "descriptionMessages": "Diga-nos do que precisa. Respondemos aqui em Mensagens com uma hora.",
+    "failedToLoad": "Não foi possível carregar esta página. Tente novamente daqui a pouco.",
+    "whichVehicle": "Qual carro?",
+    "whichVehicleMarine": "Qual barco?",
+    "anotherVehicle": "Outro carro",
+    "anotherVehicleMarine": "Outro barco",
+    "inWorkshopNow": "na oficina agora",
+    "selectVehicle": "Escolha a que se refere",
+    "newVehicleHint": "Fale-nos dele e adicionamo-lo ao seu perfil.",
     "makeLabel": "Marca",
-    "makePlaceholder": "p. ex. Ford",
+    "makePlaceholder": "p. ex. Renault",
     "modelLabel": "Modelo",
-    "modelPlaceholder": "p. ex. Kuga",
+    "modelPlaceholder": "p. ex. Clio",
     "yearLabel": "Ano",
-    "plateLabel": "Matrícula"
+    "plateLabel": "Matrícula",
+    "plateLabelMarine": "Registo",
+    "fillMake": "Indique a marca",
+    "fillModel": "Indique o modelo",
+    "invalidYear": "Indique um ano entre {min} e {max}",
+    "optional": "(opcional)",
+    "whatNeeded": "Do que precisa?",
+    "topics": {
+      "service": "Revisão",
+      "inspection": "Inspeção",
+      "tires": "Mudança de pneus",
+      "brakes": "Travões",
+      "problem": "Algo não está bem"
+    },
+    "descriptionLabel": "Descreva por palavras suas",
+    "descriptionPlaceholder": "Por exemplo: um barulho de pancada à frente do lado esquerdo nas lombas, pior quando o carro está frio",
+    "descriptionPlaceholderMarine": "Por exemplo: o motor custa a pegar quando está frio",
+    "describeIssue": "Escolha acima do que precisa, ou diga-nos em poucas palavras",
+    "filesLabel": "Fotos ou um vídeo curto",
+    "filesCount": "{count} de {max} adicionados",
+    "filesLimits": "fotos até {photo} MB, vídeo até {video} MB",
+    "filesAdd": "Adicionar fotos ou vídeo",
+    "filesDrop": "Largue os ficheiros aqui ou escolha-os neste computador",
+    "filesCamera": "Tirar uma foto",
+    "filesTooMany": "Pode adicionar até {max} ficheiros. Retire um para adicionar outro.",
+    "filesStillUploading": "Aguarde até os seus ficheiros terminarem de carregar e depois envie.",
+    "filesFailed": "Um ficheiro não foi carregado. Tente novamente ou retire-o e depois envie.",
+    "fileUploading": "A carregar {name}",
+    "fileReady": "{name}, adicionado",
+    "fileRemove": "Remover {name}",
+    "fileRetry": "Tentar novamente",
+    "fileType": "{name} não é uma foto nem um vídeo que possamos aceitar.",
+    "fileEmpty": "{name} está vazio.",
+    "fileTooLarge": "{name} é demasiado grande.",
+    "fileTooMany": "São muitos ficheiros de uma vez. Aguarde alguns minutos e tente novamente.",
+    "fileSignedOut": "A sua sessão terminou. Inicie sessão novamente para adicionar ficheiros.",
+    "fileNetwork": "A ligação falhou durante o carregamento.",
+    "fileFailed": "Esse ficheiro não foi carregado.",
+    "dayLabel": "Dia que lhe dá jeito",
+    "pastDate": "Escolha hoje ou um dia posterior",
+    "timeLabel": "Altura do dia",
+    "timeHint": "Escolha primeiro um dia para indicar que altura lhe dá jeito.",
+    "time": {
+      "any": "A qualquer hora",
+      "morning": "Manhã",
+      "afternoon": "Tarde"
+    },
+    "timeLower": {
+      "morning": "manhã",
+      "afternoon": "tarde"
+    },
+    "closedDaysHint": "Fechado nestes dias:",
+    "send": "Enviar a {workshop}",
+    "sendHint": "Nada fica marcado até a oficina confirmar uma hora.",
+    "submitError": "Não foi possível enviar agora. Tente novamente daqui a pouco.",
+    "sentTitle": "Enviado a {workshop}",
+    "sentBody": "A oficina lê o seu pedido e vê o que enviou. A resposta chega em Mensagens, com uma hora.",
+    "sentBodyNoMessages": "A oficina lê o seu pedido e vê o que enviou, e depois responde-lhe com uma hora. Pode acompanhar nesta página.",
+    "sentMessages": "Ir para Mensagens",
+    "sentHome": "Voltar ao início",
+    "sentAnother": "Pedir outra coisa",
+    "nextTitle": "O que acontece a seguir",
+    "nextRead": "Lemos o seu pedido e vemos as suas fotos.",
+    "nextAnswerMessages": "Respondemos em Mensagens com uma hora e, se ajudar, um orçamento.",
+    "nextAnswer": "Respondemos com uma hora e, se ajudar, um orçamento.",
+    "nextVisit": "A visita aparece na sua página inicial com o dia e a hora.",
+    "talkTitle": "Prefere falar?",
+    "talkCall": "Ligue para {phone}",
+    "yourRequests": "O que já pediu",
+    "sentOn": "Enviado a {date}",
+    "preferred": "Data preferida: {date}",
+    "staffNotes": "Nota da oficina: {notes}",
+    "requestFiles": "{count, plural, one {# ficheiro que enviou} other {# ficheiros que enviou}}",
+    "requestPhoto": "Abrir a foto",
+    "requestVideo": "Abrir o vídeo",
+    "requestFileMissing": "Esta foto já não está disponível"
   },
   "booking": {
     "title": "Marque a sua inspeção",
@@ -257,7 +385,7 @@
       "completed": "Concluído"
     },
     "request": {
-      "pending": "Pendente",
+      "pending": "A aguardar resposta",
       "converted": "Marcado",
       "dismissed": "Encerrado",
       "cancelled": "Cancelado"
@@ -273,5 +401,263 @@
     "today": "Hoje",
     "closedSoon": "Encerramentos em breve",
     "openOnly": "Aberto {hours}"
+  },
+  "home": {
+    "failedToLoad": "Não foi possível carregar a sua página. Tente novamente daqui a pouco.",
+    "heroWorkingPromised": "Olá, {name}. O seu carro está na oficina e fica pronto {day} por volta das {time}.",
+    "heroWorkingPromisedMarine": "Olá, {name}. O seu barco está na oficina e fica pronto {day} por volta das {time}.",
+    "heroWorking": "Olá, {name}. O seu carro está na oficina.",
+    "heroWorkingMarine": "Olá, {name}. O seu barco está na oficina.",
+    "heroReady": "Olá, {name}. O seu carro está pronto para levantar.",
+    "heroReadyMarine": "Olá, {name}. O seu barco está pronto para levantar.",
+    "heroBookedAt": "Olá, {name}. Contamos com o seu carro {day} às {time}.",
+    "heroBookedAtMarine": "Olá, {name}. Contamos com o seu barco {day} às {time}.",
+    "heroBooked": "Olá, {name}. A sua visita está marcada.",
+    "heroNothing": "Olá, {name}. De momento não há nada na oficina.",
+    "heroNothingBody": "Marque uma visita quando o seu carro precisar de nós. Acompanha o trabalho aqui, passo a passo.",
+    "heroNothingBodyMarine": "Marque uma visita quando o seu barco precisar de nós. Acompanha o trabalho aqui, passo a passo.",
+    "stepsLabel": "Em que ponto está o trabalho",
+    "stepBooked": "Marcado",
+    "stepCheckedIn": "Recebido",
+    "stepWorking": "Na oficina",
+    "stepReady": "Pronto para levantar",
+    "latestUpdate": "Novidades da oficina · {when}",
+    "updateFallback": "A oficina partilhou uma atualização sobre o trabalho.",
+    "seeUpdate": "Ver fotos e vídeo",
+    "otherJobs": "Também marcado ou em curso",
+    "jobBookedFor": "Marcado para {day} às {time}",
+    "jobReadyAround": "Pronto {day} por volta das {time}",
+    "needsAnswer": "Aguarda a sua resposta",
+    "validUntil": "Válido até {day}",
+    "quoteNumber": "Orçamento {number}",
+    "quote": "Orçamento",
+    "readQuote": "Ler o orçamento",
+    "moreQuotes": "{count, plural, one {Mais # orçamento aguarda a sua resposta} other {Mais # orçamentos aguardam a sua resposta}}",
+    "toPay": "Por pagar",
+    "due": "Vence: {day}",
+    "overdueSince": "Vencida desde {day}",
+    "invoiceNumber": "Fatura {number}",
+    "invoice": "Fatura",
+    "payNow": "Pagar agora",
+    "seeInvoice": "Ver a fatura",
+    "moreInvoices": "{count, plural, one {Mais # fatura por pagar} other {Mais # faturas por pagar}}, {total} no total",
+    "paidSoFar": "{paid} de {total} pago",
+    "toPayCount": "{count, plural, one {# fatura} other {# faturas}}",
+    "toPayOverdueCount": "Vencidas: {count}",
+    "toPayMostUrgent": "Mais urgente",
+    "toPayNext": "Próxima a pagar",
+    "seeAllInvoices": "Ver as {count} faturas",
+    "nextStep": "A seguir",
+    "nextStepWorking": "Recebemos o carro e começamos o trabalho.",
+    "nextStepWorkingMarine": "Recebemos o barco e começamos o trabalho.",
+    "nextStepReady": "Recebe aqui uma mensagem quando estiver pronto para levantar.",
+    "nextStepReadyNoChat": "Avisamos quando estiver pronto para levantar.",
+    "nextStepCollect": "Passe por cá quando lhe der jeito.",
+    "tires": "Hotel de pneus",
+    "tiresStoredSummer": "Pneus de verão guardados connosco",
+    "tiresStoredWinter": "Pneus de inverno guardados connosco",
+    "tiresStoredAllSeason": "Pneus para todas as estações guardados connosco",
+    "tiresStoredOther": "Pneus guardados connosco",
+    "tiresSeasonSummer": "Pneus de verão",
+    "tiresSeasonWinter": "Pneus de inverno",
+    "tiresSeasonAllSeason": "Pneus para todas as estações",
+    "tiresSeasonOther": "Pneus",
+    "tiresStudded": "com pregos",
+    "tiresOnRims": "com jantes",
+    "tiresStoredSince": "guardados desde {day}",
+    "tiresTreadLeft": "de piso restante",
+    "tiresTreadLine": "{depth} de piso restante",
+    "tiresNotMeasured": "Piso ainda não medido",
+    "tiresCount": "{count, plural, one {# pneu} other {# pneus}}",
+    "cars": "Os meus carros",
+    "carsMarine": "Os meus barcos",
+    "carVisits": "{count, plural, =0 {ainda sem visitas} one {# visita} other {# visitas}}",
+    "carInWorkshop": "Na oficina",
+    "carWarrantyActive": "garantia ativa",
+    "carWarrantyExpiring": "garantia termina em breve",
+    "carsEmptyTitle": "Ainda não há carros registados",
+    "carsEmptyTitleMarine": "Ainda não há barcos registados",
+    "carsEmptyBody": "Quando a oficina registar o seu carro, o histórico dele aparece aqui.",
+    "carsEmptyBodyMarine": "Quando a oficina registar o seu barco, o histórico dele aparece aqui.",
+    "nextVisit": "Próxima visita",
+    "visitWhen": "{day}, {time}",
+    "directions": "Direções",
+    "nextVisitEmptyTitle": "Nenhuma visita marcada",
+    "nextVisitEmptyBody": "Escolha um dia que lhe dê jeito e diga-nos do que o carro precisa.",
+    "nextVisitEmptyBodyMarine": "Escolha um dia que lhe dê jeito e diga-nos do que o barco precisa.",
+    "bookVisit": "Marcar uma visita",
+    "requests": "Enviado à oficina",
+    "requestSent": "Enviado: {day}",
+    "requestWaiting": "A aguardar resposta",
+    "requestWishedDay": "dia pretendido: {day}",
+    "messagesLabel": "Mensagens com {workshop}",
+    "messagePreviewFrom": "{name}:",
+    "messagePreviewYou": "Você:",
+    "messagePreviewPhoto": "Foto",
+    "messagePreviewEmpty": "Escreva a {workshop}",
+    "messagePreviewOpen": "Abrir as suas mensagens com {workshop}"
+  },
+  "themes": {
+    "colour": {
+      "stepNow": "Agora",
+      "storedSince": "Guardados desde"
+    },
+    "garage": {
+      "readyAround": "Pronto {day} por volta das",
+      "expectedAt": "Esperado {day} às",
+      "stepDone": "Feito",
+      "stepNow": "Agora",
+      "stepNotYet": "Ainda não",
+      "stepNotYetAround": "Ainda não, por volta das {time}",
+      "tireCar": "Carro",
+      "tireCarMarine": "Barco",
+      "tireMake": "Pneus",
+      "tireSize": "Medida",
+      "tireSet": "Jogo",
+      "tireTread": "Piso restante",
+      "openUntil": "Aberto hoje até às",
+      "opensAt": "Abre hoje às"
+    },
+    "print": {
+      "kicker": "O seu carro",
+      "kickerMarine": "O seu barco",
+      "dateline": "{workshop}, {time}.",
+      "stepDone": "Feito",
+      "stepNow": "Agora",
+      "stepTodo": "Ainda não",
+      "waiting": "À sua espera",
+      "waitingCount": "{count, plural, one {# item} other {# itens}}",
+      "waitingOwed": "{total} por pagar em {invoices}",
+      "colWhat": "O quê",
+      "colDocument": "Documento",
+      "colDeadline": "Prazo",
+      "colAmount": "Valor",
+      "tireCar": "Carro",
+      "tireCarMarine": "Barco",
+      "tireTyre": "Pneu",
+      "tireSize": "Medida",
+      "tireSet": "Jogo",
+      "tireTread": "Piso",
+      "portalLabel": "Portal do cliente",
+      "callWorkshop": "Ligar para a oficina"
+    }
+  },
+  "chat": {
+    "title": "Mensagens",
+    "label": "Mensagens com {workshop}",
+    "subtitle": "{workshop}",
+    "call": "Ligar para {workshop}",
+    "emptyTitle": "Ainda não há mensagens",
+    "emptyBody": "Escreva aqui a {workshop}. A resposta aparece nesta conversa.",
+    "inputLabel": "Escreva uma mensagem a {workshop}",
+    "placeholder": "Escreva a {workshop}",
+    "addPhoto": "Adicionar uma foto",
+    "send": "Enviar",
+    "photo": "Foto de {name}",
+    "you": "Você",
+    "emptyBodyOff": "Não foi escrito nada aqui.",
+    "video": "Vídeo de {name}",
+    "file": "Abrir o ficheiro",
+    "openLarge": "{what}, abrir em tamanho grande",
+    "closeViewer": "Fechar",
+    "today": "Hoje",
+    "yesterday": "Ontem",
+    "seen": "Vista",
+    "sending": "A enviar",
+    "retry": "Tentar novamente",
+    "discard": "Eliminar",
+    "earlier": "Mostrar anteriores",
+    "newBelow": "Nova mensagem",
+    "keysHint": "Enter envia a mensagem. Shift e Enter começa uma nova linha.",
+    "off": "Esta oficina desativou as mensagens. Continua a poder ler o que foi escrito.",
+    "errors": {
+      "notSent": "Não enviada. Verifique a sua ligação.",
+      "chatOff": "Não enviada. A oficina desativou as mensagens.",
+      "tooFast": "Não enviada. Foram muitas mensagens de seguida, aguarde um momento.",
+      "restoring": "Não enviada. A oficina está indisponível por momentos. Tente novamente dentro de alguns minutos."
+    },
+    "upload": {
+      "adding": "A adicionar {name}",
+      "remove": "Remover {name}",
+      "tooMany": "Uma mensagem leva até {count} fotos ou vídeos. Envie estes primeiro.",
+      "tooLarge": "Esse ficheiro é demasiado grande. Funcionam fotos até {photo} MB e vídeos até {video} MB.",
+      "type": "Aqui só pode enviar fotos e vídeos.",
+      "failed": "Não foi possível adicionar um ficheiro. Tente novamente."
+    },
+    "suggestions": {
+      "label": "Ideias para uma primeira mensagem",
+      "call": "Podem ligar-me?",
+      "book": "Gostaria de marcar uma visita.",
+      "invoice": "Tenho uma pergunta sobre a minha fatura."
+    },
+    "events": {
+      "workStarted": "O trabalho no seu {vehicle} começou",
+      "workStartedNoVehicle": "O seu trabalho começou",
+      "update": "Atualização de {workshop}",
+      "updateAbout": "Sobre o seu {vehicle}",
+      "seeUpdate": "Ver a atualização",
+      "quote": "Orçamento",
+      "quoteLine": "Orçamento {title}",
+      "quoteWaiting": "Orçamento à espera da sua resposta",
+      "quotes": "{count} orçamentos",
+      "answerQuote": "Ler e responder",
+      "invoice": "Fatura",
+      "invoiceLine": "Fatura {title}",
+      "invoiceOverdue": "Fatura vencida",
+      "invoices": "{count} faturas",
+      "seeInvoice": "Ver fatura",
+      "jobsStarted": "Começou o trabalho em {count} serviços"
+    }
+  },
+  "messagesPage": {
+    "title": "Mensagens",
+    "offTitle": "As mensagens estão desativadas",
+    "offBody": "Esta oficina não recebe mensagens aqui. Ligue para {phone} ou marque uma visita.",
+    "offBodyNoPhone": "Esta oficina não recebe mensagens aqui. Marque uma visita e escreva do que precisa."
+  },
+  "quoteDetail": {
+    "back": "Voltar aos orçamentos",
+    "title": "Orçamento",
+    "answerLabel": "A sua resposta",
+    "failedToLoad": "Não foi possível carregar este orçamento.",
+    "total": "Total",
+    "number": "Número do orçamento",
+    "date": "Data",
+    "validUntil": "Válido até",
+    "vehicle": "Viatura",
+    "fullQuote": "O orçamento completo",
+    "answerTitle": "A oficina aguarda a sua resposta",
+    "accept": "Aceitar orçamento",
+    "askChanges": "Pedir alterações",
+    "confirmAcceptTitle": "Aceitar este orçamento?",
+    "confirmAcceptBody": "A oficina fica a saber que quer o trabalho feito por este preço.",
+    "confirmAcceptYes": "Sim, aceitar",
+    "cancel": "Cancelar",
+    "changesLabel": "O que gostaria de alterar?",
+    "changesPlaceholder": "Por exemplo: sem as escovas do limpa-para-brisas",
+    "sendChanges": "Enviar à oficina",
+    "answerFailed": "Não foi possível enviar a sua resposta. Tente novamente.",
+    "acceptedTitle": "Aceitou este orçamento",
+    "acceptedBody": "A oficina já foi avisada e vai entrar em contacto consigo.",
+    "changesTitle": "Pediu alterações",
+    "changesBody": "A oficina já foi avisada e vai enviar-lhe um orçamento atualizado."
+  },
+  "inspectionDetail": {
+    "back": "Voltar às inspeções",
+    "title": "Inspeção",
+    "about": "Sobre esta inspeção",
+    "failedToLoad": "Não foi possível carregar esta inspeção.",
+    "vehicle": "Viatura",
+    "vessel": "Embarcação",
+    "doneOn": "Feita a",
+    "startedOn": "Iniciada a",
+    "odometer": "Quilometragem",
+    "engineHours": "Horas de motor",
+    "nextDue": "Próxima inspeção",
+    "certificateNumber": "Número do certificado",
+    "stillWorking": "A oficina ainda está a fazer esta inspeção. Os resultados podem mudar.",
+    "openShared": "Ver fotografias e transferir o relatório",
+    "noResults": "Ainda não há resultados.",
+    "notes": "Notas da oficina"
   }
 }

+ 97 - 44
messages/pt-PT/settings.json

@@ -1699,55 +1699,108 @@
   },
   "portal": {
     "title": "Portal do cliente",
-    "description": "Permita que os seus clientes iniciem sessão e consultem as suas viaturas, faturas, orçamentos e inspeções. Os clientes também podem enviar pedidos de serviço.",
-    "enablePortal": "Ativar portal do cliente",
-    "enablePortalHint": "Os clientes com endereço de e-mail podem iniciar sessão através de um link mágico",
-    "enabled": "Portal do cliente ativado",
-    "disabled": "Portal do cliente desativado",
-    "failedUpdate": "Não foi possível atualizar a definição",
-    "customSlug": "Slug personalizado do portal",
-    "save": "Guardar",
-    "slugSaved": "Slug do portal guardado",
-    "slugRemoved": "Slug do portal removido",
-    "failedUpdateSlug": "Não foi possível atualizar o slug",
-    "slugHint": "Letras minúsculas, números, hífenes e sublinhados. 3-48 caracteres. Deixe em branco para usar o URL predefinido.",
-    "portalUrl": "URL do portal",
-    "urlCopied": "URL do portal copiado",
-    "shareHint": "Partilhe este link com os seus clientes para que possam iniciar sessão no portal.",
+    "description": "Os seus clientes iniciam sessão para acompanhar o trabalho, responder a orçamentos, pagar faturas, marcar uma visita e escrever-lhe.",
+    "enablePortal": "Ativar o portal do cliente",
+    "enablePortalHint": "Os clientes iniciam sessão com um link enviado para o e-mail ou telemóvel. Não há palavra-passe para memorizar.",
+    "failedUpdate": "Não foi possível guardar as definições",
+    "customSlug": "Endereço do portal",
+    "slugHint": "Letras minúsculas, números, hífenes e sublinhados, de 3 a 48 caracteres. Deixe em branco para usar o endereço predefinido.",
+    "portalUrl": "Link do seu portal",
+    "urlCopied": "Link copiado",
+    "shareHint": "Partilhe este link com os seus clientes para que possam iniciar sessão.",
     "serviceRequestAlertsHint": "Os pedidos de serviço feitos no portal aparecem sempre no seu sino de notificações. Também os pode receber por e-mail.",
-    "serviceRequestAlertsLink": "Definições de alertas →",
+    "serviceRequestAlertsLink": "Definições de alertas",
     "descriptionLabel": "Sobre a sua oficina",
     "descriptionPlaceholder": "Fale aos clientes um pouco sobre a sua oficina, os serviços que presta e o que a distingue.",
-    "descriptionHint": "Apresentado aos visitantes no topo da página inicial do seu portal.",
-    "hoursLabel": "Horário de funcionamento",
-    "hoursPlaceholder": "Seg-Sex: 8:00-17:00\nSáb: 9:00-13:00\nDom: Encerrado",
-    "hoursHint": "Texto livre. Use quebras de linha para indicar cada dia separadamente.",
-    "contentSaved": "Conteúdo do portal guardado",
-    "background": {
-      "title": "Fundo do portal",
-      "description": "Escolha o aspeto da página inicial do portal do cliente.",
-      "typeNone": "Nenhum",
-      "typeTemplate": "Modelo",
-      "typeImage": "Imagem personalizada",
-      "chooseTemplate": "Escolha um modelo",
-      "uploadLabel": "Imagem de fundo",
-      "upload": "Carregar imagem",
-      "replace": "Substituir imagem",
-      "remove": "Remover",
-      "uploadHint": "JPG, PNG ou WebP. Máx. 8 MB. Recomenda-se pelo menos 1600×900.",
-      "uploading": "A carregar o fundo…",
-      "uploaded": "Fundo atualizado",
-      "uploadFailed": "Não foi possível carregar o fundo",
-      "templateNames": {
-        "default": "Subtil",
-        "sunrise": "Nascer do sol",
-        "ocean": "Oceano",
-        "forest": "Floresta",
-        "slate": "Ardósia",
-        "sand": "Areia"
+    "descriptionHint": "Mostrado na página de início de sessão do seu portal.",
+    "copyUrl": "Copiar o link"
+  },
+  "customerPortal": {
+    "slugPlaceholder": "a-minha-oficina",
+    "slugUnsaved": "Este endereço funciona depois de guardar.",
+    "slugInvalid": "Use 3 a 48 letras minúsculas, números, hífenes ou sublinhados, a começar e a terminar com uma letra ou um número.",
+    "slugReserved": "Essa palavra está reservada. Escolha outro endereço.",
+    "slugTaken": "Outra oficina já usa esse endereço. Escolha outro.",
+    "hours": {
+      "title": "Horário de funcionamento",
+      "fromCalendar": "O portal mostra o horário de funcionamento e os dias de fecho do calendário da sua oficina.",
+      "link": "Definições do horário de funcionamento",
+      "typedNote": "A sua página de início de sessão ainda mostra o horário escrito aqui anteriormente, porque ainda não há horário de funcionamento definido no calendário. Defina-o lá e o portal passa a mostrar esse.",
+      "typedLabel": "Mostrado hoje na página de início de sessão"
+    },
+    "look": {
+      "title": "Aspeto do seu portal do cliente",
+      "description": "Uma só escolha define a página de início de sessão e todas as páginas que os seus clientes veem depois. Os clientes não a podem alterar."
+    },
+    "theme": {
+      "legend": "Tema",
+      "daylight": {
+        "name": "Daylight",
+        "tagline": "Claro e calmo"
+      },
+      "garage": {
+        "name": "Garage",
+        "tagline": "Painel de box escuro"
+      },
+      "print": {
+        "name": "Print",
+        "tagline": "Editorial e sóbrio"
+      },
+      "colour": {
+        "name": "Colour",
+        "tagline": "A sua cor, em grande"
       }
     },
-    "copyUrl": "Copiar URL do portal"
+    "colour": {
+      "title": "A sua cor",
+      "description": "Usada nos botões e destaques de todos os temas.",
+      "swatches": "Cores sugeridas",
+      "orange": "Laranja",
+      "blue": "Azul",
+      "green": "Verde",
+      "red": "Vermelho",
+      "black": "Preto",
+      "hexLabel": "Cor em código hexadecimal",
+      "invalid": "Isso não é uma cor. Escreva-a como código hexadecimal, por exemplo #1D4ED8.",
+      "usingTheme": "A usar a cor que vem com {theme}, {hex}.",
+      "themeColour": "A cor que vem com {theme} é {hex}.",
+      "useTheme": "Usar a cor do tema",
+      "sample": "Marcar uma visita",
+      "inkLight": "O texto sobre esta cor aparece a branco, para continuar legível.",
+      "inkDark": "O texto sobre esta cor aparece a preto, para continuar legível.",
+      "faint": "Esta cor fica pouco visível no fundo de {theme}. Links e destaques podem ser difíceis de ver."
+    },
+    "cover": {
+      "title": "Foto de capa e logótipo",
+      "description": "Mostrados na página de início de sessão. O seu logótipo vem das definições da empresa.",
+      "companyLink": "Definições da empresa",
+      "hint": "PNG, JPEG ou WebP, até 8 MB.",
+      "none": "Sem foto de capa",
+      "alt": "A foto de capa na página de início de sessão",
+      "upload": "Carregar uma foto",
+      "replace": "Substituir a foto",
+      "remove": "Remover a foto",
+      "uploading": "A carregar",
+      "uploadFailed": "Não foi possível carregar a foto"
+    },
+    "features": {
+      "title": "O que os clientes têm",
+      "description": "As partes do portal que pode desativar.",
+      "messages": "Mensagens no portal",
+      "messagesHint": "Os clientes escrevem-lhe a partir do portal. As mensagens chegam à sua caixa de Mensagens.",
+      "tires": "Mostrar pneus guardados",
+      "tiresHint": "Os clientes veem os pneus que guarda para eles, com a profundidade do piso."
+    },
+    "bar": {
+      "label": "Guardar as definições do portal do cliente",
+      "unsaved": "Tem alterações por guardar",
+      "saved": "Está tudo guardado",
+      "discard": "Descartar alterações",
+      "save": "Guardar alterações",
+      "open": "Abrir o portal como cliente",
+      "openOff": "Ative o portal e guarde para o abrir."
+    },
+    "savedToast": "Definições do portal do cliente guardadas"
   },
   "email": {
     "title": "Fornecedor de e-mail",

+ 3 - 0
messages/ru/audit.json

@@ -81,6 +81,7 @@
     "settings_updateInvoiceLayout": "Обновлён макет счёта",
     "settings_updateQuoteLayout": "Обновлён макет предложения",
     "settings_updatePortalSlug": "Обновлён адрес портала",
+    "settings_updateCustomerPortal": "Обновлены настройки портала клиента",
     "inspectionTemplate_create": "Создан чек-лист осмотра",
     "inspectionTemplate_update": "Обновлён чек-лист осмотра",
     "inspectionTemplate_delete": "Удалён чек-лист осмотра",
@@ -102,6 +103,7 @@
     "statusReport_create": "Создан отчёт о состоянии",
     "statusReport_send": "Отправлен отчёт о состоянии",
     "statusReport_delete": "Удалён отчёт о состоянии",
+    "portal_send": "Отправлено сообщение в портале",
     "telegram_send": "Отправлено сообщение в Telegram",
     "webhook_create": "Создан вебхук",
     "webhook_update": "Обновлён вебхук",
@@ -306,6 +308,7 @@
     "technician_create": "Создан механик «{name}»",
     "technician_delete": "Удалён механик {id}",
     "technician_update": "Обновлён механик {id}",
+    "portal_send": "Отправлено сообщение для {name} в портале клиента",
     "telegram_send": "Сообщение в Telegram отправлено {name}",
     "tire_location_bulk_create": "Создано {count, plural, one {# место хранения шин} few {# места хранения шин} many {# мест хранения шин} other {# места хранения шин}}",
     "tire_location_create": "Создано место хранения шин {code}",

+ 6 - 0
messages/ru/customers.json

@@ -120,6 +120,12 @@
     "saveNotes": "Сохранить заметки",
     "submitted": "Отправлено {date}",
     "preferred": "Предпочтительно: {date}",
+    "preferredMorning": "Предпочтительно: {date}, утром",
+    "preferredAfternoon": "Предпочтительно: {date}, днём",
+    "files": "{count, plural, one {# фото или видео от клиента} few {# фото или видео от клиента} many {# фото или видео от клиента} other {# фото или видео от клиента}}",
+    "openPhoto": "Открыть фото {number}",
+    "openVideo": "Открыть видео {number}",
+    "fileMissing": "Фото {number} больше недоступно",
     "workOrderCreated": "Заказ-наряд создан",
     "workOrderError": "Не удалось создать заказ-наряд",
     "requestDismissed": "Заявка отклонена",

+ 23 - 0
messages/ru/messaging.json

@@ -51,5 +51,28 @@
       "noMatches": "Клиентов по запросу не найдено.",
       "noRecipients": "Пока нет клиентов с адресом эл. почты."
     }
+  },
+  "portal": {
+    "badge": "Портал",
+    "empty": "{name} ещё ничего не писал(а) в портале.",
+    "placeholder": "Написать {name} в портале",
+    "send": "Отправить сообщение",
+    "sendFailed": "Не удалось отправить сообщение",
+    "sendHint": "Enter отправляет, Shift+Enter начинает новую строку. {name} увидит сообщение при следующем входе в портал.",
+    "loadOlder": "Загрузить более ранние сообщения",
+    "loadFailed": "Не удалось загрузить переписку.",
+    "tryAgain": "Повторить",
+    "addPhoto": "Добавить фото",
+    "removePhoto": "Убрать {name}",
+    "uploadFailed": "Не удалось добавить фото. Можно фото до {size} МБ.",
+    "tooManyPhotos": "В одно сообщение помещается до {count} фото.",
+    "photoFrom": "Фото от {name}",
+    "videoFrom": "Видео от {name}",
+    "openFile": "Открыть файл",
+    "you": "Вы",
+    "seen": "Прочитано",
+    "off": "Сообщения в портале клиента отключены, поэтому эту переписку можно читать, но нельзя на неё ответить.",
+    "offSettings": "Настройки портала клиента",
+    "deleteDescription": "Удаляет всю переписку с {name}, в том числе у клиента: она исчезнет из его портала."
   }
 }

+ 486 - 100
messages/ru/portal.json

@@ -12,28 +12,42 @@
     "description": "Используйте прямую ссылку от вашей мастерской для доступа к порталу клиента.",
     "hint": "Ваша мастерская отправит вам ссылку на портал по электронной почте или SMS."
   },
-  "landing": {
-    "contactTitle": "Связаться с нами",
-    "aboutTitle": "О нас",
-    "noContactInfo": "Контактные данные пока недоступны.",
-    "address": "Адрес",
-    "phone": "Телефон",
-    "email": "Электронная почта",
-    "hours": "Часы работы",
-    "directions": "Маршрут"
+  "signIn": {
+    "eyebrow": "Для наших клиентов",
+    "heading": "Ваш автомобиль, счета и сообщения в одном месте.",
+    "headingMarine": "Ваша лодка, счета и сообщения в одном месте.",
+    "headingNoMessages": "Ваш автомобиль, счета и предложения в одном месте.",
+    "headingNoMessagesMarine": "Ваша лодка, счета и предложения в одном месте.",
+    "confirmEyebrow": "Почти готово",
+    "hoursTitle": "Часы работы",
+    "findUs": "Как нас найти",
+    "callUs": "Позвоните нам",
+    "directions": "Маршрут",
+    "dayRange": "{from}–{to}",
+    "timeRange": "{start}–{end}",
+    "closed": "выходной"
   },
   "login": {
-    "signInTitle": "Вход для клиентов",
-    "signInSubtitle": "Войдите, чтобы просмотреть счета, расчёты и историю обслуживания.",
-    "emailLabel": "Адрес эл. почты",
+    "emailLabel": "Ваш адрес эл. почты",
     "emailPlaceholder": "you@example.com",
-    "sendLink": "Отправить ссылку для входа",
+    "sendLink": "Прислать ссылку для входа",
     "checkEmail": "Проверьте почту",
     "checkEmailDescription": "Если аккаунт с таким адресом существует, мы отправили ссылку для входа. Ссылка действительна 15 минут.",
     "tryDifferentEmail": "Попробовать другой адрес",
+    "requestFailed": "Сейчас не удалось отправить. Проверьте подключение и попробуйте ещё раз.",
+    "tooManyTries": "Слишком много попыток за короткое время. Подождите минуту и попробуйте снова.",
+    "tryAgain": "Попробовать ещё раз",
+    "sendNewCode": "Отправить новый код",
+    "newCodeSent": "Мы отправили новый код.",
+    "errors": {
+      "invalid": "Эта ссылка для входа не работает. Запросите новую ниже.",
+      "used": "Эта ссылка для входа уже использована. Запросите новую ниже.",
+      "expired": "Срок действия этой ссылки для входа истёк. Запросите новую ниже.",
+      "noAccount": "Мы не нашли ваш аккаунт. Попросите мастерскую проверить, какой адрес электронной почты у них указан."
+    },
     "tabEmail": "Эл. почта",
     "tabSms": "СМС",
-    "phoneLabel": "Номер телефона",
+    "phoneLabel": "Ваш номер мобильного",
     "phonePlaceholder": "+7 9123456789",
     "phoneLocalPlaceholder": "9123456789",
     "sendCode": "Отправить код",
@@ -48,90 +62,336 @@
     "confirmDescription": "Вы входите как {email}. Нажмите кнопку, чтобы продолжить.",
     "confirmButton": "Продолжить вход",
     "notFound": "Не найдено",
-    "portalNotExist": "Этот портал не существует.",
-    "portalNotAvailable": "Портал недоступен",
-    "portalNotEnabled": "Портал клиента не включён для этой организации."
+    "portalNotExist": "Такой страницы нет.",
+    "portalNotAvailable": "Недоступно",
+    "portalNotEnabled": "Эта мастерская сейчас не предоставляет доступ онлайн.",
+    "noPassword": "Без пароля. Мы пришлём ссылку, по которой вы войдёте.",
+    "noPasswordSms": "Без пароля. Мы пришлём по СМС код, по которому вы войдёте.",
+    "method": "Как войти"
   },
   "nav": {
-    "dashboard": "Панель управления",
-    "vehicles": "Транспортные средства",
+    "label": "Главное меню",
+    "skip": "Перейти к содержимому",
+    "home": "Главная",
+    "messages": "Сообщения",
+    "book": "Записаться",
+    "bookLong": "Записаться на визит",
+    "cars": "Мои автомобили",
+    "carsMarine": "Мои лодки",
+    "papers": "Документы",
+    "papersLong": "Счета и предложения",
+    "unread": "{count, plural, one {# непрочитанное сообщение} few {# непрочитанных сообщения} many {# непрочитанных сообщений} other {# непрочитанного сообщения}}",
+    "documents": "Документы",
     "invoices": "Счета",
     "quotes": "Предложения",
-    "inspections": "Осмотры",
-    "requestService": "Заявка на обслуживание"
+    "inspections": "Осмотры"
   },
   "header": {
-    "signOut": "Выйти",
-    "askShort": "Сервис"
+    "homeLink": "{name}, главная",
+    "account": "Ваш аккаунт, {name}",
+    "signedInAs": "Вы вошли как",
+    "signOut": "Выйти"
+  },
+  "hoursLine": {
+    "openUntil": "Открыто до {time}",
+    "opensAt": "Откроется в {time}",
+    "closedNow": "На сегодня закрыто",
+    "closedToday": "Сегодня закрыто"
+  },
+  "format": {
+    "today": "сегодня",
+    "tomorrow": "завтра"
   },
   "shell": {
     "notFound": "Не найдено",
-    "portalNotExist": "Этот портал не существует.",
-    "portalNotAvailable": "Портал недоступен",
-    "portalNotEnabled": "Портал клиента не включён для этой организации."
+    "portalNotExist": "Такой страницы нет.",
+    "portalNotAvailable": "Недоступно",
+    "portalNotEnabled": "Эта мастерская ещё не открыла страницы для клиентов.",
+    "callWorkshop": "Позвонить {phone}",
+    "openMap": "Открыть {address} на карте",
+    "errorTitle": "Что-то пошло не так",
+    "errorBody": "Не удалось показать эту страницу. Попробуйте ещё раз или вернитесь на главную.",
+    "tryAgain": "Попробовать ещё раз",
+    "pageNotFoundTitle": "Мы не нашли эту страницу",
+    "pageNotFoundBody": "Возможно, ссылка устарела или страница была удалена.",
+    "backHome": "На главную"
   },
-  "dashboard": {
-    "welcome": "Добро пожаловать, {name}",
-    "overview": "Вот обзор вашего аккаунта.",
-    "vehicles": "Транспортные средства",
-    "openInvoices": "Открытые счета",
-    "pendingQuotes": "Ожидающие предложения",
-    "recentInvoices": "Последние счета",
-    "recentQuotes": "Последние предложения",
-    "pendingServiceRequests": "Ожидающие заявки на обслуживание",
-    "viewAll": "Показать все",
-    "newRequest": "Новая заявка",
-    "noInvoicesYet": "Счетов пока нет.",
-    "noQuotesYet": "Предложений пока нет.",
-    "view": "Просмотр",
-    "pending": "Ожидает",
-    "failedToLoad": "Не удалось загрузить панель управления.",
-    "quickRequestService": "Запросить сервис",
-    "quickRequestServiceHint": "Записаться на ремонт или осмотр",
-    "quickViewInvoices": "Ваши счета",
-    "quickViewInvoicesHint": "Счета и история платежей",
-    "quickViewVehicles": "Ваши автомобили",
-    "quickViewVehiclesHint": "История обслуживания и детали",
-    "activeJobs": "Текущие работы"
+  "home": {
+    "failedToLoad": "Не удалось загрузить вашу страницу. Попробуйте чуть позже.",
+    "heroWorkingPromised": "Здравствуйте, {name}. Ваш автомобиль в мастерской, будет готов {day} около {time}.",
+    "heroWorkingPromisedMarine": "Здравствуйте, {name}. Ваша лодка в мастерской, будет готова {day} около {time}.",
+    "heroWorking": "Здравствуйте, {name}. Ваш автомобиль в мастерской.",
+    "heroWorkingMarine": "Здравствуйте, {name}. Ваша лодка в мастерской.",
+    "heroReady": "Здравствуйте, {name}. Ваш автомобиль готов, можно забирать.",
+    "heroReadyMarine": "Здравствуйте, {name}. Ваша лодка готова, можно забирать.",
+    "heroBookedAt": "Здравствуйте, {name}. Ждём ваш автомобиль {day} в {time}.",
+    "heroBookedAtMarine": "Здравствуйте, {name}. Ждём вашу лодку {day} в {time}.",
+    "heroBooked": "Здравствуйте, {name}. Вы записаны на визит.",
+    "heroNothing": "Здравствуйте, {name}. Сейчас в мастерской ничего вашего нет.",
+    "heroNothingBody": "Запишитесь, когда автомобилю понадобится наша помощь. Здесь вы следите за работой шаг за шагом.",
+    "heroNothingBodyMarine": "Запишитесь, когда лодке понадобится наша помощь. Здесь вы следите за работой шаг за шагом.",
+    "stepsLabel": "Как продвигается работа",
+    "stepBooked": "Записан",
+    "stepCheckedIn": "Принят",
+    "stepWorking": "В мастерской",
+    "stepReady": "Готов к выдаче",
+    "latestUpdate": "Новости из мастерской · {when}",
+    "updateFallback": "Мастерская поделилась новостями о работе.",
+    "seeUpdate": "Смотреть фото и видео",
+    "otherJobs": "Также записано или в работе",
+    "jobBookedFor": "Запись на {day}, {time}",
+    "jobReadyAround": "Будет готово {day} около {time}",
+    "needsAnswer": "Ждёт вашего ответа",
+    "validUntil": "Действует до {day}",
+    "quoteNumber": "Предложение {number}",
+    "quote": "Предложение",
+    "readQuote": "Прочитать предложение",
+    "moreQuotes": "{count, plural, one {Ещё # предложение ждёт вашего ответа} few {Ещё # предложения ждут вашего ответа} many {Ещё # предложений ждут вашего ответа} other {Ещё # предложения ждут вашего ответа}}",
+    "toPay": "К оплате",
+    "due": "Оплатить до {day}",
+    "overdueSince": "Просрочен с {day}",
+    "invoiceNumber": "Счёт {number}",
+    "invoice": "Счёт",
+    "payNow": "Оплатить",
+    "seeInvoice": "Посмотреть счёт",
+    "moreInvoices": "{count, plural, one {Ещё # счёт к оплате} few {Ещё # счёта к оплате} many {Ещё # счетов к оплате} other {Ещё # счёта к оплате}}, всего {total}",
+    "paidSoFar": "Оплачено {paid} из {total}",
+    "toPayCount": "{count, plural, one {# счёт} few {# счёта} many {# счетов} other {# счёта}}",
+    "toPayOverdueCount": "Просрочено: {count}",
+    "toPayMostUrgent": "Самый срочный",
+    "toPayNext": "Следующий к оплате",
+    "seeAllInvoices": "Все счета ({count})",
+    "nextStep": "Дальше",
+    "nextStepWorking": "Мы принимаем автомобиль и начинаем работу.",
+    "nextStepWorkingMarine": "Мы принимаем лодку и начинаем работу.",
+    "nextStepReady": "Когда можно будет забирать, вы получите здесь сообщение.",
+    "nextStepReadyNoChat": "Мы сообщим, когда можно будет забирать.",
+    "nextStepCollect": "Приезжайте, когда вам удобно.",
+    "tires": "Сезонное хранение шин",
+    "tiresStoredSummer": "Летние шины на хранении у нас",
+    "tiresStoredWinter": "Зимние шины на хранении у нас",
+    "tiresStoredAllSeason": "Всесезонные шины на хранении у нас",
+    "tiresStoredOther": "Шины на хранении у нас",
+    "tiresSeasonSummer": "Летние шины",
+    "tiresSeasonWinter": "Зимние шины",
+    "tiresSeasonAllSeason": "Всесезонные шины",
+    "tiresSeasonOther": "Шины",
+    "tiresStudded": "шипованные",
+    "tiresOnRims": "на дисках",
+    "tiresStoredSince": "на хранении с {day}",
+    "tiresTreadLeft": "остаток протектора",
+    "tiresTreadLine": "Остаток протектора: {depth}",
+    "tiresNotMeasured": "Протектор ещё не измерен",
+    "tiresCount": "{count, plural, one {# шина} few {# шины} many {# шин} other {# шины}}",
+    "cars": "Мои автомобили",
+    "carsMarine": "Мои лодки",
+    "carVisits": "{count, plural, =0 {визитов пока нет} one {# визит} few {# визита} many {# визитов} other {# визита}}",
+    "carInWorkshop": "В мастерской",
+    "carWarrantyActive": "гарантия действует",
+    "carWarrantyExpiring": "гарантия скоро истекает",
+    "carsEmptyTitle": "Автомобилей пока нет",
+    "carsEmptyTitleMarine": "Лодок пока нет",
+    "carsEmptyBody": "Когда мастерская внесёт ваш автомобиль, здесь появится его история.",
+    "carsEmptyBodyMarine": "Когда мастерская внесёт вашу лодку, здесь появится её история.",
+    "nextVisit": "Следующий визит",
+    "visitWhen": "{day}, {time}",
+    "directions": "Маршрут",
+    "nextVisitEmptyTitle": "Визит не запланирован",
+    "nextVisitEmptyBody": "Выберите удобный день и напишите, что нужно автомобилю.",
+    "nextVisitEmptyBodyMarine": "Выберите удобный день и напишите, что нужно лодке.",
+    "bookVisit": "Записаться",
+    "requests": "Отправлено в мастерскую",
+    "requestSent": "Отправлено {day}",
+    "requestWaiting": "Ждёт ответа",
+    "requestWishedDay": "желаемый день: {day}",
+    "messagesLabel": "Сообщения: {workshop}",
+    "messagePreviewFrom": "{name}:",
+    "messagePreviewYou": "Вы:",
+    "messagePreviewPhoto": "Фото",
+    "messagePreviewEmpty": "Написать: {workshop}",
+    "messagePreviewOpen": "Открыть переписку: {workshop}"
+  },
+  "themes": {
+    "colour": {
+      "stepNow": "Сейчас",
+      "storedSince": "На хранении с"
+    },
+    "garage": {
+      "readyAround": "Будет готово {day} около",
+      "expectedAt": "Ждём {day} в",
+      "stepDone": "Готово",
+      "stepNow": "Сейчас",
+      "stepNotYet": "Ещё нет",
+      "stepNotYetAround": "Ещё нет, около {time}",
+      "tireCar": "Автомобиль",
+      "tireCarMarine": "Лодка",
+      "tireMake": "Шины",
+      "tireSize": "Размер",
+      "tireSet": "Комплект",
+      "tireTread": "Остаток протектора",
+      "openUntil": "Сегодня открыто до",
+      "opensAt": "Сегодня откроется в"
+    },
+    "print": {
+      "kicker": "Ваш автомобиль",
+      "kickerMarine": "Ваша лодка",
+      "dateline": "{workshop}, {time}.",
+      "stepDone": "Готово",
+      "stepNow": "Сейчас",
+      "stepTodo": "Ещё нет",
+      "waiting": "Ждёт вас",
+      "waitingCount": "{count, plural, one {# пункт} few {# пункта} many {# пунктов} other {# пункта}}",
+      "waitingOwed": "{total} к оплате ({invoices})",
+      "colWhat": "Что",
+      "colDocument": "Документ",
+      "colDeadline": "Срок",
+      "colAmount": "Сумма",
+      "tireCar": "Автомобиль",
+      "tireCarMarine": "Лодка",
+      "tireTyre": "Шина",
+      "tireSize": "Размер",
+      "tireSet": "Комплект",
+      "tireTread": "Протектор",
+      "portalLabel": "Портал клиента",
+      "callWorkshop": "Позвонить в мастерскую"
+    }
+  },
+  "chat": {
+    "title": "Сообщения",
+    "label": "Сообщения: {workshop}",
+    "subtitle": "{workshop}",
+    "call": "Позвонить: {workshop}",
+    "emptyTitle": "Сообщений пока нет",
+    "emptyBody": "Напишите здесь ({workshop}). Ответ появится в этой переписке.",
+    "inputLabel": "Написать сообщение ({workshop})",
+    "placeholder": "Написать: {workshop}",
+    "addPhoto": "Добавить фото",
+    "send": "Отправить",
+    "photo": "Фото от {name}",
+    "you": "Вы",
+    "emptyBodyOff": "Здесь ничего не написано.",
+    "video": "Видео от {name}",
+    "file": "Открыть файл",
+    "openLarge": "{what}, открыть в полном размере",
+    "closeViewer": "Закрыть",
+    "today": "Сегодня",
+    "yesterday": "Вчера",
+    "seen": "Прочитано",
+    "sending": "Отправка",
+    "retry": "Повторить",
+    "discard": "Удалить",
+    "earlier": "Показать предыдущие",
+    "newBelow": "Новое сообщение",
+    "keysHint": "Enter отправляет сообщение. Shift и Enter начинают новую строку.",
+    "off": "Эта мастерская отключила сообщения. Написанное по-прежнему можно прочитать.",
+    "errors": {
+      "notSent": "Не отправлено. Проверьте подключение.",
+      "chatOff": "Не отправлено. Мастерская отключила сообщения.",
+      "tooFast": "Не отправлено. Слишком много сообщений сразу, подождите немного.",
+      "restoring": "Не отправлено. Мастерская ненадолго недоступна. Повторите попытку через несколько минут."
+    },
+    "upload": {
+      "adding": "Добавляется: {name}",
+      "remove": "Убрать {name}",
+      "tooMany": "В одно сообщение помещается до {count} фото или видео. Сначала отправьте эти.",
+      "tooLarge": "Файл слишком большой. Фото можно до {photo} МБ, видео до {video} МБ.",
+      "type": "Здесь можно отправлять только фото и видео.",
+      "failed": "Не удалось добавить файл. Попробуйте ещё раз."
+    },
+    "suggestions": {
+      "label": "Идеи для первого сообщения",
+      "call": "Можете мне перезвонить?",
+      "book": "Хочу записаться на визит.",
+      "invoice": "У меня вопрос по счёту."
+    },
+    "events": {
+      "workStarted": "Начаты работы: {vehicle}",
+      "workStartedNoVehicle": "Работы по вашему заказу начаты",
+      "update": "Новости от {workshop}",
+      "updateAbout": "Касается: {vehicle}",
+      "seeUpdate": "Посмотреть новости",
+      "quote": "Предложение",
+      "quoteLine": "Предложение {title}",
+      "quoteWaiting": "Предложение ждёт вашего ответа",
+      "quotes": "Предложения: {count}",
+      "answerQuote": "Прочитать и ответить",
+      "invoice": "Счёт",
+      "invoiceLine": "Счёт {title}",
+      "invoiceOverdue": "Счёт просрочен",
+      "invoices": "Счета: {count}",
+      "seeInvoice": "Посмотреть счёт",
+      "jobsStarted": "Начаты работы, заказов: {count}"
+    }
+  },
+  "messagesPage": {
+    "title": "Сообщения",
+    "offTitle": "Сообщения отключены",
+    "offBody": "Эта мастерская не принимает здесь сообщения. Позвоните по номеру {phone} или запишитесь на визит.",
+    "offBodyNoPhone": "Эта мастерская не принимает здесь сообщения. Запишитесь на визит и напишите, что вам нужно."
   },
   "invoices": {
     "title": "Счета",
-    "description": "Все ваши счета за обслуживание.",
+    "description": "Счета за работы, которые мастерская уже выполнила.",
     "noInvoices": "Счетов пока нет.",
-    "failedToLoad": "Не удалось загрузить счета.",
+    "noInvoicesHint": "Когда мастерская закончит работу, здесь появится счёт.",
+    "failedToLoad": "Не удалось загрузить ваши счета. Попробуйте чуть позже.",
     "invoice": "Счёт",
+    "invoiceNumber": "Счёт {number}",
     "vehicle": "Транспортное средство",
     "date": "Дата",
     "amount": "Сумма",
     "payment": "Оплата",
     "view": "Просмотр",
     "download": "Скачать",
+    "downloadPdf": "Скачать PDF",
     "downloadCertificate": "Скачать заключение осмотра",
-    "paid": "оплачено",
-    "partial": "частично",
-    "unpaid": "не оплачено",
+    "paid": "Оплачен",
+    "partial": "Оплачен частично",
+    "unpaid": "Не оплачен",
+    "overdue": "Просрочен",
+    "toPayTitle": "Осталось оплатить",
+    "toPayCount": "{count, plural, one {по # счёту} few {по # счетам} many {по # счетам} other {по # счёта}}",
+    "toPayNextDue": "Ближайший срок: {date}",
+    "toPayOpen": "Посмотреть и оплатить: {invoice}",
+    "toPayOpenNoPay": "Открыть: {invoice}",
+    "nothingToPay": "Оплачивать нечего",
+    "nothingToPayBody": "Все счета оплачены.",
+    "leftToPay": "Осталось оплатить {amount}",
+    "dueOn": "Оплатить до {date}",
     "back": "Назад к счетам",
-    "openShared": "Открыть общедоступную копию"
+    "payOnline": "Оплатить онлайн",
+    "summaryTotal": "Итого",
+    "summaryPaid": "Оплачено",
+    "summaryLeft": "Осталось оплатить",
+    "summaryDue": "Срок оплаты",
+    "summaryDate": "Дата",
+    "fullInvoice": "Полный счёт"
   },
   "quotes": {
     "title": "Предложения",
-    "description": "Предложения и сметы для ваших транспортных средств.",
+    "description": "Цены, которые мастерская прислала вам до начала работ.",
     "noQuotes": "Предложений пока нет.",
-    "failedToLoad": "Не удалось загрузить предложения.",
+    "noQuotesHint": "Когда мастерская пришлёт вам цену на работы, она появится здесь.",
+    "failedToLoad": "Не удалось загрузить ваши предложения. Попробуйте чуть позже.",
     "quote": "Предложение",
     "vehicle": "Транспортное средство",
     "status": "Статус",
     "amount": "Сумма",
-    "validUntil": "Действительно до",
+    "validUntil": "Действует до",
+    "validUntilDate": "Действует до {date}",
+    "waitingTitle": "Ждёт вашего ответа",
+    "waitingNone": "Нет предложений, которые ждут вашего ответа.",
+    "waitingAnswer": "Прочитать и ответить",
     "view": "Просмотр"
   },
   "inspections": {
     "title": "Осмотры",
-    "description": "Отчёты осмотров транспортных средств.",
+    "description": "Отчёты о проверках вашего автомобиля в мастерской.",
     "noInspections": "Осмотров пока нет.",
-    "failedToLoad": "Не удалось загрузить осмотры.",
+    "noInspectionsHint": "Когда мастерская закончит осмотр, здесь появится отчёт.",
+    "failedToLoad": "Не удалось загрузить ваши осмотры. Попробуйте чуть позже.",
     "vehicle": "Транспортное средство",
-    "template": "Чек-лист",
+    "template": "Осмотр",
     "status": "Статус",
     "date": "Дата",
     "summary": "Итоги",
@@ -141,31 +401,49 @@
     "poor": "{count} плохо"
   },
   "vehicles": {
-    "title": "Транспортные средства",
-    "description": "Ваши зарегистрированные транспортные средства.",
-    "noVehicles": "Транспортные средства не найдены.",
-    "failedToLoad": "Не удалось загрузить транспортные средства.",
+    "title": "Ваши автомобили",
+    "titleMarine": "Ваши лодки",
+    "description": "Автомобили, которые мастерская записала на вас.",
+    "descriptionMarine": "Лодки, которые мастерская записала на вас.",
+    "noVehicles": "Автомобилей пока нет.",
+    "noVehiclesMarine": "Лодок пока нет.",
+    "noVehiclesHint": "Запишитесь на визит и расскажите о своём автомобиле. Мы добавим его сюда.",
+    "noVehiclesHintMarine": "Запишитесь на визит и расскажите о своей лодке. Мы добавим её сюда.",
+    "back": "Назад к моим автомобилям",
+    "backMarine": "Назад к моим лодкам",
+    "about": "Об этом автомобиле",
+    "aboutMarine": "Об этой лодке",
+    "failedToLoad": "Не удалось загрузить ваши автомобили. Попробуйте чуть позже.",
+    "failedToLoadMarine": "Не удалось загрузить ваши лодки. Попробуйте чуть позже.",
     "plate": "Госномер: {plate}",
+    "plateMarine": "Рег. номер: {plate}",
     "vin": "VIN: {vin}",
+    "vinMarine": "HIN: {vin}",
     "typeKey": "HSN/TSN: {typeKey}",
-    "serviceCount": "{count, plural, one {# обслуживание} few {# обслуживания} other {# обслуживаний}}",
+    "distanceKm": "{value} км",
+    "distanceMi": "{value} миль",
+    "engineHours": "{value} моточ.",
+    "serviceCount": "{count, plural, one {# визит} few {# визита} many {# визитов} other {# визита}}",
     "inspectionCount": "{count, plural, one {# осмотр} few {# осмотра} other {# осмотров}}",
     "serviceHistory": "История обслуживания ({count})",
     "inspectionsTab": "Осмотры ({count})",
-    "noServiceRecords": "Записей обслуживания пока нет.",
+    "noServiceRecords": "Работ пока не записано.",
     "noInspections": "Осмотров пока нет.",
-    "vehicleNotFound": "Транспортное средство не найдено.",
+    "vehicleNotFound": "Мы не нашли это транспортное средство.",
     "completed": "Завершено {date}",
     "good": "{count} норма",
     "fair": "{count} удовл.",
     "poor": "{count} плохо",
     "view": "Просмотр",
-    "serviceHistoryTitle": "История обслуживания",
-    "inspectionsTitle": "Осмотры",
     "columnVehicle": "Автомобиль",
+    "columnVehicleMarine": "Лодка",
     "columnPlate": "Госномер",
-    "columnServices": "Обслуживания",
+    "columnPlateMarine": "Рег. номер",
+    "columnServices": "Визиты",
     "columnInspections": "Осмотры",
+    "warrantyActive": "Гарантия действует",
+    "warrantyExpiring": "Гарантия скоро истекает",
+    "warrantyExpired": "Гарантия истекла",
     "reportSold": "Этот автомобиль больше не мой",
     "reportSoldHint": "Мы сообщим мастерской, чтобы она перестала присылать напоминания о нём. Ваша история сохранится.",
     "reportSoldConfirm": "Да, сообщить мастерской",
@@ -174,36 +452,99 @@
     "reportSoldFailed": "Сейчас отправить не удалось",
     "reportSoldAlready": "Вы сообщили мастерской, что этот автомобиль больше не ваш."
   },
-  "requestService": {
-    "title": "Заявка на обслуживание",
-    "description": "Отправьте заявку на обслуживание одного из ваших транспортных средств.",
-    "newServiceRequest": "Новая заявка на обслуживание",
-    "formDescription": "Опишите проблему, и мы свяжемся с вами.",
-    "vehicleLabel": "Транспортное средство",
-    "vehiclePlaceholder": "Выберите транспортное средство",
-    "descriptionLabel": "Опишите проблему",
-    "descriptionPlaceholder": "Что случилось с вашим транспортным средством?",
-    "preferredDate": "Предпочтительная дата",
-    "preferredDateOptional": "(необязательно)",
-    "submitRequest": "Отправить заявку",
-    "selectVehicle": "Пожалуйста, выберите транспортное средство",
-    "describeIssue": "Пожалуйста, опишите проблему",
-    "submitSuccess": "Заявка на обслуживание отправлена",
-    "submitError": "Не удалось отправить заявку",
-    "noVehicles": "У вас нет зарегистрированных транспортных средств. Свяжитесь с нами для добавления транспортного средства.",
-    "yourRequests": "Ваши заявки на обслуживание",
-    "failedToLoad": "Не удалось загрузить данные.",
-    "staffNotes": "Заметки персонала: {notes}",
-    "preferred": "Предпочтительно: {date}",
-    "notListedOption": "Моего автомобиля нет в списке",
-    "newVehicleHint": "Расскажите об автомобиле — мы добавим его в ваш профиль.",
-    "fillVehicleDetails": "Укажите марку и модель автомобиля",
+  "book": {
+    "title": "Записаться на визит",
+    "description": "Расскажите, что нужно. Мы свяжемся с вами и предложим время.",
+    "descriptionMessages": "Расскажите, что нужно. Мы ответим здесь, в Сообщениях, и предложим время.",
+    "failedToLoad": "Не удалось загрузить эту страницу. Попробуйте чуть позже.",
+    "whichVehicle": "Какой автомобиль?",
+    "whichVehicleMarine": "Какая лодка?",
+    "anotherVehicle": "Другой автомобиль",
+    "anotherVehicleMarine": "Другая лодка",
+    "inWorkshopNow": "сейчас в мастерской",
+    "selectVehicle": "Выберите, о каком транспорте речь",
+    "newVehicleHint": "Расскажите о нём, и мы добавим его в ваш профиль.",
     "makeLabel": "Марка",
-    "makePlaceholder": "напр., Ford",
+    "makePlaceholder": "напр. Ford",
     "modelLabel": "Модель",
-    "modelPlaceholder": "напр., Kuga",
-    "yearLabel": "Год выпуска",
-    "plateLabel": "Госномер"
+    "modelPlaceholder": "напр. Kuga",
+    "yearLabel": "Год",
+    "plateLabel": "Госномер",
+    "plateLabelMarine": "Регистрационный номер",
+    "fillMake": "Укажите марку",
+    "fillModel": "Укажите модель",
+    "invalidYear": "Укажите год от {min} до {max}",
+    "optional": "(необязательно)",
+    "whatNeeded": "Что нужно сделать?",
+    "topics": {
+      "service": "ТО",
+      "inspection": "Осмотр",
+      "tires": "Шиномонтаж",
+      "brakes": "Тормоза",
+      "problem": "Что-то не так"
+    },
+    "descriptionLabel": "Опишите своими словами",
+    "descriptionPlaceholder": "Например: стук спереди слева на неровностях, сильнее, пока машина не прогрелась",
+    "descriptionPlaceholderMarine": "Например: двигатель плохо заводится на холодную",
+    "describeIssue": "Выберите, что нужно, выше или опишите в нескольких словах",
+    "filesLabel": "Фото или короткое видео",
+    "filesCount": "Добавлено {count} из {max}",
+    "filesLimits": "фото до {photo} МБ, видео до {video} МБ",
+    "filesAdd": "Добавить фото или видео",
+    "filesDrop": "Перетащите файлы сюда или выберите их на этом компьютере",
+    "filesCamera": "Сделать фото",
+    "filesTooMany": "Можно добавить не больше {max} файлов. Уберите один, чтобы добавить другой.",
+    "filesStillUploading": "Дождитесь окончания загрузки файлов, затем отправьте.",
+    "filesFailed": "Один файл не загрузился. Попробуйте ещё раз или уберите его, затем отправьте.",
+    "fileUploading": "Загружается: {name}",
+    "fileReady": "{name}, добавлен",
+    "fileRemove": "Убрать {name}",
+    "fileRetry": "Повторить",
+    "fileType": "{name}: это не фото и не видео, которое мы можем принять.",
+    "fileEmpty": "{name}: файл пустой.",
+    "fileTooLarge": "{name}: файл слишком большой.",
+    "fileTooMany": "Слишком много файлов сразу. Подождите несколько минут и попробуйте снова.",
+    "fileSignedOut": "Вы вышли из аккаунта. Войдите снова, чтобы добавить файлы.",
+    "fileNetwork": "Во время загрузки пропало соединение.",
+    "fileFailed": "Этот файл не загрузился.",
+    "dayLabel": "Удобный день",
+    "pastDate": "Выберите сегодняшний или более поздний день",
+    "timeLabel": "Время суток",
+    "timeHint": "Сначала выберите день, затем удобное время.",
+    "time": {
+      "any": "Любое время",
+      "morning": "Утро",
+      "afternoon": "День"
+    },
+    "timeLower": {
+      "morning": "утром",
+      "afternoon": "днём"
+    },
+    "closedDaysHint": "Закрыто в эти дни:",
+    "send": "Отправить: {workshop}",
+    "sendHint": "Ничего не забронировано, пока мастерская не подтвердит время.",
+    "submitError": "Сейчас не удалось отправить. Попробуйте чуть позже.",
+    "sentTitle": "Отправлено: {workshop}",
+    "sentBody": "Мастерская прочитает вашу заявку и посмотрит, что вы прислали. Ответ со временем придёт в Сообщения.",
+    "sentBodyNoMessages": "Мастерская прочитает вашу заявку, посмотрит, что вы прислали, и свяжется с вами, чтобы предложить время. Следить можно на этой странице.",
+    "sentMessages": "Перейти в Сообщения",
+    "sentHome": "На главную",
+    "sentAnother": "Попросить о другом",
+    "nextTitle": "Что будет дальше",
+    "nextRead": "Мы читаем вашу заявку и смотрим фото.",
+    "nextAnswerMessages": "Отвечаем в Сообщениях, предлагаем время и, если нужно, предложение по цене.",
+    "nextAnswer": "Связываемся с вами, предлагаем время и, если нужно, предложение по цене.",
+    "nextVisit": "Визит появится на вашей главной странице с днём и временем.",
+    "talkTitle": "Удобнее поговорить?",
+    "talkCall": "Позвоните {phone}",
+    "yourRequests": "Ваши заявки",
+    "sentOn": "Отправлено {date}",
+    "preferred": "Желаемая дата: {date}",
+    "staffNotes": "Комментарий мастерской: {notes}",
+    "requestFiles": "{count, plural, one {# файл от вас} few {# файла от вас} many {# файлов от вас} other {# файла от вас}}",
+    "requestPhoto": "Открыть фото",
+    "requestVideo": "Открыть видео",
+    "requestFileMissing": "Это фото больше недоступно"
   },
   "booking": {
     "title": "Запишитесь на техосмотр",
@@ -248,6 +589,51 @@
     "confirmationBody": "Ваш {vehicle} записан на {when} в {workshop}. Нужно изменить? Воспользуйтесь ссылкой из предыдущего сообщения или позвоните {phone}.",
     "confirmationBodyRequest": "Спасибо, {workshop} получила ваш запрос на {when} для {vehicle} и скоро подтвердит. Вопросы? Звоните {phone}."
   },
+  "quoteDetail": {
+    "back": "Назад к предложениям",
+    "title": "Предложение",
+    "answerLabel": "Ваш ответ",
+    "failedToLoad": "Не удалось загрузить это предложение.",
+    "total": "Итого",
+    "number": "Номер предложения",
+    "date": "Дата",
+    "validUntil": "Действует до",
+    "vehicle": "Транспортное средство",
+    "fullQuote": "Полное предложение",
+    "answerTitle": "Мастерская ждёт вашего ответа",
+    "accept": "Принять предложение",
+    "askChanges": "Попросить изменения",
+    "confirmAcceptTitle": "Принять это предложение?",
+    "confirmAcceptBody": "Мастерская узнает, что вы согласны на работы по этой цене.",
+    "confirmAcceptYes": "Да, принять",
+    "cancel": "Отмена",
+    "changesLabel": "Что бы вы хотели изменить?",
+    "changesPlaceholder": "Например: без щёток стеклоочистителя",
+    "sendChanges": "Отправить в мастерскую",
+    "answerFailed": "Не удалось отправить ваш ответ. Попробуйте ещё раз.",
+    "acceptedTitle": "Вы приняли это предложение",
+    "acceptedBody": "Мастерская получила ваш ответ и свяжется с вами.",
+    "changesTitle": "Вы попросили изменения",
+    "changesBody": "Мастерская получила ваш ответ и пришлёт обновлённое предложение."
+  },
+  "inspectionDetail": {
+    "back": "Назад к осмотрам",
+    "title": "Осмотр",
+    "about": "Об этом осмотре",
+    "failedToLoad": "Не удалось загрузить этот осмотр.",
+    "vehicle": "Транспортное средство",
+    "vessel": "Судно",
+    "doneOn": "Проведён",
+    "startedOn": "Начат",
+    "odometer": "Пробег",
+    "engineHours": "Моточасы",
+    "nextDue": "Следующий осмотр",
+    "certificateNumber": "Номер заключения",
+    "stillWorking": "Мастерская ещё проводит этот осмотр. Результаты могут измениться.",
+    "openShared": "Посмотреть фото и скачать отчёт",
+    "noResults": "Результатов пока нет.",
+    "notes": "Комментарии мастерской"
+  },
   "status": {
     "job": {
       "pending": "Записан",
@@ -257,7 +643,7 @@
       "completed": "Завершён"
     },
     "request": {
-      "pending": "Ожидает",
+      "pending": "Ждёт ответа",
       "converted": "Записана",
       "dismissed": "Закрыта",
       "cancelled": "Отменена"

+ 100 - 47
messages/ru/settings.json

@@ -1699,55 +1699,108 @@
   },
   "portal": {
     "title": "Портал клиента",
-    "description": "Позвольте клиентам входить в систему и просматривать свои транспортные средства, счета, предложения и осмотры. Клиенты также могут отправлять заявки на обслуживание.",
+    "description": "Клиенты входят в портал, чтобы следить за своим заказом, отвечать на предложения, оплачивать счета, записываться на визит и писать вам.",
     "enablePortal": "Включить портал клиента",
-    "enablePortalHint": "Клиенты с адресом эл. почты могут войти по волшебной ссылке",
-    "enabled": "Портал клиента включён",
-    "disabled": "Портал клиента отключён",
-    "failedUpdate": "Не удалось обновить настройку",
-    "customSlug": "Пользовательский адрес портала",
-    "save": "Сохранить",
-    "slugSaved": "Адрес портала сохранён",
-    "slugRemoved": "Адрес портала удалён",
-    "failedUpdateSlug": "Не удалось обновить адрес",
-    "slugHint": "Строчные буквы, цифры, дефисы и символы подчёркивания. 3-48 символов. Оставьте пустым для использования URL по умолчанию.",
-    "portalUrl": "URL портала",
-    "urlCopied": "URL портала скопирован",
-    "shareHint": "Поделитесь этой ссылкой с клиентами, чтобы они могли войти в свой портал.",
+    "enablePortalHint": "Клиенты входят по ссылке, отправленной на почту или телефон. Пароль запоминать не нужно.",
+    "failedUpdate": "Не удалось сохранить настройки",
+    "customSlug": "Адрес портала",
+    "slugHint": "Строчные буквы, цифры, дефисы и подчёркивания, от 3 до 48 символов. Оставьте пустым, чтобы использовать адрес по умолчанию.",
+    "portalUrl": "Ссылка на ваш портал",
+    "urlCopied": "Ссылка скопирована",
+    "shareHint": "Поделитесь этой ссылкой с клиентами, чтобы они могли войти.",
     "serviceRequestAlertsHint": "Заявки на обслуживание из портала всегда появляются в колокольчике уведомлений. Вы также можете получать их по электронной почте.",
-    "serviceRequestAlertsLink": "Настройки уведомлений →",
+    "serviceRequestAlertsLink": "Настройки уведомлений",
     "descriptionLabel": "О вашей мастерской",
     "descriptionPlaceholder": "Расскажите клиентам о своей мастерской, услугах и о том, что делает вас уникальными.",
-    "descriptionHint": "Отображается посетителям в верхней части главной страницы портала.",
-    "hoursLabel": "Часы работы",
-    "hoursPlaceholder": "Пн-Пт: 8:00-17:00\nСб: 9:00-13:00\nВс: Выходной",
-    "hoursHint": "Свободный текст. Используйте переносы строк, чтобы перечислить каждый день отдельно.",
-    "contentSaved": "Содержимое портала сохранено",
-    "background": {
-      "title": "Фон портала",
-      "description": "Выберите внешний вид главной страницы клиентского портала.",
-      "typeNone": "Нет",
-      "typeTemplate": "Шаблон",
-      "typeImage": "Своё изображение",
-      "chooseTemplate": "Выберите шаблон",
-      "uploadLabel": "Фоновое изображение",
-      "upload": "Загрузить изображение",
-      "replace": "Заменить изображение",
-      "remove": "Удалить",
-      "uploadHint": "JPG, PNG или WebP. Макс. 8 МБ. Рекомендуется минимум 1600×900.",
-      "uploading": "Загрузка фона…",
-      "uploaded": "Фон обновлён",
-      "uploadFailed": "Не удалось загрузить фон",
-      "templateNames": {
-        "default": "Сдержанный",
-        "sunrise": "Рассвет",
-        "ocean": "Океан",
-        "forest": "Лес",
-        "slate": "Сланец",
-        "sand": "Песок"
+    "descriptionHint": "Показывается на странице входа в ваш портал.",
+    "copyUrl": "Скопировать ссылку"
+  },
+  "customerPortal": {
+    "slugPlaceholder": "moya-masterskaya",
+    "slugUnsaved": "Этот адрес заработает после сохранения.",
+    "slugInvalid": "Используйте от 3 до 48 строчных букв, цифр, дефисов или подчёркиваний; в начале и в конце должна быть буква или цифра.",
+    "slugReserved": "Это слово зарезервировано. Выберите другой адрес.",
+    "slugTaken": "Этот адрес уже занят другой мастерской. Выберите другой.",
+    "hours": {
+      "title": "Часы работы",
+      "fromCalendar": "Портал показывает часы работы и выходные дни из календаря вашей мастерской.",
+      "link": "Настройки часов работы",
+      "typedNote": "Страница входа всё ещё показывает часы, введённые здесь раньше, потому что в календаре часы работы пока не заданы. Задайте их там, и портал будет показывать их.",
+      "typedLabel": "Сейчас показано на странице входа"
+    },
+    "look": {
+      "title": "Внешний вид портала клиента",
+      "description": "Один выбор задаёт страницу входа и все страницы, которые клиенты видят после неё. Клиенты не могут его изменить."
+    },
+    "theme": {
+      "legend": "Тема",
+      "daylight": {
+        "name": "Daylight",
+        "tagline": "Светлая и спокойная"
+      },
+      "garage": {
+        "name": "Garage",
+        "tagline": "Тёмное табло боксов"
+      },
+      "print": {
+        "name": "Print",
+        "tagline": "Как газета, сдержанная"
+      },
+      "colour": {
+        "name": "Colour",
+        "tagline": "Ваш цвет, крупно"
       }
     },
-    "copyUrl": "Копировать URL портала"
+    "colour": {
+      "title": "Ваш цвет",
+      "description": "Используется для кнопок и акцентов в каждой теме.",
+      "swatches": "Предлагаемые цвета",
+      "orange": "Оранжевый",
+      "blue": "Синий",
+      "green": "Зелёный",
+      "red": "Красный",
+      "black": "Чёрный",
+      "hexLabel": "Цвет в виде hex-кода",
+      "invalid": "Это не цвет. Укажите его hex-кодом, например #1D4ED8.",
+      "usingTheme": "Используется цвет темы {theme}, {hex}.",
+      "themeColour": "Цвет темы {theme}: {hex}.",
+      "useTheme": "Использовать цвет темы",
+      "sample": "Записаться на визит",
+      "inkLight": "Текст на этом цвете выводится белым, чтобы оставаться читаемым.",
+      "inkDark": "Текст на этом цвете выводится чёрным, чтобы оставаться читаемым.",
+      "faint": "Этот цвет плохо заметен на фоне темы {theme}. Ссылки и акценты может быть трудно разглядеть."
+    },
+    "cover": {
+      "title": "Обложка и логотип",
+      "description": "Показываются на странице входа. Логотип берётся из настроек компании.",
+      "companyLink": "Настройки компании",
+      "hint": "PNG, JPEG или WebP, до 8 МБ.",
+      "none": "Обложки нет",
+      "alt": "Обложка на странице входа",
+      "upload": "Загрузить фото",
+      "replace": "Заменить фото",
+      "remove": "Удалить фото",
+      "uploading": "Загрузка",
+      "uploadFailed": "Не удалось загрузить фото"
+    },
+    "features": {
+      "title": "Что получают клиенты",
+      "description": "Части портала, которые можно отключить.",
+      "messages": "Сообщения в портале",
+      "messagesHint": "Клиенты пишут вам из портала. Их сообщения попадают во входящие в разделе Сообщения.",
+      "tires": "Показывать шины на хранении",
+      "tiresHint": "Клиенты видят шины, которые вы для них храните, с глубиной протектора."
+    },
+    "bar": {
+      "label": "Сохранить настройки портала клиента",
+      "unsaved": "Есть несохранённые изменения",
+      "saved": "Всё сохранено",
+      "discard": "Отменить изменения",
+      "save": "Сохранить изменения",
+      "open": "Открыть портал как клиент",
+      "openOff": "Включите портал и сохраните, чтобы открыть его."
+    },
+    "savedToast": "Настройки портала клиента сохранены"
   },
   "email": {
     "title": "Провайдер эл. почты",
@@ -1989,13 +2042,13 @@
     "noMembers": "Участники команды не найдены",
     "addRecipient": "Добавить получателя...",
     "searchMembers": "Поиск участников...",
-    "sendNow": "Отправить сейчас",
-    "sentNow": "Отчёт успешно отправлен",
     "newSchedule": "Новое расписание",
     "editSchedule": "Редактировать расписание",
     "edit": "Редактировать",
     "cancel": "Отмена",
     "sent": "отправлено",
+    "sendNow": "Отправить сейчас",
+    "sentNow": "Отчёт успешно отправлен",
     "emptyTitle": "Нет запланированных отчётов",
     "emptyDescription": "Создайте расписание для автоматической генерации и отправки отчётов вашей команде.",
     "sectionLabels": {
@@ -2847,9 +2900,9 @@
       "uploading": "Загрузка…",
       "width": "Ширина логотипа",
       "hint": "Не зависит от логотипа компании. При загрузке обрезается и подготавливается для письма. PNG, JPEG или WebP до 4 МБ.",
-      "position": "Положение",
       "tooLarge": "Изображение должно быть меньше 4 МБ",
-      "uploadFailed": "Не удалось загрузить логотип"
+      "uploadFailed": "Не удалось загрузить логотип",
+      "position": "Положение"
     },
     "image": {
       "empty": "Изображение не загружено. Блок ничего не печатает, пока его нет.",

+ 3 - 0
messages/tr/audit.json

@@ -81,6 +81,7 @@
     "settings_updateInvoiceLayout": "Fatura düzeni güncellendi",
     "settings_updateQuoteLayout": "Teklif düzeni güncellendi",
     "settings_updatePortalSlug": "Portal URL güncellendi",
+    "settings_updateCustomerPortal": "Müşteri portalı ayarları güncellendi",
     "inspectionTemplate_create": "Muayene kontrol listesi oluşturuldu",
     "inspectionTemplate_update": "Muayene kontrol listesi güncellendi",
     "inspectionTemplate_delete": "Muayene kontrol listesi silindi",
@@ -102,6 +103,7 @@
     "statusReport_create": "Durum raporu oluşturuldu",
     "statusReport_send": "Durum raporu gönderildi",
     "statusReport_delete": "Durum raporu silindi",
+    "portal_send": "Portal mesajı gönderildi",
     "telegram_send": "Telegram mesajı gönderildi",
     "webhook_create": "Webhook oluşturuldu",
     "webhook_update": "Webhook güncellendi",
@@ -306,6 +308,7 @@
     "technician_create": "\"{name}\" teknisyeni oluşturuldu",
     "technician_delete": "{id} teknisyeni silindi",
     "technician_update": "{id} teknisyeni güncellendi",
+    "portal_send": "Müşteri portalında mesaj gönderildi: {name}",
     "telegram_send": "{name} kişisine Telegram mesajı gönderildi",
     "tire_location_bulk_create": "{count, plural, one {# lastik rafı} other {# lastik rafı}} oluşturuldu",
     "tire_location_create": "{code} lastik rafı oluşturuldu",

+ 6 - 0
messages/tr/customers.json

@@ -120,6 +120,12 @@
     "saveNotes": "Notları Kaydet",
     "submitted": "{date} tarihinde gönderildi",
     "preferred": "Tercih edilen: {date}",
+    "preferredMorning": "Tercih edilen: {date}, sabah",
+    "preferredAfternoon": "Tercih edilen: {date}, öğleden sonra",
+    "files": "{count, plural, one {Müşteriden # fotoğraf veya video} other {Müşteriden # fotoğraf veya video}}",
+    "openPhoto": "{number}. fotoğrafı aç",
+    "openVideo": "{number}. videoyu aç",
+    "fileMissing": "{number}. fotoğraf artık mevcut değil",
     "workOrderCreated": "İş emri oluşturuldu",
     "workOrderError": "İş emri oluşturulamadı",
     "requestDismissed": "Talep reddedildi",

+ 23 - 0
messages/tr/messaging.json

@@ -51,5 +51,28 @@
       "noMatches": "Aramanızla eşleşen müşteri yok.",
       "noRecipients": "Henüz e-posta adresi olan müşteri yok."
     }
+  },
+  "portal": {
+    "badge": "Portal",
+    "empty": "{name} henüz portala yazmadı.",
+    "placeholder": "Portalda {name} ile yazışın",
+    "send": "Mesaj gönder",
+    "sendFailed": "Mesaj gönderilemedi",
+    "sendHint": "Enter gönderir, Shift+Enter yeni satır başlatır. {name} portalı bir sonraki açışında görür.",
+    "loadOlder": "Eski mesajları yükle",
+    "loadFailed": "Görüşme yüklenemedi.",
+    "tryAgain": "Tekrar dene",
+    "addPhoto": "Fotoğraf ekle",
+    "removePhoto": "{name} dosyasını kaldır",
+    "uploadFailed": "Fotoğraf eklenemedi. En fazla {size} MB fotoğraf gönderilebilir.",
+    "tooManyPhotos": "Bir mesaja en fazla {count} fotoğraf eklenebilir.",
+    "photoFrom": "Fotoğraf: {name}",
+    "videoFrom": "Video: {name}",
+    "openFile": "Dosyayı aç",
+    "you": "Siz",
+    "seen": "Görüldü",
+    "off": "Müşteri portalında mesajlar kapalı, bu yüzden bu görüşme okunabilir ama yanıtlanamaz.",
+    "offSettings": "Müşteri portalı ayarları",
+    "deleteDescription": "{name} ile olan tüm görüşmeyi onun için de kaldırır: görüşme portalından kaybolur."
   }
 }

+ 488 - 102
messages/tr/portal.json

@@ -12,28 +12,31 @@
     "description": "Müşteri portalına erişmek için servisinizden aldığınız doğrudan bağlantıyı kullanın.",
     "hint": "Servisiniz portal bağlantısını e-posta veya SMS ile sizinle paylaşacaktır."
   },
-  "landing": {
-    "contactTitle": "Bize ulaşın",
-    "aboutTitle": "Hakkımızda",
-    "noContactInfo": "İletişim bilgileri henüz mevcut değil.",
-    "address": "Adres",
-    "phone": "Telefon",
-    "email": "E-posta",
-    "hours": "Çalışma saatleri",
-    "directions": "Yol tarifi al"
+  "signIn": {
+    "eyebrow": "Müşterilerimiz için",
+    "heading": "Aracınızı, faturalarınızı ve mesajlarınızı görün.",
+    "headingMarine": "Teknenizi, faturalarınızı ve mesajlarınızı görün.",
+    "headingNoMessages": "Aracınızı, faturalarınızı ve tekliflerinizi görün.",
+    "headingNoMessagesMarine": "Teknenizi, faturalarınızı ve tekliflerinizi görün.",
+    "confirmEyebrow": "Az kaldı",
+    "hoursTitle": "Çalışma saatleri",
+    "findUs": "Bize ulaşın",
+    "callUs": "Bizi arayın",
+    "directions": "Yol tarifi",
+    "dayRange": "{from} - {to}",
+    "timeRange": "{start} - {end}",
+    "closed": "kapalı"
   },
   "login": {
-    "signInTitle": "Müşteri girişi",
-    "signInSubtitle": "Faturalarınızı, tekliflerinizi ve servis geçmişinizi görmek için giriş yapın.",
-    "emailLabel": "E-posta adresi",
+    "emailLabel": "E-posta adresiniz",
     "emailPlaceholder": "siz@ornek.com",
-    "sendLink": "Giriş bağlantısı gönder",
+    "sendLink": "Bana giriş bağlantısı gönderin",
     "checkEmail": "E-postanızı kontrol edin",
     "checkEmailDescription": "Bu e-posta için bir hesap mevcutsa, bir giriş bağlantısı gönderdik. Bağlantı 15 dakika içinde sona erer.",
     "tryDifferentEmail": "Farklı bir e-posta deneyin",
     "tabEmail": "E-posta",
     "tabSms": "SMS",
-    "phoneLabel": "Telefon numarası",
+    "phoneLabel": "Cep telefonu numaranız",
     "phonePlaceholder": "+90 5123456789",
     "phoneLocalPlaceholder": "5123456789",
     "sendCode": "Kod gönder",
@@ -48,57 +51,77 @@
     "confirmDescription": "{email} olarak giriş yapıyorsunuz. Devam etmek için düğmeye basın.",
     "confirmButton": "Girişe devam et",
     "notFound": "Bulunamadı",
-    "portalNotExist": "Bu portal mevcut değil.",
-    "portalNotAvailable": "Portal Kullanılamıyor",
-    "portalNotEnabled": "Bu kuruluş için müşteri portalı etkinleştirilmemiş."
+    "portalNotExist": "Bu sayfa mevcut değil.",
+    "portalNotAvailable": "Kullanılamıyor",
+    "portalNotEnabled": "Bu servis şu anda çevrimiçi erişim sunmuyor.",
+    "noPassword": "Şifre yok. Size giriş yapmanızı sağlayan bir bağlantı göndeririz.",
+    "noPasswordSms": "Şifre yok. Size SMS ile giriş yapmanızı sağlayan bir kod göndeririz.",
+    "method": "Nasıl giriş yapılır",
+    "requestFailed": "Şu anda gönderemedik. Bağlantınızı kontrol edip tekrar deneyin.",
+    "tooManyTries": "Kısa sürede çok fazla deneme yapıldı. Bir dakika bekleyip tekrar deneyin.",
+    "tryAgain": "Tekrar dene",
+    "sendNewCode": "Yeni kod gönder",
+    "newCodeSent": "Yeni bir kod gönderdik.",
+    "errors": {
+      "invalid": "Bu giriş bağlantısı çalışmıyor. Aşağıdan yenisini isteyin.",
+      "used": "Bu giriş bağlantısı zaten kullanıldı. Aşağıdan yenisini isteyin.",
+      "expired": "Bu giriş bağlantısının süresi doldu. Aşağıdan yenisini isteyin.",
+      "noAccount": "Hesabınızı bulamadık. Servisten sizin için kayıtlı e-posta adresini kontrol etmesini isteyin."
+    }
   },
   "nav": {
-    "dashboard": "Gösterge Paneli",
-    "vehicles": "Araçlar",
     "invoices": "Faturalar",
     "quotes": "Teklifler",
     "inspections": "Muayeneler",
-    "requestService": "Servis İste"
+    "label": "Ana menü",
+    "skip": "İçeriğe geç",
+    "home": "Ana sayfa",
+    "messages": "Mesajlar",
+    "cars": "Araçlarım",
+    "carsMarine": "Teknelerim",
+    "papers": "Belgeler",
+    "papersLong": "Faturalar ve teklifler",
+    "unread": "{count, plural, one {# okunmamış mesaj} other {# okunmamış mesaj}}",
+    "documents": "Belgeler",
+    "book": "Randevu",
+    "bookLong": "Randevu alın"
   },
   "header": {
     "signOut": "Çıkış yap",
-    "askShort": "Servis"
+    "homeLink": "{name}, ana sayfa",
+    "account": "Hesabınız, {name}",
+    "signedInAs": "Giriş yapan"
+  },
+  "hoursLine": {
+    "openUntil": "{time} saatine kadar açık",
+    "opensAt": "Açılış saati: {time}",
+    "closedNow": "Bugünlük kapandı",
+    "closedToday": "Bugün kapalı"
+  },
+  "format": {
+    "today": "bugün",
+    "tomorrow": "yarın"
   },
   "shell": {
     "notFound": "Bulunamadı",
-    "portalNotExist": "Bu portal mevcut değil.",
-    "portalNotAvailable": "Portal Kullanılamıyor",
-    "portalNotEnabled": "Bu kuruluş için müşteri portalı etkinleştirilmemiş."
-  },
-  "dashboard": {
-    "welcome": "Hoş geldiniz, {name}",
-    "overview": "Hesabınıza genel bir bakış.",
-    "vehicles": "Araçlar",
-    "openInvoices": "Açık Faturalar",
-    "pendingQuotes": "Bekleyen Teklifler",
-    "recentInvoices": "Son Faturalar",
-    "recentQuotes": "Son Teklifler",
-    "pendingServiceRequests": "Bekleyen Servis Talepleri",
-    "viewAll": "Tümünü görüntüle",
-    "newRequest": "Yeni talep",
-    "noInvoicesYet": "Henüz fatura yok.",
-    "noQuotesYet": "Henüz teklif yok.",
-    "view": "Görüntüle",
-    "pending": "Beklemede",
-    "failedToLoad": "Gösterge paneli yüklenemedi.",
-    "quickRequestService": "Servis talep et",
-    "quickRequestServiceHint": "Onarım veya kontrol rezerve edin",
-    "quickViewInvoices": "Faturalarınız",
-    "quickViewInvoicesHint": "Faturalar ve ödeme geçmişi",
-    "quickViewVehicles": "Araçlarınız",
-    "quickViewVehiclesHint": "Servis geçmişi ve detaylar",
-    "activeJobs": "Devam eden işler"
+    "portalNotExist": "Bu sayfa mevcut değil.",
+    "portalNotAvailable": "Kullanılamıyor",
+    "portalNotEnabled": "Bu servis müşteri sayfalarını henüz açmadı.",
+    "callWorkshop": "Ara: {phone}",
+    "openMap": "{address} adresini haritada aç",
+    "errorTitle": "Bir şeyler ters gitti",
+    "errorBody": "Bu sayfa gösterilemedi. Tekrar deneyin veya ana sayfanıza dönün.",
+    "tryAgain": "Tekrar dene",
+    "pageNotFoundTitle": "Bu sayfayı bulamadık",
+    "pageNotFoundBody": "Bağlantı eski olabilir veya sayfa kaldırılmış olabilir.",
+    "backHome": "Ana sayfaya dön"
   },
   "invoices": {
     "title": "Faturalar",
-    "description": "Tüm servis faturalarınız.",
+    "description": "Servisin tamamladığı işlerin faturaları.",
     "noInvoices": "Henüz fatura yok.",
-    "failedToLoad": "Faturalar yüklenemedi.",
+    "noInvoicesHint": "Servis bir işi bitirdiğinde faturası burada görünür.",
+    "failedToLoad": "Faturalarınız yüklenemedi. Biraz sonra tekrar deneyin.",
     "invoice": "Fatura",
     "vehicle": "Araç",
     "date": "Tarih",
@@ -107,31 +130,55 @@
     "view": "Görüntüle",
     "download": "İndir",
     "downloadCertificate": "Muayene raporunu indir",
-    "paid": "ödendi",
-    "partial": "kısmi",
-    "unpaid": "ödenmedi",
+    "paid": "Ödendi",
+    "partial": "Kısmen ödendi",
+    "unpaid": "Ödenmedi",
+    "overdue": "Vadesi geçmiş",
+    "toPayTitle": "Kalan ödeme",
+    "toPayCount": "{count, plural, one {# faturada} other {# faturada}}",
+    "toPayNextDue": "Sonraki son ödeme: {date}",
+    "toPayOpen": "Görün ve ödeyin: {invoice}",
+    "toPayOpenNoPay": "Aç: {invoice}",
+    "nothingToPay": "Ödenecek bir şey yok",
+    "nothingToPayBody": "Buradaki tüm faturalar ödendi.",
     "back": "Faturalara dön",
-    "openShared": "Paylaşılan kopyayı aç"
+    "invoiceNumber": "Fatura {number}",
+    "downloadPdf": "PDF indir",
+    "leftToPay": "Kalan tutar: {amount}",
+    "dueOn": "Son ödeme: {date}",
+    "payOnline": "Çevrimiçi öde",
+    "summaryTotal": "Toplam",
+    "summaryPaid": "Ödenen",
+    "summaryLeft": "Kalan",
+    "summaryDue": "Son ödeme tarihi",
+    "summaryDate": "Tarih",
+    "fullInvoice": "Faturanın tamamı"
   },
   "quotes": {
     "title": "Teklifler",
-    "description": "Araçlarınız için teklifler ve tahminler.",
+    "description": "Servisin işe başlamadan önce size gönderdiği fiyatlar.",
     "noQuotes": "Henüz teklif yok.",
-    "failedToLoad": "Teklifler yüklenemedi.",
+    "noQuotesHint": "Servis size bir iş için fiyat gönderdiğinde burada görünür.",
+    "failedToLoad": "Teklifleriniz yüklenemedi. Biraz sonra tekrar deneyin.",
     "quote": "Teklif",
     "vehicle": "Araç",
     "status": "Durum",
     "amount": "Tutar",
-    "validUntil": "Geçerlilik Tarihi",
-    "view": "Görüntüle"
+    "validUntil": "Geçerlilik",
+    "view": "Görüntüle",
+    "validUntilDate": "Son geçerlilik: {date}",
+    "waitingTitle": "Yanıtınızı bekliyor",
+    "waitingNone": "Yanıtınızı bekleyen teklif yok.",
+    "waitingAnswer": "Okuyun ve yanıtlayın"
   },
   "inspections": {
     "title": "Muayeneler",
-    "description": "Araç muayene raporları.",
+    "description": "Servisin aracınızda yaptığı kontrollerin raporları.",
     "noInspections": "Henüz muayene yok.",
-    "failedToLoad": "Muayeneler yüklenemedi.",
+    "noInspectionsHint": "Servis bir muayeneyi bitirdiğinde raporu burada görünür.",
+    "failedToLoad": "Muayeneleriniz yüklenemedi. Biraz sonra tekrar deneyin.",
     "vehicle": "Araç",
-    "template": "Kontrol listesi",
+    "template": "Muayene",
     "status": "Durum",
     "date": "Tarih",
     "summary": "Özet",
@@ -141,69 +188,150 @@
     "poor": "{count} kötü"
   },
   "vehicles": {
-    "title": "Araçlar",
-    "description": "Kayıtlı araçlarınız.",
-    "noVehicles": "Araç bulunamadı.",
-    "failedToLoad": "Araçlar yüklenemedi.",
+    "title": "Araçlarınız",
+    "description": "Servisin sizin adınıza kayıtlı tuttuğu araçlar.",
+    "noVehicles": "Henüz kayıtlı araç yok.",
+    "failedToLoad": "Araçlarınız yüklenemedi. Biraz sonra tekrar deneyin.",
     "plate": "Plaka: {plate}",
     "vin": "VIN: {vin}",
     "typeKey": "HSN/TSN: {typeKey}",
-    "serviceCount": "{count, plural, one {# servis} other {# servis}}",
+    "serviceCount": "{count, plural, one {# ziyaret} other {# ziyaret}}",
     "inspectionCount": "{count, plural, one {# muayene} other {# muayene}}",
-    "serviceHistory": "Servis Geçmişi ({count})",
+    "serviceHistory": "Servis geçmişi ({count})",
     "inspectionsTab": "Muayeneler ({count})",
-    "noServiceRecords": "Henüz servis kaydı yok.",
+    "noServiceRecords": "Henüz kayıtlı iş yok.",
     "noInspections": "Henüz muayene yok.",
-    "vehicleNotFound": "Araç bulunamadı.",
+    "vehicleNotFound": "Bu aracı bulamadık.",
     "completed": "{date} tarihinde tamamlandı",
     "good": "{count} iyi",
     "fair": "{count} orta",
     "poor": "{count} kötü",
     "view": "Görüntüle",
-    "serviceHistoryTitle": "Servis geçmişi",
-    "inspectionsTitle": "Muayeneler",
     "columnVehicle": "Araç",
     "columnPlate": "Plaka",
-    "columnServices": "Servisler",
+    "columnServices": "Ziyaretler",
     "columnInspections": "Muayeneler",
+    "warrantyActive": "Garanti geçerli",
+    "warrantyExpiring": "Garanti yakında bitiyor",
+    "warrantyExpired": "Garanti sona erdi",
     "reportSold": "Bu araç artık bende değil",
     "reportSoldHint": "Atölyeye haber vereceğiz, bu araçla ilgili hatırlatma göndermeyi bırakacaklar. Geçmişiniz olduğu gibi kalır.",
     "reportSoldConfirm": "Evet, atölyeye bildir",
     "reportSoldCancel": "Vazgeç",
     "reportSoldDone": "Teşekkürler, atölyeye bildirildi",
     "reportSoldFailed": "Şu anda gönderilemedi",
-    "reportSoldAlready": "Bu aracın artık size ait olmadığını atölyeye bildirdiniz."
+    "reportSoldAlready": "Bu aracın artık size ait olmadığını atölyeye bildirdiniz.",
+    "titleMarine": "Tekneleriniz",
+    "descriptionMarine": "Servisin sizin adınıza kayıtlı tuttuğu tekneler.",
+    "noVehiclesMarine": "Henüz kayıtlı tekne yok.",
+    "noVehiclesHint": "Randevu alın ve bize aracınızı anlatın. Biz buraya ekleriz.",
+    "noVehiclesHintMarine": "Randevu alın ve bize teknenizi anlatın. Biz buraya ekleriz.",
+    "back": "Araçlarıma dön",
+    "backMarine": "Teknelerime dön",
+    "about": "Bu araç hakkında",
+    "aboutMarine": "Bu tekne hakkında",
+    "failedToLoadMarine": "Tekneleriniz yüklenemedi. Biraz sonra tekrar deneyin.",
+    "plateMarine": "Tescil: {plate}",
+    "vinMarine": "HIN: {vin}",
+    "distanceKm": "{value} km",
+    "distanceMi": "{value} mil",
+    "engineHours": "{value} motor saati",
+    "columnVehicleMarine": "Tekne",
+    "columnPlateMarine": "Tescil"
   },
-  "requestService": {
-    "title": "Servis İste",
-    "description": "Araçlarınızdan biri için servis talebi gönderin.",
-    "newServiceRequest": "Yeni Servis Talebi",
-    "formDescription": "Sorunu açıklayın, size geri döneceğiz.",
-    "vehicleLabel": "Araç",
-    "vehiclePlaceholder": "Bir araç seçin",
-    "descriptionLabel": "Sorunu açıklayın",
-    "descriptionPlaceholder": "Aracınızda ne oluyor?",
-    "preferredDate": "Tercih edilen tarih",
-    "preferredDateOptional": "(isteğe bağlı)",
-    "submitRequest": "Talebi Gönder",
-    "selectVehicle": "Lütfen bir araç seçin",
-    "describeIssue": "Lütfen sorunu açıklayın",
-    "submitSuccess": "Servis talebi gönderildi",
-    "submitError": "Talep gönderilemedi",
-    "noVehicles": "Kayıtlı aracınız yok. Lütfen önce bir araç eklemek için bizimle iletişime geçin.",
-    "yourRequests": "Servis Talepleriniz",
-    "failedToLoad": "Veriler yüklenemedi.",
-    "staffNotes": "Personel notları: {notes}",
-    "preferred": "Tercih edilen: {date}",
-    "notListedOption": "Aracım listede yok",
-    "newVehicleHint": "Aracınızı anlatın, profilinize ekleyelim.",
-    "fillVehicleDetails": "Lütfen aracın markasını ve modelini girin",
+  "book": {
+    "title": "Randevu alın",
+    "description": "Neye ihtiyacınız olduğunu anlatın. Size bir saatle geri döneriz.",
+    "descriptionMessages": "Neye ihtiyacınız olduğunu anlatın. Burada, Mesajlar'da bir saatle yanıt veririz.",
+    "failedToLoad": "Bu sayfa yüklenemedi. Biraz sonra tekrar deneyin.",
+    "whichVehicle": "Hangi araç?",
+    "whichVehicleMarine": "Hangi tekne?",
+    "anotherVehicle": "Başka bir araç",
+    "anotherVehicleMarine": "Başka bir tekne",
+    "inWorkshopNow": "şu anda serviste",
+    "selectVehicle": "Hangisi için olduğunu seçin",
+    "newVehicleHint": "Bize anlatın, profilinize ekleyelim.",
     "makeLabel": "Marka",
-    "makePlaceholder": "örn. Ford",
+    "makePlaceholder": "ör. Fiat",
     "modelLabel": "Model",
-    "modelPlaceholder": "örn. Kuga",
-    "yearLabel": "Model yılı",
-    "plateLabel": "Plaka"
+    "modelPlaceholder": "ör. Egea",
+    "yearLabel": "Yıl",
+    "plateLabel": "Plaka",
+    "plateLabelMarine": "Tescil numarası",
+    "fillMake": "Markayı girin",
+    "fillModel": "Modeli girin",
+    "invalidYear": "{min} ile {max} arasında bir yıl girin",
+    "optional": "(isteğe bağlı)",
+    "whatNeeded": "Neye ihtiyacınız var?",
+    "topics": {
+      "service": "Bakım",
+      "inspection": "Muayene",
+      "tires": "Lastik değişimi",
+      "brakes": "Frenler",
+      "problem": "Bir sorun var"
+    },
+    "descriptionLabel": "Kendi sözlerinizle anlatın",
+    "descriptionPlaceholder": "Örneğin: tümseklerde sol ön taraftan vuruntu sesi geliyor, araç soğukken daha kötü",
+    "descriptionPlaceholderMarine": "Örneğin: motor soğukken zor çalışıyor",
+    "describeIssue": "Yukarıdan ihtiyacınızı seçin veya birkaç kelimeyle anlatın",
+    "filesLabel": "Fotoğraflar veya kısa bir video",
+    "filesCount": "{max} dosyadan {count} eklendi",
+    "filesLimits": "fotoğraflar en fazla {photo} MB, video en fazla {video} MB",
+    "filesAdd": "Fotoğraf veya video ekle",
+    "filesDrop": "Dosyaları buraya bırakın veya bu bilgisayardan seçin",
+    "filesCamera": "Fotoğraf çek",
+    "filesTooMany": "En fazla {max} dosya ekleyebilirsiniz. Başka bir dosya eklemek için birini çıkarın.",
+    "filesStillUploading": "Dosyalarınızın yüklenmesi bitene kadar bekleyin, sonra gönderin.",
+    "filesFailed": "Bir dosya yüklenmedi. Tekrar deneyin veya çıkarın, sonra gönderin.",
+    "fileUploading": "{name} yükleniyor",
+    "fileReady": "{name}, eklendi",
+    "fileRemove": "{name} dosyasını kaldır",
+    "fileRetry": "Tekrar dene",
+    "fileType": "{name} kabul edebileceğimiz bir fotoğraf veya video değil.",
+    "fileEmpty": "{name} boş.",
+    "fileTooLarge": "{name} çok büyük.",
+    "fileTooMany": "Aynı anda çok fazla dosya. Birkaç dakika bekleyip tekrar deneyin.",
+    "fileSignedOut": "Oturumunuz kapandı. Dosya eklemek için tekrar giriş yapın.",
+    "fileNetwork": "Yükleme sırasında bağlantı koptu.",
+    "fileFailed": "Bu dosya yüklenmedi.",
+    "dayLabel": "Size uygun gün",
+    "pastDate": "Bugünü veya daha sonraki bir günü seçin",
+    "timeLabel": "Günün hangi saatleri",
+    "timeHint": "Hangi saatlerin uygun olduğunu söylemek için önce bir gün seçin.",
+    "time": {
+      "any": "Herhangi bir saat",
+      "morning": "Sabah",
+      "afternoon": "Öğleden sonra"
+    },
+    "timeLower": {
+      "morning": "sabah",
+      "afternoon": "öğleden sonra"
+    },
+    "closedDaysHint": "Bu günlerde kapalıyız:",
+    "send": "{workshop} servisine gönder",
+    "sendHint": "Servis bir saati onaylayana kadar randevu kesinleşmez.",
+    "submitError": "Şu anda gönderemedik. Biraz sonra tekrar deneyin.",
+    "sentTitle": "{workshop} servisine gönderildi",
+    "sentBody": "Servis talebinizi okur ve gönderdiklerinize bakar. Yanıt, bir saatle birlikte Mesajlar'a gelir.",
+    "sentBodyNoMessages": "Servis talebinizi okur ve gönderdiklerinize bakar, sonra size bir saatle geri döner. Bu sayfadan takip edebilirsiniz.",
+    "sentMessages": "Mesajlar'a git",
+    "sentHome": "Ana sayfaya dön",
+    "sentAnother": "Başka bir şey isteyin",
+    "nextTitle": "Sırada ne var",
+    "nextRead": "Talebinizi okur ve fotoğraflarınıza bakarız.",
+    "nextAnswerMessages": "Mesajlar'da bir saatle ve gerekirse bir teklifle yanıt veririz.",
+    "nextAnswer": "Size bir saatle ve gerekirse bir teklifle geri döneriz.",
+    "nextVisit": "Ziyaret, gün ve saatiyle ana sayfanızda görünür.",
+    "talkTitle": "Konuşmayı mı tercih edersiniz?",
+    "talkCall": "Arayın: {phone}",
+    "yourRequests": "Talepleriniz",
+    "sentOn": "Gönderildi: {date}",
+    "preferred": "Tercih edilen: {date}",
+    "staffNotes": "Servisten not: {notes}",
+    "requestFiles": "{count, plural, one {Gönderdiğiniz # dosya} other {Gönderdiğiniz # dosya}}",
+    "requestPhoto": "Fotoğrafı aç",
+    "requestVideo": "Videoyu aç",
+    "requestFileMissing": "Bu fotoğraf artık mevcut değil"
   },
   "booking": {
     "title": "Muayene randevusu alın",
@@ -257,7 +385,7 @@
       "completed": "Tamamlandı"
     },
     "request": {
-      "pending": "Beklemede",
+      "pending": "Yanıt bekleniyor",
       "converted": "Rezerve edildi",
       "dismissed": "Kapatıldı",
       "cancelled": "İptal edildi"
@@ -273,5 +401,263 @@
     "today": "Bugün",
     "closedSoon": "Yakında kapalı",
     "openOnly": "Açık {hours}"
+  },
+  "home": {
+    "failedToLoad": "Sayfanız yüklenemedi. Biraz sonra tekrar deneyin.",
+    "heroWorkingPromised": "Merhaba {name}. Aracınız serviste, {day} saat {time} civarında hazır olacak.",
+    "heroWorkingPromisedMarine": "Merhaba {name}. Tekneniz serviste, {day} saat {time} civarında hazır olacak.",
+    "heroWorking": "Merhaba {name}. Aracınız serviste.",
+    "heroWorkingMarine": "Merhaba {name}. Tekneniz serviste.",
+    "heroReady": "Merhaba {name}. Aracınız teslime hazır.",
+    "heroReadyMarine": "Merhaba {name}. Tekneniz teslime hazır.",
+    "heroBookedAt": "Merhaba {name}. Aracınızı {day} saat {time} bekliyoruz.",
+    "heroBookedAtMarine": "Merhaba {name}. Teknenizi {day} saat {time} bekliyoruz.",
+    "heroBooked": "Merhaba {name}. Randevunuz alındı.",
+    "heroNothing": "Merhaba {name}. Şu anda serviste bir işiniz yok.",
+    "heroNothingBody": "Aracınızın bize ihtiyacı olduğunda randevu alın. İşi buradan adım adım takip edersiniz.",
+    "heroNothingBodyMarine": "Teknenizin bize ihtiyacı olduğunda randevu alın. İşi buradan adım adım takip edersiniz.",
+    "stepsLabel": "İş ne aşamada",
+    "stepBooked": "Randevu alındı",
+    "stepCheckedIn": "Teslim alındı",
+    "stepWorking": "Serviste",
+    "stepReady": "Teslime hazır",
+    "latestUpdate": "Servisten son haber · {when}",
+    "updateFallback": "Servis iş hakkında bir güncelleme paylaştı.",
+    "seeUpdate": "Fotoğraf ve videoları görün",
+    "otherJobs": "Diğer randevular ve süren işler",
+    "jobBookedFor": "Randevu: {day}, saat {time}",
+    "jobReadyAround": "{day} saat {time} civarında hazır",
+    "needsAnswer": "Yanıtınızı bekliyor",
+    "validUntil": "Son geçerlilik: {day}",
+    "quoteNumber": "Teklif {number}",
+    "quote": "Teklif",
+    "readQuote": "Teklifi okuyun",
+    "moreQuotes": "{count, plural, one {# teklif daha yanıtınızı bekliyor} other {# teklif daha yanıtınızı bekliyor}}",
+    "toPay": "Ödenecek",
+    "due": "Son ödeme: {day}",
+    "overdueSince": "Vadesi geçti: {day}",
+    "invoiceNumber": "Fatura {number}",
+    "invoice": "Fatura",
+    "payNow": "Şimdi öde",
+    "seeInvoice": "Faturayı görün",
+    "moreInvoices": "{count, plural, one {Ödenecek # fatura daha} other {Ödenecek # fatura daha}}, toplam {total}",
+    "paidSoFar": "{total} tutarın {paid} kadarı ödendi",
+    "toPayCount": "{count, plural, one {# fatura} other {# fatura}}",
+    "toPayOverdueCount": "{count} gecikmiş",
+    "toPayMostUrgent": "En acil",
+    "toPayNext": "Sıradaki ödeme",
+    "seeAllInvoices": "{count} faturanın tümünü görün",
+    "nextStep": "Sıradaki adım",
+    "nextStepWorking": "Aracı teslim alıp işe başlıyoruz.",
+    "nextStepWorkingMarine": "Tekneyi teslim alıp işe başlıyoruz.",
+    "nextStepReady": "Teslime hazır olduğunda burada bir mesaj alırsınız.",
+    "nextStepReadyNoChat": "Teslime hazır olduğunda size haber veririz.",
+    "nextStepCollect": "Size uygun bir zamanda uğrayın.",
+    "tires": "Lastik oteli",
+    "tiresStoredSummer": "Bizde saklanan yaz lastikleri",
+    "tiresStoredWinter": "Bizde saklanan kış lastikleri",
+    "tiresStoredAllSeason": "Bizde saklanan dört mevsim lastikler",
+    "tiresStoredOther": "Bizde saklanan lastikler",
+    "tiresSeasonSummer": "Yaz lastikleri",
+    "tiresSeasonWinter": "Kış lastikleri",
+    "tiresSeasonAllSeason": "Dört mevsim lastikler",
+    "tiresSeasonOther": "Lastikler",
+    "tiresStudded": "çivili",
+    "tiresOnRims": "jantlı",
+    "tiresStoredSince": "{day} tarihinden beri saklanıyor",
+    "tiresTreadLeft": "kalan diş derinliği",
+    "tiresTreadLine": "Kalan diş derinliği: {depth}",
+    "tiresNotMeasured": "Diş derinliği henüz ölçülmedi",
+    "tiresCount": "{count, plural, one {# lastik} other {# lastik}}",
+    "cars": "Araçlarım",
+    "carsMarine": "Teknelerim",
+    "carVisits": "{count, plural, =0 {henüz ziyaret yok} one {# ziyaret} other {# ziyaret}}",
+    "carInWorkshop": "Serviste",
+    "carWarrantyActive": "garanti devam ediyor",
+    "carWarrantyExpiring": "garanti yakında bitiyor",
+    "carsEmptyTitle": "Henüz kayıtlı araç yok",
+    "carsEmptyTitleMarine": "Henüz kayıtlı tekne yok",
+    "carsEmptyBody": "Servis aracınızı kaydettiğinde geçmişi burada görünür.",
+    "carsEmptyBodyMarine": "Servis teknenizi kaydettiğinde geçmişi burada görünür.",
+    "nextVisit": "Sonraki ziyaret",
+    "visitWhen": "{day}, {time}",
+    "directions": "Yol tarifi",
+    "nextVisitEmptyTitle": "Randevu yok",
+    "nextVisitEmptyBody": "Size uygun bir gün seçin ve aracın neye ihtiyacı olduğunu bize anlatın.",
+    "nextVisitEmptyBodyMarine": "Size uygun bir gün seçin ve teknenin neye ihtiyacı olduğunu bize anlatın.",
+    "bookVisit": "Randevu alın",
+    "requests": "Servise gönderilenler",
+    "requestSent": "Gönderildi: {day}",
+    "requestWaiting": "Yanıt bekleniyor",
+    "requestWishedDay": "istenen gün: {day}",
+    "messagesLabel": "{workshop} ile mesajlar",
+    "messagePreviewFrom": "{name}:",
+    "messagePreviewYou": "Siz:",
+    "messagePreviewPhoto": "Fotoğraf",
+    "messagePreviewEmpty": "{workshop} servisine yazın",
+    "messagePreviewOpen": "{workshop} ile mesajlarınızı açın"
+  },
+  "themes": {
+    "colour": {
+      "stepNow": "Şimdi",
+      "storedSince": "Saklanma tarihi"
+    },
+    "garage": {
+      "readyAround": "Tahmini hazır olma: {day}",
+      "expectedAt": "Beklenen geliş: {day}",
+      "stepDone": "Tamam",
+      "stepNow": "Şimdi",
+      "stepNotYet": "Henüz değil",
+      "stepNotYetAround": "Henüz değil, saat {time} civarı",
+      "tireCar": "Araç",
+      "tireCarMarine": "Tekne",
+      "tireMake": "Lastikler",
+      "tireSize": "Ebat",
+      "tireSet": "Takım",
+      "tireTread": "Kalan diş",
+      "openUntil": "Bugün kapanış saati",
+      "opensAt": "Bugün açılış saati"
+    },
+    "print": {
+      "kicker": "Aracınız",
+      "kickerMarine": "Tekneniz",
+      "dateline": "{workshop}, {time}.",
+      "stepDone": "Tamam",
+      "stepNow": "Şimdi",
+      "stepTodo": "Henüz değil",
+      "waiting": "Sizi bekleyenler",
+      "waitingCount": "{count, plural, one {# kalem} other {# kalem}}",
+      "waitingOwed": "{invoices} için ödenecek {total}",
+      "colWhat": "Ne",
+      "colDocument": "Belge",
+      "colDeadline": "Son tarih",
+      "colAmount": "Tutar",
+      "tireCar": "Araç",
+      "tireCarMarine": "Tekne",
+      "tireTyre": "Lastik",
+      "tireSize": "Ebat",
+      "tireSet": "Takım",
+      "tireTread": "Diş",
+      "portalLabel": "Müşteri portalı",
+      "callWorkshop": "Servisi arayın"
+    }
+  },
+  "chat": {
+    "title": "Mesajlar",
+    "label": "{workshop} ile mesajlar",
+    "subtitle": "{workshop}",
+    "call": "{workshop} servisini arayın",
+    "emptyTitle": "Henüz mesaj yok",
+    "emptyBody": "{workshop} servisine buradan yazın. Yanıt bu yazışmada görünür.",
+    "inputLabel": "{workshop} servisine bir mesaj yazın",
+    "placeholder": "{workshop} servisine yazın",
+    "addPhoto": "Fotoğraf ekle",
+    "send": "Gönder",
+    "photo": "Fotoğraf: {name}",
+    "you": "Siz",
+    "emptyBodyOff": "Burada hiçbir şey yazılmamış.",
+    "video": "Video: {name}",
+    "file": "Dosyayı aç",
+    "openLarge": "{what}, büyük aç",
+    "closeViewer": "Kapat",
+    "today": "Bugün",
+    "yesterday": "Dün",
+    "seen": "Görüldü",
+    "sending": "Gönderiliyor",
+    "retry": "Tekrar dene",
+    "discard": "Sil",
+    "earlier": "Öncekileri göster",
+    "newBelow": "Yeni mesaj",
+    "keysHint": "Enter mesajı gönderir. Shift ve Enter yeni satır başlatır.",
+    "off": "Bu servis mesajları kapattı. Yazılanları yine de okuyabilirsiniz.",
+    "errors": {
+      "notSent": "Gönderilmedi. Bağlantınızı kontrol edin.",
+      "chatOff": "Gönderilmedi. Servis mesajları kapattı.",
+      "tooFast": "Gönderilmedi. Aynı anda çok fazla mesaj gönderildi, biraz bekleyin.",
+      "restoring": "Gönderilmedi. Servise kısa bir süre ulaşılamıyor. Birkaç dakika sonra tekrar deneyin."
+    },
+    "upload": {
+      "adding": "{name} ekleniyor",
+      "remove": "{name} dosyasını kaldır",
+      "tooMany": "Bir mesaja en fazla {count} fotoğraf veya video eklenebilir. Önce bunları gönderin.",
+      "tooLarge": "Bu dosya çok büyük. En fazla {photo} MB fotoğraf ve {video} MB video gönderilebilir.",
+      "type": "Buradan yalnızca fotoğraf ve video gönderilebilir.",
+      "failed": "Bir dosya eklenemedi. Tekrar deneyin."
+    },
+    "suggestions": {
+      "label": "İlk mesaj için fikirler",
+      "call": "Beni arayabilir misiniz?",
+      "book": "Randevu almak istiyorum.",
+      "invoice": "Faturamla ilgili bir sorum var."
+    },
+    "events": {
+      "workStarted": "{vehicle} üzerinde çalışma başladı",
+      "workStartedNoVehicle": "İşiniz üzerinde çalışma başladı",
+      "update": "{workshop} servisinden güncelleme",
+      "updateAbout": "Konu: {vehicle}",
+      "seeUpdate": "Güncellemeyi görün",
+      "quote": "Teklif",
+      "quoteLine": "Teklif {title}",
+      "quoteWaiting": "Yanıtınızı bekleyen teklif",
+      "quotes": "{count} teklif",
+      "answerQuote": "Okuyun ve yanıtlayın",
+      "invoice": "Fatura",
+      "invoiceLine": "Fatura {title}",
+      "invoiceOverdue": "Vadesi geçmiş fatura",
+      "invoices": "{count} fatura",
+      "seeInvoice": "Faturayı görün",
+      "jobsStarted": "{count} iş üzerinde çalışma başladı"
+    }
+  },
+  "messagesPage": {
+    "title": "Mesajlar",
+    "offTitle": "Mesajlar kapalı",
+    "offBody": "Bu servis burada mesaj kabul etmiyor. {phone} numarasını arayın veya randevu alın.",
+    "offBodyNoPhone": "Bu servis burada mesaj kabul etmiyor. Randevu alın ve neye ihtiyacınız olduğunu yazın."
+  },
+  "quoteDetail": {
+    "back": "Tekliflere dön",
+    "title": "Teklif",
+    "answerLabel": "Yanıtınız",
+    "failedToLoad": "Bu teklif yüklenemedi.",
+    "total": "Toplam",
+    "number": "Teklif numarası",
+    "date": "Tarih",
+    "validUntil": "Son geçerlilik",
+    "vehicle": "Araç",
+    "fullQuote": "Teklifin tamamı",
+    "answerTitle": "Servis yanıtınızı bekliyor",
+    "accept": "Teklifi kabul et",
+    "askChanges": "Değişiklik iste",
+    "confirmAcceptTitle": "Bu teklifi kabul ediyor musunuz?",
+    "confirmAcceptBody": "Servise, işin bu fiyatla yapılmasını istediğiniz bildirilir.",
+    "confirmAcceptYes": "Evet, kabul et",
+    "cancel": "İptal",
+    "changesLabel": "Neyin değişmesini istersiniz?",
+    "changesPlaceholder": "Örneğin: silecek lastiklerini çıkarın",
+    "sendChanges": "Servise gönder",
+    "answerFailed": "Yanıtınız gönderilemedi. Tekrar deneyin.",
+    "acceptedTitle": "Bu teklifi kabul ettiniz",
+    "acceptedBody": "Servise bildirildi, sizinle iletişime geçecekler.",
+    "changesTitle": "Değişiklik istediniz",
+    "changesBody": "Servise bildirildi, size güncellenmiş bir teklif gönderecekler."
+  },
+  "inspectionDetail": {
+    "back": "Muayenelere dön",
+    "title": "Muayene",
+    "about": "Bu muayene hakkında",
+    "failedToLoad": "Bu muayene yüklenemedi.",
+    "vehicle": "Araç",
+    "vessel": "Tekne",
+    "doneOn": "Yapıldığı tarih",
+    "startedOn": "Başlangıç tarihi",
+    "odometer": "Kilometre",
+    "engineHours": "Motor saati",
+    "nextDue": "Sonraki muayene",
+    "certificateNumber": "Belge numarası",
+    "stillWorking": "Servis bu muayene üzerinde hâlâ çalışıyor. Sonuçlar değişebilir.",
+    "openShared": "Fotoğrafları gör ve raporu indir",
+    "noResults": "Henüz sonuç yok.",
+    "notes": "Servisin notları"
   }
 }

+ 97 - 44
messages/tr/settings.json

@@ -1699,55 +1699,108 @@
   },
   "portal": {
     "title": "Müşteri Portalı",
-    "description": "Müşterilerinizin giriş yaparak araçlarını, faturalarını, tekliflerini ve muayenelerini görüntülemesine izin verin. Müşteriler ayrıca servis talepleri gönderebilir.",
-    "enablePortal": "Müşteri portalını etkinleştir",
-    "enablePortalHint": "E-posta adresi olan müşteriler sihirli bağlantı ile giriş yapabilir",
-    "enabled": "Müşteri portalı etkinleştirildi",
-    "disabled": "Müşteri portalı devre dışı bırakıldı",
-    "failedUpdate": "Ayar güncellenemedi",
-    "customSlug": "Özel portal slug'ı",
-    "save": "Kaydet",
-    "slugSaved": "Portal slug'ı kaydedildi",
-    "slugRemoved": "Portal slug'ı kaldırıldı",
-    "failedUpdateSlug": "Slug güncellenemedi",
-    "slugHint": "Küçük harfler, sayılar, tireler ve alt çizgiler. 3-48 karakter. Varsayılan URL'yi kullanmak için boş bırakın.",
-    "portalUrl": "Portal URL'si",
-    "urlCopied": "Portal URL'si kopyalandı",
-    "shareHint": "Bu bağlantıyı müşterilerinizle paylaşarak portallarına giriş yapmalarını sağlayın.",
+    "description": "Müşterileriniz giriş yaparak işlerini takip eder, teklifleri yanıtlar, faturaları öder, randevu alır ve size yazar.",
+    "enablePortal": "Müşteri portalını aç",
+    "enablePortalHint": "Müşteriler e-postalarına veya telefonlarına gönderilen bir bağlantıyla giriş yapar. Hatırlanacak bir şifre yoktur.",
+    "failedUpdate": "Ayarlar kaydedilemedi",
+    "customSlug": "Portal adresi",
+    "slugHint": "Küçük harfler, rakamlar, tireler ve alt çizgiler, 3 ile 48 karakter arası. Varsayılan adresi kullanmak için boş bırakın.",
+    "portalUrl": "Portalınızın bağlantısı",
+    "urlCopied": "Bağlantı kopyalandı",
+    "shareHint": "Giriş yapabilmeleri için bu bağlantıyı müşterilerinizle paylaşın.",
     "serviceRequestAlertsHint": "Portaldan gelen servis talepleri her zaman bildirim zilinizde görünür. Bunları e-posta ile de alabilirsiniz.",
-    "serviceRequestAlertsLink": "Bildirim ayarları →",
+    "serviceRequestAlertsLink": "Bildirim ayarları",
     "descriptionLabel": "Servisiniz hakkında",
     "descriptionPlaceholder": "Müşterilerinize servisinizi, sunduğunuz hizmetleri ve sizi özel kılan şeyi anlatın.",
-    "descriptionHint": "Ziyaretçilere portal ana sayfanızın üst kısmında gösterilir.",
-    "hoursLabel": "Çalışma saatleri",
-    "hoursPlaceholder": "Pzt-Cum: 8:00-17:00\nCmt: 9:00-13:00\nPaz: Kapalı",
-    "hoursHint": "Serbest metin. Her günü ayrı listelemek için satır sonu kullanın.",
-    "contentSaved": "Portal içeriği kaydedildi",
-    "background": {
-      "title": "Portal arka planı",
-      "description": "Müşteri portalı ana sayfasının nasıl görüneceğini seçin.",
-      "typeNone": "Yok",
-      "typeTemplate": "Şablon",
-      "typeImage": "Özel görsel",
-      "chooseTemplate": "Bir şablon seçin",
-      "uploadLabel": "Arka plan görseli",
-      "upload": "Görsel yükle",
-      "replace": "Görseli değiştir",
-      "remove": "Kaldır",
-      "uploadHint": "JPG, PNG veya WebP. Maks 8 MB. En az 1600×900 önerilir.",
-      "uploading": "Arka plan yükleniyor…",
-      "uploaded": "Arka plan güncellendi",
-      "uploadFailed": "Arka plan yüklenemedi",
-      "templateNames": {
-        "default": "Sade",
-        "sunrise": "Gün doğumu",
-        "ocean": "Okyanus",
-        "forest": "Orman",
-        "slate": "Arduvaz",
-        "sand": "Kum"
+    "descriptionHint": "Portalınızın giriş sayfasında gösterilir.",
+    "copyUrl": "Bağlantıyı kopyala"
+  },
+  "customerPortal": {
+    "slugPlaceholder": "servisim",
+    "slugUnsaved": "Bu adres kaydettikten sonra çalışır.",
+    "slugInvalid": "Harf veya rakamla başlayıp biten, 3 ile 48 arasında küçük harf, rakam, tire veya alt çizgi kullanın.",
+    "slugReserved": "Bu kelime ayrılmış. Başka bir adres seçin.",
+    "slugTaken": "Bu adresi başka bir servis kullanıyor. Başka bir adres seçin.",
+    "hours": {
+      "title": "Çalışma saatleri",
+      "fromCalendar": "Portal, çalışma saatlerini ve kapalı günleri servis takviminizden gösterir.",
+      "link": "Çalışma saatleri ayarları",
+      "typedNote": "Takvimde henüz çalışma saati ayarlanmadığı için giriş sayfanız hâlâ daha önce buraya yazılan saatleri gösteriyor. Saatleri orada ayarlayın, portal onları göstersin.",
+      "typedLabel": "Şu anda giriş sayfasında gösterilen"
+    },
+    "look": {
+      "title": "Müşteri portalınızın görünümü",
+      "description": "Tek bir seçim, giriş sayfasını ve müşterilerinizin sonrasında gördüğü tüm sayfaları belirler. Müşteriler bunu değiştiremez."
+    },
+    "theme": {
+      "legend": "Tema",
+      "daylight": {
+        "name": "Daylight",
+        "tagline": "Açık ve sakin"
+      },
+      "garage": {
+        "name": "Garage",
+        "tagline": "Koyu pit panosu"
+      },
+      "print": {
+        "name": "Print",
+        "tagline": "Dergi tarzı ve sade"
+      },
+      "colour": {
+        "name": "Colour",
+        "tagline": "Renginiz, büyük"
       }
     },
-    "copyUrl": "Portal URL'sini kopyala"
+    "colour": {
+      "title": "Renginiz",
+      "description": "Tüm temalarda düğmeler ve vurgular için kullanılır.",
+      "swatches": "Önerilen renkler",
+      "orange": "Turuncu",
+      "blue": "Mavi",
+      "green": "Yeşil",
+      "red": "Kırmızı",
+      "black": "Siyah",
+      "hexLabel": "Hex kodu olarak renk",
+      "invalid": "Bu bir renk değil. #1D4ED8 gibi bir hex kodu olarak yazın.",
+      "usingTheme": "{theme} temasıyla gelen renk kullanılıyor: {hex}.",
+      "themeColour": "{theme} temasıyla gelen renk: {hex}.",
+      "useTheme": "Temanın rengini kullan",
+      "sample": "Randevu alın",
+      "inkLight": "Bu rengin üzerindeki yazı okunaklı kalsın diye beyaz gösterilir.",
+      "inkDark": "Bu rengin üzerindeki yazı okunaklı kalsın diye siyah gösterilir.",
+      "faint": "Bu renk {theme} temasının arka planında soluk kalıyor. Bağlantılar ve vurgular zor görülebilir."
+    },
+    "cover": {
+      "title": "Kapak fotoğrafı ve logo",
+      "description": "Giriş sayfasında gösterilir. Logonuz Şirket ayarlarından gelir.",
+      "companyLink": "Şirket ayarları",
+      "hint": "PNG, JPEG veya WebP, en fazla 8 MB.",
+      "none": "Kapak fotoğrafı yok",
+      "alt": "Giriş sayfasındaki kapak fotoğrafı",
+      "upload": "Fotoğraf yükle",
+      "replace": "Fotoğrafı değiştir",
+      "remove": "Fotoğrafı kaldır",
+      "uploading": "Yükleniyor",
+      "uploadFailed": "Fotoğraf yüklenemedi"
+    },
+    "features": {
+      "title": "Müşterilerin gördükleri",
+      "description": "Portalın kapatabileceğiniz bölümleri.",
+      "messages": "Portalda mesajlar",
+      "messagesHint": "Müşteriler size portaldan yazar. Mesajları Mesajlar gelen kutunuza düşer.",
+      "tires": "Saklanan lastikleri göster",
+      "tiresHint": "Müşteriler sizde saklanan lastiklerini diş derinliğiyle birlikte görür."
+    },
+    "bar": {
+      "label": "Müşteri portalı ayarlarını kaydet",
+      "unsaved": "Kaydedilmemiş değişiklikleriniz var",
+      "saved": "Her şey kaydedildi",
+      "discard": "Değişiklikleri at",
+      "save": "Değişiklikleri kaydet",
+      "open": "Portalı müşteri olarak aç",
+      "openOff": "Açmak için portalı etkinleştirip kaydedin."
+    },
+    "savedToast": "Müşteri portalı ayarları kaydedildi"
   },
   "email": {
     "title": "E-posta Sağlayıcısı",

+ 50 - 0
package-lock.json

@@ -15,14 +15,19 @@
         "@dnd-kit/core": "^6.3.1",
         "@dnd-kit/sortable": "^10.0.0",
         "@dnd-kit/utilities": "^3.2.2",
+        "@fontsource-variable/archivo": "^5.3.0",
         "@fontsource-variable/atkinson-hyperlegible-mono": "^5.3.0",
         "@fontsource-variable/atkinson-hyperlegible-next": "^5.3.0",
         "@fontsource-variable/geist": "^5.3.0",
         "@fontsource-variable/geist-mono": "^5.3.0",
         "@fontsource-variable/ibm-plex-sans": "^5.3.0",
+        "@fontsource-variable/instrument-sans": "^5.3.0",
         "@fontsource-variable/inter": "^5.3.0",
         "@fontsource-variable/inter-tight": "^5.3.0",
         "@fontsource-variable/jetbrains-mono": "^5.3.0",
+        "@fontsource-variable/newsreader": "^5.3.0",
+        "@fontsource-variable/plus-jakarta-sans": "^5.3.0",
+        "@fontsource/barlow": "^5.3.0",
         "@fontsource/barlow-condensed": "^5.3.0",
         "@fontsource/ibm-plex-mono": "^5.3.0",
         "@prisma/adapter-pg": "^7.8.0",
@@ -2767,6 +2772,15 @@
       "integrity": "sha512-aGTxbpbg8/b5JfU1HXSrbH3wXZuLPJcNEcZQFMxLs3oSzgtVu6nFPkbbGGUvBcUjKV2YyB9Wxxabo+HEH9tcRQ==",
       "license": "MIT"
     },
+    "node_modules/@fontsource-variable/archivo": {
+      "version": "5.3.0",
+      "resolved": "https://registry.npmjs.org/@fontsource-variable/archivo/-/archivo-5.3.0.tgz",
+      "integrity": "sha512-HogK8FJelrD1o7TlZlkIVtHgc20bO5PZRWE7mUeUTdMN055alznQV6/00J00IBeu8FQAH4s3zW9UJNvKExXf+g==",
+      "license": "OFL-1.1",
+      "funding": {
+        "url": "https://github.com/sponsors/ayuhito"
+      }
+    },
     "node_modules/@fontsource-variable/atkinson-hyperlegible-mono": {
       "version": "5.3.0",
       "resolved": "https://registry.npmjs.org/@fontsource-variable/atkinson-hyperlegible-mono/-/atkinson-hyperlegible-mono-5.3.0.tgz",
@@ -2812,6 +2826,15 @@
         "url": "https://github.com/sponsors/ayuhito"
       }
     },
+    "node_modules/@fontsource-variable/instrument-sans": {
+      "version": "5.3.0",
+      "resolved": "https://registry.npmjs.org/@fontsource-variable/instrument-sans/-/instrument-sans-5.3.0.tgz",
+      "integrity": "sha512-u4gKbDBTNFGkg997tfQn3eHOhHuquWUFTRT/rwzuKtrxX5P2ekfs2x+LgBPP4P32+cC+vUwF1Cr+IdRoPQbrGw==",
+      "license": "OFL-1.1",
+      "funding": {
+        "url": "https://github.com/sponsors/ayuhito"
+      }
+    },
     "node_modules/@fontsource-variable/inter": {
       "version": "5.3.0",
       "resolved": "https://registry.npmjs.org/@fontsource-variable/inter/-/inter-5.3.0.tgz",
@@ -2839,6 +2862,33 @@
         "url": "https://github.com/sponsors/ayuhito"
       }
     },
+    "node_modules/@fontsource-variable/newsreader": {
+      "version": "5.3.0",
+      "resolved": "https://registry.npmjs.org/@fontsource-variable/newsreader/-/newsreader-5.3.0.tgz",
+      "integrity": "sha512-rrzYi43qMpbzwuFtf9OkWH8sxAPVPcQQQEwXpPtwaKYeJ8yVg5aLs5kawmo1f2Q1t1M38TLmEKCkGVDsYwgdFw==",
+      "license": "OFL-1.1",
+      "funding": {
+        "url": "https://github.com/sponsors/ayuhito"
+      }
+    },
+    "node_modules/@fontsource-variable/plus-jakarta-sans": {
+      "version": "5.3.0",
+      "resolved": "https://registry.npmjs.org/@fontsource-variable/plus-jakarta-sans/-/plus-jakarta-sans-5.3.0.tgz",
+      "integrity": "sha512-/l/4r0yyWK9JzAlmA0LiYgGgmJe/Gswt4jTJEzr5QhJfwMbvJZDmYWyW0M4X7yCK69BajMVlV/Lx8g7WDc1+sw==",
+      "license": "OFL-1.1",
+      "funding": {
+        "url": "https://github.com/sponsors/ayuhito"
+      }
+    },
+    "node_modules/@fontsource/barlow": {
+      "version": "5.3.0",
+      "resolved": "https://registry.npmjs.org/@fontsource/barlow/-/barlow-5.3.0.tgz",
+      "integrity": "sha512-tGR0y6QObRtKv71MOth44222+mdNFM/ZWFWDV1VLzNbG4oK9PNRlyJzmkck4vHAi9ibHBXgt4SlY51amFP55CA==",
+      "license": "OFL-1.1",
+      "funding": {
+        "url": "https://github.com/sponsors/ayuhito"
+      }
+    },
     "node_modules/@fontsource/barlow-condensed": {
       "version": "5.3.0",
       "resolved": "https://registry.npmjs.org/@fontsource/barlow-condensed/-/barlow-condensed-5.3.0.tgz",

+ 5 - 0
package.json

@@ -27,14 +27,19 @@
     "@dnd-kit/core": "^6.3.1",
     "@dnd-kit/sortable": "^10.0.0",
     "@dnd-kit/utilities": "^3.2.2",
+    "@fontsource-variable/archivo": "^5.3.0",
     "@fontsource-variable/atkinson-hyperlegible-mono": "^5.3.0",
     "@fontsource-variable/atkinson-hyperlegible-next": "^5.3.0",
     "@fontsource-variable/geist": "^5.3.0",
     "@fontsource-variable/geist-mono": "^5.3.0",
     "@fontsource-variable/ibm-plex-sans": "^5.3.0",
+    "@fontsource-variable/instrument-sans": "^5.3.0",
     "@fontsource-variable/inter": "^5.3.0",
     "@fontsource-variable/inter-tight": "^5.3.0",
     "@fontsource-variable/jetbrains-mono": "^5.3.0",
+    "@fontsource-variable/newsreader": "^5.3.0",
+    "@fontsource-variable/plus-jakarta-sans": "^5.3.0",
+    "@fontsource/barlow": "^5.3.0",
     "@fontsource/barlow-condensed": "^5.3.0",
     "@fontsource/ibm-plex-mono": "^5.3.0",
     "@prisma/adapter-pg": "^7.8.0",

+ 61 - 0
prisma/migrations/20261115130000_portal_messages/migration.sql

@@ -0,0 +1,61 @@
+-- The conversation between a customer and the workshop in the customer
+-- portal, and the portal's cover photo.
+--
+-- The portal no longer has a background picker: a workshop chooses a theme,
+-- and the picture it uploaded as a background becomes the cover photo of its
+-- sign-in page. The gradient templates are gone with the picker.
+BEGIN;
+
+-- CreateTable
+CREATE TABLE "portal_messages" (
+    "id" TEXT NOT NULL,
+    "direction" TEXT NOT NULL,
+    "body" TEXT NOT NULL DEFAULT '',
+    "attachments" TEXT[] DEFAULT ARRAY[]::TEXT[],
+    "readAt" TIMESTAMP(3),
+    "createdAt" TIMESTAMP(3) NOT NULL DEFAULT CURRENT_TIMESTAMP,
+    "authorUserId" TEXT,
+    "organizationId" TEXT NOT NULL,
+    "customerId" TEXT NOT NULL,
+
+    CONSTRAINT "portal_messages_pkey" PRIMARY KEY ("id")
+);
+
+-- CreateIndex
+CREATE INDEX "portal_messages_organizationId_customerId_createdAt_idx" ON "portal_messages"("organizationId", "customerId", "createdAt" DESC);
+
+-- CreateIndex
+CREATE INDEX "portal_messages_organizationId_direction_readAt_idx" ON "portal_messages"("organizationId", "direction", "readAt");
+
+-- AddForeignKey
+ALTER TABLE "portal_messages" ADD CONSTRAINT "portal_messages_authorUserId_fkey" FOREIGN KEY ("authorUserId") REFERENCES "users"("id") ON DELETE SET NULL ON UPDATE CASCADE;
+
+-- AddForeignKey
+ALTER TABLE "portal_messages" ADD CONSTRAINT "portal_messages_organizationId_fkey" FOREIGN KEY ("organizationId") REFERENCES "organizations"("id") ON DELETE CASCADE ON UPDATE CASCADE;
+
+-- AddForeignKey
+ALTER TABLE "portal_messages" ADD CONSTRAINT "portal_messages_customerId_fkey" FOREIGN KEY ("customerId") REFERENCES "customers"("id") ON DELETE CASCADE ON UPDATE CASCADE;
+
+-- A request for a visit can carry the customer's photos and video, and the
+-- part of the day that suits them.
+-- AlterTable
+ALTER TABLE "service_requests" ADD COLUMN     "attachments" TEXT[] DEFAULT ARRAY[]::TEXT[],
+ADD COLUMN     "preferredTime" TEXT;
+
+-- An uploaded background picture becomes the cover photo, wherever one was
+-- uploaded: a workshop that later switched to a gradient still owns the file.
+INSERT INTO "app_settings" ("id", "key", "value", "userId", "organizationId")
+SELECT 'cover_' || s."id", 'portal.cover', s."value", s."userId", s."organizationId"
+FROM "app_settings" s
+WHERE s."key" = 'portal.background.image'
+  AND s."value" <> ''
+  AND s."organizationId" IS NOT NULL
+  AND NOT EXISTS (
+    SELECT 1 FROM "app_settings" c
+    WHERE c."organizationId" = s."organizationId" AND c."key" = 'portal.cover'
+  );
+
+DELETE FROM "app_settings"
+WHERE "key" IN ('portal.background.type', 'portal.background.template', 'portal.background.image');
+
+COMMIT;

+ 1 - 0
prisma/schema/auth.prisma

@@ -37,6 +37,7 @@ model User {
   dashboardLayout     Json?
 
   sessions                 Session[]
+  portalMessages           PortalMessage[]
   devices                  UserDevice[]
   accounts                 Account[]
   pushDevices              PushDevice[]

+ 11 - 0
prisma/schema/customers.prisma

@@ -29,6 +29,7 @@ model Customer {
   smsMessages         SmsMessage[]
   telegramMessages    TelegramMessage[]
   whatsappMessages    WhatsappMessage[]
+  portalMessages      PortalMessage[]
   emailMessages       EmailMessage[]
   customerSessions    CustomerSession[]
   scheduledMessages   ScheduledMessage[]
@@ -117,6 +118,16 @@ model ServiceRequest {
   id            String    @id @default(cuid())
   description   String
   preferredDate DateTime?
+  /// The part of the day the customer would rather come: "morning" or
+  /// "afternoon". Null when any time suits, and on every request without a day.
+  preferredTime String?
+  /// Photos and video the customer sent with the request from the portal, in
+  /// order, as stored file urls
+  /// (`/api/protected/files/<org>/portal-uploads/<uuid>.jpg`). A text array,
+  /// like `PortalMessage.attachments`, so the file manager
+  /// (lib/files/references.ts) keeps each file for as long as the request
+  /// mentions it. What kind of file each is follows from its extension.
+  attachments   String[]  @default([])
   status        String    @default("pending")
   adminNotes    String?
   createdAt     DateTime  @default(now())

+ 47 - 0
prisma/schema/messaging.prisma

@@ -250,3 +250,50 @@ model EmailAttachment {
   @@index([messageId])
   @@map("email_attachments")
 }
+
+/// One message in the conversation a customer has with the workshop inside
+/// the customer portal. The customer writes from the portal; the workshop
+/// reads and answers in the Messages inbox, as the channel "portal".
+///
+/// One thread per customer: there is no thread row, a thread is every message
+/// of one customer in one workshop, oldest first. Job events (checked in,
+/// quote sent, invoice issued) are drawn into the thread from the records
+/// themselves and are never stored here.
+model PortalMessage {
+  id        String @id @default(cuid())
+  /// "inbound" (written by the customer) | "outbound" (written by the workshop)
+  direction String
+
+  /// The text. Empty when the message is only photos.
+  body String @default("")
+
+  /// Photos and video sent with the message, in order, as stored file urls
+  /// (`/api/protected/files/<org>/portal-uploads/<uuid>.jpg`). A text array
+  /// and not JSON so the file manager (lib/files/references.ts) can read it
+  /// cheaply: it keeps a file for as long as a message mentions it. What kind
+  /// of file each is follows from its extension.
+  attachments String[] @default([])
+
+  /// When the other side first saw it: the workshop for an inbound message
+  /// (opening the thread in the inbox), the customer for an outbound one
+  /// (opening the chat in the portal). Null while it is unread.
+  readAt    DateTime?
+  createdAt DateTime  @default(now())
+
+  /// The staff member who wrote an outbound message. Null on inbound ones,
+  /// and on outbound ones whose author has since been removed.
+  authorUserId String?
+  author       User?   @relation(fields: [authorUserId], references: [id], onDelete: SetNull)
+
+  organizationId String
+  organization   Organization @relation(fields: [organizationId], references: [id], onDelete: Cascade)
+
+  customerId String
+  customer   Customer @relation(fields: [customerId], references: [id], onDelete: Cascade)
+
+  /// A customer's thread, newest first, and their unread count.
+  @@index([organizationId, customerId, createdAt(sort: Desc)])
+  /// The workshop's unread count: inbound rows nobody has opened.
+  @@index([organizationId, direction, readAt])
+  @@map("portal_messages")
+}

+ 1 - 0
prisma/schema/organization.prisma

@@ -64,6 +64,7 @@ model Organization {
   smsMessages                 SmsMessage[]
   telegramMessages            TelegramMessage[]
   whatsappMessages            WhatsappMessage[]
+  portalMessages              PortalMessage[]
   emailMessages               EmailMessage[]
   technicians                 Technician[]
   workBays                    WorkBay[]

+ 46 - 9
src/__tests__/api/portal-signin-link.test.ts

@@ -23,6 +23,10 @@ vi.mock('@/lib/portal-slug', () => ({ resolvePortalOrg: vi.fn() }))
 import { db } from '@/lib/db'
 import { resolvePortalOrg } from '@/lib/portal-slug'
 import { GET, POST } from '@/app/(public)/portal/[orgId]/auth/verify/route'
+import { SIGN_IN_ERROR_CODES, signInErrorMessageKey } from '@/features/portal/Lib/signInLink'
+import portalMessages from '../../../messages/en/portal.json'
+
+const loginMessages = portalMessages.login
 
 const ORG = 'org-a'
 const TOKEN = 'a'.repeat(64)
@@ -90,17 +94,21 @@ describe('opening the sign-in link', () => {
   })
 
   it.each([
-    ['a link that was already used', { usedAt: new Date() }, 'already been used'],
-    ['a link past its fifteen minutes', { expiresAt: new Date(Date.now() - 1000) }, 'has expired'],
-    ["another workshop's link", { organizationId: 'org-b' }, 'Invalid or expired link'],
-  ])('sends %s back to the login page with the reason', async (_name, overrides, reason) => {
+    ['a link that was already used', { usedAt: new Date() }, 'used'],
+    ['a link past its fifteen minutes', { expiresAt: new Date(Date.now() - 1000) }, 'expired'],
+    ["another workshop's link", { organizationId: 'org-b' }, 'invalid'],
+  ])('sends %s back to the login page with the reason as a code', async (_name, overrides, code) => {
     vi.mocked(db.customerMagicLink.findUnique).mockResolvedValue(link(overrides) as never)
 
     const res = await open()
 
-    const location = decodeURIComponent(res.headers.get('location') ?? '')
-    expect(location).toContain(`${BASE}/login?error=`)
-    expect(location).toContain(reason)
+    // A short code, which the login page words in the customer's language.
+    expect(res.headers.get('location')).toBe(`${BASE}/login?error=${code}`)
+  })
+
+  it('sends an address without a token back with a code, not English text', async () => {
+    const res = await GET(new Request(`${BASE}/verify`), params)
+    expect(res.headers.get('location')).toBe(`${BASE}/login?error=invalid`)
   })
 })
 
@@ -126,7 +134,7 @@ describe('pressing Continue to sign in', () => {
 
     const res = await press()
 
-    expect(decodeURIComponent(res.headers.get('location') ?? '')).toContain('already been used')
+    expect(res.headers.get('location')).toBe(`${BASE}/login?error=used`)
     expect(db.customerSession.create).not.toHaveBeenCalled()
   })
 
@@ -158,7 +166,36 @@ describe('pressing Continue to sign in', () => {
 
     const res = await press()
 
-    expect(decodeURIComponent(res.headers.get('location') ?? '')).toContain('has expired')
+    expect(res.headers.get('location')).toBe(`${BASE}/login?error=expired`)
+    expect(db.customerSession.create).not.toHaveBeenCalled()
+  })
+
+  it('says the account is missing when the link outlived its customer', async () => {
+    vi.mocked(db.customer.findFirst).mockResolvedValue(null)
+
+    const res = await press()
+
+    expect(res.headers.get('location')).toBe(`${BASE}/login?error=no-account`)
     expect(db.customerSession.create).not.toHaveBeenCalled()
   })
 })
+
+describe('the message the login page shows', () => {
+  it('words every code the sign-in routes send', () => {
+    for (const code of SIGN_IN_ERROR_CODES) {
+      const key = signInErrorMessageKey(code)
+      expect(key, code).not.toBeNull()
+      expect(loginMessages.errors[key as keyof typeof loginMessages.errors], code).toEqual(
+        expect.any(String)
+      )
+    }
+    expect(loginMessages.errors.used).toContain('already been used')
+  })
+
+  it('shows nothing for text someone typed into the address', () => {
+    expect(signInErrorMessageKey('Your account is locked, call +1 555 0100')).toBeNull()
+    expect(signInErrorMessageKey('toString')).toBeNull()
+    expect(signInErrorMessageKey(['used'])).toBeNull()
+    expect(signInErrorMessageKey(undefined)).toBeNull()
+  })
+})

+ 331 - 0
src/__tests__/api/portal-upload.test.ts

@@ -0,0 +1,331 @@
+/**
+ * @vitest-environment node
+ *
+ * The one route a customer's files arrive through: a photo for the chat,
+ * photos and a short video with a request for a visit. A customer is signed
+ * in to one workshop's portal and nothing more, so who may write, what, how
+ * large and how often are all decided here; and a file that is never sent is
+ * let go through the file manager, never left for good.
+ */
+import { beforeEach, describe, expect, it, vi } from 'vitest'
+
+vi.mock('server-only', () => ({}))
+vi.mock('@/lib/customer-session', () => ({ getCustomerSession: vi.fn() }))
+vi.mock('@/lib/portal-slug', () => ({ resolvePortalOrg: vi.fn() }))
+vi.mock('@/features/portal/Lib/portalLive', () => ({ isPortalLive: vi.fn() }))
+vi.mock('@/lib/backup/freeze', () => ({
+  isRestoring: vi.fn(() => false),
+  RESTORE_IN_PROGRESS_MESSAGE: 'A restore is running',
+}))
+vi.mock('@/lib/rate-limit', () => ({ rateLimit: vi.fn(() => null) }))
+vi.mock('@/lib/image-upload.server', () => ({ compressPhoto: vi.fn() }))
+vi.mock('@/lib/files/manager', () => ({
+  discardUnsavedUpload: vi.fn(async () => undefined),
+  releaseFiles: vi.fn(),
+}))
+vi.mock('@/lib/upload-root', () => ({ uploadsRoot: () => '/tmp/uploads' }))
+vi.mock('node:fs/promises', () => {
+  const fs = { mkdir: vi.fn(), writeFile: vi.fn() }
+  return { ...fs, default: fs }
+})
+
+import { writeFile } from 'node:fs/promises'
+import { isPortalLive } from '@/features/portal/Lib/portalLive'
+import {
+  isOwnPortalUpload,
+  portalUploadFileName,
+} from '@/features/portal/Lib/portalUploadOwner.server'
+import { PORTAL_PHOTO_MAX_BYTES, PORTAL_VIDEO_MAX_BYTES } from '@/features/portal/Lib/portalUploads'
+import { isRestoring } from '@/lib/backup/freeze'
+import { getCustomerSession } from '@/lib/customer-session'
+import { discardUnsavedUpload, releaseFiles } from '@/lib/files/manager'
+import { compressPhoto } from '@/lib/image-upload.server'
+import { resolvePortalOrg } from '@/lib/portal-slug'
+
+const ADDRESS = 'http://app.test/portal/fjordside/upload'
+const STORED = /^\/api\/protected\/files\/org-1\/portal-uploads\/[0-9a-f-]{36}\.(jpg|mp4|webm)$/
+const stored = (name: string, org = 'org-1') => `/api/protected/files/${org}/portal-uploads/${name}`
+process.env.BETTER_AUTH_SECRET = 'a-secret-for-the-portal-upload-route'
+/** A file the signed-in customer (cust-1) uploaded: its name says whose it is. */
+const mine = (ext = 'jpg', customerId = 'cust-1', org = 'org-1') =>
+  stored(portalUploadFileName(org, customerId, ext), org)
+
+/** The route keeps a count per customer in memory, so each test gets a fresh module. */
+async function route() {
+  vi.resetModules()
+  return import('@/app/(public)/portal/[orgId]/upload/route')
+}
+
+const params = { params: Promise.resolve({ orgId: 'fjordside' }) }
+
+async function post(file?: File, headers?: Record<string, string>) {
+  const { POST } = await route()
+  const body = new FormData()
+  if (file) body.append('file', file)
+  return POST(new Request(ADDRESS, { method: 'POST', body, headers }), params)
+}
+
+async function remove(body: unknown) {
+  const { DELETE } = await route()
+  return DELETE(
+    new Request(ADDRESS, {
+      method: 'DELETE',
+      headers: { 'Content-Type': 'application/json' },
+      body: JSON.stringify(body),
+    }),
+    params
+  )
+}
+
+const photo = (name = 'IMG_0001.HEIC', type = 'image/heic') =>
+  new File([new Uint8Array([0xff, 0xd8, 0xff, 0xe0])], name, { type })
+/** The first bytes of an MP4 or a QuickTime file: a box whose type is "ftyp". */
+const MP4 = [0, 0, 0, 0x18, 0x66, 0x74, 0x79, 0x70, 0x69, 0x73, 0x6f, 0x6d, 0, 0, 0, 0]
+const video = (type = 'video/mp4', bytes = MP4) =>
+  new File([new Uint8Array(bytes)], 'noise.MOV', { type })
+beforeEach(() => {
+  vi.mocked(getCustomerSession)
+    .mockReset()
+    .mockResolvedValue({ customerId: 'cust-1', organizationId: 'org-1' } as never)
+  vi.mocked(resolvePortalOrg)
+    .mockReset()
+    .mockResolvedValue({ id: 'org-1', name: 'Fjordside Auto' } as never)
+  vi.mocked(isPortalLive).mockReset().mockResolvedValue(true)
+  vi.mocked(isRestoring).mockReset().mockReturnValue(false)
+  vi.mocked(compressPhoto)
+    .mockReset()
+    .mockResolvedValue({ data: Buffer.from('a smaller jpeg'), width: 1600, height: 1200 })
+  vi.mocked(writeFile).mockReset()
+  vi.mocked(discardUnsavedUpload).mockClear()
+  vi.mocked(releaseFiles)
+    .mockReset()
+    .mockImplementation(async (urls) => ({ removed: [...urls] as string[], kept: [], skipped: [] }))
+})
+
+describe('who may upload', () => {
+  it('refuses a visitor who is not signed in', async () => {
+    vi.mocked(getCustomerSession).mockResolvedValue(null)
+    const response = await post(photo())
+    expect(response.status).toBe(401)
+    expect(await response.json()).toMatchObject({ code: 'signedOut' })
+    expect(writeFile).not.toHaveBeenCalled()
+  })
+
+  it('refuses a customer of another workshop, whatever the address says', async () => {
+    vi.mocked(getCustomerSession).mockResolvedValue({
+      customerId: 'cust-9',
+      organizationId: 'org-other',
+    } as never)
+    const response = await post(photo())
+    expect(response.status).toBe(403)
+    expect(writeFile).not.toHaveBeenCalled()
+  })
+
+  it('refuses when the workshop has closed its portal, and while a restore runs', async () => {
+    vi.mocked(isPortalLive).mockResolvedValue(false)
+    expect((await post(photo())).status).toBe(403)
+
+    vi.mocked(isPortalLive).mockResolvedValue(true)
+    vi.mocked(isRestoring).mockReturnValue(true)
+    const response = await post(photo())
+    expect(response.status).toBe(409)
+    expect(await response.json()).toMatchObject({ code: 'restoring' })
+    expect(writeFile).not.toHaveBeenCalled()
+  })
+
+  it('answers 404 for a portal that does not exist', async () => {
+    vi.mocked(resolvePortalOrg).mockResolvedValue(null as never)
+    expect((await post(photo())).status).toBe(404)
+  })
+})
+
+describe('what may be uploaded', () => {
+  it("stores a photo as a smaller JPEG in the workshop's portal-uploads folder", async () => {
+    const response = await post(photo())
+    expect(response.status).toBe(201)
+    const answer = await response.json()
+    expect(answer.url).toMatch(STORED)
+    expect(answer).toMatchObject({ name: 'IMG_0001.jpg', type: 'image/jpeg', size: 14 })
+    // The name says who uploaded it: theirs to send, nobody else's.
+    expect(isOwnPortalUpload(answer.url, 'org-1', 'cust-1')).toBe(true)
+    expect(isOwnPortalUpload(answer.url, 'org-1', 'cust-2')).toBe(false)
+
+    const [target, data] = vi.mocked(writeFile).mock.calls[0]
+    expect(String(target)).toMatch(/^\/tmp\/uploads\/org-1\/portal-uploads\/[0-9a-f-]{36}\.jpg$/)
+    // What was decoded and saved again, never the bytes as sent.
+    expect(Buffer.from(data as Uint8Array).toString()).toBe('a smaller jpeg')
+  })
+
+  it('keeps a video as it came, named for the container its bytes hold', async () => {
+    const response = await post(video('video/quicktime'))
+    expect(response.status).toBe(201)
+    const answer = await response.json()
+    expect(answer.url).toMatch(/\.mp4$/)
+    expect(answer).toMatchObject({ name: 'noise.mp4', type: 'video/mp4', size: MP4.length })
+    expect(compressPhoto).not.toHaveBeenCalled()
+  })
+
+  it('refuses a document, a script and an SVG by their type', async () => {
+    for (const type of ['application/pdf', 'text/html', 'image/svg+xml', 'application/zip']) {
+      const response = await post(new File(['x'], 'file', { type }))
+      expect(response.status, type).toBe(400)
+      expect(await response.json()).toMatchObject({ code: 'type' })
+    }
+    expect(writeFile).not.toHaveBeenCalled()
+  })
+
+  it('refuses a file that only calls itself a photo or a video', async () => {
+    vi.mocked(compressPhoto).mockRejectedValue(new Error('Not an image we can read'))
+    expect((await post(photo('page.jpg', 'image/jpeg'))).status).toBe(400)
+
+    // A playlist labelled as a video: its bytes are not a container.
+    const playlist = new File(['#EXTM3U\n/etc/passwd\n'], 'clip.mp4', { type: 'video/mp4' })
+    const response = await post(playlist)
+    expect(response.status).toBe(400)
+    expect(await response.json()).toMatchObject({ code: 'type' })
+    expect(writeFile).not.toHaveBeenCalled()
+  })
+
+  it('refuses an empty file, and a request without one', async () => {
+    const empty = await post(new File([], 'nothing.jpg', { type: 'image/jpeg' }))
+    expect(await empty.json()).toMatchObject({ code: 'empty' })
+    const none = await post()
+    expect(none.status).toBe(400)
+    expect(await none.json()).toMatchObject({ code: 'noFile' })
+  })
+
+  it('refuses a photo over 15 MB and a video over 100 MB', async () => {
+    const { POST } = await route()
+    // A file that says how large it is without holding the bytes: the size
+    // is read from the parsed form, so the form is handed over parsed.
+    const send = (file: File, size: number) => {
+      Object.defineProperty(file, 'size', { value: size })
+      const request = {
+        url: ADDRESS,
+        headers: new Headers(),
+        formData: async () => ({ get: () => file }),
+      } as unknown as Request
+      return POST(request, params)
+    }
+
+    const bigPhoto = await send(photo(), PORTAL_PHOTO_MAX_BYTES + 1)
+    expect(bigPhoto.status).toBe(400)
+    expect(await bigPhoto.json()).toMatchObject({ code: 'tooLarge' })
+
+    // A video may be larger than a photo, up to its own limit.
+    expect((await send(video(), PORTAL_PHOTO_MAX_BYTES + 1)).status).toBe(201)
+    const bigVideo = await send(video(), PORTAL_VIDEO_MAX_BYTES + 1)
+    expect(bigVideo.status).toBe(400)
+    expect(await bigVideo.json()).toMatchObject({ code: 'tooLarge' })
+    expect(writeFile).toHaveBeenCalledTimes(1)
+  })
+
+  it('refuses an oversized request from its header, before reading the body', async () => {
+    const { POST } = await route()
+    const formData = vi.fn()
+    const request = {
+      url: ADDRESS,
+      headers: new Headers({ 'content-length': String(PORTAL_VIDEO_MAX_BYTES + 5 * 1024 * 1024) }),
+      formData,
+    } as unknown as Request
+    const response = await POST(request, params)
+    expect(response.status).toBe(413)
+    expect(formData).not.toHaveBeenCalled()
+  })
+
+  it('leaves no half-written file behind when the disk refuses it', async () => {
+    vi.mocked(writeFile).mockRejectedValue(new Error('ENOSPC'))
+    const error = vi.spyOn(console, 'error').mockImplementation(() => undefined)
+    const response = await post(photo())
+    expect(response.status).toBe(500)
+    expect(discardUnsavedUpload).toHaveBeenCalledWith(
+      'org-1',
+      'portal-uploads',
+      expect.stringMatching(/^[0-9a-f-]{36}\.jpg$/)
+    )
+    error.mockRestore()
+  })
+})
+
+describe('how often', () => {
+  it('stops one customer after forty files in a quarter of an hour, and not the next customer', async () => {
+    const { POST } = await route()
+    const send = () => {
+      const body = new FormData()
+      body.append('file', photo())
+      return POST(new Request(ADDRESS, { method: 'POST', body }), params)
+    }
+    for (let i = 0; i < 40; i++) expect((await send()).status).toBe(201)
+
+    const over = await send()
+    expect(over.status).toBe(429)
+    expect(await over.json()).toMatchObject({ code: 'tooMany' })
+    expect(writeFile).toHaveBeenCalledTimes(40)
+
+    vi.mocked(getCustomerSession).mockResolvedValue({
+      customerId: 'cust-2',
+      organizationId: 'org-1',
+    } as never)
+    expect((await send()).status).toBe(201)
+  })
+})
+
+describe('a file that is never sent', () => {
+  it('is released through the file manager when the customer takes it out', async () => {
+    const file = mine()
+    const response = await remove({ url: file })
+    expect(response.status).toBe(200)
+    expect(await response.json()).toEqual({ removed: 1, kept: 0 })
+    expect(releaseFiles).toHaveBeenCalledWith(
+      [file],
+      expect.objectContaining({ organizationId: 'org-1' })
+    )
+  })
+
+  it('releases everything left in a form the customer walked away from', async () => {
+    const files = [mine('jpg'), mine('mp4')]
+    await remove({ urls: files })
+    expect(vi.mocked(releaseFiles).mock.calls[0][0]).toEqual(files)
+  })
+
+  it('says so when the file is already part of a request or a message, and keeps it', async () => {
+    const file = mine()
+    vi.mocked(releaseFiles).mockResolvedValue({ removed: [], kept: [file], skipped: [] })
+    expect(await (await remove({ url: file })).json()).toEqual({ removed: 0, kept: 1 })
+  })
+
+  it("never touches another workshop's file, or anything outside portal-uploads", async () => {
+    const response = await remove({
+      urls: [
+        mine('jpg', 'cust-1', 'org-other'),
+        '/api/protected/files/org-1/services/job-photo.jpg',
+        '/api/protected/files/org-1/logos/logo.png',
+        '/api/protected/files/org-1/portal-uploads/../services/x.jpg',
+        'https://example.com/a.jpg',
+        42,
+      ],
+    })
+    expect(response.status).toBe(400)
+    expect(releaseFiles).not.toHaveBeenCalled()
+  })
+
+  it("never takes away another customer's upload, or one the staff made", async () => {
+    // Not sent yet, so no row protects it: only its name says it is not theirs.
+    const response = await remove({
+      urls: [mine('jpg', 'cust-2'), stored('11111111-1111-4111-8111-111111111111.jpg')],
+    })
+    expect(response.status).toBe(400)
+    expect(releaseFiles).not.toHaveBeenCalled()
+
+    // Named beside one of their own, only their own goes.
+    const own = mine()
+    await remove({ urls: [mine('jpg', 'cust-2'), own] })
+    expect(vi.mocked(releaseFiles).mock.calls[0][0]).toEqual([own])
+  })
+
+  it('refuses a visitor who is not signed in', async () => {
+    vi.mocked(getCustomerSession).mockResolvedValue(null)
+    expect((await remove({ url: mine() })).status).toBe(401)
+    expect(releaseFiles).not.toHaveBeenCalled()
+  })
+})

+ 2 - 1
src/__tests__/app/api/restore-freeze-public-routes.test.ts

@@ -26,7 +26,7 @@ vi.mock('@/lib/db', () => ({
     inspectionAttachment: { count: vi.fn(), create: vi.fn() },
     inspectionQuoteRequest: { findFirst: vi.fn(), create: vi.fn(), delete: vi.fn() },
     serviceRecord: { findFirst: vi.fn(), update: vi.fn() },
-    quote: { findFirst: vi.fn(), update: vi.fn() },
+    quote: { findFirst: vi.fn(), update: vi.fn(), updateMany: vi.fn() },
     auditLog: { count: vi.fn() },
   },
 }))
@@ -197,6 +197,7 @@ describe('customer forms during a restore', () => {
     expect(res.status).toBe(409)
     expect(await res.json()).toEqual({ success: false, error: RESTORE_IN_PROGRESS_MESSAGE })
     expect(db.quote.update).not.toHaveBeenCalled()
+    expect(db.quote.updateMany).not.toHaveBeenCalled()
   })
 
   it('a view stamp is skipped for a frozen workshop and written for another', async () => {

+ 89 - 0
src/__tests__/app/customers/service-request-day.test.tsx

@@ -0,0 +1,89 @@
+/**
+ * The day a customer asked to come in, on the customer's page in the app. It
+ * is stored as midnight on the workshop's clock, so it is that day wherever
+ * the person reading it sits: a bookkeeper a few zones west of the workshop
+ * must not read the day before.
+ */
+import { render, screen } from '@testing-library/react'
+import { describe, expect, it, vi } from 'vitest'
+import { DateSettingsProvider } from '@/components/date-settings-context'
+
+vi.mock('next/navigation', () => ({
+  useRouter: () => ({ push: vi.fn(), refresh: vi.fn() }),
+  useSearchParams: () => new URLSearchParams(),
+}))
+vi.mock('sonner', () => ({ toast: { success: vi.fn(), error: vi.fn() } }))
+vi.mock('@/features/customers/Actions/customerActions', () => ({
+  updateServiceRequest: vi.fn(),
+  createWorkOrderFromRequest: vi.fn(),
+}))
+vi.mock('@/features/settings/Actions/timezoneActions', () => ({ adoptDetectedTimezone: vi.fn() }))
+// Parts of the page that are not the request card.
+vi.mock('@/features/ai/Components/AskAiSheet', () => ({ AskAiSheet: () => null }))
+vi.mock('@/features/sms/Components/SmsConversation', () => ({ SmsConversation: () => null }))
+vi.mock('@/features/whatsapp/Components/WhatsappConversation', () => ({
+  WhatsappConversation: () => null,
+}))
+vi.mock('@/features/telegram/Components/TelegramConversation', () => ({
+  TelegramConversation: () => null,
+}))
+vi.mock('@/features/customers/Components/CustomerForm', () => ({ CustomerForm: () => null }))
+vi.mock('@/features/vehicles/Components/VehicleForm', () => ({ VehicleForm: () => null }))
+vi.mock('@/features/sms/Components/SendSmsDialog', () => ({ SendSmsDialog: () => null }))
+vi.mock('@/features/telegram/Components/TelegramQrCode', () => ({ TelegramQrCode: () => null }))
+vi.mock('@/features/portal/Components/ServiceRequestFiles', () => ({
+  ServiceRequestFiles: () => null,
+}))
+
+import { ServiceRequestCard } from '@/app/(authenticated)/customers/[id]/customer-detail-client'
+
+/**
+ * A workshop on Kiritimati, fourteen hours ahead of UTC: its midnight is ten
+ * in the morning of the day before in UTC, and the day before in every zone
+ * a browser or this test could be running in.
+ */
+const WORKSHOP_ZONE = 'Pacific/Kiritimati'
+// Midnight on 10 December 2026 in the workshop.
+const WISHED_DAY = new Date('2026-12-09T10:00:00Z')
+
+function card(preferredTime: string | null = null) {
+  render(
+    <DateSettingsProvider dateFormat="yyyy-MM-dd" timeFormat="24h" timezone={WORKSHOP_ZONE}>
+      <ServiceRequestCard
+        request={{
+          id: 'req-1',
+          description: 'A knocking noise from the front',
+          preferredDate: WISHED_DAY,
+          preferredTime,
+          attachments: [],
+          status: 'pending',
+          adminNotes: null,
+          // 23:30 on 1 December in UTC, already 2 December in the workshop.
+          createdAt: new Date('2026-12-01T23:30:00Z'),
+          vehicle: { id: 'v1', make: 'Volvo', model: 'V60', year: 2019 },
+        }}
+        smsEnabled={false}
+        customerPhone={null}
+        customerName="Kari Nordmann"
+        customerId="c1"
+      />
+    </DateSettingsProvider>
+  )
+}
+
+describe("a service request on the customer's page", () => {
+  it("shows the wished day as the workshop's day, not the day before", () => {
+    card()
+    expect(screen.getByText('Preferred: 2026-12-10')).toBeInTheDocument()
+  })
+
+  it('keeps the part of the day beside it', () => {
+    card('morning')
+    expect(screen.getByText('Preferred: 2026-12-10, morning')).toBeInTheDocument()
+  })
+
+  it("dates the request on the workshop's calendar too", () => {
+    card()
+    expect(screen.getByText('Submitted 2026-12-02')).toBeInTheDocument()
+  })
+})

+ 256 - 0
src/__tests__/features/messaging/portal-conversation.test.tsx

@@ -0,0 +1,256 @@
+/**
+ * A customer's portal thread in the workshop's inbox: what they wrote and
+ * the photos they sent, an answer typed and sent with Enter, and a thread
+ * that can be read but not answered once the portal's chat is turned off.
+ */
+import { act, render, screen, waitFor } from '@testing-library/react'
+import userEvent from '@testing-library/user-event'
+import { beforeEach, describe, expect, it, vi } from 'vitest'
+
+const actions = vi.hoisted(() => ({
+  getPortalConversation: vi.fn(),
+  markPortalMessagesSeen: vi.fn(),
+  sendPortalReply: vi.fn(),
+}))
+vi.mock('@/features/messaging/Actions/portalThreadActions', () => actions)
+// The app's socket: the conversation follows the customer, and the test
+// speaks for the server.
+const realtime = vi.hoisted(() => ({
+  handler: null as ((change: { hint?: string } | null) => void) | null,
+  following: null as string | null,
+}))
+vi.mock('@/features/realtime/hooks', () => ({
+  useRecordChanges: (
+    kind: string,
+    id: string,
+    handler: (change: { hint?: string } | null) => void
+  ) => {
+    realtime.following = `${kind}:${id}`
+    realtime.handler = handler
+  },
+}))
+vi.mock('sonner', () => ({ toast: { error: vi.fn(), success: vi.fn(), info: vi.fn() } }))
+
+import { PortalConversation } from '@/features/messaging/Components/PortalConversation'
+import { isActiveConversation } from '@/features/messaging/activeConversation'
+import { toast } from 'sonner'
+
+const PHOTO = '/api/protected/files/org1/portal-uploads/11111111-1111-4111-8111-111111111111.jpg'
+const inbound = {
+  id: 'pm1',
+  direction: 'inbound',
+  body: 'The brake light came on this morning.',
+  attachments: [{ url: PHOTO, kind: 'image' }],
+  authorName: null,
+  createdAt: '2026-11-14T08:05:00Z',
+  readAt: null,
+}
+const thread = (over: Record<string, unknown> = {}) => ({
+  success: true,
+  data: {
+    messages: [inbound],
+    nextCursor: null,
+    customerName: 'Kari Nordmann',
+    canReply: true,
+    ...over,
+  },
+})
+
+const open = () =>
+  render(<PortalConversation customerId="kari" customerName="Kari Nordmann" onSent={vi.fn()} />)
+
+beforeEach(() => {
+  vi.clearAllMocks()
+  actions.getPortalConversation.mockResolvedValue(thread())
+  actions.markPortalMessagesSeen.mockImplementation(async ({ ids }: { ids: string[] }) => ({
+    success: true,
+    data: { marked: ids.length },
+  }))
+})
+
+describe('a portal thread in the inbox', () => {
+  it('shows what the customer wrote and the photo they sent', async () => {
+    open()
+    expect(await screen.findByText('The brake light came on this morning.')).toBeInTheDocument()
+    expect(screen.getByRole('img', { name: 'Photo from Kari Nordmann' })).toHaveAttribute(
+      'src',
+      PHOTO
+    )
+    expect(actions.getPortalConversation).toHaveBeenCalledWith('kari')
+  })
+
+  it('is the conversation on screen, so a message for it does not ring the bell', async () => {
+    open()
+    await screen.findByText('The brake light came on this morning.')
+    expect(isActiveConversation('/messages?channel=portal&customerId=kari')).toBe(true)
+  })
+
+  it('sends an answer on Enter and adds it to the thread', async () => {
+    actions.sendPortalReply.mockResolvedValue({
+      success: true,
+      data: {
+        customerName: 'Kari Nordmann',
+        message: {
+          id: 'pm2',
+          direction: 'outbound',
+          body: 'Bring it in today, we will have a look.',
+          attachments: [],
+          authorName: 'Jonas Berg',
+          createdAt: '2026-11-14T08:10:00Z',
+          readAt: null,
+        },
+      },
+    })
+    const user = userEvent.setup()
+    open()
+    const field = await screen.findByLabelText('Write to Kari Nordmann in the portal')
+    await user.type(field, 'Bring it in today, we will have a look.{Enter}')
+
+    expect(actions.sendPortalReply).toHaveBeenCalledWith({
+      customerId: 'kari',
+      body: 'Bring it in today, we will have a look.',
+      attachments: [],
+    })
+    expect(await screen.findByText('Bring it in today, we will have a look.')).toBeInTheDocument()
+    expect(screen.getByText('Jonas Berg')).toBeInTheDocument()
+    expect(field).toHaveValue('')
+  })
+
+  it('puts the text back and says why when the answer could not be sent', async () => {
+    actions.sendPortalReply.mockResolvedValue({ success: false, error: 'Demo mode' })
+    const user = userEvent.setup()
+    open()
+    const field = await screen.findByLabelText('Write to Kari Nordmann in the portal')
+    await user.type(field, 'Hello{Enter}')
+    await waitFor(() => expect(toast.error).toHaveBeenCalledWith('Demo mode'))
+    expect(field).toHaveValue('Hello')
+  })
+
+  it('shows a new message from the customer at once, while the conversation is open', async () => {
+    open()
+    await screen.findByText('The brake light came on this morning.')
+    expect(realtime.following).toBe('customer:kari')
+
+    actions.getPortalConversation.mockResolvedValue(
+      thread({
+        messages: [
+          inbound,
+          { ...inbound, id: 'pm3', body: 'It is flashing now.', attachments: [] },
+        ],
+      })
+    )
+    // The open conversation keeps its own notification quiet, so this is
+    // what brings the message: the customer's thread changed.
+    act(() => realtime.handler?.({ hint: 'portal' }))
+    expect(await screen.findByText('It is flashing now.')).toBeInTheDocument()
+  })
+
+  it('marks as read the messages it shows, by id, and tells the inbox its counts changed', async () => {
+    const onRead = vi.fn()
+    actions.getPortalConversation.mockResolvedValue(
+      thread({
+        messages: [
+          { ...inbound, id: 'read-before', readAt: '2026-11-14T08:06:00Z' },
+          { ...inbound, id: 'ours', direction: 'outbound', authorName: 'Jonas Berg' },
+          inbound,
+        ],
+      })
+    )
+    render(<PortalConversation customerId="kari" customerName="Kari Nordmann" onRead={onRead} />)
+    await waitFor(() => expect(actions.markPortalMessagesSeen).toHaveBeenCalledTimes(1))
+    // Never "the whole thread": one that arrives after this read is not named.
+    expect(actions.markPortalMessagesSeen).toHaveBeenCalledWith({
+      customerId: 'kari',
+      ids: ['pm1'],
+    })
+    await waitFor(() => expect(onRead).toHaveBeenCalledTimes(1))
+
+    // A new message shows, and is then the one marked.
+    actions.getPortalConversation.mockResolvedValue(
+      thread({
+        messages: [
+          { ...inbound, readAt: '2026-11-14T08:07:00Z' },
+          { ...inbound, id: 'pm3', body: 'It is flashing now.', attachments: [] },
+        ],
+      })
+    )
+    act(() => realtime.handler?.({ hint: 'portal' }))
+    await waitFor(() =>
+      expect(actions.markPortalMessagesSeen).toHaveBeenLastCalledWith({
+        customerId: 'kari',
+        ids: ['pm3'],
+      })
+    )
+  })
+
+  it('leaves a message unread that the desk put back as unread, until the thread is read again', async () => {
+    const { rerender } = render(
+      <PortalConversation customerId="kari" customerName="Kari Nordmann" readSignal={1} />
+    )
+    await waitFor(() => expect(actions.markPortalMessagesSeen).toHaveBeenCalledTimes(1))
+
+    // "Mark as unread": the same message comes back unread on the re-read.
+    act(() => realtime.handler?.({ hint: 'portal' }))
+    await waitFor(() => expect(actions.getPortalConversation).toHaveBeenCalledTimes(2))
+    await act(async () => {
+      await new Promise((resolve) => setTimeout(resolve, 10))
+    })
+    expect(actions.markPortalMessagesSeen).toHaveBeenCalledTimes(1)
+
+    // Selecting the thread again reads it again.
+    rerender(<PortalConversation customerId="kari" customerName="Kari Nordmann" readSignal={2} />)
+    await waitFor(() => expect(actions.markPortalMessagesSeen).toHaveBeenCalledTimes(2))
+  })
+
+  it('shows that the customer has seen the answer when they open it', async () => {
+    const answer = {
+      id: 'pm2',
+      direction: 'outbound',
+      body: 'Bring it in today.',
+      attachments: [],
+      authorName: 'Jonas Berg',
+      createdAt: '2026-11-14T08:10:00Z',
+      readAt: null,
+    }
+    actions.getPortalConversation.mockResolvedValue(thread({ messages: [inbound, answer] }))
+    open()
+    await screen.findByText('Bring it in today.')
+    expect(screen.queryByText('Seen')).not.toBeInTheDocument()
+
+    actions.getPortalConversation.mockResolvedValue(
+      thread({ messages: [inbound, { ...answer, readAt: '2026-11-14T08:12:00Z' }] })
+    )
+    act(() => realtime.handler?.({ hint: 'portal' }))
+    expect(await screen.findByText('Seen')).toBeInTheDocument()
+  })
+
+  it('re-reads after the socket reconnects, and ignores other changes to the customer', async () => {
+    open()
+    await screen.findByText('The brake light came on this morning.')
+    const reads = actions.getPortalConversation.mock.calls.length
+    // The desk edited the customer's phone number: not the thread.
+    act(() => realtime.handler?.({}))
+    expect(actions.getPortalConversation.mock.calls.length).toBe(reads)
+    act(() => realtime.handler?.(null))
+    await waitFor(() => expect(actions.getPortalConversation.mock.calls.length).toBe(reads + 1))
+  })
+
+  it('can be read but not answered once the portal chat is turned off', async () => {
+    actions.getPortalConversation.mockResolvedValue(thread({ canReply: false }))
+    open()
+    expect(await screen.findByText('The brake light came on this morning.')).toBeInTheDocument()
+    expect(screen.queryByLabelText('Write to Kari Nordmann in the portal')).not.toBeInTheDocument()
+    expect(screen.getByRole('link', { name: 'Customer portal settings' })).toHaveAttribute(
+      'href',
+      '/settings/customer-portal'
+    )
+  })
+
+  it('offers to try again when the thread cannot be loaded', async () => {
+    actions.getPortalConversation.mockRejectedValueOnce(new Error('offline'))
+    const user = userEvent.setup()
+    open()
+    await user.click(await screen.findByRole('button', { name: 'Try again' }))
+    expect(await screen.findByText('The brake light came on this morning.')).toBeInTheDocument()
+  })
+})

+ 9 - 1
src/__tests__/features/messaging/unread-count.test.ts

@@ -14,6 +14,7 @@ const { db } = vi.hoisted(() => ({
     telegramMessage: { count: vi.fn(async () => 2) },
     whatsappMessage: { count: vi.fn(async () => 3) },
     emailMessage: { count: vi.fn(async () => 4) },
+    portalMessage: { count: vi.fn(async () => 5) },
   },
 }))
 vi.mock('@/lib/db', () => ({ db }))
@@ -22,7 +23,7 @@ import { countUnreadMessages } from '@/features/messaging/Lib/unreadCount'
 
 describe('countUnreadMessages', () => {
   it('adds up the channels', async () => {
-    expect(await countUnreadMessages('org_1')).toBe(10)
+    expect(await countUnreadMessages('org_1')).toBe(15)
   })
 
   it('counts every email, since unmatched addresses are listed as threads', async () => {
@@ -32,6 +33,13 @@ describe('countUnreadMessages', () => {
     })
   })
 
+  it('counts what customers wrote in the portal and nobody has opened', async () => {
+    await countUnreadMessages('org_1')
+    expect(db.portalMessage.count).toHaveBeenCalledWith({
+      where: { organizationId: 'org_1', direction: 'inbound', readAt: null },
+    })
+  })
+
   it('counts only messages that belong to a customer on SMS and Telegram', async () => {
     await countUnreadMessages('org_1')
     const listed = {

+ 524 - 0
src/__tests__/features/portal/chat-panel.test.tsx

@@ -0,0 +1,524 @@
+/**
+ * The chat a customer has with the workshop, as they use it: the thread
+ * under a line per day on the workshop's clock, photos that open large,
+ * what happened to the car drawn in between, a message that shows the moment
+ * it is sent and says so when it did not get there, and a composer that
+ * sends on Enter. The server is three actions, played here by a small
+ * stand-in that keeps a thread the way the real one does.
+ */
+
+import { QueryClient, QueryClientProvider } from '@tanstack/react-query'
+import { act, render, screen, waitFor, within } from '@testing-library/react'
+import userEvent from '@testing-library/user-event'
+import { afterEach, beforeEach, describe, expect, it, vi } from 'vitest'
+import type { PortalChatEvent, PortalChatMessage } from '@/features/portal/Lib/chatTypes'
+
+const server = vi.hoisted(() => ({
+  messages: [] as unknown[],
+  events: [] as unknown[],
+  enabled: true,
+  /** Set to make the next sends fail the way the action answers a refusal. */
+  refuse: null as string | null,
+  /** Set to make the poll fail. */
+  pollFails: false,
+  sent: [] as unknown[],
+  marked: 0,
+  markedIds: [] as string[],
+}))
+
+vi.mock('@/features/portal/Actions/getPortalThread', () => ({
+  getPortalThread: vi.fn(async () => {
+    if (server.pollFails) throw new Error('offline')
+    return {
+      success: true,
+      data: {
+        enabled: server.enabled,
+        unread: 0,
+        messages: server.messages,
+        events: server.events,
+        hasEarlier: false,
+      },
+    }
+  }),
+}))
+vi.mock('@/features/portal/Actions/sendPortalMessage', () => ({
+  sendPortalMessage: vi.fn(async (input: { body: string; attachments: string[] }) => {
+    server.sent.push(input)
+    if (server.refuse) return { success: false, error: server.refuse }
+    const message = {
+      id: `sent-${server.sent.length}`,
+      direction: 'inbound',
+      body: input.body,
+      attachments: input.attachments.map((url) => ({
+        url: url.replace('/api/protected/files/org1/portal-uploads/', '/portal/org1/files/'),
+        kind: 'image',
+      })),
+      authorName: null,
+      createdAt: new Date().toISOString(),
+      readAt: null,
+    }
+    server.messages = [...server.messages, message]
+    return { success: true, data: message }
+  }),
+}))
+vi.mock('@/features/portal/Actions/markPortalMessagesRead', () => ({
+  markPortalMessagesRead: vi.fn(async ({ ids }: { ids: string[] }) => {
+    server.marked += 1
+    server.markedIds.push(...ids)
+    return { success: true, data: { marked: ids.length, unread: 0 } }
+  }),
+}))
+vi.mock('@/features/portal/Actions/getPortalUnread', () => ({
+  getPortalUnread: vi.fn(async () => ({ success: true, data: { unread: 0 } })),
+}))
+
+import { PortalChatPanel } from '@/features/portal/Components/Chat/PortalChatPanel'
+
+const message = (over: Partial<PortalChatMessage>): PortalChatMessage => ({
+  id: 'm1',
+  direction: 'outbound',
+  body: 'Morning Kari. The V60 is on the lift.',
+  attachments: [],
+  authorName: 'Jonas',
+  // 09:05 in Oslo.
+  createdAt: '2026-11-14T08:05:00Z',
+  readAt: '2026-11-14T08:06:00Z',
+  ...over,
+})
+
+const event = (over: Partial<PortalChatEvent>): PortalChatEvent => ({
+  id: 'quote:q1',
+  kind: 'quote',
+  at: '2026-11-14T08:30:00Z',
+  vehicle: 'Volvo V60',
+  title: 'Front brake pads and discs',
+  amount: 'kr 6,480.00',
+  href: '/portal/fjordside/quotes/q1',
+  answerable: true,
+  overdue: false,
+  ...over,
+})
+
+function panel(
+  messages: PortalChatMessage[] = [],
+  options: { callHref?: string | null; enabled?: boolean; events?: PortalChatEvent[] } = {}
+) {
+  server.messages = messages
+  server.events = options.events ?? []
+  server.enabled = options.enabled ?? true
+  const client = new QueryClient()
+  return render(
+    <QueryClientProvider client={client}>
+      <PortalChatPanel
+        orgParam="fjordside"
+        workshopName="Fjordside Auto"
+        callHref={options.callHref === undefined ? 'tel:55000000' : options.callHref}
+        enabled={options.enabled ?? true}
+        initialMessages={messages}
+        initialEvents={options.events}
+        clock={{ timeZone: 'Europe/Oslo', timeFormat: '24h' }}
+      />
+    </QueryClientProvider>
+  )
+}
+
+const thread = () => within(screen.getByRole('log', { name: 'Messages with Fjordside Auto' }))
+const field = () => screen.getByLabelText('Write a message to Fjordside Auto')
+
+beforeEach(() => {
+  server.refuse = null
+  server.pollFails = false
+  server.sent = []
+  server.marked = 0
+  server.markedIds = []
+  // Half past one in the afternoon of 14 November in Oslo.
+  vi.useFakeTimers({ toFake: ['Date'] })
+  vi.setSystemTime(new Date('2026-11-14T12:30:00Z'))
+})
+afterEach(() => {
+  vi.useRealTimers()
+  vi.unstubAllGlobals()
+})
+
+describe('the chat block', () => {
+  it('says what it is and offers to call the workshop', () => {
+    panel()
+    expect(screen.getByRole('heading', { name: 'Messages' })).toBeInTheDocument()
+    expect(screen.getByRole('link', { name: 'Call Fjordside Auto' })).toHaveAttribute(
+      'href',
+      'tel:55000000'
+    )
+  })
+
+  it('has no call button for a workshop without a phone number', () => {
+    panel([], { callHref: null })
+    expect(screen.queryByRole('link', { name: /Call/ })).not.toBeInTheDocument()
+  })
+
+  it('invites a first message, and a suggestion fills the field', async () => {
+    const user = userEvent.setup()
+    panel()
+    expect(screen.getByText('No messages yet')).toBeInTheDocument()
+    await user.click(screen.getByRole('button', { name: 'Can you call me?' }))
+    expect(field()).toHaveValue('Can you call me?')
+    expect(field()).toHaveFocus()
+  })
+})
+
+describe('reading the thread', () => {
+  it('shows it oldest first under the day, with who wrote and when on the workshop clock', () => {
+    panel([
+      message({
+        id: 'old',
+        body: 'Your car is booked for Friday.',
+        createdAt: '2026-11-12T13:00:00Z',
+      }),
+      message({}),
+      message({
+        id: 'm2',
+        direction: 'inbound',
+        body: 'Can I pick up after 16?',
+        authorName: null,
+        createdAt: '2026-11-14T09:30:00Z',
+        readAt: null,
+      }),
+    ])
+    const first = thread().getByText('Morning Kari. The V60 is on the lift.')
+    const second = thread().getByText('Can I pick up after 16?')
+    expect(first.compareDocumentPosition(second) & Node.DOCUMENT_POSITION_FOLLOWING).toBeTruthy()
+    expect(thread().getByText('Thursday, November 12')).toBeInTheDocument()
+    expect(thread().getByText('Today')).toBeInTheDocument()
+    expect(thread().getByText('Jonas · 09:05')).toBeInTheDocument()
+    expect(thread().getByText('You · 10:30')).toBeInTheDocument()
+  })
+
+  it('files a message sent late in the evening under the workshop day, not the UTC one', () => {
+    // 00:30 on the 14th in Oslo is still the 13th in UTC.
+    panel([message({ createdAt: '2026-11-13T23:30:00Z' })])
+    expect(thread().getByText('Today')).toBeInTheDocument()
+    expect(thread().getByText('Jonas · 00:30')).toBeInTheDocument()
+  })
+
+  it('names the workshop when the author is not known', () => {
+    panel([message({ authorName: null })])
+    expect(thread().getByText('Fjordside Auto · 09:05')).toBeInTheDocument()
+  })
+
+  it('says when the workshop has seen the last message', () => {
+    panel([
+      message({
+        id: 'mine',
+        direction: 'inbound',
+        authorName: null,
+        body: 'Thanks!',
+        readAt: '2026-11-14T08:10:00Z',
+      }),
+    ])
+    expect(thread().getByText('You · 09:05 · Seen')).toBeInTheDocument()
+  })
+
+  it('shows a photo as a thumbnail that opens large', async () => {
+    const user = userEvent.setup()
+    panel([message({ attachments: [{ url: '/portal/org1/files/a.jpg', kind: 'image' }] })])
+    expect(screen.getByRole('img', { name: 'Photo from Jonas' })).toHaveAttribute(
+      'src',
+      '/portal/org1/files/a.jpg'
+    )
+    await user.click(screen.getByRole('button', { name: 'Photo from Jonas, open large' }))
+    expect(screen.getAllByAltText('Photo from Jonas')).toHaveLength(2)
+    await user.click(screen.getByRole('button', { name: 'Close', hidden: true }))
+    expect(screen.getAllByAltText('Photo from Jonas')).toHaveLength(1)
+  })
+
+  const invoices = (count: number, at = '2026-11-14T11:00:00Z') =>
+    Array.from({ length: count }, (_, index) =>
+      event({
+        id: `invoice:i${index + 1}`,
+        kind: 'invoice',
+        at,
+        title: `INV-${2041 + index}`,
+        amount: 'kr 2,732.63',
+        href: `/portal/fjordside/invoices/i${index + 1}`,
+        answerable: false,
+      })
+    )
+
+  it('gives a card with a button only to what waits for the customer', () => {
+    panel([message({})], {
+      events: [
+        event({}),
+        event({
+          id: 'update:u1',
+          kind: 'update',
+          at: '2026-11-14T10:00:00Z',
+          title: 'Pads were down to 2 mm, see the photos.',
+          amount: null,
+          href: '/share/status-report/fjordside/tok',
+          answerable: false,
+        }),
+        ...invoices(1).map((one) => ({ ...one, overdue: true })),
+      ],
+    })
+    const quote = within(thread().getByRole('article', { name: 'Quote waiting for your answer' }))
+    expect(quote.getByText('Front brake pads and discs')).toBeInTheDocument()
+    expect(quote.getByText('Volvo V60 · kr 6,480.00')).toBeInTheDocument()
+    expect(quote.getByRole('link', { name: 'Read and answer' })).toHaveAttribute(
+      'href',
+      '/portal/fjordside/quotes/q1'
+    )
+
+    const update = within(thread().getByRole('article', { name: 'Update from Fjordside Auto' }))
+    expect(update.getByText('Pads were down to 2 mm, see the photos.')).toBeInTheDocument()
+    expect(update.getByRole('link', { name: 'See the update' })).toHaveAttribute(
+      'href',
+      '/share/status-report/fjordside/tok'
+    )
+
+    const overdue = within(thread().getByRole('article', { name: 'Invoice overdue' }))
+    expect(overdue.getByRole('link', { name: 'See invoice' })).toHaveAttribute(
+      'href',
+      '/portal/fjordside/invoices/i1'
+    )
+  })
+
+  it('draws everything else as one quiet line, the whole line a link', () => {
+    panel([message({})], {
+      events: [
+        event({
+          id: 'work_started:j1',
+          kind: 'work_started',
+          at: '2026-11-14T07:40:00Z',
+          title: null,
+          amount: null,
+          href: null,
+          answerable: false,
+        }),
+        // Answered: no longer waiting, so no longer a card.
+        event({ answerable: false }),
+        ...invoices(1),
+      ],
+    })
+    expect(thread().queryByRole('article')).not.toBeInTheDocument()
+    expect(thread().queryByRole('link', { name: 'Read and answer' })).not.toBeInTheDocument()
+    expect(
+      thread().getByRole('link', { name: /Quote Front brake pads and discs · kr 6,480.00/ })
+    ).toHaveAttribute('href', '/portal/fjordside/quotes/q1')
+    const invoice = thread().getByRole('link', { name: /Invoice INV-2041 · kr 2,732.63/ })
+    expect(invoice).toHaveAttribute('href', '/portal/fjordside/invoices/i1')
+    expect(within(invoice).getByText('12:00')).toBeInTheDocument()
+
+    // The work began before the workshop's first message of the day.
+    const started = thread().getByText('Work started on your Volvo V60')
+    const hello = thread().getByText('Morning Kari. The V60 is on the lift.')
+    expect(started.compareDocumentPosition(hello) & Node.DOCUMENT_POSITION_FOLLOWING).toBeTruthy()
+  })
+
+  it('folds a batch of invoices from one day into a single line that opens', async () => {
+    const user = userEvent.setup()
+    panel([message({})], { events: invoices(13) })
+    // One line, not thirteen cards.
+    const group = thread().getByText('13 invoices')
+    expect(thread().queryByRole('article')).not.toBeInTheDocument()
+    expect(thread().getByText('Invoice INV-2041 · kr 2,732.63')).not.toBeVisible()
+
+    await user.click(group)
+    expect(thread().getByText('Invoice INV-2041 · kr 2,732.63')).toBeVisible()
+    expect(thread().getAllByRole('link', { name: /Invoice INV-/ })).toHaveLength(13)
+  })
+
+  it('keeps invoices from different days apart', () => {
+    panel([], {
+      events: [
+        ...invoices(1, '2026-11-12T11:00:00Z'),
+        ...invoices(1).map((one) => ({ ...one, id: 'invoice:other' })),
+      ],
+    })
+    expect(thread().queryByText(/2 invoices/)).not.toBeInTheDocument()
+    expect(thread().getAllByRole('link', { name: /Invoice INV-2041/ })).toHaveLength(2)
+  })
+
+  it('tells the workshop its messages were seen once they are on screen', async () => {
+    panel([message({ readAt: null })])
+    await waitFor(() => expect(server.marked).toBe(1))
+    expect(server.markedIds).toEqual(['m1'])
+  })
+
+  it('names only the unread messages on screen, never ones the customer wrote', async () => {
+    panel([
+      message({ id: 'old', readAt: '2026-11-14T08:06:00Z' }),
+      message({ id: 'mine', direction: 'inbound', authorName: null, readAt: null }),
+      message({ id: 'new', body: 'Ready at 15:00.', readAt: null }),
+    ])
+    await waitFor(() => expect(server.marked).toBe(1))
+    expect(server.markedIds).toEqual(['new'])
+  })
+
+  it('keeps the thread when asking for news fails', async () => {
+    server.pollFails = true
+    vi.spyOn(console, 'error').mockImplementation(() => undefined)
+    panel([message({})])
+    await new Promise((resolve) => setTimeout(resolve, 30))
+    expect(thread().getByText('Morning Kari. The V60 is on the lift.')).toBeInTheDocument()
+    expect(field()).toBeEnabled()
+  })
+
+  it('picks up what the workshop wrote meanwhile', async () => {
+    panel([message({})])
+    server.messages = [
+      ...server.messages,
+      message({ id: 'new', body: 'Ready at 15:00.', createdAt: '2026-11-14T12:29:00Z' }),
+    ]
+    // Coming back to the tab asks again at once; otherwise the poll does.
+    await act(async () => {
+      await new Promise((resolve) => setTimeout(resolve, 20))
+      window.dispatchEvent(new Event('visibilitychange'))
+    })
+    expect(await thread().findByText('Ready at 15:00.')).toBeInTheDocument()
+  })
+})
+
+describe('writing', () => {
+  it('has a labelled field, a send button and a photo button', () => {
+    panel()
+    expect(field()).toBeInTheDocument()
+    expect(screen.getByRole('button', { name: 'Send' })).toBeDisabled()
+    expect(screen.getByRole('button', { name: 'Add a photo' })).toBeInTheDocument()
+  })
+
+  it('gives the send button the workshop colour once there is something to send', async () => {
+    const user = userEvent.setup()
+    panel()
+    const send = screen.getByRole('button', { name: 'Send' })
+    expect(send).not.toHaveClass('p-iconbtn--accent')
+    await user.type(field(), 'Hello')
+    expect(send).toBeEnabled()
+    expect(send).toHaveClass('p-iconbtn--accent')
+  })
+
+  it('sends on Enter, shows the message at once and clears the field', async () => {
+    const user = userEvent.setup()
+    panel([message({})])
+    await user.type(field(), 'Can I pick up after 16?{Enter}')
+
+    expect(server.sent).toEqual([{ body: 'Can I pick up after 16?', attachments: [] }])
+    expect(await thread().findByText('Can I pick up after 16?')).toBeInTheDocument()
+    expect(field()).toHaveValue('')
+    await waitFor(() => expect(thread().getByText('You · 13:30')).toBeInTheDocument())
+    expect(thread().queryByText('Sending')).not.toBeInTheDocument()
+  })
+
+  it('starts a new line on Shift and Enter', async () => {
+    const user = userEvent.setup()
+    panel()
+    await user.type(field(), 'One{Shift>}{Enter}{/Shift}Two')
+    expect(field()).toHaveValue('One\nTwo')
+    expect(server.sent).toEqual([])
+  })
+
+  it('does not send an empty message', async () => {
+    const user = userEvent.setup()
+    panel()
+    await user.type(field(), '   {Enter}')
+    expect(server.sent).toEqual([])
+  })
+
+  it('marks a message that did not get there and sends it again on request', async () => {
+    const user = userEvent.setup()
+    panel()
+    server.refuse = 'network'
+    await user.type(field(), 'Is it ready?{Enter}')
+
+    const alert = await screen.findByRole('alert')
+    expect(alert).toHaveTextContent('Not sent. Check your connection.')
+    expect(thread().getByText('Is it ready?')).toBeInTheDocument()
+
+    server.refuse = null
+    await user.click(within(alert).getByRole('button', { name: 'Try again' }))
+    await waitFor(() => expect(screen.queryByRole('alert')).not.toBeInTheDocument())
+    expect(server.sent).toHaveLength(2)
+    expect(thread().getByText('Is it ready?')).toBeInTheDocument()
+  })
+
+  it('says calmly that the workshop is briefly unavailable while it is being restored', async () => {
+    const user = userEvent.setup()
+    panel()
+    server.refuse = 'restoring'
+    await user.type(field(), 'Is it ready?{Enter}')
+    expect(await screen.findByRole('alert')).toHaveTextContent(
+      'Not sent. The workshop is briefly unavailable. Try again in a few minutes.'
+    )
+    // What was written is kept, to send again.
+    expect(thread().getByText('Is it ready?')).toBeInTheDocument()
+  })
+
+  it('lets a failed message be deleted', async () => {
+    const user = userEvent.setup()
+    panel()
+    server.refuse = 'network'
+    await user.type(field(), 'Never mind{Enter}')
+    await user.click(await screen.findByRole('button', { name: 'Delete' }))
+    expect(thread().queryByText('Never mind')).not.toBeInTheDocument()
+  })
+
+  it('says so when the workshop turned messages off while the chat was open', async () => {
+    const user = userEvent.setup()
+    panel()
+    server.refuse = 'chat_off'
+    await user.type(field(), 'Hello?{Enter}')
+    expect(await screen.findByRole('alert')).toHaveTextContent(
+      'Not sent. The workshop has turned messages off.'
+    )
+    // Nothing more can be written.
+    expect(screen.queryByLabelText('Write a message to Fjordside Auto')).not.toBeInTheDocument()
+  })
+
+  it('sends a photo with the message through the portal upload route', async () => {
+    const stored =
+      '/api/protected/files/org1/portal-uploads/11111111-1111-4111-8111-111111111111.jpg'
+    const fetchMock = vi.fn(
+      async () => new Response(JSON.stringify({ url: stored }), { status: 201 })
+    )
+    vi.stubGlobal('fetch', fetchMock)
+    URL.createObjectURL = vi.fn(() => 'blob:preview')
+    URL.revokeObjectURL = vi.fn()
+    const user = userEvent.setup()
+    const { container } = panel()
+
+    const picker = container.querySelector('input[type="file"]') as HTMLInputElement
+    await user.upload(picker, new File(['x'], 'brake.jpg', { type: 'image/jpeg' }))
+    expect(fetchMock).toHaveBeenCalledWith(
+      '/portal/fjordside/upload',
+      expect.objectContaining({ method: 'POST' })
+    )
+    expect(await screen.findByRole('img', { name: 'brake.jpg' })).toBeInTheDocument()
+
+    await waitFor(() => expect(screen.getByRole('button', { name: 'Send' })).toBeEnabled())
+    await user.click(screen.getByRole('button', { name: 'Send' }))
+    expect(server.sent).toEqual([{ body: '', attachments: [stored] }])
+    expect(await screen.findByRole('img', { name: 'Photo from You' })).toBeInTheDocument()
+  })
+
+  it('refuses a file that is not a photo or a video, and says why', async () => {
+    const fetchMock = vi.fn()
+    vi.stubGlobal('fetch', fetchMock)
+    const user = userEvent.setup({ applyAccept: false })
+    const { container } = panel()
+    const picker = container.querySelector('input[type="file"]') as HTMLInputElement
+    await user.upload(picker, new File(['x'], 'notes.pdf', { type: 'application/pdf' }))
+    expect(await screen.findByRole('alert')).toHaveTextContent(
+      'Only photos and videos can be sent here.'
+    )
+    expect(fetchMock).not.toHaveBeenCalled()
+  })
+
+  it('offers reading but not writing once the chat is turned off', () => {
+    panel([message({})], { enabled: false })
+    expect(thread().getByText('Morning Kari. The V60 is on the lift.')).toBeInTheDocument()
+    expect(screen.queryByLabelText('Write a message to Fjordside Auto')).not.toBeInTheDocument()
+    expect(
+      screen.getByText(
+        'This workshop has turned messages off. You can still read what was written.'
+      )
+    ).toBeInTheDocument()
+  })
+})

+ 210 - 0
src/__tests__/features/portal/customer-portal-settings.test.tsx

@@ -0,0 +1,210 @@
+/**
+ * The Customer Portal settings page: one form with one Save. Daylight is the
+ * theme of a workshop that never chose, nothing is stored until Save is
+ * pressed, a colour that is not a colour is refused in words, and the tyres
+ * switch is only there for a workshop with a tyre hotel.
+ */
+
+import { fireEvent, render, screen, waitFor, within } from '@testing-library/react'
+import type { ComponentProps } from 'react'
+import { beforeEach, describe, expect, it, vi } from 'vitest'
+
+vi.mock('next/navigation', () => ({
+  useRouter: () => ({ refresh: vi.fn(), push: vi.fn(), replace: vi.fn() }),
+}))
+vi.mock('sonner', () => ({ toast: { success: vi.fn(), error: vi.fn() } }))
+vi.mock('@/features/portal/Actions/saveCustomerPortalSettings', () => ({
+  saveCustomerPortalSettings: vi.fn(),
+}))
+vi.mock('@/components/upgrade-gate', () => ({ handleGated: vi.fn(() => false) }))
+
+const { CustomerPortalSettings } = await import(
+  '@/features/portal/Components/CustomerPortalSettings'
+)
+const { saveCustomerPortalSettings } = await import(
+  '@/features/portal/Actions/saveCustomerPortalSettings'
+)
+const { resolvePortalTheme } = await import('@/features/portal/Lib/theme')
+
+type Props = ComponentProps<typeof CustomerPortalSettings>
+
+/** A workshop that turned the portal on and chose nothing else. */
+const untouched: Props['initial'] = {
+  enabled: true,
+  slug: 'fjordside',
+  description: '',
+  // What the page hands over when no theme is stored.
+  theme: resolvePortalTheme(undefined),
+  accent: '',
+  cover: '',
+  messages: true,
+  showTires: true,
+}
+
+function renderSettings(overrides: Partial<Props> = {}) {
+  return render(
+    <CustomerPortalSettings
+      orgId="org-1"
+      appUrl="https://app.example"
+      initial={untouched}
+      tireHotel={false}
+      typedHours={null}
+      {...overrides}
+    />
+  )
+}
+
+const saveButton = () => screen.getByRole('button', { name: 'Save changes' })
+const theme = (name: RegExp) => screen.getByRole('radio', { name })
+
+beforeEach(() => {
+  vi.mocked(saveCustomerPortalSettings).mockReset()
+  vi.mocked(saveCustomerPortalSettings).mockResolvedValue({
+    success: true,
+    data: { saved: true, slug: 'fjordside' },
+  })
+})
+
+describe('the customer portal settings', () => {
+  it('has Daylight selected for a workshop that never chose a theme', () => {
+    renderSettings()
+    expect(theme(/Daylight/)).toBeChecked()
+    expect(theme(/Garage/)).not.toBeChecked()
+    expect(theme(/Print/)).not.toBeChecked()
+    expect(theme(/Colour/)).not.toBeChecked()
+    expect(screen.getByText(/Using the colour that comes with Daylight, #C2410C/)).toBeVisible()
+  })
+
+  it('cannot be saved while nothing has changed, and says so', () => {
+    renderSettings()
+    expect(saveButton()).toBeDisabled()
+    expect(screen.getByRole('button', { name: 'Discard changes' })).toBeDisabled()
+    expect(screen.getByText('Everything is saved')).toBeVisible()
+  })
+
+  it('stores the chosen theme only when Save is pressed', async () => {
+    renderSettings()
+    fireEvent.click(theme(/Garage/))
+    expect(theme(/Garage/)).toBeChecked()
+    expect(screen.getByText('You have changes that are not saved')).toBeVisible()
+    expect(saveCustomerPortalSettings).not.toHaveBeenCalled()
+
+    fireEvent.click(saveButton())
+    await waitFor(() => expect(saveCustomerPortalSettings).toHaveBeenCalledTimes(1))
+    expect(saveCustomerPortalSettings).toHaveBeenCalledWith(
+      expect.objectContaining({ theme: 'garage', accent: '', enabled: true, slug: 'fjordside' })
+    )
+    await waitFor(() => expect(screen.getByText('Everything is saved')).toBeVisible())
+    expect(saveButton()).toBeDisabled()
+  })
+
+  it('refuses a colour that is not a colour, in words, and saves nothing', () => {
+    renderSettings()
+    fireEvent.change(screen.getByLabelText('Colour as a hex code'), {
+      target: { value: '#12ZZ' },
+    })
+    expect(screen.getByRole('alert')).toHaveTextContent(
+      'That is not a colour. Write it as a hex code, like #1D4ED8.'
+    )
+    fireEvent.click(saveButton())
+    expect(saveCustomerPortalSettings).not.toHaveBeenCalled()
+  })
+
+  it('saves a typed colour as a full hex code and says which ink sits on it', async () => {
+    renderSettings()
+    fireEvent.change(screen.getByLabelText('Colour as a hex code'), { target: { value: 'fd0' } })
+    expect(screen.getByText(/drawn in black/)).toBeVisible()
+    fireEvent.click(saveButton())
+    await waitFor(() =>
+      expect(saveCustomerPortalSettings).toHaveBeenCalledWith(
+        expect.objectContaining({ accent: '#FFDD00' })
+      )
+    )
+  })
+
+  it("goes back to the theme's colour on request", () => {
+    renderSettings({ initial: { ...untouched, accent: '#1D4ED8' } })
+    expect(screen.getByRole('button', { name: 'Blue' })).toHaveAttribute('aria-pressed', 'true')
+    fireEvent.click(screen.getByRole('button', { name: "Use the theme's colour" }))
+    expect(screen.getByLabelText('Colour as a hex code')).toHaveValue('')
+    expect(screen.getByText(/Using the colour that comes with Daylight/)).toBeVisible()
+    expect(saveButton()).toBeEnabled()
+  })
+
+  it('warns when the colour is faint against the theme', () => {
+    renderSettings({ initial: { ...untouched, theme: 'garage' } })
+    expect(screen.queryByText(/faint against the background of Garage/)).toBeNull()
+    fireEvent.click(screen.getByRole('button', { name: 'Black' }))
+    expect(screen.getByText(/faint against the background of Garage/)).toBeVisible()
+  })
+
+  it('offers the tyres switch only to a workshop with a tyre hotel', () => {
+    const { unmount } = renderSettings({ tireHotel: false })
+    expect(screen.getByRole('switch', { name: 'Messages in the portal' })).toBeChecked()
+    expect(screen.queryByRole('switch', { name: 'Show stored tyres' })).toBeNull()
+    unmount()
+
+    renderSettings({ tireHotel: true })
+    expect(screen.getByRole('switch', { name: 'Show stored tyres' })).toBeChecked()
+  })
+
+  it('leaves the tyres setting alone for a workshop without a tyre hotel', async () => {
+    renderSettings({ tireHotel: false })
+    fireEvent.click(screen.getByRole('switch', { name: 'Messages in the portal' }))
+    fireEvent.click(saveButton())
+    await waitFor(() => expect(saveCustomerPortalSettings).toHaveBeenCalled())
+    const sent = vi.mocked(saveCustomerPortalSettings).mock.calls[0][0] as Record<string, unknown>
+    expect(sent.messages).toBe(false)
+    expect(sent.showTires).toBeUndefined()
+  })
+
+  it('puts everything back on Discard', () => {
+    renderSettings()
+    fireEvent.click(theme(/Print/))
+    fireEvent.change(screen.getByLabelText('About your workshop'), {
+      target: { value: 'Family workshop since 1984' },
+    })
+    fireEvent.click(screen.getByRole('button', { name: 'Discard changes' }))
+    expect(theme(/Daylight/)).toBeChecked()
+    expect(screen.getByLabelText('About your workshop')).toHaveValue('')
+    expect(saveButton()).toBeDisabled()
+  })
+
+  it('says why an address was refused and keeps the changes', async () => {
+    vi.mocked(saveCustomerPortalSettings).mockResolvedValue({
+      success: true,
+      data: { saved: false, problem: 'slugTaken' },
+    })
+    renderSettings()
+    fireEvent.change(screen.getByLabelText('Portal address'), { target: { value: 'taken-shop' } })
+    expect(screen.getByLabelText('Link to your portal')).toHaveValue(
+      'https://app.example/portal/taken-shop'
+    )
+    fireEvent.click(saveButton())
+    expect(await screen.findByRole('alert')).toHaveTextContent(
+      'Another workshop already uses that address'
+    )
+    expect(saveButton()).toBeEnabled()
+  })
+
+  it('opens the saved portal address in a new tab', () => {
+    renderSettings()
+    const bar = screen.getByRole('region', { name: 'Save the customer portal settings' })
+    const link = within(bar).getByRole('link', { name: 'Open the portal as a customer' })
+    expect(link).toHaveAttribute('href', 'https://app.example/portal/fjordside')
+    expect(link).toHaveAttribute('target', '_blank')
+  })
+
+  it('points at the calendar for opening hours, and shows hours typed before', () => {
+    const { unmount } = renderSettings()
+    expect(screen.getByRole('link', { name: 'Opening hours settings' })).toHaveAttribute(
+      'href',
+      '/settings/opening-hours'
+    )
+    expect(screen.queryByText('Shown on the sign-in page today')).toBeNull()
+    unmount()
+
+    renderSettings({ typedHours: 'Mon-Fri 8-16' })
+    expect(screen.getByText('Mon-Fri 8-16')).toBeVisible()
+  })
+})

+ 173 - 0
src/__tests__/features/portal/get-portal-home.test.ts

@@ -0,0 +1,173 @@
+/**
+ * @vitest-environment node
+ *
+ * What the home action reads for the signed-in customer: only their own
+ * records, and the optional parts (stored tyres, the chat) only when the
+ * workshop has them on. A side read that fails costs a block, never the page.
+ */
+
+import { beforeEach, describe, expect, it, vi } from 'vitest'
+
+vi.mock('server-only', () => ({}))
+vi.mock('@/lib/db', () => ({
+  db: {
+    customer: { findFirst: vi.fn() },
+    serviceRecord: { findMany: vi.fn(async () => []) },
+    quote: { findMany: vi.fn(async () => []) },
+    serviceRequest: { findMany: vi.fn(async () => []) },
+    appointment: { findMany: vi.fn(async () => []) },
+    vehicle: { findMany: vi.fn(async () => []) },
+    tireSet: { findMany: vi.fn(async () => []) },
+  },
+}))
+vi.mock('@/lib/customer-session', () => ({
+  getCustomerSession: vi.fn(async () => ({ customerId: 'c1', organizationId: 'org1' })),
+}))
+vi.mock('@/lib/portal-slug', () => ({
+  resolvePortalOrg: vi.fn(async () => ({ id: 'org1', name: 'Fjordside Auto' })),
+}))
+vi.mock('@/lib/workshop-timezone', () => ({ workshopTimeZone: vi.fn(async () => 'Europe/Oslo') }))
+vi.mock('@/features/integrations/Lib/payments', () => ({
+  offeredPaymentProviders: vi.fn(async () => []),
+}))
+vi.mock('@/features/portal/Lib/portalLook.server', () => ({ loadPortalLook: vi.fn() }))
+vi.mock('@/features/portal/Lib/workshop.server', () => ({ loadPortalWorkshop: vi.fn() }))
+vi.mock('@/features/portal/Lib/chat.server', () => ({ getPortalThreadPreview: vi.fn() }))
+
+import { getPortalHome } from '@/features/portal/Actions/getPortalHome'
+import { getPortalThreadPreview } from '@/features/portal/Lib/chat.server'
+import { loadPortalLook } from '@/features/portal/Lib/portalLook.server'
+import { DEFAULT_PORTAL_LOOK } from '@/features/portal/Lib/theme'
+import { loadPortalWorkshop } from '@/features/portal/Lib/workshop.server'
+import { getCustomerSession } from '@/lib/customer-session'
+import { db } from '@/lib/db'
+import { resolvePortalOrg } from '@/lib/portal-slug'
+import { workshop } from './helpers/fixtures'
+
+const storedSet = {
+  id: 't1',
+  season: 'summer',
+  studded: false,
+  brand: 'Michelin',
+  model: 'Primacy 4',
+  size: '225/60 R18',
+  quantity: 4,
+  withRims: false,
+  checkedInAt: new Date('2026-10-21T08:00:00Z'),
+  createdAt: new Date('2026-10-21T08:00:00Z'),
+  vehicle: null,
+  measurements: [
+    { treadDepthMm: 5, measuredAt: new Date('2026-10-21T08:00:00Z'), movementId: 'm' },
+  ],
+}
+
+beforeEach(() => {
+  vi.clearAllMocks()
+  vi.mocked(getCustomerSession).mockResolvedValue({ customerId: 'c1', organizationId: 'org1' })
+  vi.mocked(resolvePortalOrg).mockResolvedValue({ id: 'org1', name: 'Fjordside Auto' })
+  vi.mocked(db.customer.findFirst).mockResolvedValue({ name: 'Kari Nordmann' } as never)
+  vi.mocked(db.tireSet.findMany).mockResolvedValue([storedSet] as never)
+  vi.mocked(loadPortalLook).mockResolvedValue(DEFAULT_PORTAL_LOOK)
+  vi.mocked(loadPortalWorkshop).mockResolvedValue({ ...workshop, marine: false })
+  vi.mocked(getPortalThreadPreview).mockResolvedValue({ unread: 1, messages: [] })
+})
+
+describe('stored tyres on the home', () => {
+  it('are not read, and not on the home, when the tyre hotel is off or hidden', async () => {
+    vi.mocked(loadPortalLook).mockResolvedValue({ ...DEFAULT_PORTAL_LOOK, showTires: false })
+    const result = await getPortalHome('fjordside')
+    expect(result.success).toBe(true)
+    expect(result.data?.tires).toBeNull()
+    expect(db.tireSet.findMany).not.toHaveBeenCalled()
+  })
+
+  it("are the customer's own sets still in storage, when the workshop shows them", async () => {
+    vi.mocked(loadPortalLook).mockResolvedValue({ ...DEFAULT_PORTAL_LOOK, showTires: true })
+    const result = await getPortalHome('fjordside')
+    expect(result.data?.tires).toHaveLength(1)
+    expect(result.data?.tires?.[0]).toMatchObject({
+      season: 'summer',
+      brand: 'Michelin',
+      size: '225/60 R18',
+      treadDepthMm: 5,
+    })
+    const where = vi.mocked(db.tireSet.findMany).mock.calls[0][0]?.where
+    expect(where).toMatchObject({
+      organizationId: 'org1',
+      status: 'stored',
+      OR: [{ customerId: 'c1' }, { vehicle: { customerId: 'c1' } }],
+    })
+  })
+
+  it('cost only their block when they cannot be read', async () => {
+    vi.spyOn(console, 'error').mockImplementation(() => undefined)
+    vi.mocked(loadPortalLook).mockResolvedValue({ ...DEFAULT_PORTAL_LOOK, showTires: true })
+    vi.mocked(db.tireSet.findMany).mockRejectedValue(new Error('db down'))
+    const result = await getPortalHome('fjordside')
+    expect(result.success).toBe(true)
+    expect(result.data?.tires).toEqual([])
+  })
+})
+
+describe('the chat on the home', () => {
+  it("is the end of this customer's own thread and what they have not read", async () => {
+    const result = await getPortalHome('fjordside')
+    expect(getPortalThreadPreview).toHaveBeenCalledWith('org1', 'c1')
+    expect(result.data?.messages).toEqual({ enabled: true, unread: 1, latest: [] })
+  })
+
+  it('is off, and not read, when the workshop turned it off', async () => {
+    vi.mocked(loadPortalLook).mockResolvedValue({ ...DEFAULT_PORTAL_LOOK, messagesEnabled: false })
+    const result = await getPortalHome('fjordside')
+    expect(getPortalThreadPreview).not.toHaveBeenCalled()
+    expect(result.data?.messages).toEqual({ enabled: false, unread: 0, latest: [] })
+  })
+
+  it('costs only itself when the thread cannot be read', async () => {
+    vi.spyOn(console, 'error').mockImplementation(() => undefined)
+    vi.mocked(getPortalThreadPreview).mockRejectedValue(new Error('db down'))
+    const result = await getPortalHome('fjordside')
+    expect(result.success).toBe(true)
+    expect(result.data?.messages).toEqual({ enabled: true, unread: 0, latest: [] })
+  })
+})
+
+describe('whose home it is', () => {
+  it('reads every list for the signed-in customer in their own workshop', async () => {
+    await getPortalHome('fjordside')
+    for (const call of vi.mocked(db.serviceRecord.findMany).mock.calls) {
+      expect(JSON.stringify(call[0]?.where)).toContain('"organizationId":"org1"')
+      expect(JSON.stringify(call[0]?.where)).toContain('"customerId":"c1"')
+    }
+    for (const model of [db.quote, db.serviceRequest, db.appointment, db.vehicle]) {
+      expect(vi.mocked(model.findMany).mock.calls[0][0]?.where).toMatchObject({
+        organizationId: 'org1',
+        customerId: 'c1',
+      })
+    }
+  })
+
+  it('answers nothing to someone who is not signed in', async () => {
+    vi.mocked(getCustomerSession).mockResolvedValue(null)
+    const result = await getPortalHome('fjordside')
+    expect(result.success).toBe(false)
+    expect(db.customer.findFirst).not.toHaveBeenCalled()
+  })
+
+  it("refuses an address that is not the customer's own workshop", async () => {
+    vi.spyOn(console, 'error').mockImplementation(() => undefined)
+    vi.mocked(resolvePortalOrg).mockResolvedValue({ id: 'other', name: 'Other Garage' })
+    const result = await getPortalHome('other-garage')
+    expect(result.success).toBe(false)
+    expect(db.serviceRecord.findMany).not.toHaveBeenCalled()
+  })
+
+  it('names the customer, and greets them by first name', async () => {
+    const result = await getPortalHome('fjordside')
+    expect(result.data).toMatchObject({
+      customerName: 'Kari Nordmann',
+      customerFirstName: 'Kari',
+      workshop: { name: 'Fjordside Auto', openLine: 'Open until 17:00' },
+    })
+  })
+})

+ 172 - 0
src/__tests__/features/portal/helpers/fixtures.ts

@@ -0,0 +1,172 @@
+/** A workshop, a formatter and an empty home, for tests that draw the portal. */
+import type {
+  PortalHomeData,
+  PortalHomeFormat,
+  PortalWorkshop,
+} from '@/features/portal/Lib/homeTypes'
+import { buildPortalFormat } from '@/features/portal/Lib/portalFormat'
+
+export const workshop: PortalWorkshop = {
+  name: 'Fjordside Auto',
+  logoUrl: null,
+  phone: '55 00 00 00',
+  phoneHref: 'tel:55000000',
+  email: null,
+  address: 'Strandgaten 14, Bergen',
+  directionsUrl: 'https://www.google.com/maps/dir/?api=1&destination=Strandgaten%2014%2C%20Bergen',
+  openToday: [{ start: '07:30', end: '17:00' }],
+  openNow: true,
+  closesAt: '17:00',
+  opensAt: null,
+  openLine: 'Open until 17:00',
+  hours: null,
+}
+
+/** 14 November 2026, 11:00 in Oslo. */
+export const now = new Date('2026-11-14T10:00:00Z')
+
+export const format: PortalHomeFormat = buildPortalFormat({
+  locale: 'en-GB',
+  timeZone: 'Europe/Oslo',
+  timeFormat: '24h',
+  money: (amount) => `${new Intl.NumberFormat('en-GB').format(amount).replace(/,/g, ' ')} kr`,
+  today: 'today',
+  tomorrow: 'tomorrow',
+  now,
+})
+
+export const emptyHome: PortalHomeData = {
+  customerName: 'Kari Nordmann',
+  customerFirstName: 'Kari',
+  marine: false,
+  workshop,
+  jobs: [],
+  nextVisit: null,
+  toAnswer: [],
+  toPay: [],
+  toPayTotal: 0,
+  toPayCount: 0,
+  toPayOverdueCount: 0,
+  cars: [],
+  tires: null,
+  requests: [],
+  messages: { enabled: true, unread: 0, latest: [] },
+}
+
+const volvo = { id: 'v60', label: 'Volvo V60', licensePlate: 'EK 12345' }
+const toyota = { id: 'rav4', label: 'Toyota RAV4', licensePlate: 'EL 54321' }
+
+/** The home of the mocks: a car in the workshop, a quote, an invoice, tyres, a visit. */
+export const fullHome: PortalHomeData = {
+  ...emptyHome,
+  jobs: [
+    {
+      id: 'j1',
+      title: 'Brake service',
+      status: 'in-progress',
+      stage: 'working',
+      vehicle: volvo,
+      startAt: '2026-11-14T07:05:00Z',
+      promisedAt: '2026-11-14T15:00:00Z',
+      update: {
+        at: '2026-11-14T09:12:00Z',
+        url: '/share/status-report/fjordside/tok',
+        message: 'Front discs are worn past the limit. Photos and a short video are in the update.',
+      },
+    },
+  ],
+  nextVisit: {
+    id: 'j2',
+    kind: 'job',
+    title: 'EU inspection follow-up',
+    startAt: '2026-12-03T07:00:00Z',
+    vehicle: toyota,
+  },
+  toAnswer: [
+    {
+      id: 'q1',
+      quoteNumber: 'Q-2041',
+      title: 'Front discs and pads',
+      vehicle: volvo,
+      total: 4850,
+      validUntil: '2026-11-29T11:00:00Z',
+      url: '/portal/fjordside/quotes/q1',
+    },
+  ],
+  toPay: [
+    {
+      id: 'i1',
+      invoiceNumber: '1042',
+      title: 'EU inspection and service',
+      vehicle: toyota,
+      date: '2026-11-09T11:00:00Z',
+      total: 4280,
+      paid: 0,
+      balance: 4280,
+      dueAt: '2026-11-28T11:00:00Z',
+      overdue: false,
+      viewUrl: '/portal/fjordside/invoices/i1',
+      payUrl: '/share/invoice/fjordside/tok-i1',
+    },
+  ],
+  toPayTotal: 4280,
+  toPayCount: 1,
+  toPayOverdueCount: 0,
+  cars: [
+    {
+      ...volvo,
+      year: 2019,
+      visits: 8,
+      inWorkshop: true,
+      warranty: null,
+      url: '/portal/fjordside/vehicles/v60',
+    },
+    {
+      ...toyota,
+      year: 2021,
+      visits: 3,
+      inWorkshop: false,
+      warranty: 'active',
+      url: '/portal/fjordside/vehicles/rav4',
+    },
+  ],
+  tires: [
+    {
+      id: 't1',
+      season: 'summer',
+      studded: false,
+      brand: 'Michelin',
+      model: 'Primacy 4',
+      size: '225/60 R18',
+      quantity: 4,
+      withRims: false,
+      treadDepthMm: 5,
+      storedSince: '2026-10-21T08:00:00Z',
+      vehicle: toyota,
+    },
+  ],
+  messages: {
+    enabled: true,
+    unread: 1,
+    latest: [
+      {
+        id: 'm1',
+        direction: 'inbound',
+        body: 'Looks bad, go ahead with it. Can I pick up after 16?',
+        attachments: [],
+        authorName: null,
+        createdAt: '2026-11-14T09:30:00Z',
+        readAt: '2026-11-14T09:31:00Z',
+      },
+      {
+        id: 'm2',
+        direction: 'outbound',
+        body: 'You will get a message here when it is ready.',
+        attachments: [],
+        authorName: 'Jonas',
+        createdAt: '2026-11-14T09:34:00Z',
+        readAt: null,
+      },
+    ],
+  },
+}

+ 36 - 0
src/__tests__/features/portal/helpers/serverIntl.ts

@@ -0,0 +1,36 @@
+/**
+ * `next-intl/server` for a test of a portal server component: the English
+ * messages, formatted the way next-intl does (plurals included), in "en".
+ *
+ *   vi.mock('next-intl/server', async () => (await import('./helpers/serverIntl')).serverIntl)
+ */
+import fs from 'node:fs'
+import path from 'node:path'
+import { IntlMessageFormat } from 'intl-messageformat'
+
+function messagesAt(namespace: string): unknown {
+  const [file, ...rest] = namespace.split('.')
+  let node: unknown = JSON.parse(
+    fs.readFileSync(path.resolve(process.cwd(), `messages/en/${file}.json`), 'utf-8')
+  )
+  for (const segment of rest) node = (node as Record<string, unknown> | undefined)?.[segment]
+  return node
+}
+
+export function englishTranslator(namespace: string) {
+  const messages = messagesAt(namespace)
+  return (key: string, values?: Record<string, unknown>) => {
+    let template: unknown = messages
+    for (const segment of key.split('.')) {
+      template = (template as Record<string, unknown> | undefined)?.[segment]
+    }
+    // A missing key shows as its own name, which no assertion on English matches.
+    if (typeof template !== 'string') return key
+    return String(new IntlMessageFormat(template, 'en').format(values as Record<string, never>))
+  }
+}
+
+export const serverIntl = {
+  getTranslations: async (namespace: string) => englishTranslator(namespace),
+  getLocale: async () => 'en',
+}

+ 35 - 0
src/__tests__/features/portal/helpers/serverTree.tsx

@@ -0,0 +1,35 @@
+/**
+ * A server component's output with every async component inside it already
+ * awaited, so Testing Library can render it: React on the client cannot
+ * render an async component that sits below the one a test calls.
+ *
+ *   render(await serverTree(<PortalShell orgId="x">…</PortalShell>))
+ *
+ * Only async components are called here; everything else (client components
+ * with hooks, plain elements) is left for React to render.
+ */
+import { type ReactElement, type ReactNode, cloneElement, isValidElement } from 'react'
+
+const isAsync = (type: unknown): type is (props: unknown) => Promise<ReactNode> =>
+  typeof type === 'function' && type.constructor.name === 'AsyncFunction'
+
+export async function serverTree(node: ReactNode): Promise<ReactNode> {
+  if (Array.isArray(node)) return Promise.all(node.map(serverTree))
+  if (!isValidElement(node)) return node
+  const element = node as ReactElement<Record<string, unknown>>
+  if (isAsync(element.type)) return serverTree(await element.type(element.props))
+
+  const props: Record<string, unknown> = {}
+  let changed = false
+  for (const [name, value] of Object.entries(element.props)) {
+    if (isValidElement(value) || Array.isArray(value)) {
+      props[name] = await serverTree(value as ReactNode)
+      changed = true
+    }
+  }
+  if (!changed) return element
+  const { children, ...rest } = props
+  return children === undefined
+    ? cloneElement(element, rest)
+    : cloneElement(element, rest, ...(Array.isArray(children) ? children : [children]))
+}

+ 717 - 0
src/__tests__/features/portal/home-colour.test.tsx

@@ -0,0 +1,717 @@
+/**
+ * The portal as the Colour theme draws it: the car in the workshop on the
+ * workshop's own colour with its three steps, what waits on the customer,
+ * the chat always there on a desk, stored tyres only for a workshop that
+ * stores them, the next visit on the colour when no car is in, and a page
+ * that still looks finished when there is nothing to show. Then its frame
+ * (the places to go, unread messages) and its front door.
+ */
+
+import { render, screen, within } from '@testing-library/react'
+import userEvent from '@testing-library/user-event'
+import { beforeEach, describe, expect, it, vi } from 'vitest'
+import { emptyHome, format, fullHome, workshop } from './helpers/fixtures'
+
+const nav = vi.hoisted(() => ({ pathname: '/portal/fjordside/dashboard' }))
+const router = vi.hoisted(() => ({ push: vi.fn(), refresh: vi.fn() }))
+vi.mock('next/navigation', () => ({ usePathname: () => nav.pathname, useRouter: () => router }))
+vi.mock('next-intl/server', async () => (await import('./helpers/serverIntl')).serverIntl)
+vi.mock('@/features/portal/Actions/respondToPortalQuote', () => ({
+  respondToPortalQuote: vi.fn(async () => ({ success: true, data: { status: 'accepted' } })),
+}))
+// The badge's number is the chat's to keep live; here it is what the server counted.
+vi.mock('@/features/portal/Components/Chat/usePortalUnread', () => ({
+  usePortalUnread: (_org: string, initial: number) => initial,
+}))
+
+import { respondToPortalQuote } from '@/features/portal/Actions/respondToPortalQuote'
+import { Chrome } from '@/features/portal/Components/Themes/Colour/Chrome'
+import { Home } from '@/features/portal/Components/Themes/Colour/Home'
+import { SignIn } from '@/features/portal/Components/Themes/Colour/SignIn'
+import type {
+  PortalChromeProps,
+  PortalSignInProps,
+} from '@/features/portal/Components/Themes/types'
+import type { PortalHomeData } from '@/features/portal/Lib/homeTypes'
+
+const home = async (data: PortalHomeData, chat: React.ReactNode = <p>The chat</p>) =>
+  render(await Home({ orgParam: 'fjordside', data, format, chat }))
+
+const [summerSet] = fullHome.tires as NonNullable<PortalHomeData['tires']>
+const nextVisit = fullHome.nextVisit as NonNullable<PortalHomeData['nextVisit']>
+
+const section = (name: string) => within(screen.getByRole('region', { name }))
+const stepOf = (list: HTMLElement, label: string) =>
+  within(list).getByText(label).closest('li') as HTMLElement
+
+beforeEach(() => {
+  nav.pathname = '/portal/fjordside/dashboard'
+  router.refresh.mockClear()
+  vi.mocked(respondToPortalQuote).mockClear()
+})
+
+describe('the car in the workshop', () => {
+  it('leads the page: which car, what for, and when it is ready', async () => {
+    await home(fullHome)
+    const hero = section('Hi Kari. Your car is in the workshop, ready today around 16:00.')
+    expect(hero.getByText('Volvo V60')).toBeInTheDocument()
+    expect(hero.getByText('EK 12345')).toBeInTheDocument()
+    expect(hero.getByText('Brake service')).toBeInTheDocument()
+    expect(screen.getAllByRole('heading', { level: 1 })).toHaveLength(1)
+  })
+
+  it('shows the three steps with the one it is at', async () => {
+    await home(fullHome)
+    const steps = screen.getByRole('list', { name: 'How far the work has come' })
+    expect(within(steps).getAllByRole('listitem')).toHaveLength(3)
+    expect(stepOf(steps, 'Checked in')).not.toHaveAttribute('aria-current')
+    expect(stepOf(steps, 'In the workshop')).toHaveAttribute('aria-current', 'step')
+    expect(stepOf(steps, 'In the workshop')).toHaveTextContent('In the workshop Now')
+    expect(stepOf(steps, 'Ready to collect')).not.toHaveAttribute('aria-current')
+  })
+
+  it('carries the latest update with a way to see it', async () => {
+    await home(fullHome)
+    const update = section('Latest from the workshop · 10:12')
+    expect(update.getByText(/Front discs are worn past the limit/)).toBeInTheDocument()
+    expect(update.getByRole('link', { name: 'See photos and video' })).toHaveAttribute(
+      'href',
+      '/share/status-report/fjordside/tok'
+    )
+  })
+
+  it('says when the car is expected, for a visit that is only booked', async () => {
+    await home({
+      ...emptyHome,
+      jobs: [
+        {
+          ...fullHome.jobs[0],
+          status: 'scheduled',
+          stage: 'booked',
+          promisedAt: null,
+          update: null,
+          startAt: '2026-11-15T07:00:00Z',
+        },
+      ],
+    })
+    expect(
+      screen.getByRole('heading', {
+        level: 1,
+        name: 'Hi Kari. We are expecting your car tomorrow at 08:00.',
+      })
+    ).toBeInTheDocument()
+    const steps = screen.getByRole('list', { name: 'How far the work has come' })
+    expect(stepOf(steps, 'Booked')).toHaveAttribute('aria-current', 'step')
+    // Booked is not happening now, and nothing has been shared yet.
+    expect(screen.queryByText('Now')).not.toBeInTheDocument()
+    expect(screen.queryByText(/Latest from the workshop/)).not.toBeInTheDocument()
+  })
+
+  it('does not repeat a promise whose day has passed', async () => {
+    await home({
+      ...emptyHome,
+      jobs: [{ ...fullHome.jobs[0], promisedAt: '2026-11-12T15:00:00Z', update: null }],
+    })
+    expect(
+      screen.getByRole('heading', { level: 1, name: 'Hi Kari. Your car is in the workshop.' })
+    ).toBeInTheDocument()
+  })
+
+  it('says boat for a marine workshop', async () => {
+    await home({ ...fullHome, marine: true })
+    expect(
+      screen.getByRole('heading', {
+        level: 1,
+        name: 'Hi Kari. Your boat is in the workshop, ready today around 16:00.',
+      })
+    ).toBeInTheDocument()
+    expect(screen.getByRole('heading', { name: 'My boats' })).toBeInTheDocument()
+  })
+
+  it('lists any other work under way or booked, each with where it stands', async () => {
+    await home({
+      ...fullHome,
+      jobs: [
+        ...fullHome.jobs,
+        {
+          ...fullHome.jobs[0],
+          id: 'j9',
+          title: 'Wheel alignment',
+          status: 'scheduled',
+          stage: 'booked',
+          startAt: '2026-11-20T08:00:00Z',
+          promisedAt: null,
+          update: null,
+        },
+      ],
+    })
+    const other = section('Also booked or under way')
+    expect(other.getByText('Wheel alignment')).toBeInTheDocument()
+    expect(other.getByText('Volvo V60 · Booked for 20 Nov at 09:00')).toBeInTheDocument()
+  })
+
+  it('keeps a long job title and a car without a plate in full', async () => {
+    const title =
+      'Timing belt, water pump, both front lower control arms and a full four-wheel alignment'
+    await home({
+      ...fullHome,
+      jobs: [
+        {
+          ...fullHome.jobs[0],
+          title,
+          vehicle: { id: 'x', label: 'Volvo V60', licensePlate: null },
+        },
+      ],
+    })
+    const hero = section('Hi Kari. Your car is in the workshop, ready today around 16:00.')
+    expect(hero.getByText(title)).toBeInTheDocument()
+    expect(hero.queryByText('EK 12345')).not.toBeInTheDocument()
+  })
+})
+
+describe('what needs an answer', () => {
+  it('shows the quote, what it is for, what it costs and until when', async () => {
+    await home(fullHome)
+    const quote = section('Needs your answer')
+    expect(quote.getByText('Front discs and pads')).toBeInTheDocument()
+    expect(quote.getByText('4 850 kr')).toBeInTheDocument()
+    expect(quote.getByText('Valid until 29 Nov')).toBeInTheDocument()
+    expect(quote.getByText('Quote Q-2041 · Volvo V60')).toBeInTheDocument()
+    expect(quote.getByRole('link', { name: 'Read the quote' })).toHaveAttribute(
+      'href',
+      '/portal/fjordside/quotes/q1'
+    )
+  })
+
+  it('accepts the quote only after the customer confirms', async () => {
+    const user = userEvent.setup()
+    await home(fullHome)
+    const quote = section('Needs your answer')
+    await user.click(quote.getByRole('button', { name: 'Accept quote' }))
+    expect(respondToPortalQuote).not.toHaveBeenCalled()
+    expect(quote.getByText('Accept this quote?')).toBeInTheDocument()
+
+    await user.click(quote.getByRole('button', { name: 'Yes, accept' }))
+    expect(respondToPortalQuote).toHaveBeenCalledWith({ quoteId: 'q1', answer: 'accepted' })
+    expect(await quote.findByRole('status')).toHaveTextContent('You accepted this quote')
+    expect(router.refresh).toHaveBeenCalled()
+  })
+
+  it('lets the customer back out, and says so when the answer could not be sent', async () => {
+    const user = userEvent.setup()
+    vi.mocked(respondToPortalQuote).mockResolvedValueOnce({ success: false, error: 'server words' })
+    await home(fullHome)
+    const quote = section('Needs your answer')
+    await user.click(quote.getByRole('button', { name: 'Accept quote' }))
+    await user.click(quote.getByRole('button', { name: 'Yes, accept' }))
+    expect(await quote.findByRole('alert')).toHaveTextContent(
+      'We could not send your answer. Try again.'
+    )
+    expect(quote.queryByText('server words')).not.toBeInTheDocument()
+
+    await user.click(quote.getByRole('button', { name: 'Cancel' }))
+    expect(quote.getByRole('button', { name: 'Accept quote' })).toBeInTheDocument()
+  })
+
+  it('says how many more are waiting', async () => {
+    await home({
+      ...fullHome,
+      toAnswer: [...fullHome.toAnswer, { ...fullHome.toAnswer[0], id: 'q2' }],
+    })
+    expect(
+      screen.getByRole('link', { name: '1 more quote is waiting for your answer' })
+    ).toHaveAttribute('href', '/portal/fjordside/quotes')
+  })
+})
+
+describe('what there is to pay', () => {
+  it('shows the invoice with paying and reading it', async () => {
+    await home(fullHome)
+    const pay = section('To pay')
+    expect(pay.getByText('EU inspection and service')).toBeInTheDocument()
+    expect(pay.getByText('4 280 kr')).toBeInTheDocument()
+    expect(pay.getByText('Due 28 Nov')).toBeInTheDocument()
+    expect(pay.getByText('Invoice 1042 · Toyota RAV4 · 9 Nov')).toBeInTheDocument()
+    expect(pay.getByRole('link', { name: 'Pay now' })).toHaveAttribute(
+      'href',
+      '/share/invoice/fjordside/tok-i1'
+    )
+    expect(pay.getByRole('link', { name: 'See the invoice' })).toHaveAttribute(
+      'href',
+      '/portal/fjordside/invoices/i1'
+    )
+  })
+
+  it('offers no Pay now where the invoice cannot be paid online', async () => {
+    await home({ ...fullHome, toPay: [{ ...fullHome.toPay[0], payUrl: null }] })
+    const pay = section('To pay')
+    expect(pay.queryByRole('link', { name: 'Pay now' })).not.toBeInTheDocument()
+    expect(pay.getByRole('link', { name: 'See the invoice' })).toBeInTheDocument()
+  })
+
+  it('says overdue and what is left after a part payment, for the one invoice there is', async () => {
+    await home({
+      ...fullHome,
+      toPay: [
+        {
+          ...fullHome.toPay[0],
+          overdue: true,
+          dueAt: '2026-11-10T11:00:00Z',
+          paid: 1000,
+          balance: 3280,
+        },
+      ],
+      toPayTotal: 3280,
+      toPayCount: 1,
+      toPayOverdueCount: 1,
+    })
+    const pay = section('To pay')
+    expect(pay.getByText('Overdue since 10 Nov')).toBeInTheDocument()
+    expect(pay.queryByText(/^Due /)).not.toBeInTheDocument()
+    expect(pay.getByText('3 280 kr')).toBeInTheDocument()
+    expect(pay.getByText('1 000 kr of 4 280 kr paid')).toBeInTheDocument()
+    expect(pay.queryByRole('link', { name: /See all/ })).not.toBeInTheDocument()
+  })
+
+  it('leads with the sum of them all when there are several, then the most urgent one', async () => {
+    await home({
+      ...fullHome,
+      toPay: [
+        { ...fullHome.toPay[0], overdue: true, dueAt: '2026-11-10T11:00:00Z' },
+        { ...fullHome.toPay[0], id: 'i2', title: 'Tyre change', balance: 500 },
+      ],
+      toPayTotal: 20124,
+      toPayCount: 11,
+      toPayOverdueCount: 3,
+    })
+    const pay = section('To pay')
+    expect(pay.getByText('20 124 kr')).toBeInTheDocument()
+    expect(pay.getByText('11 invoices')).toBeInTheDocument()
+    expect(pay.getByText('3 overdue')).toBeInTheDocument()
+    expect(pay.getByText('Most urgent')).toBeInTheDocument()
+    expect(pay.getByText('EU inspection and service')).toBeInTheDocument()
+    expect(pay.getByText('4 280 kr')).toBeInTheDocument()
+    expect(pay.getByText('Overdue since 10 Nov')).toBeInTheDocument()
+    expect(pay.queryByText('Tyre change')).not.toBeInTheDocument()
+    expect(pay.getByRole('link', { name: 'Pay now' })).toHaveAttribute(
+      'href',
+      '/share/invoice/fjordside/tok-i1'
+    )
+    expect(pay.getByRole('link', { name: 'See all 11 invoices' })).toHaveAttribute(
+      'href',
+      '/portal/fjordside/invoices'
+    )
+  })
+
+  it('calls the first of several the next to pay when none is overdue', async () => {
+    await home({
+      ...fullHome,
+      toPay: [fullHome.toPay[0], { ...fullHome.toPay[0], id: 'i2' }],
+      toPayTotal: 8560,
+      toPayCount: 2,
+      toPayOverdueCount: 0,
+    })
+    const pay = section('To pay')
+    expect(pay.getByText('8 560 kr')).toBeInTheDocument()
+    expect(pay.getByText('2 invoices')).toBeInTheDocument()
+    expect(pay.getByText('Next to pay')).toBeInTheDocument()
+    expect(pay.getByText('Due 28 Nov')).toBeInTheDocument()
+    expect(pay.queryByText(/overdue/i)).not.toBeInTheDocument()
+  })
+})
+
+describe('the chat', () => {
+  it('is on the page, in a block that says what it is', async () => {
+    await home(fullHome)
+    const chat = screen.getByRole('complementary', { name: 'Messages with Fjordside Auto' })
+    expect(within(chat).getByText('The chat')).toBeInTheDocument()
+  })
+
+  it('shows the latest message as one line that opens the chat, for a phone', async () => {
+    await home(fullHome)
+    const preview = screen.getByRole('link', { name: /Open your messages with Fjordside Auto/ })
+    expect(preview).toHaveAttribute('href', '/portal/fjordside/messages')
+    expect(preview).toHaveTextContent('Jonas: You will get a message here when it is ready.')
+    expect(preview).toHaveTextContent('10:34')
+  })
+
+  it('invites a first message when nothing has been written yet', async () => {
+    await home(emptyHome)
+    expect(
+      screen.getByRole('link', { name: /Open your messages with Fjordside Auto/ })
+    ).toHaveTextContent('Write to Fjordside Auto')
+  })
+
+  it('is nowhere on the page when the workshop turned it off', async () => {
+    await home({ ...fullHome, messages: { enabled: false, unread: 0, latest: [] } }, null)
+    expect(screen.queryByRole('complementary')).not.toBeInTheDocument()
+    expect(screen.queryByRole('link', { name: /messages/i })).not.toBeInTheDocument()
+  })
+})
+
+describe('tyres stored with the workshop', () => {
+  it('show the season, the car, the tyre, its size, since when, and the tread left', async () => {
+    await home(fullHome)
+    const tires = section('Tyre hotel')
+    expect(tires.getByText('Summer tyres stored with us')).toBeInTheDocument()
+    expect(tires.getByText('Toyota RAV4')).toBeInTheDocument()
+    expect(tires.getByText('Michelin Primacy 4 · 225/60 R18')).toBeInTheDocument()
+    expect(
+      within(tires.getByText('tread left').closest('div') as HTMLElement).getByText('5 mm')
+    ).toBeInTheDocument()
+    expect(
+      within(tires.getByText('Stored since').closest('div') as HTMLElement).getByText('21 Oct')
+    ).toBeInTheDocument()
+  })
+
+  it('are not mentioned when the workshop runs no tyre hotel', async () => {
+    await home({ ...fullHome, tires: null })
+    expect(screen.queryByText(/tyre/i)).not.toBeInTheDocument()
+    expect(screen.queryByText(/tread/i)).not.toBeInTheDocument()
+  })
+
+  it('are not mentioned when the tyre hotel is on and nothing is stored', async () => {
+    await home({ ...fullHome, tires: [] })
+    expect(screen.queryByText(/tyre/i)).not.toBeInTheDocument()
+  })
+
+  it('say so when the tread was never measured, and list a second set', async () => {
+    await home({
+      ...fullHome,
+      tires: [
+        { ...summerSet, treadDepthMm: null, storedSince: null },
+        { ...summerSet, id: 't2', season: 'winter', studded: true, treadDepthMm: 6.5 },
+      ],
+    })
+    const tires = section('Tyre hotel')
+    expect(tires.getByText('Tread not measured yet')).toBeInTheDocument()
+    expect(tires.queryByText('Stored since')).not.toBeInTheDocument()
+    expect(tires.getByText('Winter tyres')).toBeInTheDocument()
+    expect(tires.getByText(/studded · stored since 21 Oct · 6.5 mm tread left/)).toBeInTheDocument()
+  })
+})
+
+describe('the cars and the next visit', () => {
+  it('links each car, with how often it has been in and what is going on with it', async () => {
+    await home(fullHome)
+    const cars = section('My cars')
+    const volvo = cars.getByRole('link', { name: /Volvo V60/ })
+    expect(volvo).toHaveAttribute('href', '/portal/fjordside/vehicles/v60')
+    expect(volvo).toHaveTextContent('EK 12345 · 8 visits')
+    expect(volvo).toHaveTextContent('In the workshop')
+    const toyota = cars.getByRole('link', { name: /Toyota RAV4/ })
+    expect(toyota).toHaveTextContent('EL 54321 · 3 visits')
+    expect(toyota).toHaveTextContent('warranty active')
+    expect(toyota).not.toHaveTextContent('In the workshop')
+  })
+
+  it('says when, which car and what for, and how to get there', async () => {
+    await home(fullHome)
+    const visit = section('Next visit')
+    expect(visit.getByText('Thursday 3 December')).toBeInTheDocument()
+    expect(visit.getByText('08:00 · Toyota RAV4')).toBeInTheDocument()
+    expect(visit.getByText('EU inspection follow-up')).toBeInTheDocument()
+    expect(visit.getByText('Strandgaten 14, Bergen')).toBeInTheDocument()
+    expect(visit.getByRole('link', { name: 'Directions' })).toHaveAttribute(
+      'href',
+      expect.stringContaining('Strandgaten%2014')
+    )
+  })
+})
+
+describe('a customer with no car in the workshop', () => {
+  it('is shown the next visit where the car would be, once and not twice', async () => {
+    await home({ ...emptyHome, cars: fullHome.cars, nextVisit })
+    const hero = section('Hi Kari. Nothing in the workshop right now.')
+    const visit = within(hero.getByRole('region', { name: 'Next visit' }))
+    expect(visit.getByText('Thursday 3 December, 08:00')).toBeInTheDocument()
+    expect(visit.getByText('Toyota RAV4 · EU inspection follow-up')).toBeInTheDocument()
+    expect(visit.getByRole('link', { name: 'Directions' })).toHaveAttribute(
+      'href',
+      expect.stringContaining('Strandgaten%2014')
+    )
+    expect(screen.getAllByRole('region', { name: 'Next visit' })).toHaveLength(1)
+    expect(screen.queryByRole('list', { name: 'How far the work has come' })).toBeNull()
+    expect(screen.queryByText(/Book a visit when your car needs us/)).not.toBeInTheDocument()
+  })
+
+  it('is greeted, told nothing is in the workshop, and offered a visit', async () => {
+    await home(emptyHome)
+    const hero = section('Hi Kari. Nothing in the workshop right now.')
+    expect(hero.getByText(/Book a visit when your car needs us/)).toBeInTheDocument()
+    expect(hero.getByRole('link', { name: 'Book a visit' })).toHaveAttribute(
+      'href',
+      '/portal/fjordside/request-service'
+    )
+  })
+
+  it('shows no empty boxes for an update, quotes, invoices or tyres', async () => {
+    await home(emptyHome)
+    expect(screen.queryByText(/Latest from the workshop/)).not.toBeInTheDocument()
+    expect(screen.queryByText('Needs your answer')).not.toBeInTheDocument()
+    expect(screen.queryByText('To pay')).not.toBeInTheDocument()
+    expect(screen.queryByText('Tyre hotel')).not.toBeInTheDocument()
+  })
+
+  it('says in words that no car is on file and no visit is booked', async () => {
+    await home(emptyHome)
+    expect(section('My cars').getByText('No cars on file yet')).toBeInTheDocument()
+    const visit = section('Next visit')
+    expect(visit.getByText('No visit booked')).toBeInTheDocument()
+    expect(visit.getByRole('link', { name: 'Book a visit' })).toBeInTheDocument()
+  })
+
+  it('shows what they asked for and are waiting to hear about', async () => {
+    await home({
+      ...emptyHome,
+      requests: [
+        {
+          id: 'r1',
+          description: 'Winter tyres on, and a look at the wipers',
+          vehicle: null,
+          createdAt: '2026-11-12T09:00:00Z',
+          preferredDate: null,
+        },
+      ],
+    })
+    const sent = section('Sent to the workshop')
+    expect(sent.getByText('Winter tyres on, and a look at the wipers')).toBeInTheDocument()
+    expect(sent.getByText('Sent 12 Nov · Waiting for an answer')).toBeInTheDocument()
+  })
+
+  it('offers no way to change how the portal looks', async () => {
+    await home(fullHome)
+    expect(screen.queryByText(/Overview|Timeline|Headline|theme/i)).not.toBeInTheDocument()
+  })
+})
+
+describe("Colour's frame", () => {
+  function chrome(over: Partial<PortalChromeProps> = {}) {
+    return render(
+      <Chrome
+        orgParam="fjordside"
+        workshop={workshop}
+        customerName="Kari Nordmann"
+        marine={false}
+        messagesEnabled
+        unreadMessages={0}
+        {...over}
+      >
+        <p>Page body</p>
+      </Chrome>
+    )
+  }
+  /** The phone's tab bar is the second of the two navigations, after the desk bar's. */
+  const tabBar = () => within(screen.getAllByRole('navigation', { name: 'Main' })[1])
+  const deskBar = () => within(screen.getAllByRole('navigation', { name: 'Main' })[0])
+
+  it('draws the page, with a way to skip to it', () => {
+    chrome()
+    expect(within(screen.getByRole('main')).getByText('Page body')).toBeInTheDocument()
+    expect(screen.getByRole('link', { name: 'Skip to content' })).toHaveAttribute(
+      'href',
+      '#portal-main'
+    )
+  })
+
+  it('offers Home, Messages, Book, My cars and Papers on a phone, each going where it says', () => {
+    chrome()
+    const links = tabBar().getAllByRole('link')
+    expect(links.map((a) => a.textContent)).toEqual([
+      'Home',
+      'Messages',
+      'Book',
+      'My cars',
+      'Papers',
+    ])
+    expect(links.map((a) => a.getAttribute('href'))).toEqual([
+      '/portal/fjordside/dashboard',
+      '/portal/fjordside/messages',
+      '/portal/fjordside/request-service',
+      '/portal/fjordside/vehicles',
+      '/portal/fjordside/documents',
+    ])
+    expect(tabBar().getByRole('link', { name: 'Home' })).toHaveAttribute('aria-current', 'page')
+    expect(tabBar().getByRole('link', { name: 'My cars' })).not.toHaveAttribute('aria-current')
+  })
+
+  it('shows how many messages are unread, in words too, and nothing when all are read', () => {
+    const { unmount } = chrome({ unreadMessages: 2 })
+    expect(tabBar().getByRole('link', { name: /Messages/ })).toHaveTextContent('2 unread messages')
+    unmount()
+    chrome()
+    expect(screen.queryByText(/unread/)).not.toBeInTheDocument()
+  })
+
+  it('leaves Messages out when the workshop turned the chat off, and says boats for a marina', () => {
+    chrome({ messagesEnabled: false, marine: true })
+    expect(screen.queryByRole('link', { name: /Messages/ })).not.toBeInTheDocument()
+    expect(tabBar().getByRole('link', { name: 'My boats' })).toBeInTheDocument()
+  })
+
+  it('names the workshop, linking home, whether it is open, and the places in full on a desk', () => {
+    nav.pathname = '/portal/fjordside/quotes/q1'
+    chrome()
+    expect(screen.getByRole('link', { name: 'Fjordside Auto, home' })).toHaveAttribute(
+      'href',
+      '/portal/fjordside/dashboard'
+    )
+    expect(screen.getAllByText('Open until 17:00').length).toBeGreaterThan(0)
+    expect(
+      deskBar()
+        .getAllByRole('link')
+        .map((a) => a.textContent)
+    ).toEqual(['Home', 'My cars', 'Invoices and quotes'])
+    expect(deskBar().getByRole('link', { name: 'Invoices and quotes' })).toHaveAttribute(
+      'aria-current',
+      'page'
+    )
+    expect(screen.getByRole('link', { name: 'Book a visit' })).toHaveAttribute(
+      'href',
+      '/portal/fjordside/request-service'
+    )
+  })
+
+  it("has the customer's way out, and no way to change how the portal looks", async () => {
+    const user = userEvent.setup()
+    chrome()
+    const account = screen.getByRole('button', { name: 'Your account, Kari Nordmann' })
+    expect(account).toHaveTextContent('KN')
+    await user.click(account)
+    expect(
+      within(screen.getByRole('menu')).getByRole('menuitem', { name: 'Sign out' })
+    ).toBeVisible()
+    expect(screen.queryByText(/Overview|Timeline|Headline|theme/i)).not.toBeInTheDocument()
+  })
+
+  it("has the workshop's phone and address at the foot, but not under the chat", () => {
+    const { unmount } = chrome()
+    const footer = within(screen.getByRole('contentinfo'))
+    expect(footer.getByRole('link', { name: 'Call 55 00 00 00' })).toHaveAttribute(
+      'href',
+      'tel:55000000'
+    )
+    expect(
+      footer.getByRole('link', { name: 'Open Strandgaten 14, Bergen in maps' })
+    ).toHaveAttribute('href', expect.stringContaining('Strandgaten%2014'))
+    unmount()
+    nav.pathname = '/portal/fjordside/messages'
+    chrome()
+    expect(screen.queryByRole('contentinfo')).not.toBeInTheDocument()
+  })
+})
+
+describe("Colour's front door", () => {
+  /** Mon to Fri 07:30 to 17:00, Saturday 09:00 to 13:00, Sunday closed. Sunday first. */
+  const week = [
+    { open: false, start: '09:00', end: '13:00' },
+    ...Array.from({ length: 5 }, () => ({ open: true, start: '07:30', end: '17:00' })),
+    { open: true, start: '09:00', end: '13:00' },
+  ]
+  // A Saturday.
+  const hours = { week, today: '2026-11-14', timeFormat: '24h' as const, closedSoon: [] }
+
+  const frame = async (over: Partial<PortalSignInProps> = {}) =>
+    render(
+      await SignIn({
+        orgParam: 'fjordside',
+        workshop: { ...workshop, hours },
+        description: 'Family-run workshop in Bergen since 1998.',
+        hoursText: null,
+        coverUrl: null,
+        eyebrow: 'For our customers',
+        heading: 'See your car, your invoices and your messages.',
+        children: <p>The form</p>,
+        ...over,
+      })
+    )
+
+  it('names the workshop first, then says what signing in gives, above the form', async () => {
+    await frame()
+    expect(screen.getByRole('heading', { level: 1, name: 'Fjordside Auto' })).toBeInTheDocument()
+    const main = within(screen.getByRole('main'))
+    expect(
+      main.getByRole('heading', {
+        level: 2,
+        name: 'See your car, your invoices and your messages.',
+      })
+    ).toBeInTheDocument()
+    expect(main.getByText('For our customers')).toBeInTheDocument()
+    expect(main.getByText('The form')).toBeInTheDocument()
+  })
+
+  it("carries the workshop's own words and whether it is open now", async () => {
+    await frame()
+    expect(screen.getByText('Family-run workshop in Bergen since 1998.')).toBeInTheDocument()
+    expect(screen.getByText('Open until 17:00')).toBeInTheDocument()
+  })
+
+  it('puts signing in before how to find and reach the workshop', async () => {
+    await frame()
+    const form = screen.getByText('The form')
+    const findUs = screen.getByText('Find us')
+    expect(form.compareDocumentPosition(findUs) & Node.DOCUMENT_POSITION_FOLLOWING).toBeTruthy()
+  })
+
+  it('shows the week in as few lines as it takes, with today marked', async () => {
+    await frame()
+    const lines = section('Opening hours').getAllByRole('listitem')
+    expect(lines.map((li) => li.textContent)).toEqual([
+      'Mon to Fri 07:30 to 17:00',
+      'Saturday 09:00 to 13:00',
+      'Sunday closed',
+    ])
+    expect(lines[1]).toHaveAttribute('aria-current', 'date')
+    expect(lines[0]).not.toHaveAttribute('aria-current')
+  })
+
+  it("shows the workshop's typed hours when there is no calendar week", async () => {
+    await frame({ workshop: { ...workshop, hours: null }, hoursText: 'Weekdays 7 to 4' })
+    expect(section('Opening hours').getByText('Weekdays 7 to 4')).toBeInTheDocument()
+    expect(screen.queryByText(/Mon to Fri/)).not.toBeInTheDocument()
+  })
+
+  it('links the address to directions and the phone to a call', async () => {
+    await frame()
+    const find = section('Find us')
+    expect(find.getByText('Strandgaten 14, Bergen')).toBeInTheDocument()
+    expect(find.getByRole('link', { name: 'Directions' })).toHaveAttribute(
+      'href',
+      expect.stringContaining('Strandgaten%2014')
+    )
+    expect(find.getByRole('link', { name: '55 00 00 00' })).toHaveAttribute('href', 'tel:55000000')
+  })
+
+  it('shows the cover photo when the workshop uploaded one, and its initial when not', async () => {
+    const { container, unmount } = await frame()
+    expect(container.querySelector('img')).toBeNull()
+    // The mark beside the name, and the same letter large where the photo would be.
+    expect(screen.getAllByText('F')).toHaveLength(2)
+    unmount()
+    const withCover = await frame({ coverUrl: '/api/public/portal-bg/org1?v=a.jpg' })
+    expect(withCover.container.querySelector('img')).toHaveAttribute(
+      'src',
+      '/api/public/portal-bg/org1?v=a.jpg'
+    )
+    expect(screen.getAllByText('F')).toHaveLength(1)
+  })
+
+  it('still stands when the workshop has told nothing about itself', async () => {
+    await frame({
+      workshop: {
+        ...workshop,
+        hours: null,
+        phone: null,
+        phoneHref: null,
+        address: null,
+        directionsUrl: null,
+      },
+      description: null,
+    })
+    expect(screen.getByRole('heading', { level: 1, name: 'Fjordside Auto' })).toBeInTheDocument()
+    expect(screen.getByText('The form')).toBeInTheDocument()
+    expect(screen.getByText('Open until 17:00')).toBeInTheDocument()
+    expect(screen.queryByRole('contentinfo')).not.toBeInTheDocument()
+    expect(screen.queryByText('Opening hours')).not.toBeInTheDocument()
+  })
+})

+ 545 - 0
src/__tests__/features/portal/home-data.test.ts

@@ -0,0 +1,545 @@
+/**
+ * What the portal home holds: one shape, built from the rows, that every
+ * theme draws. The workshop here is in Auckland, half a day ahead of UTC, so
+ * "today" on the server's clock is the wrong day for most of these.
+ */
+
+import { describe, expect, it } from 'vitest'
+import {
+  type HomeInvoiceRow,
+  type HomeJobRow,
+  type HomeQuoteRow,
+  type HomeTireSetRow,
+  type PortalHomeInput,
+  buildPortalHome,
+  firstNameOf,
+  portalJobStage,
+  workshopHoursLine,
+  workshopHoursNow,
+} from '@/features/portal/Lib/homeData'
+import type { PortalWorkshop } from '@/features/portal/Lib/homeTypes'
+
+const timeZone = 'Pacific/Auckland'
+// 20 Nov 2026, 10:30 in Auckland (UTC+13), which is still 19 Nov in UTC.
+const now = new Date('2026-11-19T21:30:00Z')
+const volvo = { id: 'v1', make: 'Volvo', model: 'V60', licensePlate: 'AB12345' }
+
+const job = (over: Partial<HomeJobRow>): HomeJobRow => ({
+  id: 'j1',
+  title: 'Service',
+  status: 'pending',
+  startDateTime: null,
+  promisedAt: null,
+  createdAt: new Date('2026-11-10T00:00:00Z'),
+  vehicle: volvo,
+  statusReports: [],
+  ...over,
+})
+
+const invoice = (over: Partial<HomeInvoiceRow>): HomeInvoiceRow => ({
+  id: 'i1',
+  title: 'Brake pads',
+  invoiceNumber: 'INV-1',
+  totalAmount: 1000,
+  manuallyPaid: false,
+  serviceDate: new Date('2026-11-12T00:00:00Z'),
+  invoiceDate: null,
+  invoiceDueDate: null,
+  publicToken: null,
+  vehicle: volvo,
+  payments: [],
+  ...over,
+})
+
+const quote = (over: Partial<HomeQuoteRow>): HomeQuoteRow => ({
+  id: 'q1',
+  title: 'Timing belt',
+  quoteNumber: 'Q-1',
+  status: 'sent',
+  totalAmount: 5000,
+  validUntil: null,
+  vehicle: volvo,
+  ...over,
+})
+
+const workshopInfo: PortalWorkshop = {
+  name: 'Egeland Auto',
+  logoUrl: null,
+  phone: null,
+  phoneHref: null,
+  email: null,
+  address: null,
+  directionsUrl: null,
+  openToday: [],
+  openNow: false,
+  opensAt: null,
+  closesAt: null,
+  openLine: 'Closed today',
+  hours: null,
+}
+
+const tireSet = (over: Partial<HomeTireSetRow>): HomeTireSetRow => ({
+  id: 't1',
+  season: 'summer',
+  studded: false,
+  brand: 'Michelin',
+  model: 'Primacy 4',
+  size: '225/60 R18',
+  quantity: 4,
+  withRims: false,
+  checkedInAt: new Date('2026-10-21T08:00:00Z'),
+  createdAt: new Date('2026-10-20T08:00:00Z'),
+  vehicle: volvo,
+  measurements: [],
+  ...over,
+})
+
+const home = (over: Partial<PortalHomeInput> = {}) =>
+  buildPortalHome({
+    orgParam: 'egeland',
+    timeZone,
+    now,
+    customerName: 'Kari Nordmann',
+    workshop: workshopInfo,
+    marine: false,
+    onlinePayment: false,
+    jobs: [],
+    invoices: [],
+    quotes: [],
+    requests: [],
+    appointments: [],
+    cars: [],
+    warranties: [],
+    tires: null,
+    messages: { enabled: true, unread: 0, latest: [] },
+    ...over,
+  })
+
+describe('who the home greets', () => {
+  it('uses the first name', () => {
+    expect(home().customerFirstName).toBe('Kari')
+    expect(firstNameOf('Cher')).toBe('Cher')
+    expect(firstNameOf('  Ola  Nordmann ')).toBe('Ola')
+  })
+
+  it('drops the full stop of an initial, so a greeting does not end in two', () => {
+    expect(firstNameOf('K. Nordmann')).toBe('K')
+    expect(home({ customerName: 'K. Nordmann' }).customerFirstName).toBe('K')
+    expect(firstNameOf('...')).toBe('...')
+  })
+})
+
+describe('where a job is', () => {
+  it('is booked until work starts, and in the workshop from then on', () => {
+    expect(portalJobStage('pending')).toBe('booked')
+    expect(portalJobStage('scheduled')).toBe('booked')
+    expect(portalJobStage('in-progress')).toBe('working')
+    expect(portalJobStage('waiting-parts')).toBe('working')
+  })
+
+  it('puts work under way first, then what is booked by when the car comes in', () => {
+    const data = home({
+      jobs: [
+        job({ id: 'later', status: 'scheduled', startDateTime: new Date('2026-12-03T07:00:00Z') }),
+        job({ id: 'undated', status: 'pending' }),
+        job({ id: 'sooner', status: 'scheduled', startDateTime: new Date('2026-11-25T07:00:00Z') }),
+        job({ id: 'parts', status: 'waiting-parts' }),
+        job({
+          id: 'promised',
+          status: 'in-progress',
+          promisedAt: new Date('2026-11-20T02:00:00Z'),
+        }),
+      ],
+    })
+    expect(data.jobs.map((j) => j.id)).toEqual(['promised', 'parts', 'sooner', 'later', 'undated'])
+    expect(data.jobs.map((j) => j.stage)).toEqual([
+      'working',
+      'working',
+      'booked',
+      'booked',
+      'booked',
+    ])
+  })
+
+  it('names the car as the customer does and carries the promised time', () => {
+    const [only] = home({
+      jobs: [job({ status: 'in-progress', promisedAt: new Date('2026-11-20T02:00:00Z') })],
+    }).jobs
+    expect(only.vehicle).toEqual({ id: 'v1', label: 'Volvo V60', licensePlate: 'AB12345' })
+    expect(only.promisedAt).toBe('2026-11-20T02:00:00.000Z')
+  })
+
+  it('carries the newest update the workshop shared, with its words, and none that has expired', () => {
+    const report = (id: string, sentAt: string, expiresAt: Date | null = null) => ({
+      id,
+      publicToken: `tok-${id}`,
+      message: id === 'new' ? ' Front discs are worn. ' : null,
+      sentAt: new Date(sentAt),
+      viewedAt: null,
+      createdAt: new Date(sentAt),
+      expiresAt,
+    })
+    const data = home({
+      jobs: [
+        job({
+          id: 'a',
+          status: 'in-progress',
+          statusReports: [
+            report('old', '2026-11-17T00:00:00Z'),
+            report('new', '2026-11-18T00:00:00Z'),
+            report('gone', '2026-11-19T00:00:00Z', new Date('2026-11-19T12:00:00Z')),
+          ],
+        }),
+        job({ id: 'b', status: 'pending' }),
+      ],
+    })
+    expect(data.jobs.find((j) => j.id === 'a')?.update).toEqual({
+      at: '2026-11-18T00:00:00.000Z',
+      url: '/share/status-report/egeland/tok-new',
+      message: 'Front discs are worn.',
+    })
+    expect(data.jobs.find((j) => j.id === 'b')?.update).toBeNull()
+  })
+})
+
+describe('what there is to pay', () => {
+  it('leaves out an invoice that is paid, in full or by hand', () => {
+    const data = home({
+      invoices: [
+        invoice({
+          id: 'open',
+          payments: [{ amount: 400 }],
+        }),
+        invoice({
+          id: 'paid',
+          payments: [{ amount: 1000 }],
+        }),
+        invoice({ id: 'cash', manuallyPaid: true }),
+      ],
+    })
+    expect(data.toPay.map((i) => i.id)).toEqual(['open'])
+    expect(data.toPay[0]).toMatchObject({ total: 1000, paid: 400, balance: 600 })
+    expect(data.toPayTotal).toBe(600)
+  })
+
+  it('judges overdue on the workshop day, not the server day', () => {
+    // Due 19 Nov in Auckland. In UTC it is still the 19th; in Auckland the 20th.
+    const dueYesterday = new Date('2026-11-18T11:00:00Z')
+    // Due 20 Nov in Auckland, which is today there and "tomorrow" in UTC terms.
+    const dueToday = new Date('2026-11-19T11:00:00Z')
+    const data = home({
+      invoices: [
+        invoice({ id: 'today', invoiceDueDate: dueToday }),
+        invoice({ id: 'yesterday', invoiceDueDate: dueYesterday }),
+      ],
+    })
+    expect(data.toPay.find((i) => i.id === 'yesterday')?.overdue).toBe(true)
+    expect(data.toPay.find((i) => i.id === 'today')?.overdue).toBe(false)
+  })
+
+  it('puts overdue first, then the soonest due, then those with no due day', () => {
+    const data = home({
+      invoices: [
+        invoice({ id: 'nodue' }),
+        invoice({ id: 'later', invoiceDueDate: new Date('2026-12-10T11:00:00Z') }),
+        invoice({ id: 'soon', invoiceDueDate: new Date('2026-11-25T11:00:00Z') }),
+        invoice({ id: 'late', invoiceDueDate: new Date('2026-11-01T11:00:00Z') }),
+      ],
+    })
+    expect(data.toPay.map((i) => i.id)).toEqual(['late', 'soon', 'later', 'nodue'])
+    expect(data.toPayTotal).toBe(4000)
+    // What a home leads with when there are several: the sum, how many, how many overdue.
+    expect(data.toPayCount).toBe(4)
+    expect(data.toPayOverdueCount).toBe(1)
+    expect(home().toPayCount).toBe(0)
+  })
+
+  it('always opens the invoice in the portal, and offers paying only where it can be paid', () => {
+    const invoices = [
+      invoice({ id: 'shared', publicToken: 'tok1' }),
+      invoice({ id: 'unshared', publicToken: null }),
+    ]
+    const withPayments = home({ invoices, onlinePayment: true })
+    const shared = withPayments.toPay.find((i) => i.id === 'shared')
+    expect(shared?.viewUrl).toBe('/portal/egeland/invoices/shared')
+    expect(shared?.payUrl).toBe('/share/invoice/egeland/tok1')
+    expect(withPayments.toPay.find((i) => i.id === 'unshared')?.payUrl).toBeNull()
+
+    const without = home({ invoices, onlinePayment: false })
+    expect(without.toPay.map((i) => i.payUrl)).toEqual([null, null])
+  })
+})
+
+describe('what waits for an answer', () => {
+  it('is a sent quote, not one already answered', () => {
+    const data = home({
+      quotes: [
+        quote({ id: 'open' }),
+        quote({ id: 'yes', status: 'accepted' }),
+        quote({ id: 'no', status: 'rejected' }),
+      ],
+    })
+    expect(data.toAnswer.map((q) => q.id)).toEqual(['open'])
+  })
+
+  it('drops a quote the day after it ran out on the workshop calendar, not before', () => {
+    const data = home({
+      quotes: [
+        // Valid until 20 Nov in Auckland: today there, so still open.
+        quote({ id: 'lastDay', validUntil: new Date('2026-11-19T11:00:00Z') }),
+        // Valid until 19 Nov in Auckland: yesterday there, though today in UTC.
+        quote({ id: 'expired', validUntil: new Date('2026-11-18T11:00:00Z') }),
+        quote({ id: 'open', validUntil: null }),
+        quote({ id: 'nextWeek', validUntil: new Date('2026-11-27T11:00:00Z') }),
+      ],
+    })
+    expect(data.toAnswer.map((q) => q.id)).toEqual(['lastDay', 'nextWeek', 'open'])
+  })
+
+  it('is read and answered inside the portal', () => {
+    const data = home({ quotes: [quote({ id: 'plain' })] })
+    expect(data.toAnswer[0].url).toBe('/portal/egeland/quotes/plain')
+  })
+})
+
+describe('the next visit', () => {
+  const booked = (id: string, start: string) =>
+    job({ id, status: 'scheduled', startDateTime: new Date(start) })
+
+  it('is the soonest booked job after the one the home already leads with', () => {
+    const data = home({
+      jobs: [booked('first', '2026-11-25T07:00:00Z'), booked('second', '2026-12-03T07:00:00Z')],
+    })
+    // The first booking is the headline; the visit card must not repeat it.
+    expect(data.jobs[0].id).toBe('first')
+    expect(data.nextVisit).toMatchObject({ id: 'second', kind: 'job', title: 'Service' })
+  })
+
+  it('is the booking, while another car is in the workshop', () => {
+    const data = home({
+      jobs: [job({ id: 'now', status: 'in-progress' }), booked('later', '2026-12-03T07:00:00Z')],
+    })
+    expect(data.nextVisit?.id).toBe('later')
+  })
+
+  it('is an appointment the workshop made, when that comes first', () => {
+    const data = home({
+      jobs: [job({ id: 'now', status: 'in-progress' }), booked('later', '2026-12-03T07:00:00Z')],
+      appointments: [
+        {
+          id: 'a1',
+          title: 'Collect winter tyres',
+          startAt: new Date('2026-11-24T20:00:00Z'),
+          vehicle: null,
+        },
+      ],
+    })
+    expect(data.nextVisit).toEqual({
+      id: 'a1',
+      kind: 'appointment',
+      title: 'Collect winter tyres',
+      startAt: '2026-11-24T20:00:00.000Z',
+      vehicle: null,
+    })
+  })
+
+  it('counts a visit earlier today on the workshop calendar, and none from yesterday', () => {
+    // 08:00 on 20 Nov in Auckland: this morning there, yesterday evening in UTC.
+    const thisMorning = home({
+      jobs: [job({ id: 'now', status: 'in-progress' }), booked('today', '2026-11-19T19:00:00Z')],
+    })
+    expect(thisMorning.nextVisit?.id).toBe('today')
+    const yesterday = home({
+      jobs: [job({ id: 'now', status: 'in-progress' }), booked('gone', '2026-11-18T19:00:00Z')],
+    })
+    expect(yesterday.nextVisit).toBeNull()
+  })
+
+  it('is nothing when nothing is booked', () => {
+    expect(home().nextVisit).toBeNull()
+  })
+})
+
+describe("the customer's cars", () => {
+  const car = (id: string, make: string, model: string, visits = 0) => ({
+    id,
+    make,
+    model,
+    year: 2019,
+    licensePlate: `${id.toUpperCase()} 12345`,
+    mileage: 80_000,
+    visits,
+  })
+
+  it('lists the one in the workshop first, then by name, with how often each has been in', () => {
+    const data = home({
+      cars: [
+        car('t', 'Toyota', 'RAV4', 3),
+        car('a', 'Audi', 'A4', 1),
+        car('v1', 'Volvo', 'V60', 8),
+      ],
+      jobs: [job({ status: 'in-progress' })],
+    })
+    expect(data.cars.map((c) => [c.label, c.visits, c.inWorkshop])).toEqual([
+      ['Volvo V60', 8, true],
+      ['Audi A4', 1, false],
+      ['Toyota RAV4', 3, false],
+    ])
+    expect(data.cars[0].url).toBe('/portal/egeland/vehicles/v1')
+  })
+
+  it('does not call a car that is only booked "in the workshop"', () => {
+    const data = home({ cars: [car('v1', 'Volvo', 'V60')], jobs: [job({ status: 'scheduled' })] })
+    expect(data.cars[0].inWorkshop).toBe(false)
+  })
+
+  it('says when a warranty on the car still runs, and when it ends soon', () => {
+    const warranty = (vehicleId: string, expires: string) => ({
+      vehicleId,
+      warrantyExpiresAt: new Date(expires),
+      warrantyMileage: null,
+      mileage: null,
+    })
+    const inAYear = new Date(Date.now() + 365 * 86_400_000).toISOString()
+    const inAWeek = new Date(Date.now() + 7 * 86_400_000).toISOString()
+    const data = home({
+      cars: [car('a', 'Audi', 'A4'), car('b', 'BMW', 'i3'), car('c', 'Citroen', 'C3')],
+      warranties: [warranty('a', inAYear), warranty('a', inAWeek), warranty('b', inAWeek)],
+    })
+    expect(data.cars.map((c) => c.warranty)).toEqual(['active', 'expiring', null])
+  })
+})
+
+describe('tyres stored with the workshop', () => {
+  it('are left out altogether when the workshop runs no tyre hotel or hides it', () => {
+    expect(home({ tires: null }).tires).toBeNull()
+  })
+
+  it('are an empty list when the tyre hotel is on and nothing is stored', () => {
+    expect(home({ tires: [] }).tires).toEqual([])
+  })
+
+  it('carry the season, the tyre, its size and when the set came in', () => {
+    const [set] = home({ tires: [tireSet({})] }).tires ?? []
+    expect(set).toMatchObject({
+      season: 'summer',
+      brand: 'Michelin',
+      model: 'Primacy 4',
+      size: '225/60 R18',
+      quantity: 4,
+      storedSince: '2026-10-21T08:00:00.000Z',
+      vehicle: { label: 'Volvo V60' },
+    })
+  })
+
+  it('give the shallowest tread of the latest measuring, not an older or a deeper one', () => {
+    const at = (iso: string, mm: number | null, movementId: string | null = null) => ({
+      treadDepthMm: mm,
+      measuredAt: new Date(iso),
+      movementId,
+    })
+    const [set] =
+      home({
+        tires: [
+          tireSet({
+            measurements: [
+              at('2026-10-21T08:00:00Z', 5.5, 'in'),
+              at('2026-10-21T08:01:00Z', 5, 'in'),
+              at('2026-10-21T08:02:00Z', 6, 'in'),
+              at('2026-10-21T08:03:00Z', null, 'in'),
+              // Last spring's check-in was more worn-in memory, not today's tyres.
+              at('2026-04-10T08:00:00Z', 3, 'spring'),
+            ],
+          }),
+        ],
+      }).tires ?? []
+    expect(set.treadDepthMm).toBe(5)
+  })
+
+  it('say nothing about tread the workshop never measured', () => {
+    const [set] = home({ tires: [tireSet({})] }).tires ?? []
+    expect(set.treadDepthMm).toBeNull()
+  })
+
+  it('treat a season the portal does not know as other', () => {
+    const [set] = home({ tires: [tireSet({ season: 'track' })] }).tires ?? []
+    expect(set.season).toBe('other')
+  })
+})
+
+describe('the chat', () => {
+  it('is passed on as it was read', () => {
+    const messages = { enabled: false, unread: 2, latest: [] }
+    expect(home({ messages }).messages).toBe(messages)
+  })
+})
+
+describe("today's hours", () => {
+  const workshop = {
+    ...workshopInfo,
+    openToday: [
+      { start: '08:00', end: '11:30' },
+      { start: '12:00', end: '16:00' },
+    ],
+  }
+
+  it('says open until the stretch it is in ends, not the last closing of the day', () => {
+    expect(workshopHoursLine({ ...workshop, openNow: true, closesAt: '11:30' })).toEqual({
+      key: 'openUntil',
+      time: '11:30',
+    })
+    expect(workshopHoursLine({ ...workshop, openNow: true, closesAt: '16:00' })).toEqual({
+      key: 'openUntil',
+      time: '16:00',
+    })
+  })
+
+  // 20 Nov in Auckland (UTC+13): 08:00 there is 19:00 UTC the day before.
+  const lunchDay = [
+    { start: new Date('2026-11-19T19:00:00Z'), end: new Date('2026-11-19T23:00:00Z') },
+    { start: new Date('2026-11-20T00:00:00Z'), end: new Date('2026-11-20T03:00:00Z') },
+  ]
+
+  it('is open until 12:00 at ten for a workshop open 08 to 12 and 13 to 16', () => {
+    const at10 = workshopHoursNow(lunchDay, new Date('2026-11-19T21:00:00Z'), timeZone)
+    expect(at10).toEqual({
+      openToday: [
+        { start: '08:00', end: '12:00' },
+        { start: '13:00', end: '16:00' },
+      ],
+      openNow: true,
+      closesAt: '12:00',
+      opensAt: null,
+    })
+    expect(workshopHoursLine({ ...workshop, ...at10 })).toEqual({ key: 'openUntil', time: '12:00' })
+  })
+
+  it('opens again at 13:00 over lunch, and is open until 16:00 after it', () => {
+    const lunch = workshopHoursNow(lunchDay, new Date('2026-11-19T23:30:00Z'), timeZone)
+    expect(workshopHoursLine({ ...workshop, ...lunch })).toEqual({ key: 'opensAt', time: '13:00' })
+    const after = workshopHoursNow(lunchDay, new Date('2026-11-20T01:00:00Z'), timeZone)
+    expect(workshopHoursLine({ ...workshop, ...after })).toEqual({
+      key: 'openUntil',
+      time: '16:00',
+    })
+  })
+
+  it('says when it opens later today, also after a break', () => {
+    expect(workshopHoursLine({ ...workshop, opensAt: '12:00' })).toEqual({
+      key: 'opensAt',
+      time: '12:00',
+    })
+  })
+
+  it('tells closed for today apart from not open today', () => {
+    expect(workshopHoursLine(workshop)).toEqual({ key: 'closedNow' })
+    expect(workshopHoursLine({ ...workshop, openToday: [] })).toEqual({ key: 'closedToday' })
+  })
+})
+
+describe('boats', () => {
+  it('passes on whether the workshop works on boats', () => {
+    expect(home().marine).toBe(false)
+    expect(home({ marine: true }).marine).toBe(true)
+  })
+})

+ 454 - 0
src/__tests__/features/portal/home-daylight.test.tsx

@@ -0,0 +1,454 @@
+/**
+ * The signed-in home as Daylight draws it: the car in the workshop on top,
+ * what needs an answer and what there is to pay, the chat always there on a
+ * desk, stored tyres only for a workshop that stores them, and a page that
+ * still looks finished when there is nothing to show.
+ */
+
+import { render, screen, within } from '@testing-library/react'
+import userEvent from '@testing-library/user-event'
+import { beforeEach, describe, expect, it, vi } from 'vitest'
+import { emptyHome, format, fullHome } from './helpers/fixtures'
+
+const router = vi.hoisted(() => ({ push: vi.fn(), refresh: vi.fn() }))
+vi.mock('next/navigation', () => ({ useRouter: () => router }))
+vi.mock('next-intl/server', async () => (await import('./helpers/serverIntl')).serverIntl)
+vi.mock('@/features/portal/Actions/respondToPortalQuote', () => ({
+  respondToPortalQuote: vi.fn(async () => ({ success: true, data: { status: 'accepted' } })),
+}))
+
+import { respondToPortalQuote } from '@/features/portal/Actions/respondToPortalQuote'
+import { Home } from '@/features/portal/Components/Themes/Daylight/Home'
+import { firstNameOf } from '@/features/portal/Lib/homeData'
+import type { PortalHomeData } from '@/features/portal/Lib/homeTypes'
+
+const home = async (data: PortalHomeData, chat: React.ReactNode = <p>The chat</p>) =>
+  render(await Home({ orgParam: 'fjordside', data, format, chat }))
+
+const [summerSet] = fullHome.tires as NonNullable<PortalHomeData['tires']>
+
+const section = (name: string) => within(screen.getByRole('region', { name }))
+
+beforeEach(() => {
+  router.refresh.mockClear()
+  vi.mocked(respondToPortalQuote).mockClear()
+})
+
+describe('the car in the workshop', () => {
+  it('leads the page: which car, what for, and when it is ready', async () => {
+    await home(fullHome)
+    const hero = section('Hi Kari. Your car is in the workshop, ready today around 16:00.')
+    expect(hero.getByText('Volvo V60')).toBeInTheDocument()
+    expect(hero.getByText('EK 12345')).toBeInTheDocument()
+    expect(hero.getByText('Brake service')).toBeInTheDocument()
+    expect(screen.getAllByRole('heading', { level: 1 })).toHaveLength(1)
+  })
+
+  it('shows the three steps with the one it is at', async () => {
+    await home(fullHome)
+    const steps = within(screen.getByRole('list', { name: 'How far the work has come' }))
+    expect(steps.getAllByRole('listitem').map((li) => li.textContent)).toEqual([
+      'Checked in',
+      'In the workshop',
+      'Ready to collect',
+    ])
+    expect(steps.getByText('In the workshop')).toHaveAttribute('aria-current', 'step')
+    expect(steps.getByText('Ready to collect')).not.toHaveAttribute('aria-current')
+  })
+
+  it('carries the latest update with a way to see it', async () => {
+    await home(fullHome)
+    expect(screen.getByText('Latest from the workshop · 10:12')).toBeInTheDocument()
+    expect(screen.getByText(/Front discs are worn past the limit/)).toBeInTheDocument()
+    expect(screen.getByRole('link', { name: 'See photos and video' })).toHaveAttribute(
+      'href',
+      '/share/status-report/fjordside/tok'
+    )
+  })
+
+  it('says when the car is expected, for a visit that is only booked', async () => {
+    await home({
+      ...emptyHome,
+      jobs: [
+        {
+          ...fullHome.jobs[0],
+          status: 'scheduled',
+          stage: 'booked',
+          promisedAt: null,
+          update: null,
+          startAt: '2026-11-15T07:00:00Z',
+        },
+      ],
+    })
+    expect(
+      screen.getByRole('heading', {
+        level: 1,
+        name: 'Hi Kari. We are expecting your car tomorrow at 08:00.',
+      })
+    ).toBeInTheDocument()
+    expect(screen.getByText('Booked')).toHaveAttribute('aria-current', 'step')
+    expect(screen.queryByText(/Latest from the workshop/)).not.toBeInTheDocument()
+  })
+
+  it('says what happens next, and whether the workshop is open, when nothing was shared yet', async () => {
+    await home({ ...emptyHome, jobs: [{ ...fullHome.jobs[0], update: null }] })
+    const hero = section('Hi Kari. Your car is in the workshop, ready today around 16:00.')
+    expect(hero.getByText('Next')).toBeInTheDocument()
+    expect(
+      hero.getByText('You get a message here when it is ready to collect.')
+    ).toBeInTheDocument()
+    expect(hero.getByText('Open until 17:00')).toBeInTheDocument()
+    expect(hero.getByRole('link', { name: '55 00 00 00' })).toHaveAttribute('href', 'tel:55000000')
+  })
+
+  it('does not promise a message to a customer of a workshop without the chat', async () => {
+    await home(
+      {
+        ...emptyHome,
+        jobs: [{ ...fullHome.jobs[0], update: null }],
+        messages: { enabled: false, unread: 0, latest: [] },
+      },
+      null
+    )
+    expect(screen.getByText('We let you know when it is ready to collect.')).toBeInTheDocument()
+  })
+
+  it('greets a customer known by an initial without doubling the full stop', async () => {
+    await home({
+      ...emptyHome,
+      customerName: 'K. Nordmann',
+      customerFirstName: firstNameOf('K. Nordmann'),
+    })
+    expect(
+      screen.getByRole('heading', { level: 1, name: 'Hi K. Nothing in the workshop right now.' })
+    ).toBeInTheDocument()
+  })
+
+  it('does not repeat a promise whose day has passed', async () => {
+    await home({
+      ...emptyHome,
+      jobs: [{ ...fullHome.jobs[0], promisedAt: '2026-11-12T15:00:00Z', update: null }],
+    })
+    expect(
+      screen.getByRole('heading', { level: 1, name: 'Hi Kari. Your car is in the workshop.' })
+    ).toBeInTheDocument()
+  })
+
+  it('says boat for a marine workshop', async () => {
+    await home({ ...fullHome, marine: true })
+    expect(
+      screen.getByRole('heading', {
+        level: 1,
+        name: 'Hi Kari. Your boat is in the workshop, ready today around 16:00.',
+      })
+    ).toBeInTheDocument()
+    expect(screen.getByRole('heading', { name: 'My boats' })).toBeInTheDocument()
+  })
+
+  it('lists any other work under way or booked, each with where it stands', async () => {
+    await home({
+      ...fullHome,
+      jobs: [
+        ...fullHome.jobs,
+        {
+          ...fullHome.jobs[0],
+          id: 'j9',
+          title: 'Wheel alignment',
+          status: 'scheduled',
+          stage: 'booked',
+          startAt: '2026-11-20T08:00:00Z',
+          promisedAt: null,
+          update: null,
+        },
+      ],
+    })
+    const other = section('Also booked or under way')
+    expect(other.getByText('Wheel alignment')).toBeInTheDocument()
+    expect(other.getByText('Volvo V60 · Booked for 20 Nov at 09:00')).toBeInTheDocument()
+  })
+})
+
+describe('what needs an answer', () => {
+  it('shows the quote, what it is for, what it costs and until when', async () => {
+    await home(fullHome)
+    const quote = section('Needs your answer')
+    expect(quote.getByText('Front discs and pads')).toBeInTheDocument()
+    expect(quote.getByText('4 850 kr')).toBeInTheDocument()
+    expect(quote.getByText('Valid until 29 Nov')).toBeInTheDocument()
+    expect(quote.getByText('Quote Q-2041 · Volvo V60')).toBeInTheDocument()
+    expect(quote.getByRole('link', { name: 'Read the quote' })).toHaveAttribute(
+      'href',
+      '/portal/fjordside/quotes/q1'
+    )
+  })
+
+  it('accepts the quote only after the customer confirms', async () => {
+    const user = userEvent.setup()
+    await home(fullHome)
+    const quote = section('Needs your answer')
+    await user.click(quote.getByRole('button', { name: 'Accept quote' }))
+    expect(respondToPortalQuote).not.toHaveBeenCalled()
+    expect(quote.getByText('Accept this quote?')).toBeInTheDocument()
+
+    await user.click(quote.getByRole('button', { name: 'Yes, accept' }))
+    expect(respondToPortalQuote).toHaveBeenCalledWith({ quoteId: 'q1', answer: 'accepted' })
+    expect(await quote.findByRole('status')).toHaveTextContent('You accepted this quote')
+    expect(router.refresh).toHaveBeenCalled()
+  })
+
+  it('lets the customer back out, and says so when the answer could not be sent', async () => {
+    const user = userEvent.setup()
+    vi.mocked(respondToPortalQuote).mockResolvedValueOnce({ success: false, error: 'server words' })
+    await home(fullHome)
+    const quote = section('Needs your answer')
+    await user.click(quote.getByRole('button', { name: 'Accept quote' }))
+    await user.click(quote.getByRole('button', { name: 'Yes, accept' }))
+    expect(await quote.findByRole('alert')).toHaveTextContent(
+      'We could not send your answer. Try again.'
+    )
+    expect(quote.queryByText('server words')).not.toBeInTheDocument()
+
+    await user.click(quote.getByRole('button', { name: 'Cancel' }))
+    expect(quote.getByRole('button', { name: 'Accept quote' })).toBeInTheDocument()
+  })
+
+  it('says how many more are waiting', async () => {
+    await home({
+      ...fullHome,
+      toAnswer: [...fullHome.toAnswer, { ...fullHome.toAnswer[0], id: 'q2' }],
+    })
+    expect(
+      screen.getByRole('link', { name: '1 more quote is waiting for your answer' })
+    ).toHaveAttribute('href', '/portal/fjordside/quotes')
+  })
+})
+
+describe('what there is to pay', () => {
+  it('shows the invoice with paying and reading it', async () => {
+    await home(fullHome)
+    const pay = section('To pay')
+    expect(pay.getByText('EU inspection and service')).toBeInTheDocument()
+    expect(pay.getByText('4 280 kr')).toBeInTheDocument()
+    expect(pay.getByText('Due 28 Nov')).toBeInTheDocument()
+    expect(pay.getByText('Invoice 1042 · Toyota RAV4 · 9 Nov')).toBeInTheDocument()
+    expect(pay.getByRole('link', { name: 'Pay now' })).toHaveAttribute(
+      'href',
+      '/share/invoice/fjordside/tok-i1'
+    )
+    expect(pay.getByRole('link', { name: 'See the invoice' })).toHaveAttribute(
+      'href',
+      '/portal/fjordside/invoices/i1'
+    )
+  })
+
+  it('offers no Pay now where the invoice cannot be paid online', async () => {
+    await home({ ...fullHome, toPay: [{ ...fullHome.toPay[0], payUrl: null }] })
+    const pay = section('To pay')
+    expect(pay.queryByRole('link', { name: 'Pay now' })).not.toBeInTheDocument()
+    expect(pay.getByRole('link', { name: 'See the invoice' })).toBeInTheDocument()
+  })
+
+  it('says overdue and what is left after a part payment, for the one invoice there is', async () => {
+    await home({
+      ...fullHome,
+      toPay: [
+        {
+          ...fullHome.toPay[0],
+          overdue: true,
+          dueAt: '2026-11-10T11:00:00Z',
+          paid: 1000,
+          balance: 3280,
+        },
+      ],
+      toPayTotal: 3280,
+      toPayOverdueCount: 1,
+    })
+    const pay = section('To pay')
+    expect(pay.getByText('Overdue since 10 Nov')).toBeInTheDocument()
+    expect(pay.getByText('3 280 kr')).toBeInTheDocument()
+    expect(pay.getByText(/1 000 kr of 4 280 kr paid/)).toBeInTheDocument()
+    expect(pay.queryByRole('link', { name: /See all/ })).not.toBeInTheDocument()
+  })
+
+  it('leads with the sum and the count when there are several, then the most urgent one', async () => {
+    const invoice = fullHome.toPay[0]
+    await home({
+      ...fullHome,
+      toPay: [
+        { ...invoice, overdue: true, dueAt: '2026-11-10T11:00:00Z', balance: 3280 },
+        ...Array.from({ length: 10 }, (_, n) => ({ ...invoice, id: `more-${n}`, balance: 500 })),
+      ],
+      toPayTotal: 8280,
+      toPayCount: 11,
+      toPayOverdueCount: 1,
+    })
+    const pay = section('To pay')
+    expect(pay.getByText('8 280 kr')).toBeInTheDocument()
+    expect(pay.getByText('11 invoices')).toBeInTheDocument()
+    expect(pay.getByText('1 overdue')).toBeInTheDocument()
+    // The one to deal with first, with its own amount and its buttons.
+    expect(pay.getByText('Most urgent')).toBeInTheDocument()
+    expect(pay.getByText('EU inspection and service')).toBeInTheDocument()
+    expect(pay.getByText('3 280 kr')).toBeInTheDocument()
+    expect(pay.getByText('Overdue since 10 Nov')).toBeInTheDocument()
+    expect(pay.getAllByRole('link', { name: 'Pay now' })).toHaveLength(1)
+    expect(pay.getByRole('link', { name: 'See all 11 invoices' })).toHaveAttribute(
+      'href',
+      '/portal/fjordside/invoices'
+    )
+  })
+
+  it('calls the first of several "next to pay" when none is overdue', async () => {
+    const invoice = fullHome.toPay[0]
+    await home({
+      ...fullHome,
+      toPay: [invoice, { ...invoice, id: 'i2', balance: 500 }],
+      toPayTotal: 4780,
+      toPayCount: 2,
+    })
+    const pay = section('To pay')
+    expect(pay.getByText('Next to pay')).toBeInTheDocument()
+    expect(pay.getByText('Due 28 Nov')).toBeInTheDocument()
+    expect(pay.queryByText(/overdue/i)).not.toBeInTheDocument()
+  })
+})
+
+describe('the chat', () => {
+  it('is on the page, in a block that says what it is', async () => {
+    await home(fullHome)
+    const chat = screen.getByRole('complementary', { name: 'Messages with Fjordside Auto' })
+    expect(within(chat).getByText('The chat')).toBeInTheDocument()
+  })
+
+  it('shows the latest message as one line that opens the chat, for a phone', async () => {
+    await home(fullHome)
+    const preview = screen.getByRole('link', { name: /Open your messages with Fjordside Auto/ })
+    expect(preview).toHaveAttribute('href', '/portal/fjordside/messages')
+    expect(preview).toHaveTextContent('Jonas: You will get a message here when it is ready.')
+    expect(preview).toHaveTextContent('10:34')
+  })
+
+  it('invites a first message when nothing has been written yet', async () => {
+    await home(emptyHome)
+    expect(
+      screen.getByRole('link', { name: /Open your messages with Fjordside Auto/ })
+    ).toHaveTextContent('Write to Fjordside Auto')
+  })
+
+  it('is nowhere on the page when the workshop turned it off', async () => {
+    await home({ ...fullHome, messages: { enabled: false, unread: 0, latest: [] } }, null)
+    expect(screen.queryByRole('complementary')).not.toBeInTheDocument()
+    expect(screen.queryByRole('link', { name: /messages/i })).not.toBeInTheDocument()
+  })
+})
+
+describe('tyres stored with the workshop', () => {
+  it('show the season, the car, the tyre, its size, since when, and the tread left', async () => {
+    await home(fullHome)
+    const tires = section('Tyre hotel')
+    expect(tires.getByText('Summer tyres stored with us')).toBeInTheDocument()
+    expect(tires.getByText(/Toyota RAV4 · Michelin Primacy 4/)).toBeInTheDocument()
+    expect(tires.getByText(/225\/60 R18 · stored since 21 Oct/)).toBeInTheDocument()
+    expect(tires.getByText('5 mm')).toBeInTheDocument()
+    expect(tires.getByText('tread left')).toBeInTheDocument()
+  })
+
+  it('are not mentioned when the workshop runs no tyre hotel', async () => {
+    await home({ ...fullHome, tires: null })
+    expect(screen.queryByText(/tyre/i)).not.toBeInTheDocument()
+  })
+
+  it('are not mentioned when the tyre hotel is on and nothing is stored', async () => {
+    await home({ ...fullHome, tires: [] })
+    expect(screen.queryByText(/tyre/i)).not.toBeInTheDocument()
+  })
+
+  it('say so when the tread was never measured, and list a second set', async () => {
+    await home({
+      ...fullHome,
+      tires: [
+        { ...summerSet, treadDepthMm: null },
+        { ...summerSet, id: 't2', season: 'winter', studded: true, treadDepthMm: 6.5 },
+      ],
+    })
+    const tires = section('Tyre hotel')
+    expect(tires.getByText('Tread not measured yet')).toBeInTheDocument()
+    expect(tires.getByText('Winter tyres')).toBeInTheDocument()
+    expect(tires.getByText(/studded.*6.5 mm tread left/)).toBeInTheDocument()
+  })
+})
+
+describe('the cars and the next visit', () => {
+  it('links each car, with how often it has been in and what is going on with it', async () => {
+    await home(fullHome)
+    const cars = section('My cars')
+    const volvo = cars.getByRole('link', { name: /Volvo V60/ })
+    expect(volvo).toHaveAttribute('href', '/portal/fjordside/vehicles/v60')
+    expect(volvo).toHaveTextContent('EK 12345 · 8 visits')
+    expect(volvo).toHaveTextContent('In the workshop')
+    const toyota = cars.getByRole('link', { name: /Toyota RAV4/ })
+    expect(toyota).toHaveTextContent('EL 54321 · 3 visits · warranty active')
+    expect(toyota).not.toHaveTextContent('In the workshop')
+  })
+
+  it('says when, which car and what for, and how to get there', async () => {
+    await home(fullHome)
+    const visit = section('Next visit')
+    expect(visit.getByText('Thursday 3 December, 08:00')).toBeInTheDocument()
+    expect(visit.getByText('Toyota RAV4 · EU inspection follow-up')).toBeInTheDocument()
+    expect(visit.getByRole('link', { name: 'Directions' })).toHaveAttribute(
+      'href',
+      expect.stringContaining('Strandgaten%2014')
+    )
+  })
+})
+
+describe('a customer with nothing going on', () => {
+  it('is greeted, told nothing is in the workshop, and offered a visit', async () => {
+    await home(emptyHome)
+    const hero = section('Hi Kari. Nothing in the workshop right now.')
+    // The band is never half empty: the workshop's hours and number sit beside the greeting.
+    expect(hero.getByText('Open until 17:00')).toBeInTheDocument()
+    expect(hero.getByRole('link', { name: '55 00 00 00' })).toBeInTheDocument()
+    expect(
+      screen.getByRole('heading', { level: 1, name: 'Hi Kari. Nothing in the workshop right now.' })
+    ).toBeInTheDocument()
+    expect(screen.getAllByRole('link', { name: 'Book a visit' })[0]).toHaveAttribute(
+      'href',
+      '/portal/fjordside/request-service'
+    )
+  })
+
+  it('shows no empty boxes for quotes, invoices or tyres', async () => {
+    await home(emptyHome)
+    expect(screen.queryByText('Needs your answer')).not.toBeInTheDocument()
+    expect(screen.queryByText('To pay')).not.toBeInTheDocument()
+    expect(screen.queryByText('Tyre hotel')).not.toBeInTheDocument()
+  })
+
+  it('says in words that no car is on file and no visit is booked', async () => {
+    await home(emptyHome)
+    expect(section('My cars').getByText('No cars on file yet')).toBeInTheDocument()
+    const visit = section('Next visit')
+    expect(visit.getByText('No visit booked')).toBeInTheDocument()
+    expect(visit.getByRole('link', { name: 'Book a visit' })).toBeInTheDocument()
+  })
+
+  it('shows what they asked for and are waiting to hear about', async () => {
+    await home({
+      ...emptyHome,
+      requests: [
+        {
+          id: 'r1',
+          description: 'Winter tyres on, and a look at the wipers',
+          vehicle: null,
+          createdAt: '2026-11-12T09:00:00Z',
+          preferredDate: null,
+        },
+      ],
+    })
+    const sent = section('Sent to the workshop')
+    expect(sent.getByText('Winter tyres on, and a look at the wipers')).toBeInTheDocument()
+    expect(sent.getByText('Sent 12 Nov · Waiting for an answer')).toBeInTheDocument()
+  })
+})

+ 759 - 0
src/__tests__/features/portal/home-garage.test.tsx

@@ -0,0 +1,759 @@
+/**
+ * The portal as Garage draws it: a pit board. The time the car is ready as
+ * one numeral over a three-cell status board, what needs an answer and what
+ * there is to pay, the chat always there on a desk, stored tyres only for a
+ * workshop that stores them, and a board that still reads as finished when
+ * there is nothing on it. Then its frame and its front door.
+ */
+
+import { render, screen, within } from '@testing-library/react'
+import userEvent from '@testing-library/user-event'
+import { beforeEach, describe, expect, it, vi } from 'vitest'
+import { emptyHome, format, fullHome, workshop } from './helpers/fixtures'
+
+const nav = vi.hoisted(() => ({ pathname: '/portal/fjordside/dashboard' }))
+const router = vi.hoisted(() => ({ push: vi.fn(), refresh: vi.fn() }))
+vi.mock('next/navigation', () => ({
+  useRouter: () => router,
+  usePathname: () => nav.pathname,
+}))
+vi.mock('next-intl/server', async () => (await import('./helpers/serverIntl')).serverIntl)
+vi.mock('@/features/portal/Actions/respondToPortalQuote', () => ({
+  respondToPortalQuote: vi.fn(async () => ({ success: true, data: { status: 'accepted' } })),
+}))
+// The badge's live count is the chat's business; here it is what the server counted.
+vi.mock('@/features/portal/Components/Chat/usePortalUnread', () => ({
+  usePortalUnread: (_org: string, initial: number) => initial,
+}))
+
+import { respondToPortalQuote } from '@/features/portal/Actions/respondToPortalQuote'
+import { Chrome } from '@/features/portal/Components/Themes/Garage/Chrome'
+import { Home } from '@/features/portal/Components/Themes/Garage/Home'
+import { SignIn } from '@/features/portal/Components/Themes/Garage/SignIn'
+import type {
+  PortalChromeProps,
+  PortalSignInProps,
+} from '@/features/portal/Components/Themes/types'
+import type { PortalHomeData } from '@/features/portal/Lib/homeTypes'
+
+const home = async (data: PortalHomeData, chat: React.ReactNode = <p>The chat</p>) =>
+  render(await Home({ orgParam: 'fjordside', data, format, chat }))
+
+const [summerSet] = fullHome.tires as NonNullable<PortalHomeData['tires']>
+const bookedJob = {
+  ...fullHome.jobs[0],
+  status: 'scheduled',
+  stage: 'booked' as const,
+  promisedAt: null,
+  update: null,
+  startAt: '2026-11-15T07:00:00Z',
+}
+
+const section = (name: string) => within(screen.getByRole('region', { name }))
+
+/** What a row of a spec sheet says: the value beside a label. */
+const spec = (scope: ReturnType<typeof within>, label: string) =>
+  scope.getByText(label, { selector: 'dt' }).nextElementSibling
+
+beforeEach(() => {
+  nav.pathname = '/portal/fjordside/dashboard'
+  router.refresh.mockClear()
+  vi.mocked(respondToPortalQuote).mockClear()
+})
+
+describe('the car in the workshop', () => {
+  it('leads the board: which car, what for, and when it is ready as one large time', async () => {
+    await home(fullHome)
+    const hero = section('Hi Kari. Your car is in the workshop, ready today around 16:00.')
+    expect(hero.getByText('Volvo V60')).toBeInTheDocument()
+    expect(hero.getByText('EK 12345')).toBeInTheDocument()
+    expect(hero.getAllByText('Brake service').length).toBeGreaterThan(0)
+    expect(hero.getByText('Ready today around')).toBeInTheDocument()
+    expect(hero.getByText('16:00')).toBeInTheDocument()
+    expect(screen.getAllByRole('heading', { level: 1 })).toHaveLength(1)
+  })
+
+  it('shows the three steps as a board with the one it is at marked Now', async () => {
+    await home(fullHome)
+    const steps = within(screen.getByRole('list', { name: 'How far the work has come' }))
+    const [first, second, third] = steps.getAllByRole('listitem')
+    expect(first).toHaveTextContent('Checked in')
+    expect(first).toHaveTextContent('Done')
+    expect(second).toHaveTextContent('In the workshop')
+    expect(second).toHaveTextContent('Now')
+    expect(second).toHaveAttribute('aria-current', 'step')
+    expect(third).toHaveTextContent('Ready to collect')
+    expect(third).toHaveTextContent('Not yet, around 16:00')
+    expect(first).not.toHaveAttribute('aria-current')
+    expect(third).not.toHaveAttribute('aria-current')
+  })
+
+  it('carries the latest update with a way to see it', async () => {
+    await home(fullHome)
+    expect(screen.getByText('Latest from the workshop · 10:12')).toBeInTheDocument()
+    expect(screen.getByText(/Front discs are worn past the limit/)).toBeInTheDocument()
+    expect(screen.getByRole('link', { name: 'See photos and video' })).toHaveAttribute(
+      'href',
+      '/share/status-report/fjordside/tok'
+    )
+  })
+
+  it('says when the car is expected, for a visit that is only booked', async () => {
+    await home({ ...emptyHome, jobs: [bookedJob] })
+    expect(
+      screen.getByRole('heading', {
+        level: 1,
+        name: 'Hi Kari. We are expecting your car tomorrow at 08:00.',
+      })
+    ).toBeInTheDocument()
+    expect(screen.getByText('Expected tomorrow at')).toBeInTheDocument()
+    expect(screen.getByText('08:00')).toBeInTheDocument()
+    const [first, second] = within(
+      screen.getByRole('list', { name: 'How far the work has come' })
+    ).getAllByRole('listitem')
+    expect(first).toHaveTextContent('Booked')
+    expect(first).toHaveAttribute('aria-current', 'step')
+    expect(second).toHaveTextContent('Not yet')
+    expect(screen.queryByText(/Latest from the workshop/)).not.toBeInTheDocument()
+  })
+
+  it('says it in words, with no time, once the promised day has passed', async () => {
+    await home({
+      ...emptyHome,
+      jobs: [{ ...fullHome.jobs[0], promisedAt: '2026-11-12T15:00:00Z', update: null }],
+    })
+    expect(
+      screen.getByRole('heading', { level: 1, name: 'Hi Kari. Your car is in the workshop.' })
+    ).toBeVisible()
+    expect(screen.queryByText(/Ready .* around/)).not.toBeInTheDocument()
+    expect(screen.getByText('Not yet')).toBeInTheDocument()
+  })
+
+  it('fills the last cell once the car is ready to collect', async () => {
+    await home({
+      ...emptyHome,
+      jobs: [{ ...fullHome.jobs[0], stage: 'ready', update: null }],
+    })
+    expect(
+      screen.getByRole('heading', { level: 1, name: 'Hi Kari. Your car is ready to collect.' })
+    ).toBeInTheDocument()
+    const cells = within(
+      screen.getByRole('list', { name: 'How far the work has come' })
+    ).getAllByRole('listitem')
+    expect(cells[2]).toHaveAttribute('aria-current', 'step')
+    expect(cells[2]).toHaveTextContent('Now')
+    expect(cells[0]).toHaveTextContent('Done')
+    expect(cells[1]).toHaveTextContent('Done')
+  })
+
+  it('says boat for a marine workshop', async () => {
+    await home({ ...fullHome, marine: true })
+    expect(
+      screen.getByRole('heading', {
+        level: 1,
+        name: 'Hi Kari. Your boat is in the workshop, ready today around 16:00.',
+      })
+    ).toBeInTheDocument()
+    expect(screen.getByRole('heading', { name: 'My boats' })).toBeInTheDocument()
+    expect(spec(section('Tyre hotel'), 'Boat')).toHaveTextContent('Toyota RAV4')
+  })
+
+  it('lists any other work under way or booked, each with where it stands', async () => {
+    await home({
+      ...fullHome,
+      jobs: [
+        ...fullHome.jobs,
+        {
+          ...bookedJob,
+          id: 'j9',
+          title: 'Wheel alignment',
+          startAt: '2026-11-20T08:00:00Z',
+        },
+      ],
+    })
+    const other = section('Also booked or under way')
+    expect(other.getByText('Wheel alignment')).toBeInTheDocument()
+    expect(other.getByText('Volvo V60 · Booked for 20 Nov at 09:00')).toBeInTheDocument()
+    expect(other.getByRole('link', { name: /Wheel alignment/ })).toHaveAttribute(
+      'href',
+      '/portal/fjordside/vehicles/v60'
+    )
+  })
+
+  it('keeps a long job title and a long car name whole', async () => {
+    const title = 'Timing belt, water pump, tensioner and all four brake discs with pads'
+    await home({
+      ...fullHome,
+      jobs: [
+        {
+          ...fullHome.jobs[0],
+          title,
+          vehicle: { id: 'v60', label: 'Mercedes-Benz Sprinter 316 CDI', licensePlate: 'EK 12345' },
+        },
+      ],
+    })
+    expect(screen.getAllByText(title).length).toBeGreaterThan(0)
+    expect(screen.getByText('Mercedes-Benz Sprinter 316 CDI')).toBeInTheDocument()
+  })
+})
+
+describe('what needs an answer', () => {
+  it('shows the quote, what it is for, what it costs and until when', async () => {
+    await home(fullHome)
+    const quote = section('Needs your answer')
+    expect(quote.getByText('Front discs and pads')).toBeInTheDocument()
+    expect(quote.getByText('4 850 kr')).toBeInTheDocument()
+    expect(quote.getByText('Quote Q-2041')).toBeInTheDocument()
+    expect(quote.getByText('Volvo V60 · Valid until 29 Nov')).toBeInTheDocument()
+    expect(quote.getByRole('link', { name: 'Read the quote' })).toHaveAttribute(
+      'href',
+      '/portal/fjordside/quotes/q1'
+    )
+  })
+
+  it('accepts the quote only after the customer confirms', async () => {
+    const user = userEvent.setup()
+    await home(fullHome)
+    const quote = section('Needs your answer')
+    await user.click(quote.getByRole('button', { name: 'Accept quote' }))
+    expect(respondToPortalQuote).not.toHaveBeenCalled()
+    expect(quote.getByText('Accept this quote?')).toBeInTheDocument()
+
+    await user.click(quote.getByRole('button', { name: 'Yes, accept' }))
+    expect(respondToPortalQuote).toHaveBeenCalledWith({ quoteId: 'q1', answer: 'accepted' })
+    expect(await quote.findByRole('status')).toHaveTextContent('You accepted this quote')
+    expect(router.refresh).toHaveBeenCalled()
+  })
+
+  it('lets the customer back out, and says so when the answer could not be sent', async () => {
+    const user = userEvent.setup()
+    vi.mocked(respondToPortalQuote).mockResolvedValueOnce({ success: false, error: 'server words' })
+    await home(fullHome)
+    const quote = section('Needs your answer')
+    await user.click(quote.getByRole('button', { name: 'Accept quote' }))
+    await user.click(quote.getByRole('button', { name: 'Yes, accept' }))
+    expect(await quote.findByRole('alert')).toHaveTextContent(
+      'We could not send your answer. Try again.'
+    )
+    expect(quote.queryByText('server words')).not.toBeInTheDocument()
+
+    await user.click(quote.getByRole('button', { name: 'Cancel' }))
+    expect(quote.getByRole('button', { name: 'Accept quote' })).toBeInTheDocument()
+  })
+
+  it('says how many more are waiting', async () => {
+    await home({
+      ...fullHome,
+      toAnswer: [...fullHome.toAnswer, { ...fullHome.toAnswer[0], id: 'q2' }],
+    })
+    expect(
+      screen.getByRole('link', { name: '1 more quote is waiting for your answer' })
+    ).toHaveAttribute('href', '/portal/fjordside/quotes')
+  })
+})
+
+describe('what there is to pay', () => {
+  it('shows the invoice with paying and reading it', async () => {
+    await home(fullHome)
+    const pay = section('To pay')
+    expect(pay.getByText('EU inspection and service')).toBeInTheDocument()
+    expect(pay.getByText('4 280 kr')).toBeInTheDocument()
+    expect(pay.getByText('Invoice 1042 · 9 Nov')).toBeInTheDocument()
+    expect(pay.getByText('Toyota RAV4 · Due 28 Nov')).toBeInTheDocument()
+    expect(pay.getByRole('link', { name: 'Pay now' })).toHaveAttribute(
+      'href',
+      '/share/invoice/fjordside/tok-i1'
+    )
+    expect(pay.getByRole('link', { name: 'See the invoice' })).toHaveAttribute(
+      'href',
+      '/portal/fjordside/invoices/i1'
+    )
+  })
+
+  it('offers no Pay now where the invoice cannot be paid online', async () => {
+    await home({ ...fullHome, toPay: [{ ...fullHome.toPay[0], payUrl: null }] })
+    const pay = section('To pay')
+    expect(pay.queryByRole('link', { name: 'Pay now' })).not.toBeInTheDocument()
+    expect(pay.getByRole('link', { name: 'See the invoice' })).toBeInTheDocument()
+  })
+
+  it('says overdue and what is left after a part payment, for a single invoice', async () => {
+    await home({
+      ...fullHome,
+      toPay: [
+        {
+          ...fullHome.toPay[0],
+          overdue: true,
+          dueAt: '2026-11-10T11:00:00Z',
+          paid: 1000,
+          balance: 3280,
+        },
+      ],
+      toPayTotal: 3280,
+      toPayOverdueCount: 1,
+    })
+    const pay = section('To pay')
+    expect(pay.getByText('Overdue since 10 Nov')).toBeInTheDocument()
+    expect(pay.queryByText(/Due 10 Nov/)).not.toBeInTheDocument()
+    expect(pay.getByText('3 280 kr')).toBeInTheDocument()
+    expect(pay.getByText(/1 000 kr of 4 280 kr paid/)).toBeInTheDocument()
+    expect(pay.queryByRole('link', { name: /See all/ })).not.toBeInTheDocument()
+  })
+
+  it('leads with the sum of several invoices, then the most urgent one, then all of them', async () => {
+    const invoice = fullHome.toPay[0]
+    await home({
+      ...fullHome,
+      toPay: [
+        { ...invoice, overdue: true, dueAt: '2026-11-10T11:00:00Z', paid: 1000, balance: 3280 },
+        ...Array.from({ length: 10 }, (_, n) => ({ ...invoice, id: `more-${n}`, balance: 500 })),
+      ],
+      toPayTotal: 8280,
+      toPayCount: 11,
+      toPayOverdueCount: 1,
+    })
+    const pay = section('To pay')
+    expect(pay.getByText('8 280 kr')).toBeInTheDocument()
+    expect(pay.getByText('11 invoices')).toBeInTheDocument()
+    expect(pay.getByText('1 overdue')).toBeInTheDocument()
+    expect(pay.getByText('Most urgent')).toBeInTheDocument()
+    expect(pay.getByText('EU inspection and service')).toBeInTheDocument()
+    expect(pay.getByText('3 280 kr')).toBeInTheDocument()
+    expect(pay.getByText('Overdue since 10 Nov')).toBeInTheDocument()
+    expect(
+      pay.getByText(/Invoice 1042 · Toyota RAV4 · 1 000 kr of 4 280 kr paid/)
+    ).toBeInTheDocument()
+    expect(pay.getAllByRole('link', { name: 'Pay now' })).toHaveLength(1)
+    expect(pay.getByRole('link', { name: 'See the invoice' })).toHaveAttribute(
+      'href',
+      '/portal/fjordside/invoices/i1'
+    )
+    expect(pay.getByRole('link', { name: 'See all 11 invoices' })).toHaveAttribute(
+      'href',
+      '/portal/fjordside/invoices'
+    )
+  })
+
+  it('calls the first of several the next to pay when none is overdue', async () => {
+    const invoice = fullHome.toPay[0]
+    await home({
+      ...fullHome,
+      toPay: [invoice, { ...invoice, id: 'i2', balance: 500 }],
+      toPayTotal: 4780,
+      toPayCount: 2,
+    })
+    const pay = section('To pay')
+    expect(pay.getByText('4 780 kr')).toBeInTheDocument()
+    expect(pay.getByText('Next to pay')).toBeInTheDocument()
+    expect(pay.getByText(/Due 28 Nov/)).toBeInTheDocument()
+    expect(pay.queryByText(/overdue/i)).not.toBeInTheDocument()
+  })
+
+  it('stands alone when there is no quote to answer', async () => {
+    await home({ ...fullHome, toAnswer: [] })
+    expect(screen.queryByText('Needs your answer')).not.toBeInTheDocument()
+    expect(section('To pay').getByText('4 280 kr')).toBeInTheDocument()
+  })
+})
+
+describe('the chat', () => {
+  it('is on the board, in a column that says what it is', async () => {
+    await home(fullHome)
+    const chat = screen.getByRole('complementary', { name: 'Messages with Fjordside Auto' })
+    expect(within(chat).getByText('The chat')).toBeInTheDocument()
+  })
+
+  it('shows the latest message as one line that opens the chat, for a phone', async () => {
+    await home(fullHome)
+    const preview = screen.getByRole('link', { name: /Open your messages with Fjordside Auto/ })
+    expect(preview).toHaveAttribute('href', '/portal/fjordside/messages')
+    expect(preview).toHaveTextContent('Jonas: You will get a message here when it is ready.')
+    expect(preview).toHaveTextContent('10:34')
+  })
+
+  it('invites a first message when nothing has been written yet', async () => {
+    await home(emptyHome)
+    expect(
+      screen.getByRole('link', { name: /Open your messages with Fjordside Auto/ })
+    ).toHaveTextContent('Write to Fjordside Auto')
+  })
+
+  it('is nowhere on the board when the workshop turned it off', async () => {
+    await home({ ...fullHome, messages: { enabled: false, unread: 0, latest: [] } }, null)
+    expect(screen.queryByRole('complementary')).not.toBeInTheDocument()
+    expect(screen.queryByRole('link', { name: /messages/i })).not.toBeInTheDocument()
+  })
+})
+
+describe('tyres stored with the workshop', () => {
+  it('show the season, since when, and a spec sheet of the set', async () => {
+    await home(fullHome)
+    const tires = section('Tyre hotel')
+    expect(tires.getByText('Summer tyres stored with us')).toBeInTheDocument()
+    expect(tires.getByText('stored since 21 Oct')).toBeInTheDocument()
+    expect(spec(tires, 'Car')).toHaveTextContent('Toyota RAV4')
+    expect(spec(tires, 'Tyres')).toHaveTextContent('Michelin Primacy 4')
+    expect(spec(tires, 'Size')).toHaveTextContent('225/60 R18')
+    expect(spec(tires, 'Set')).toHaveTextContent('4 tyres')
+    expect(spec(tires, 'Tread left')).toHaveTextContent('5 mm')
+  })
+
+  it('are not mentioned when the workshop runs no tyre hotel', async () => {
+    await home({ ...fullHome, tires: null })
+    expect(screen.queryByText(/tyre/i)).not.toBeInTheDocument()
+  })
+
+  it('are not mentioned when the tyre hotel is on and nothing is stored', async () => {
+    await home({ ...fullHome, tires: [] })
+    expect(screen.queryByText(/tyre/i)).not.toBeInTheDocument()
+  })
+
+  it('say so when the tread was never measured, and list a second set', async () => {
+    await home({
+      ...fullHome,
+      tires: [
+        { ...summerSet, treadDepthMm: null, brand: null, model: null, vehicle: null },
+        { ...summerSet, id: 't2', season: 'winter', studded: true, treadDepthMm: 6.5 },
+      ],
+    })
+    const tires = section('Tyre hotel')
+    expect(spec(tires, 'Tread left')).toHaveTextContent('Tread not measured yet')
+    expect(tires.queryByText('Car', { selector: 'dt' })).not.toBeInTheDocument()
+    expect(tires.queryByText('Tyres', { selector: 'dt' })).not.toBeInTheDocument()
+    expect(tires.getByText('Winter tyres')).toBeInTheDocument()
+    expect(tires.getByText(/studded.*6.5 mm tread left/)).toBeInTheDocument()
+  })
+})
+
+describe('the cars and the next visit', () => {
+  it('links each car, with how often it has been in and what is going on with it', async () => {
+    await home(fullHome)
+    const cars = section('My cars')
+    const volvo = cars.getByRole('link', { name: /Volvo V60/ })
+    expect(volvo).toHaveAttribute('href', '/portal/fjordside/vehicles/v60')
+    expect(volvo).toHaveTextContent('EK 12345')
+    expect(volvo).toHaveTextContent('8 visits')
+    expect(volvo).toHaveTextContent('In the workshop')
+    const toyota = cars.getByRole('link', { name: /Toyota RAV4/ })
+    expect(toyota).toHaveTextContent('EL 54321')
+    expect(toyota).toHaveTextContent('3 visits')
+    expect(toyota).toHaveTextContent('warranty active')
+    expect(toyota).not.toHaveTextContent('In the workshop')
+  })
+
+  it('says when, which car and what for, and how to get there', async () => {
+    await home(fullHome)
+    const visit = section('Next visit')
+    expect(visit.getByText('Thursday 3 December')).toBeInTheDocument()
+    expect(visit.getByText('08:00')).toBeInTheDocument()
+    expect(visit.getByText('Toyota RAV4')).toBeInTheDocument()
+    expect(visit.getByText('EU inspection follow-up')).toBeInTheDocument()
+    expect(visit.getByText('Strandgaten 14, Bergen')).toBeInTheDocument()
+    expect(visit.getByRole('link', { name: 'Directions' })).toHaveAttribute(
+      'href',
+      expect.stringContaining('Strandgaten%2014')
+    )
+  })
+
+  it('says no visit is booked, with a way to book one, while a car is in', async () => {
+    await home({ ...fullHome, nextVisit: null })
+    const visit = section('Next visit')
+    expect(visit.getByText('No visit booked')).toBeInTheDocument()
+    expect(visit.getByRole('link', { name: 'Book a visit' })).toHaveAttribute(
+      'href',
+      '/portal/fjordside/request-service'
+    )
+  })
+})
+
+describe('a customer with no car in the workshop', () => {
+  it('is led by the next visit when one is booked, said once', async () => {
+    await home({ ...fullHome, jobs: [] })
+    const heading = screen.getByRole('heading', { level: 1 })
+    expect(heading).toHaveTextContent('Next visit')
+    expect(heading).toHaveTextContent('Thursday 3 December')
+    expect(heading).toHaveTextContent('08:00')
+    expect(screen.getByText('Hi Kari. Nothing in the workshop right now.')).toBeInTheDocument()
+    expect(screen.getByText('EU inspection follow-up')).toBeInTheDocument()
+    expect(screen.getByRole('link', { name: 'Directions' })).toBeInTheDocument()
+    expect(screen.getAllByText('08:00')).toHaveLength(1)
+    expect(screen.queryByRole('list', { name: 'How far the work has come' })).toBeNull()
+  })
+
+  it('is greeted, told nothing is in the workshop, and offered a visit', async () => {
+    await home(emptyHome)
+    expect(
+      screen.getByRole('heading', { level: 1, name: 'Hi Kari. Nothing in the workshop right now.' })
+    ).toBeInTheDocument()
+    expect(
+      screen.getByText(
+        'Book a visit when your car needs us. You follow the work here, step by step.'
+      )
+    ).toBeInTheDocument()
+    const book = screen.getAllByRole('link', { name: 'Book a visit' })
+    expect(book).toHaveLength(1)
+    expect(book[0]).toHaveAttribute('href', '/portal/fjordside/request-service')
+  })
+
+  it('shows no empty cells for quotes, invoices, tyres or a visit', async () => {
+    await home(emptyHome)
+    expect(screen.queryByText('Needs your answer')).not.toBeInTheDocument()
+    expect(screen.queryByText('To pay')).not.toBeInTheDocument()
+    expect(screen.queryByText('Tyre hotel')).not.toBeInTheDocument()
+    expect(screen.queryByText('Next visit')).not.toBeInTheDocument()
+  })
+
+  it('says in words that no car is on file', async () => {
+    await home(emptyHome)
+    expect(section('My cars').getByText('No cars on file yet')).toBeInTheDocument()
+  })
+
+  it('shows what they asked for and are waiting to hear about', async () => {
+    await home({
+      ...emptyHome,
+      requests: [
+        {
+          id: 'r1',
+          description: 'Winter tyres on, and a look at the wipers',
+          vehicle: null,
+          createdAt: '2026-11-12T09:00:00Z',
+          preferredDate: null,
+        },
+      ],
+    })
+    const sent = section('Sent to the workshop')
+    expect(sent.getByText('Winter tyres on, and a look at the wipers')).toBeInTheDocument()
+    expect(sent.getByText('Sent 12 Nov · Waiting for an answer')).toBeInTheDocument()
+  })
+})
+
+describe("Garage's frame", () => {
+  function chrome(over: Partial<PortalChromeProps> = {}) {
+    return render(
+      <Chrome
+        orgParam="fjordside"
+        workshop={workshop}
+        customerName="Kari Nordmann"
+        marine={false}
+        messagesEnabled
+        unreadMessages={0}
+        {...over}
+      >
+        <p>Page body</p>
+      </Chrome>
+    )
+  }
+  /** The phone's tabs are the second of the two navigations, after the bar's. */
+  const tabs = () => within(screen.getAllByRole('navigation', { name: 'Main' })[1])
+  const bar = () => within(screen.getAllByRole('navigation', { name: 'Main' })[0])
+
+  it('offers Home, Messages, Book, My cars and Papers along the bottom of a phone', () => {
+    chrome()
+    expect(
+      tabs()
+        .getAllByRole('link')
+        .map((a) => [a.textContent, a.getAttribute('href')])
+    ).toEqual([
+      ['Home', '/portal/fjordside/dashboard'],
+      ['Messages', '/portal/fjordside/messages'],
+      ['Book', '/portal/fjordside/request-service'],
+      ['My cars', '/portal/fjordside/vehicles'],
+      ['Papers', '/portal/fjordside/documents'],
+    ])
+    expect(tabs().getByRole('link', { name: 'Home' })).toHaveAttribute('aria-current', 'page')
+    expect(tabs().getByRole('link', { name: 'Book' })).not.toHaveAttribute('aria-current')
+  })
+
+  it('counts unread messages on Messages, in words too, on the phone and on the desk', () => {
+    chrome({ unreadMessages: 3 })
+    for (const where of [tabs(), bar()]) {
+      const messages = where.getByRole('link', { name: /Messages/ })
+      expect(messages).toHaveTextContent('3')
+      expect(messages).toHaveAccessibleName(/3 unread messages/)
+    }
+  })
+
+  it('leaves Messages out everywhere when the workshop turned the chat off', () => {
+    chrome({ messagesEnabled: false })
+    expect(
+      tabs()
+        .getAllByRole('link')
+        .map((a) => a.textContent)
+    ).toEqual(['Home', 'Book', 'My cars', 'Papers'])
+    expect(screen.queryByRole('link', { name: /Messages/ })).not.toBeInTheDocument()
+  })
+
+  it('names the places in full on the desk bar and marks the one being shown', () => {
+    nav.pathname = '/portal/fjordside/quotes/q1'
+    chrome({ marine: true })
+    expect(
+      bar()
+        .getAllByRole('link')
+        .map((a) => a.textContent)
+    ).toEqual(['Home', 'Messages', 'My boats', 'Invoices and quotes'])
+    expect(bar().getByRole('link', { name: 'Invoices and quotes' })).toHaveAttribute(
+      'aria-current',
+      'page'
+    )
+    expect(screen.getByRole('link', { name: 'Book a visit' })).toHaveAttribute(
+      'href',
+      '/portal/fjordside/request-service'
+    )
+  })
+
+  it('keeps the workshop, its hours, the page and the way out on screen', async () => {
+    const user = userEvent.setup()
+    chrome({
+      workshop: { ...workshop, name: 'Fjordside Auto og Båtservice Bergen Sentrum AS' },
+    })
+    expect(
+      screen.getByRole('link', { name: 'Fjordside Auto og Båtservice Bergen Sentrum AS, home' })
+    ).toHaveAttribute('href', '/portal/fjordside/dashboard')
+    expect(screen.getAllByText('Open until 17:00').length).toBeGreaterThan(0)
+    expect(within(screen.getByRole('main')).getByText('Page body')).toBeInTheDocument()
+    expect(screen.getByRole('link', { name: 'Skip to content' })).toHaveAttribute(
+      'href',
+      '#portal-main'
+    )
+    await user.click(screen.getByRole('button', { name: 'Your account, Kari Nordmann' }))
+    expect(screen.getByRole('menuitem', { name: 'Sign out' })).toBeInTheDocument()
+  })
+
+  it('offers no choice of theme or view to the customer', () => {
+    chrome()
+    expect(screen.queryByText(/theme|view|layout/i)).not.toBeInTheDocument()
+  })
+})
+
+describe("Garage's front door", () => {
+  /** Mon to Fri 07:30 to 17:00, Saturday 09:00 to 13:00, Sunday closed. Sunday first. */
+  const week = [
+    { open: false, start: '09:00', end: '13:00' },
+    ...Array.from({ length: 5 }, () => ({ open: true, start: '07:30', end: '17:00' })),
+    { open: true, start: '09:00', end: '13:00' },
+  ]
+  // A Saturday.
+  const hours = { week, today: '2026-11-14', timeFormat: '24h' as const, closedSoon: [] }
+
+  const door = async (over: Partial<PortalSignInProps> = {}) =>
+    render(
+      await SignIn({
+        orgParam: 'fjordside',
+        workshop: { ...workshop, hours },
+        description: 'Family-run workshop in Bergen since 1998.',
+        hoursText: null,
+        coverUrl: null,
+        eyebrow: 'For our customers',
+        heading: 'See your car, your invoices and your messages.',
+        children: <p>The form</p>,
+        ...over,
+      })
+    )
+
+  it('names the workshop first, then says what signing in gives, above the form', async () => {
+    await door()
+    expect(screen.getByRole('heading', { level: 1, name: 'Fjordside Auto' })).toBeInTheDocument()
+    const main = within(screen.getByRole('main'))
+    expect(
+      main.getByRole('heading', {
+        level: 2,
+        name: 'See your car, your invoices and your messages.',
+      })
+    ).toBeInTheDocument()
+    expect(main.getByText('For our customers')).toBeInTheDocument()
+    expect(main.getByText('The form')).toBeInTheDocument()
+  })
+
+  it("carries the workshop's own words, whether it is open, and until when as a numeral", async () => {
+    await door()
+    expect(screen.getByText('Family-run workshop in Bergen since 1998.')).toBeInTheDocument()
+    expect(screen.getByText('Open until 17:00')).toBeInTheDocument()
+    const foot = within(screen.getByRole('contentinfo'))
+    expect(foot.getByText('Open today until')).toBeInTheDocument()
+    expect(foot.getByText('17:00')).toBeInTheDocument()
+  })
+
+  it('says when it opens, on the clock the workshop keeps, while it is shut', async () => {
+    await door({
+      workshop: {
+        ...workshop,
+        hours: { ...hours, timeFormat: '12h' },
+        openNow: false,
+        closesAt: null,
+        opensAt: '07:30',
+        openLine: 'Opens at 7:30 AM',
+      },
+    })
+    const foot = within(screen.getByRole('contentinfo'))
+    expect(foot.getByText('Opens today at')).toBeInTheDocument()
+    expect(foot.getByText('7:30 AM')).toBeInTheDocument()
+  })
+
+  it('puts signing in before how to find and reach the workshop', async () => {
+    await door()
+    const form = screen.getByText('The form')
+    const findUs = screen.getByText('Find us')
+    expect(form.compareDocumentPosition(findUs) & Node.DOCUMENT_POSITION_FOLLOWING).toBeTruthy()
+  })
+
+  it('shows the week in as few lines as it takes, with today marked', async () => {
+    await door()
+    const foot = within(screen.getByRole('contentinfo'))
+    const row = (days: string) => foot.getByText(days, { selector: 'dt' }).parentElement
+    expect(row('Mon to Fri')).toHaveTextContent('07:30 to 17:00')
+    expect(row('Saturday')).toHaveTextContent('09:00 to 13:00')
+    expect(row('Sunday')).toHaveTextContent('closed')
+    expect(row('Saturday')).toHaveAttribute('aria-current', 'date')
+    expect(row('Mon to Fri')).not.toHaveAttribute('aria-current')
+  })
+
+  it("shows the workshop's typed hours when there is no calendar week", async () => {
+    await door({ workshop: { ...workshop, hours: null }, hoursText: 'Weekdays 7 to 4' })
+    expect(screen.getByText('Weekdays 7 to 4')).toBeInTheDocument()
+    expect(screen.queryByText(/Mon to Fri/)).not.toBeInTheDocument()
+    expect(screen.getAllByText('Open until 17:00').length).toBeGreaterThan(0)
+  })
+
+  it('links the address to directions and the phone to a call', async () => {
+    await door()
+    expect(screen.getByText('Strandgaten 14, Bergen')).toBeInTheDocument()
+    expect(screen.getByRole('link', { name: 'Directions' })).toHaveAttribute(
+      'href',
+      expect.stringContaining('Strandgaten%2014')
+    )
+    expect(screen.getByRole('link', { name: '55 00 00 00' })).toHaveAttribute(
+      'href',
+      'tel:55000000'
+    )
+  })
+
+  it('shows the cover photo when the workshop uploaded one, and its own frame when not', async () => {
+    const { container, unmount } = await door()
+    expect(container.querySelector('img')).toBeNull()
+    expect(screen.getByText('Family-run workshop in Bergen since 1998.')).toBeInTheDocument()
+    unmount()
+    const withCover = await door({ coverUrl: '/api/public/portal-bg/org1?v=a.jpg' })
+    expect(withCover.container.querySelector('img')).toHaveAttribute(
+      'src',
+      '/api/public/portal-bg/org1?v=a.jpg'
+    )
+  })
+
+  it('still stands when the workshop has told nothing about itself', async () => {
+    await door({
+      workshop: {
+        ...workshop,
+        hours: null,
+        phone: null,
+        phoneHref: null,
+        address: null,
+        directionsUrl: null,
+      },
+      description: null,
+    })
+    expect(screen.getByRole('heading', { level: 1, name: 'Fjordside Auto' })).toBeInTheDocument()
+    expect(screen.getByText('The form')).toBeInTheDocument()
+    expect(screen.queryByRole('contentinfo')).not.toBeInTheDocument()
+    expect(screen.queryByText('Find us')).not.toBeInTheDocument()
+  })
+})

+ 694 - 0
src/__tests__/features/portal/home-print.test.tsx

@@ -0,0 +1,694 @@
+/**
+ * The Print theme, as a customer meets it: a page with a dateline on the
+ * workshop's clock, the car in the workshop as the headline, a ledger of
+ * what waits for an answer or a payment, ruled columns for the cars, the
+ * next visit and stored tyres, the chat in a column of its own on a desk,
+ * and a page that still reads as finished when there is nothing to show.
+ * Then its masthead and tabs, and its sign-in page.
+ */
+
+import { render, screen, within } from '@testing-library/react'
+import userEvent from '@testing-library/user-event'
+import { afterEach, beforeEach, describe, expect, it, vi } from 'vitest'
+import { emptyHome, format, fullHome, now, workshop } from './helpers/fixtures'
+
+const router = vi.hoisted(() => ({ push: vi.fn(), refresh: vi.fn() }))
+const path = vi.hoisted(() => ({ current: '/portal/fjordside/dashboard' }))
+vi.mock('next/navigation', () => ({
+  useRouter: () => router,
+  usePathname: () => path.current,
+}))
+vi.mock('next-intl/server', async () => (await import('./helpers/serverIntl')).serverIntl)
+vi.mock('@/features/portal/Actions/respondToPortalQuote', () => ({
+  respondToPortalQuote: vi.fn(async () => ({ success: true, data: { status: 'accepted' } })),
+}))
+
+import { respondToPortalQuote } from '@/features/portal/Actions/respondToPortalQuote'
+import { Chrome } from '@/features/portal/Components/Themes/Print/Chrome'
+import { Home } from '@/features/portal/Components/Themes/Print/Home'
+import { SignIn } from '@/features/portal/Components/Themes/Print/SignIn'
+import type { PortalSignInProps } from '@/features/portal/Components/Themes/types'
+import type { PortalHomeData } from '@/features/portal/Lib/homeTypes'
+
+const home = async (data: PortalHomeData, chat: React.ReactNode = <p>The chat</p>) =>
+  render(await Home({ orgParam: 'fjordside', data, format, chat }))
+
+const [summerSet] = fullHome.tires as NonNullable<PortalHomeData['tires']>
+
+const section = (name: string) => within(screen.getByRole('region', { name }))
+/** The ledger line that holds a title. */
+const ledgerRow = (title: string) => {
+  const row = screen.getByText(title).closest('li')
+  if (!row) throw new Error(`No ledger line for ${title}`)
+  return within(row)
+}
+
+beforeEach(() => {
+  // Only the clock is held still: the page prints the day and the time.
+  vi.useFakeTimers({ toFake: ['Date'] })
+  vi.setSystemTime(now)
+  router.refresh.mockClear()
+  vi.mocked(respondToPortalQuote).mockClear()
+  path.current = '/portal/fjordside/dashboard'
+})
+
+afterEach(() => {
+  vi.useRealTimers()
+})
+
+describe('the dateline', () => {
+  it('prints the day on the workshop clock, where the workshop is and who is reading', async () => {
+    await home(fullHome)
+    expect(screen.getByText('Saturday 14 November')).toBeInTheDocument()
+    expect(screen.getByText('Strandgaten 14, Bergen · 55 00 00 00')).toBeInTheDocument()
+    expect(screen.getByText('Kari Nordmann')).toBeInTheDocument()
+    expect(screen.getByText('Open until 17:00')).toBeInTheDocument()
+  })
+
+  it('is on the workshop day, not the server day, late in the evening', async () => {
+    // 23:30 UTC on the 14th is already Sunday the 15th in Oslo.
+    vi.setSystemTime(new Date('2026-11-14T23:30:00Z'))
+    await home(fullHome)
+    expect(screen.getByText('Sunday 15 November')).toBeInTheDocument()
+    expect(screen.getByText('Fjordside Auto, 00:30.')).toBeInTheDocument()
+  })
+
+  it('leaves out an address and a phone the workshop never gave', async () => {
+    await home({
+      ...fullHome,
+      nextVisit: null,
+      workshop: { ...workshop, address: null, directionsUrl: null, phone: null, phoneHref: null },
+    })
+    expect(screen.getByText('Saturday 14 November')).toBeInTheDocument()
+    expect(screen.queryByText(/Strandgaten/)).not.toBeInTheDocument()
+  })
+})
+
+describe('the car in the workshop', () => {
+  it('is the headline: which car, what for, when it is ready, and when that was true', async () => {
+    await home(fullHome)
+    const lead = section('Hi Kari. Your car is in the workshop, ready today around 16:00.')
+    expect(lead.getByText('Your car')).toBeInTheDocument()
+    expect(lead.getByText('Volvo V60 · EK 12345 · Brake service')).toBeInTheDocument()
+    expect(lead.getByText('Fjordside Auto, 11:00.')).toBeInTheDocument()
+    expect(screen.getAllByRole('heading', { level: 1 })).toHaveLength(1)
+  })
+
+  it('shows the three steps, each with where it stands', async () => {
+    await home(fullHome)
+    const steps = within(screen.getByRole('list', { name: 'How far the work has come' }))
+    expect(steps.getAllByRole('listitem').map((li) => li.textContent)).toEqual([
+      'DoneChecked in',
+      'NowIn the workshop',
+      'Not yetReady to collect',
+    ])
+    expect(steps.getByText('In the workshop').closest('li')).toHaveAttribute('aria-current', 'step')
+    expect(steps.getByText('Ready to collect').closest('li')).not.toHaveAttribute('aria-current')
+  })
+
+  it('carries the latest update with a way to see it', async () => {
+    await home(fullHome)
+    expect(screen.getByText('Latest from the workshop · 10:12')).toBeInTheDocument()
+    expect(screen.getByText(/Front discs are worn past the limit/)).toBeInTheDocument()
+    expect(screen.getByRole('link', { name: 'See photos and video' })).toHaveAttribute(
+      'href',
+      '/share/status-report/fjordside/tok'
+    )
+  })
+
+  it('says when the car is expected, for a visit that is only booked', async () => {
+    await home({
+      ...emptyHome,
+      jobs: [
+        {
+          ...fullHome.jobs[0],
+          status: 'scheduled',
+          stage: 'booked',
+          promisedAt: null,
+          update: null,
+          startAt: '2026-11-15T07:00:00Z',
+        },
+      ],
+    })
+    expect(
+      screen.getByRole('heading', {
+        level: 1,
+        name: 'Hi Kari. We are expecting your car tomorrow at 08:00.',
+      })
+    ).toBeInTheDocument()
+    expect(screen.getByText('Booked').closest('li')).toHaveAttribute('aria-current', 'step')
+    expect(screen.queryByText(/Latest from the workshop/)).not.toBeInTheDocument()
+  })
+
+  it('does not repeat a promise whose day has passed', async () => {
+    await home({
+      ...emptyHome,
+      jobs: [{ ...fullHome.jobs[0], promisedAt: '2026-11-12T15:00:00Z', update: null }],
+    })
+    expect(
+      screen.getByRole('heading', { level: 1, name: 'Hi Kari. Your car is in the workshop.' })
+    ).toBeInTheDocument()
+  })
+
+  it('says boat for a marine workshop', async () => {
+    await home({ ...fullHome, marine: true })
+    expect(
+      screen.getByRole('heading', {
+        level: 1,
+        name: 'Hi Kari. Your boat is in the workshop, ready today around 16:00.',
+      })
+    ).toBeInTheDocument()
+    expect(screen.getByText('Your boat')).toBeInTheDocument()
+    expect(screen.getByRole('heading', { name: 'My boats' })).toBeInTheDocument()
+  })
+
+  it('lists any other work under way or booked, each with where it stands', async () => {
+    await home({
+      ...fullHome,
+      jobs: [
+        ...fullHome.jobs,
+        {
+          ...fullHome.jobs[0],
+          id: 'j9',
+          title: 'Wheel alignment',
+          status: 'scheduled',
+          stage: 'booked',
+          startAt: '2026-11-20T08:00:00Z',
+          promisedAt: null,
+          update: null,
+        },
+      ],
+    })
+    const other = section('Also booked or under way')
+    expect(other.getByText('Wheel alignment')).toBeInTheDocument()
+    expect(other.getByText('Volvo V60 · Booked for 20 Nov at 09:00')).toBeInTheDocument()
+  })
+
+  it('prints a long job title and a long workshop name in full', async () => {
+    const title =
+      'Timing belt, water pump, auxiliary belt and tensioner replacement with coolant flush'
+    const name = 'Fjordside Auto and Marine Service Centre of Greater Bergen and Hordaland'
+    await home({
+      ...fullHome,
+      workshop: { ...workshop, name },
+      jobs: [{ ...fullHome.jobs[0], title }],
+    })
+    expect(screen.getByText(`Volvo V60 · EK 12345 · ${title}`)).toBeInTheDocument()
+    expect(screen.getByText(`${name}, 11:00.`)).toBeInTheDocument()
+  })
+})
+
+describe('the ledger of what waits for the customer', () => {
+  it('counts what is waiting and names its columns', async () => {
+    await home(fullHome)
+    const ledger = section('Waiting for you')
+    expect(ledger.getByText('2 items · 4 280 kr to pay on 1 invoice')).toBeInTheDocument()
+    expect(ledger.getAllByRole('listitem')).toHaveLength(2)
+  })
+
+  it('shows the quote, what it is for, what it costs and until when', async () => {
+    await home(fullHome)
+    const quote = ledgerRow('Front discs and pads')
+    expect(quote.getByText('Needs your answer')).toBeInTheDocument()
+    expect(quote.getByText('4 850 kr')).toBeInTheDocument()
+    expect(quote.getByText('Valid until 29 Nov')).toBeInTheDocument()
+    expect(quote.getByText('Quote Q-2041 · Volvo V60')).toBeInTheDocument()
+    expect(quote.getByRole('link', { name: 'Read the quote' })).toHaveAttribute(
+      'href',
+      '/portal/fjordside/quotes/q1'
+    )
+  })
+
+  it('accepts the quote only after the customer confirms', async () => {
+    const user = userEvent.setup()
+    await home(fullHome)
+    const quote = ledgerRow('Front discs and pads')
+    await user.click(quote.getByRole('button', { name: 'Accept quote' }))
+    expect(respondToPortalQuote).not.toHaveBeenCalled()
+    expect(quote.getByText('Accept this quote?')).toBeInTheDocument()
+
+    await user.click(quote.getByRole('button', { name: 'Yes, accept' }))
+    expect(respondToPortalQuote).toHaveBeenCalledWith({ quoteId: 'q1', answer: 'accepted' })
+    expect(await quote.findByRole('status')).toHaveTextContent('You accepted this quote')
+    expect(router.refresh).toHaveBeenCalled()
+  })
+
+  it('lets the customer back out, and says so when the answer could not be sent', async () => {
+    const user = userEvent.setup()
+    vi.mocked(respondToPortalQuote).mockResolvedValueOnce({ success: false, error: 'server words' })
+    await home(fullHome)
+    const quote = ledgerRow('Front discs and pads')
+    await user.click(quote.getByRole('button', { name: 'Accept quote' }))
+    await user.click(quote.getByRole('button', { name: 'Yes, accept' }))
+    expect(await quote.findByRole('alert')).toHaveTextContent(
+      'We could not send your answer. Try again.'
+    )
+    expect(quote.queryByText('server words')).not.toBeInTheDocument()
+
+    await user.click(quote.getByRole('button', { name: 'Cancel' }))
+    expect(quote.getByRole('button', { name: 'Accept quote' })).toBeInTheDocument()
+  })
+
+  it('shows the invoice with paying and reading it', async () => {
+    await home(fullHome)
+    const pay = ledgerRow('EU inspection and service')
+    expect(pay.getByText('To pay')).toBeInTheDocument()
+    expect(pay.getByText('4 280 kr')).toBeInTheDocument()
+    expect(pay.getByText('Due 28 Nov')).toBeInTheDocument()
+    expect(pay.getByText('Invoice 1042 · Toyota RAV4 · 9 Nov')).toBeInTheDocument()
+    expect(pay.getByRole('link', { name: 'Pay now' })).toHaveAttribute(
+      'href',
+      '/share/invoice/fjordside/tok-i1'
+    )
+    expect(pay.getByRole('link', { name: 'See the invoice' })).toHaveAttribute(
+      'href',
+      '/portal/fjordside/invoices/i1'
+    )
+  })
+
+  it('offers no Pay now where the invoice cannot be paid online', async () => {
+    await home({ ...fullHome, toPay: [{ ...fullHome.toPay[0], payUrl: null }] })
+    const pay = ledgerRow('EU inspection and service')
+    expect(pay.queryByRole('link', { name: 'Pay now' })).not.toBeInTheDocument()
+    expect(pay.getByRole('link', { name: 'See the invoice' })).toBeInTheDocument()
+  })
+
+  it('says overdue and what is left after a part payment', async () => {
+    await home({
+      ...fullHome,
+      toPay: [
+        {
+          ...fullHome.toPay[0],
+          overdue: true,
+          dueAt: '2026-11-10T11:00:00Z',
+          paid: 1000,
+          balance: 3280,
+        },
+      ],
+      toPayTotal: 3280,
+      toPayOverdueCount: 1,
+    })
+    expect(
+      section('Waiting for you').getByText('2 items · 3 280 kr to pay on 1 invoice · 1 overdue')
+    ).toBeInTheDocument()
+    const pay = ledgerRow('EU inspection and service')
+    expect(pay.getByText('Overdue since 10 Nov')).toBeInTheDocument()
+    expect(pay.getByText('3 280 kr')).toBeInTheDocument()
+    expect(pay.getByText(/1 000 kr of 4 280 kr paid/)).toBeInTheDocument()
+  })
+
+  it('lists three of each and says how many more there are', async () => {
+    const quotes = ['q1', 'q2', 'q3', 'q4'].map((id) => ({
+      ...fullHome.toAnswer[0],
+      id,
+      title: `Quote ${id}`,
+    }))
+    const invoices = ['i1', 'i2', 'i3', 'i4', 'i5'].map((id) => ({
+      ...fullHome.toPay[0],
+      id,
+      title: `Invoice ${id}`,
+      balance: 500,
+    }))
+    await home({ ...fullHome, toAnswer: quotes, toPay: invoices, toPayTotal: 2500, toPayCount: 5 })
+    const ledger = section('Waiting for you')
+    expect(ledger.getByText('9 items · 2 500 kr to pay on 5 invoices')).toBeInTheDocument()
+    expect(ledger.getAllByRole('listitem')).toHaveLength(6)
+    expect(ledger.queryByText('Quote q4')).not.toBeInTheDocument()
+    expect(
+      ledger.getByRole('link', { name: '1 more quote is waiting for your answer' })
+    ).toHaveAttribute('href', '/portal/fjordside/quotes')
+    expect(
+      ledger.getByRole('link', { name: '2 more invoices to pay, 2 500 kr in all' })
+    ).toHaveAttribute('href', '/portal/fjordside/invoices')
+  })
+
+  it('is a ledger of invoices alone when no quote waits, and of quotes alone', async () => {
+    const { unmount } = await home({ ...fullHome, toAnswer: [] })
+    expect(
+      section('Waiting for you').getByText('1 item · 4 280 kr to pay on 1 invoice')
+    ).toBeInTheDocument()
+    expect(screen.queryByText('Needs your answer')).not.toBeInTheDocument()
+    unmount()
+
+    await home({ ...fullHome, toPay: [], toPayTotal: 0, toPayCount: 0 })
+    expect(section('Waiting for you').getByText('1 item')).toBeInTheDocument()
+    expect(screen.queryByText('To pay')).not.toBeInTheDocument()
+  })
+})
+
+describe('the chat', () => {
+  it('stands in a column of its own that says what it is', async () => {
+    await home(fullHome)
+    const chat = screen.getByRole('complementary', { name: 'Messages with Fjordside Auto' })
+    expect(within(chat).getByText('The chat')).toBeInTheDocument()
+  })
+
+  it('shows the latest message as one line that opens the chat, for a phone', async () => {
+    await home(fullHome)
+    const preview = screen.getByRole('link', { name: /Open your messages with Fjordside Auto/ })
+    expect(preview).toHaveAttribute('href', '/portal/fjordside/messages')
+    expect(preview).toHaveTextContent('Jonas: You will get a message here when it is ready.')
+    expect(preview).toHaveTextContent('10:34')
+  })
+
+  it('invites a first message when nothing has been written yet', async () => {
+    await home(emptyHome)
+    expect(
+      screen.getByRole('link', { name: /Open your messages with Fjordside Auto/ })
+    ).toHaveTextContent('Write to Fjordside Auto')
+  })
+
+  it('is nowhere on the page when the workshop turned it off', async () => {
+    await home({ ...fullHome, messages: { enabled: false, unread: 0, latest: [] } }, null)
+    expect(screen.queryByRole('complementary')).not.toBeInTheDocument()
+    expect(screen.queryByRole('link', { name: /messages/i })).not.toBeInTheDocument()
+    // The rest of the page is all there.
+    expect(section('Waiting for you').getAllByRole('listitem')).toHaveLength(2)
+    expect(screen.getByRole('region', { name: 'My cars' })).toBeInTheDocument()
+  })
+})
+
+describe('tyres stored with the workshop', () => {
+  it('show the season, the car, the tyre, its size, the set, since when, and the tread left', async () => {
+    await home(fullHome)
+    const tires = section('Tyre hotel')
+    expect(tires.getByText('Summer tyres stored with us')).toBeInTheDocument()
+    expect(tires.getByText('stored since 21 Oct')).toBeInTheDocument()
+    const fact = (label: string) => tires.getByText(label).nextElementSibling
+    expect(fact('Car')).toHaveTextContent('Toyota RAV4')
+    expect(fact('Tyre')).toHaveTextContent('Michelin Primacy 4')
+    expect(fact('Size')).toHaveTextContent('225/60 R18')
+    expect(fact('Set')).toHaveTextContent('4 tyres')
+    expect(fact('Tread')).toHaveTextContent('5 mm tread left')
+  })
+
+  it('are not mentioned when the workshop runs no tyre hotel', async () => {
+    await home({ ...fullHome, tires: null })
+    expect(screen.queryByText(/tyre/i)).not.toBeInTheDocument()
+  })
+
+  it('are not mentioned when the tyre hotel is on and nothing is stored', async () => {
+    await home({ ...fullHome, tires: [] })
+    expect(screen.queryByText(/tyre/i)).not.toBeInTheDocument()
+  })
+
+  it('say so when the tread was never measured, and list a second set', async () => {
+    await home({
+      ...fullHome,
+      tires: [
+        { ...summerSet, treadDepthMm: null },
+        { ...summerSet, id: 't2', season: 'winter', studded: true, treadDepthMm: 6.5 },
+      ],
+    })
+    const tires = section('Tyre hotel')
+    expect(tires.getByText('Tread not measured yet')).toBeInTheDocument()
+    expect(tires.getByText('Winter tyres')).toBeInTheDocument()
+    expect(tires.getByText(/studded.*6.5 mm tread left/)).toBeInTheDocument()
+  })
+})
+
+describe('the cars and the next visit', () => {
+  it('links each car, with how often it has been in and what is going on with it', async () => {
+    await home(fullHome)
+    const cars = section('My cars')
+    const volvo = cars.getByRole('link', { name: /Volvo V60/ })
+    expect(volvo).toHaveAttribute('href', '/portal/fjordside/vehicles/v60')
+    expect(volvo).toHaveTextContent('EK 12345 · 8 visits')
+    expect(volvo).toHaveTextContent('In the workshop')
+    const toyota = cars.getByRole('link', { name: /Toyota RAV4/ })
+    expect(toyota).toHaveTextContent('EL 54321 · 3 visits')
+    expect(toyota).toHaveTextContent('warranty active')
+    expect(toyota).not.toHaveTextContent('In the workshop')
+  })
+
+  it('says when, which car and what for, and how to get there', async () => {
+    await home(fullHome)
+    const visit = section('Next visit')
+    expect(visit.getByText('Thursday 3 December, 08:00')).toBeInTheDocument()
+    expect(visit.getByText('Toyota RAV4 · EU inspection follow-up')).toBeInTheDocument()
+    expect(visit.getByText('Strandgaten 14, Bergen')).toBeInTheDocument()
+    expect(visit.getByRole('link', { name: 'Directions' })).toHaveAttribute(
+      'href',
+      expect.stringContaining('Strandgaten%2014')
+    )
+  })
+
+  it('offers a visit beside a car that is in, when none is booked after it', async () => {
+    await home({ ...fullHome, nextVisit: null })
+    const visit = section('Next visit')
+    expect(visit.getByText('No visit booked')).toBeInTheDocument()
+    expect(visit.getByRole('link', { name: 'Book a visit' })).toHaveAttribute(
+      'href',
+      '/portal/fjordside/request-service'
+    )
+  })
+})
+
+describe('a customer with no car in the workshop', () => {
+  it('leads with the next visit when one is booked, and tells it once', async () => {
+    await home({ ...fullHome, jobs: [] })
+    const lead = section('Thursday 3 December, 08:00')
+    expect(
+      screen.getByRole('heading', { level: 1, name: 'Thursday 3 December, 08:00' })
+    ).toBeInTheDocument()
+    expect(lead.getByText('Next visit')).toBeInTheDocument()
+    expect(lead.getByText('Toyota RAV4 · EU inspection follow-up')).toBeInTheDocument()
+    expect(lead.getByRole('link', { name: 'Directions' })).toBeInTheDocument()
+    expect(lead.getByText('Hi Kari. Nothing in the workshop right now.')).toBeInTheDocument()
+    expect(screen.getAllByText('Thursday 3 December, 08:00')).toHaveLength(1)
+  })
+
+  it('is greeted, told nothing is in the workshop, and offered a visit', async () => {
+    await home(emptyHome)
+    const lead = section('Hi Kari. Nothing in the workshop right now.')
+    expect(
+      lead.getByText('Book a visit when your car needs us. You follow the work here, step by step.')
+    ).toBeInTheDocument()
+    expect(lead.getByRole('link', { name: 'Book a visit' })).toHaveAttribute(
+      'href',
+      '/portal/fjordside/request-service'
+    )
+    expect(screen.getAllByRole('link', { name: 'Book a visit' })).toHaveLength(1)
+  })
+
+  it('shows no empty ledger and nothing about tyres', async () => {
+    await home(emptyHome)
+    expect(screen.queryByText('Waiting for you')).not.toBeInTheDocument()
+    expect(screen.queryByText('Needs your answer')).not.toBeInTheDocument()
+    expect(screen.queryByText('To pay')).not.toBeInTheDocument()
+    expect(screen.queryByText('Tyre hotel')).not.toBeInTheDocument()
+  })
+
+  it('says in words that no car is on file', async () => {
+    await home(emptyHome)
+    expect(section('My cars').getByText('No cars on file yet')).toBeInTheDocument()
+  })
+
+  it('shows what they asked for and are waiting to hear about', async () => {
+    await home({
+      ...emptyHome,
+      requests: [
+        {
+          id: 'r1',
+          description: 'Winter tyres on, and a look at the wipers',
+          vehicle: null,
+          createdAt: '2026-11-12T09:00:00Z',
+          preferredDate: null,
+        },
+      ],
+    })
+    const sent = section('Sent to the workshop')
+    expect(sent.getByText('Winter tyres on, and a look at the wipers')).toBeInTheDocument()
+    expect(sent.getByText('Sent 12 Nov · Waiting for an answer')).toBeInTheDocument()
+  })
+})
+
+describe('the masthead and the tabs', () => {
+  const chrome = (over: Partial<React.ComponentProps<typeof Chrome>> = {}) =>
+    render(
+      <Chrome
+        orgParam="fjordside"
+        workshop={workshop}
+        customerName="Kari Nordmann"
+        marine={false}
+        messagesEnabled
+        unreadMessages={1}
+        {...over}
+      >
+        <p>The page</p>
+      </Chrome>
+    )
+
+  it('names the workshop, says whether it is open, and offers a visit and the way out', () => {
+    chrome()
+    const masthead = within(screen.getByRole('banner'))
+    expect(masthead.getByRole('link', { name: 'Fjordside Auto, home' })).toHaveAttribute(
+      'href',
+      '/portal/fjordside/dashboard'
+    )
+    expect(masthead.getByText('Open until 17:00')).toBeInTheDocument()
+    expect(masthead.getByRole('link', { name: 'Book a visit' })).toHaveAttribute(
+      'href',
+      '/portal/fjordside/request-service'
+    )
+    expect(
+      masthead.getByRole('button', { name: 'Your account, Kari Nordmann' })
+    ).toBeInTheDocument()
+    expect(within(screen.getByRole('main')).getByText('The page')).toBeInTheDocument()
+  })
+
+  it('has the five places along the bottom, with the unread count on Messages', () => {
+    chrome()
+    const [, tabs] = screen.getAllByRole('navigation', { name: 'Main' })
+    const links = within(tabs).getAllByRole('link')
+    expect(links.map((link) => link.textContent)).toEqual([
+      'Home',
+      '11 unread messageMessages',
+      'Book',
+      'My cars',
+      'Papers',
+    ])
+    expect(links[0]).toHaveAttribute('aria-current', 'page')
+    expect(links[2]).toHaveAttribute('href', '/portal/fjordside/request-service')
+    expect(links[4]).toHaveAttribute('href', '/portal/fjordside/documents')
+  })
+
+  it('marks the place being read, and says boats for a marine workshop', () => {
+    path.current = '/portal/fjordside/invoices/i1'
+    chrome({ marine: true })
+    const [masthead, tabs] = screen.getAllByRole('navigation', { name: 'Main' })
+    expect(within(masthead).getByRole('link', { name: 'Invoices and quotes' })).toHaveAttribute(
+      'aria-current',
+      'page'
+    )
+    expect(within(masthead).getByRole('link', { name: 'Home' })).not.toHaveAttribute('aria-current')
+    expect(within(tabs).getByRole('link', { name: 'Papers' })).toHaveAttribute(
+      'aria-current',
+      'page'
+    )
+    expect(within(tabs).getByRole('link', { name: 'My boats' })).toBeInTheDocument()
+  })
+
+  it('has no Messages anywhere when the workshop turned the chat off', () => {
+    chrome({ messagesEnabled: false, unreadMessages: 0 })
+    expect(screen.queryByRole('link', { name: /Messages/ })).not.toBeInTheDocument()
+    const [, tabs] = screen.getAllByRole('navigation', { name: 'Main' })
+    expect(within(tabs).getAllByRole('link')).toHaveLength(4)
+  })
+
+  it('offers no choice of theme or view', () => {
+    chrome()
+    expect(screen.queryByText(/theme|view|layout/i)).not.toBeInTheDocument()
+  })
+})
+
+describe('the sign-in page', () => {
+  /** Mon to Fri 07:30 to 17:00, Saturday 09:00 to 13:00, Sunday closed. Sunday first. */
+  const week = [
+    { open: false, start: '09:00', end: '13:00' },
+    ...Array.from({ length: 5 }, () => ({ open: true, start: '07:30', end: '17:00' })),
+    { open: true, start: '09:00', end: '13:00' },
+  ]
+  // A Saturday.
+  const hours = { week, today: '2026-11-14', timeFormat: '24h' as const, closedSoon: [] }
+
+  const signIn = async (over: Partial<PortalSignInProps> = {}) =>
+    render(
+      await SignIn({
+        orgParam: 'fjordside',
+        workshop: { ...workshop, hours },
+        description: 'Family-run workshop in Bergen since 1998.',
+        hoursText: null,
+        coverUrl: '/api/public/portal-bg/org1?v=cover.jpg',
+        eyebrow: 'For our customers',
+        heading: 'See your car, your invoices and your messages.',
+        children: <p>The form</p>,
+        ...over,
+      })
+    )
+
+  it('is the workshop front page: its name, its own words, the day and whether it is open', async () => {
+    await signIn()
+    expect(screen.getByRole('heading', { level: 1, name: 'Fjordside Auto' })).toBeInTheDocument()
+    expect(screen.getByText('Family-run workshop in Bergen since 1998.')).toBeInTheDocument()
+    // The day the workshop's calendar says it is, in the portal's language ("en" here).
+    expect(screen.getByText('Saturday, November 14')).toBeInTheDocument()
+    expect(screen.getByText('Customer portal')).toBeInTheDocument()
+    expect(screen.getAllByText('Open until 17:00').length).toBeGreaterThan(0)
+  })
+
+  it('puts the sign-in under what it gives', async () => {
+    await signIn()
+    const main = within(screen.getByRole('main'))
+    expect(main.getByText('For our customers')).toBeInTheDocument()
+    expect(
+      main.getByRole('heading', {
+        level: 2,
+        name: 'See your car, your invoices and your messages.',
+      })
+    ).toBeInTheDocument()
+    expect(main.getByText('The form')).toBeInTheDocument()
+  })
+
+  it('prints the week with today marked, the address with directions, and the phone', async () => {
+    await signIn()
+    const opening = section('Opening hours')
+    expect(opening.getByText('Mon to Fri')).toBeInTheDocument()
+    expect(opening.getByText('07:30 to 17:00')).toBeInTheDocument()
+    expect(opening.getByText('Saturday').closest('div')).toHaveAttribute('aria-current', 'date')
+    expect(opening.getByText('Mon to Fri').closest('div')).not.toHaveAttribute('aria-current')
+
+    const find = section('Find us')
+    expect(find.getByText('Strandgaten 14, Bergen')).toBeInTheDocument()
+    expect(find.getByRole('link', { name: 'Directions' })).toHaveAttribute(
+      'href',
+      expect.stringContaining('Strandgaten%2014')
+    )
+
+    const call = section('Call us')
+    expect(call.getByText('55 00 00 00')).toBeInTheDocument()
+    expect(call.getByRole('link', { name: 'Call the workshop' })).toHaveAttribute(
+      'href',
+      'tel:55000000'
+    )
+  })
+
+  it('shows the cover photo the workshop uploaded, and none it did not', async () => {
+    const { container, unmount } = await signIn()
+    expect(
+      container.querySelector('img[src="/api/public/portal-bg/org1?v=cover.jpg"]')
+    ).toBeTruthy()
+    unmount()
+
+    const bare = await signIn({ coverUrl: null })
+    expect(bare.container.querySelector('img')).toBeNull()
+    expect(screen.getByText('The form')).toBeInTheDocument()
+  })
+
+  it('prints the hours as the workshop typed them when it never set its week', async () => {
+    await signIn({ workshop: { ...workshop, hours: null }, hoursText: 'Weekdays 8 to 4' })
+    expect(section('Opening hours').getByText('Weekdays 8 to 4')).toBeInTheDocument()
+    // Without the calendar there is no day to print: nothing is guessed from the server clock.
+    expect(screen.queryByText(/November/)).not.toBeInTheDocument()
+  })
+
+  it('is still a finished page for a workshop that gave nothing but its name', async () => {
+    await signIn({
+      workshop: {
+        ...workshop,
+        hours: null,
+        phone: null,
+        phoneHref: null,
+        address: null,
+        directionsUrl: null,
+      },
+      description: null,
+      coverUrl: null,
+    })
+    expect(screen.getByRole('heading', { level: 1, name: 'Fjordside Auto' })).toBeInTheDocument()
+    expect(screen.getByText('The form')).toBeInTheDocument()
+    expect(screen.queryByText('Opening hours')).not.toBeInTheDocument()
+    expect(screen.queryByText('Find us')).not.toBeInTheDocument()
+    expect(screen.queryByText('Call us')).not.toBeInTheDocument()
+  })
+})

+ 144 - 0
src/__tests__/features/portal/login-form.test.tsx

@@ -0,0 +1,144 @@
+/**
+ * Signing in to the portal when the request itself goes wrong.
+ *
+ * The form never says whether an account exists, but it used to say nothing
+ * at all when the request failed: offline, rate limited or a server error all
+ * looked like "check your email" for a mail that would never come.
+ */
+
+import { afterEach, beforeEach, describe, expect, it, vi } from 'vitest'
+import { act, fireEvent, render, screen, waitFor } from '@testing-library/react'
+
+const push = vi.fn()
+vi.mock('next/navigation', () => ({
+  useRouter: () => ({ push, refresh: vi.fn() }),
+}))
+
+import { PortalLoginForm } from '@/features/portal/Components/PortalLoginForm'
+
+const fetchMock = vi.fn()
+
+beforeEach(() => {
+  fetchMock.mockReset()
+  vi.stubGlobal('fetch', fetchMock)
+})
+afterEach(() => {
+  vi.unstubAllGlobals()
+  vi.useRealTimers()
+})
+
+const reply = (status: number, body: unknown = {}) =>
+  Promise.resolve(new Response(JSON.stringify(body), { status }))
+
+function askForLink(email = 'kari@example.com') {
+  fireEvent.change(screen.getByLabelText('Your email address'), { target: { value: email } })
+  fireEvent.click(screen.getByRole('button', { name: 'Send me a sign-in link' }))
+}
+
+describe('asking for a sign-in link by email', () => {
+  it('says to check the email once the request was taken, account or not', async () => {
+    fetchMock.mockReturnValue(reply(200, { success: true }))
+    render(<PortalLoginForm orgId="shop" smsEnabled={false} defaultCountryCode={null} />)
+
+    askForLink()
+
+    expect(await screen.findByText('Check your email')).toBeInTheDocument()
+  })
+
+  it('says the request failed when there is no connection, and lets the customer try again', async () => {
+    fetchMock.mockRejectedValueOnce(new TypeError('Failed to fetch'))
+    render(<PortalLoginForm orgId="shop" smsEnabled={false} defaultCountryCode={null} />)
+
+    askForLink()
+
+    expect(await screen.findByRole('alert')).toHaveTextContent(
+      'We could not send that just now. Check your connection and try again.'
+    )
+    expect(screen.queryByText('Check your email')).not.toBeInTheDocument()
+    // The address is still there and the button sends it again.
+    expect(screen.getByLabelText('Your email address')).toHaveValue('kari@example.com')
+    fetchMock.mockReturnValueOnce(reply(200, { success: true }))
+    fireEvent.click(screen.getByRole('button', { name: 'Try again' }))
+    expect(await screen.findByText('Check your email')).toBeInTheDocument()
+  })
+
+  it('says to wait when there were too many tries', async () => {
+    fetchMock.mockReturnValue(reply(429, { error: 'Too many requests' }))
+    render(<PortalLoginForm orgId="shop" smsEnabled={false} defaultCountryCode={null} />)
+
+    askForLink()
+
+    expect(await screen.findByRole('alert')).toHaveTextContent('Too many tries')
+  })
+
+  it('says the request failed when the server errors', async () => {
+    fetchMock.mockReturnValue(reply(500))
+    render(<PortalLoginForm orgId="shop" smsEnabled={false} defaultCountryCode={null} />)
+
+    askForLink()
+
+    expect(await screen.findByRole('alert')).toHaveTextContent('We could not send that just now')
+  })
+})
+
+describe('signing in with a code by text message', () => {
+  function openSms() {
+    render(<PortalLoginForm orgId="shop" smsEnabled defaultCountryCode="+47" />)
+    fireEvent.click(screen.getByRole('button', { name: 'SMS' }))
+  }
+
+  it('stays on the number and says so when the code could not be requested', async () => {
+    fetchMock.mockReturnValue(reply(503))
+    openSms()
+
+    fireEvent.change(screen.getByLabelText('Your mobile number'), { target: { value: '41234567' } })
+    fireEvent.click(screen.getByRole('button', { name: 'Send code' }))
+
+    expect(await screen.findByRole('alert')).toHaveTextContent('We could not send that just now')
+    expect(screen.queryByLabelText('6-digit code')).not.toBeInTheDocument()
+  })
+
+  it('offers a new code a little while after the first one', async () => {
+    fetchMock.mockImplementation(() => reply(200, { success: true }))
+    openSms()
+
+    fireEvent.change(screen.getByLabelText('Your mobile number'), { target: { value: '41234567' } })
+    // The clock is faked from here, so the wait below is the only one.
+    vi.useFakeTimers({ toFake: ['setTimeout', 'clearTimeout'] })
+    await act(async () => {
+      fireEvent.click(screen.getByRole('button', { name: 'Send code' }))
+    })
+    expect(screen.getByLabelText('6-digit code')).toBeInTheDocument()
+
+    const again = screen.getByRole('button', { name: 'Send a new code' })
+    expect(again).toBeDisabled()
+    await act(async () => {
+      vi.advanceTimersByTime(30_000)
+    })
+    expect(again).toBeEnabled()
+    vi.useRealTimers()
+
+    fireEvent.click(again)
+    await waitFor(() => expect(screen.getByText('We sent a new code.')).toBeInTheDocument())
+    expect(fetchMock).toHaveBeenCalledTimes(2)
+    expect(JSON.parse(fetchMock.mock.calls[1][1].body)).toEqual({ phone: '+4741234567' })
+  })
+
+  it('words a wrong code in the customer language, not the server words', async () => {
+    fetchMock
+      .mockImplementationOnce(() => reply(200, { success: true }))
+      .mockImplementationOnce(() =>
+        reply(400, { success: false, error: 'Invalid or expired code (server)' })
+      )
+    openSms()
+
+    fireEvent.change(screen.getByLabelText('Your mobile number'), { target: { value: '41234567' } })
+    fireEvent.click(screen.getByRole('button', { name: 'Send code' }))
+    fireEvent.change(await screen.findByLabelText('6-digit code'), { target: { value: '123456' } })
+    fireEvent.click(screen.getByRole('button', { name: 'Sign in' }))
+
+    expect(await screen.findByRole('alert')).toHaveTextContent('Invalid or expired code')
+    expect(screen.queryByText(/\(server\)/)).not.toBeInTheDocument()
+    expect(push).not.toHaveBeenCalled()
+  })
+})

+ 239 - 0
src/__tests__/features/portal/portal-chat-events.test.ts

@@ -0,0 +1,239 @@
+// @vitest-environment node
+/**
+ * What happened to the customer's car, as the thread draws it between the
+ * messages: read from the job, the update, the quote and the invoice
+ * themselves, in the order it happened. A read that fails leaves the events
+ * out and never takes the thread with it.
+ */
+import { beforeEach, describe, expect, it, vi } from 'vitest'
+
+const { serviceRecord, statusReport, quote } = vi.hoisted(() => ({
+  serviceRecord: { findMany: vi.fn() },
+  statusReport: { findMany: vi.fn() },
+  quote: { findMany: vi.fn() },
+}))
+vi.mock('@/lib/db', () => ({ db: { serviceRecord, statusReport, quote } }))
+vi.mock('@/lib/workshop-currency', () => ({
+  workshopMoneyFormatter: async () => (amount: number) => `kr ${amount.toFixed(2)}`,
+}))
+// Half a day ahead of the server, so "still valid today" is the workshop's today.
+vi.mock('@/lib/workshop-timezone', () => ({ workshopTimeZone: async () => 'Pacific/Auckland' }))
+vi.mock('@/features/portal/Lib/portalLive', () => ({ isPortalLive: async () => true }))
+vi.mock('@/features/portal/Lib/portalLook.server', () => ({
+  loadPortalLook: async () => ({ messagesEnabled: true }),
+}))
+
+import { getPortalThreadEvents } from '@/features/portal/Lib/chat.server'
+
+const car = { make: 'Volvo', model: 'V60' }
+// 09:00 on 21 November in Auckland, still the evening of the 20th in UTC.
+const now = new Date('2026-11-20T20:00:00Z')
+const events = () => getPortalThreadEvents('org1', 'kari', 'fjordside', { now })
+
+beforeEach(() => {
+  vi.clearAllMocks()
+  vi.spyOn(console, 'error').mockImplementation(() => undefined)
+  serviceRecord.findMany.mockImplementation(async ({ where }: { where: { status?: string } }) =>
+    where.status === 'completed'
+      ? [
+          {
+            id: 'i1',
+            title: 'Brake overhaul',
+            invoiceNumber: 'INV-2041',
+            totalAmount: 6480,
+            issuedAt: new Date('2026-11-20T15:00:00Z'),
+            sentAt: null,
+            invoiceDueDate: null,
+            manuallyPaid: false,
+            payments: [],
+            vehicle: car,
+          },
+        ]
+      : [
+          {
+            id: 'j1',
+            title: 'Brake overhaul',
+            vehicle: car,
+            timeEntries: [{ startedAt: new Date('2026-11-19T07:40:00Z') }],
+          },
+        ]
+  )
+  statusReport.findMany.mockResolvedValue([
+    {
+      id: 'u1',
+      publicToken: 'tok',
+      message: 'Pads were down to 2 mm.\nSee the photos.',
+      title: null,
+      sentAt: new Date('2026-11-19T10:00:00Z'),
+      serviceRecord: { vehicle: car },
+    },
+  ])
+  quote.findMany.mockResolvedValue([
+    {
+      id: 'q1',
+      title: 'Front brake pads and discs',
+      quoteNumber: 'Q-1001',
+      status: 'sent',
+      totalAmount: 6480,
+      // The 21st: today in Auckland, tomorrow on the server.
+      validUntil: new Date('2026-11-20T11:00:00Z'),
+      sentAt: new Date('2026-11-19T08:30:00Z'),
+      sharedAt: null,
+      vehicle: car,
+    },
+  ])
+})
+
+describe('the events of a thread', () => {
+  it('lists work starting, the quote, the update and the invoice in the order they happened', async () => {
+    expect(await events()).toEqual([
+      {
+        id: 'work_started:j1',
+        kind: 'work_started',
+        at: '2026-11-19T07:40:00.000Z',
+        vehicle: 'Volvo V60',
+        title: 'Brake overhaul',
+        amount: null,
+        href: null,
+        answerable: false,
+        overdue: false,
+      },
+      {
+        id: 'quote:q1',
+        kind: 'quote',
+        at: '2026-11-19T08:30:00.000Z',
+        vehicle: 'Volvo V60',
+        title: 'Front brake pads and discs',
+        amount: 'kr 6480.00',
+        href: '/portal/fjordside/quotes/q1',
+        answerable: true,
+        overdue: false,
+      },
+      {
+        id: 'update:u1',
+        kind: 'update',
+        at: '2026-11-19T10:00:00.000Z',
+        vehicle: 'Volvo V60',
+        title: 'Pads were down to 2 mm. See the photos.',
+        amount: null,
+        href: '/share/status-report/fjordside/tok',
+        answerable: false,
+        overdue: false,
+      },
+      {
+        id: 'invoice:i1',
+        kind: 'invoice',
+        at: '2026-11-20T15:00:00.000Z',
+        vehicle: 'Volvo V60',
+        title: 'INV-2041',
+        amount: 'kr 6480.00',
+        href: '/portal/fjordside/invoices/i1',
+        answerable: false,
+        overdue: false,
+      },
+    ])
+  })
+
+  it("reads only this customer's records in this workshop", async () => {
+    await events()
+    const mine = {
+      organizationId: 'org1',
+      OR: [{ vehicle: { customerId: 'kari' } }, { customerId: 'kari' }],
+    }
+    for (const [call] of serviceRecord.findMany.mock.calls) {
+      expect(call.where).toMatchObject(mine)
+    }
+    expect(statusReport.findMany.mock.calls[0][0].where).toMatchObject({
+      organizationId: 'org1',
+      serviceRecord: mine,
+    })
+    expect(quote.findMany.mock.calls[0][0].where).toMatchObject({
+      organizationId: 'org1',
+      customerId: 'kari',
+    })
+  })
+
+  it('offers a quote to read, not to answer, once it was answered', async () => {
+    quote.findMany.mockResolvedValue([
+      {
+        id: 'q1',
+        title: 'Front brake pads and discs',
+        quoteNumber: null,
+        status: 'accepted',
+        totalAmount: 6480,
+        validUntil: null,
+        sentAt: new Date('2026-11-19T08:30:00Z'),
+        sharedAt: null,
+        vehicle: null,
+      },
+    ])
+    const quoted = (await events()).find((event) => event.kind === 'quote')
+    expect(quoted).toMatchObject({ answerable: false, vehicle: null })
+  })
+
+  it('leaves out what happened before the thread begins', async () => {
+    const since = new Date('2026-11-19T09:00:00Z')
+    const kinds = (await getPortalThreadEvents('org1', 'kari', 'fjordside', { now, since })).map(
+      (event) => event.kind
+    )
+    expect(kinds).toEqual(['update', 'invoice'])
+  })
+
+  const invoice = (over: Record<string, unknown>) => ({
+    id: 'i1',
+    title: 'Brake overhaul',
+    invoiceNumber: 'INV-2041',
+    totalAmount: 6480,
+    issuedAt: new Date('2026-11-10T15:00:00Z'),
+    sentAt: null,
+    invoiceDueDate: null,
+    manuallyPaid: false,
+    payments: [],
+    vehicle: car,
+    ...over,
+  })
+  const invoiceEvent = async (over: Record<string, unknown>) => {
+    serviceRecord.findMany.mockImplementation(async ({ where }: { where: { status?: string } }) =>
+      where.status === 'completed' ? [invoice(over)] : []
+    )
+    return (await events()).find((event) => event.kind === 'invoice')
+  }
+
+  it('marks an unpaid invoice overdue from the day after its due day in the workshop', async () => {
+    // Due the 20th. In Auckland it is already the 21st; on the server still the 20th.
+    expect(await invoiceEvent({ invoiceDueDate: new Date('2026-11-19T11:00:00Z') })).toMatchObject({
+      overdue: true,
+    })
+    // Due the 21st: today in the workshop, so not overdue yet.
+    expect(await invoiceEvent({ invoiceDueDate: new Date('2026-11-20T11:00:00Z') })).toMatchObject({
+      overdue: false,
+    })
+  })
+
+  it('never calls a paid invoice overdue', async () => {
+    const due = new Date('2026-11-01T11:00:00Z')
+    expect(await invoiceEvent({ invoiceDueDate: due, manuallyPaid: true })).toMatchObject({
+      overdue: false,
+    })
+    expect(await invoiceEvent({ invoiceDueDate: due, payments: [{ amount: 6480 }] })).toMatchObject(
+      { overdue: false }
+    )
+  })
+
+  it('goes back a month unless asked for more, and never past half a year', async () => {
+    expect(await invoiceEvent({ issuedAt: new Date('2026-10-01T10:00:00Z') })).toBeUndefined()
+    const asked = (since: string) =>
+      getPortalThreadEvents('org1', 'kari', 'fjordside', { now, since: new Date(since) })
+    const kinds = async (since: string) => (await asked(since)).map((event) => event.kind)
+    expect(await kinds('2026-09-01T00:00:00Z')).toContain('invoice')
+    serviceRecord.findMany.mockImplementation(async ({ where }: { where: { status?: string } }) =>
+      where.status === 'completed' ? [invoice({ issuedAt: new Date('2026-01-05T10:00:00Z') })] : []
+    )
+    expect(await kinds('2025-01-01T00:00:00Z')).not.toContain('invoice')
+  })
+
+  it('answers no events, and does not throw, when a read fails', async () => {
+    statusReport.findMany.mockRejectedValue(new Error('db down'))
+    expect(await events()).toEqual([])
+  })
+})

+ 569 - 0
src/__tests__/features/portal/portal-chat.test.ts

@@ -0,0 +1,569 @@
+// @vitest-environment node
+/**
+ * The chat from both ends, over one stand-in for the messages table: a
+ * customer writes in the portal, the workshop finds the thread in its inbox
+ * with what is unread, answers, and the answer is in the customer's thread.
+ * And what must never happen: writing when the chat is off, reading or
+ * marking another customer's thread, sending faster than a person types.
+ */
+import { beforeEach, describe, expect, it, vi } from 'vitest'
+
+interface Row {
+  id: string
+  direction: string
+  body: string
+  attachments: string[]
+  readAt: Date | null
+  createdAt: Date
+  authorUserId: string | null
+  organizationId: string
+  customerId: string
+}
+
+const state = vi.hoisted(() => ({
+  rows: [] as Row[],
+  session: null as { customerId: string; organizationId: string } | null,
+  portalLive: true,
+  messagesEnabled: true,
+  clock: 0,
+}))
+
+const CUSTOMERS: Record<
+  string,
+  { id: string; name: string; organizationId: string; email: string }
+> = {
+  kari: { id: 'kari', name: 'Kari Nordmann', organizationId: 'org1', email: 'kari@example.com' },
+  ola: { id: 'ola', name: 'Ola Hansen', organizationId: 'org1', email: 'ola@example.com' },
+  eve: { id: 'eve', name: 'Eve Other', organizationId: 'org2', email: 'eve@example.com' },
+}
+
+vi.mock('@/lib/db', () => {
+  type Where = Record<string, unknown>
+  const matches = (row: Row, where: Where = {}) =>
+    Object.entries(where).every(([key, value]) => {
+      const actual = (row as unknown as Record<string, unknown>)[key]
+      if (value === null) return actual === null
+      if (value && typeof value === 'object' && 'gte' in value) {
+        return (actual as Date) >= (value as { gte: Date }).gte
+      }
+      if (key === 'NOT') return true
+      if (value && typeof value === 'object' && 'in' in value) {
+        return (value as { in: unknown[] }).in.includes(actual)
+      }
+      return actual === value
+    })
+  const shaped = (row: Row) => ({
+    ...row,
+    author: row.authorUserId ? { name: 'Jonas Berg' } : null,
+  })
+  const portalMessage = {
+    create: async ({ data }: { data: Partial<Row> }) => {
+      state.clock += 1000
+      const row: Row = {
+        id: `pm${state.rows.length + 1}`,
+        direction: 'inbound',
+        body: '',
+        attachments: [],
+        readAt: null,
+        authorUserId: null,
+        organizationId: '',
+        customerId: '',
+        createdAt: new Date(Date.now() + state.clock),
+        ...data,
+      }
+      state.rows.push(row)
+      return shaped(row)
+    },
+    findMany: async ({ where, take }: { where?: Where; take?: number }) =>
+      state.rows
+        .filter((row) => matches(row, where))
+        .sort((a, b) => b.createdAt.getTime() - a.createdAt.getTime())
+        .slice(0, take ?? 1000)
+        .map(shaped),
+    findFirst: async ({ where }: { where?: Where }) =>
+      state.rows
+        .filter((row) => matches(row, where))
+        .sort((a, b) => b.createdAt.getTime() - a.createdAt.getTime())
+        .map(shaped)[0] ?? null,
+    count: async ({ where }: { where?: Where }) =>
+      state.rows.filter((row) => matches(row, where)).length,
+    updateMany: async ({ where, data }: { where?: Where; data: Partial<Row> }) => {
+      const hit = state.rows.filter((row) => matches(row, where))
+      for (const row of hit) Object.assign(row, data)
+      return { count: hit.length }
+    },
+    update: async ({ where, data }: { where: { id: string }; data: Partial<Row> }) => {
+      const row = state.rows.find((one) => one.id === where.id)
+      if (row) Object.assign(row, data)
+      return row
+    },
+    deleteMany: async ({ where }: { where?: Where }) => {
+      const before = state.rows.length
+      state.rows = state.rows.filter((row) => !matches(row, where))
+      return { count: before - state.rows.length }
+    },
+  }
+  // The inbox reads its threads with raw SQL: the newest message of each
+  // customer, and the unread count of each. Answered from the same rows.
+  const $queryRaw = async (strings: TemplateStringsArray, ...values: unknown[]) => {
+    const sql = strings.join('?')
+    if (!sql.includes('portal_messages')) return []
+    const organizationId = values[0] as string
+    const mine = state.rows.filter((row) => row.organizationId === organizationId)
+    if (sql.includes('COUNT(*)')) {
+      const counts = new Map<string, number>()
+      for (const row of mine) {
+        if (row.direction === 'inbound' && !row.readAt) {
+          counts.set(row.customerId, (counts.get(row.customerId) ?? 0) + 1)
+        }
+      }
+      return [...counts].map(([identity, unread]) => ({ identity, unread }))
+    }
+    const newest = new Map<string, Row>()
+    for (const row of mine) {
+      const held = newest.get(row.customerId)
+      if (!held || held.createdAt < row.createdAt) newest.set(row.customerId, row)
+    }
+    return [...newest.values()].map((row) => ({
+      identity: row.customerId,
+      customerId: row.customerId,
+      name: CUSTOMERS[row.customerId]?.name ?? null,
+      contact: CUSTOMERS[row.customerId]?.email ?? null,
+      body: row.body,
+      mediaType: row.attachments.length > 0 ? 'photo' : null,
+      direction: row.direction,
+      createdAt: row.createdAt,
+    }))
+  }
+  const none = { findMany: async () => [] }
+  // The other channels are empty in this workshop.
+  const quiet = { count: async () => 0 }
+  return {
+    db: {
+      portalMessage,
+      $queryRaw,
+      customer: {
+        findFirst: async ({ where }: { where: { id: string; organizationId: string } }) => {
+          const customer = CUSTOMERS[where.id]
+          return customer && customer.organizationId === where.organizationId ? customer : null
+        },
+      },
+      serviceRecord: none,
+      statusReport: none,
+      quote: none,
+      smsMessage: quiet,
+      telegramMessage: quiet,
+      whatsappMessage: quiet,
+      emailMessage: quiet,
+    },
+  }
+})
+vi.mock('@/lib/customer-session', () => ({ getCustomerSession: async () => state.session }))
+vi.mock('@/lib/portal-slug', () => ({
+  resolvePortalOrg: async (param: string) =>
+    param === 'fjordside' ? { id: 'org1', name: 'Fjordside Auto' } : null,
+}))
+vi.mock('@/features/portal/Lib/portalLive', () => ({ isPortalLive: async () => state.portalLive }))
+vi.mock('@/features/portal/Lib/portalLook.server', () => ({
+  loadPortalLook: async () => ({ messagesEnabled: state.messagesEnabled }),
+}))
+vi.mock('@/lib/workshop-currency', () => ({
+  workshopMoneyFormatter: async () => (amount: number) => `kr ${amount}`,
+}))
+vi.mock('@/lib/workshop-timezone', () => ({ workshopTimeZone: async () => 'Europe/Oslo' }))
+const notify = vi.fn()
+vi.mock('@/lib/notify', () => ({ notify: (input: unknown) => notify(input) }))
+vi.mock('@/lib/demo', () => ({ demoGuard: vi.fn() }))
+vi.mock('@/lib/files/manager', () => ({ releaseFiles: vi.fn(async () => ({})) }))
+// The workshop is signed in as a member of org1. The real behaviour: a throw
+// becomes a returned error.
+vi.mock('@/lib/with-auth', () => ({
+  withAuth: async (fn: (ctx: { organizationId: string; userId: string }) => Promise<unknown>) => {
+    try {
+      return { success: true, data: await fn({ organizationId: 'org1', userId: 'jonas' }) }
+    } catch (error) {
+      return { success: false, error: (error as Error).message }
+    }
+  },
+}))
+vi.mock('@/lib/features', () => ({
+  getFeatures: async () => ({ sms: false, whatsapp: false, telegram: false }),
+}))
+vi.mock('@/lib/sms', () => ({ getOrgSmsProvider: async () => null }))
+vi.mock('@/lib/telegram', () => ({ getOrgTelegramBotToken: async () => null }))
+vi.mock('@/lib/whatsapp', () => ({ isWhatsappConfigured: async () => false }))
+vi.mock('@/features/messaging/Lib/emailChannel.server', () => ({
+  emailChannelState: async () => 'off',
+}))
+
+import {
+  getInboxThreads,
+  markThreadRead,
+  markThreadUnread,
+} from '@/features/messaging/Actions/inboxActions'
+import {
+  deletePortalConversation,
+  getPortalConversation,
+  markPortalMessagesSeen,
+  sendPortalReply,
+} from '@/features/messaging/Actions/portalThreadActions'
+import { countUnreadMessages } from '@/features/messaging/Lib/unreadCount'
+import { getPortalThread } from '@/features/portal/Actions/getPortalThread'
+import { getPortalUnread } from '@/features/portal/Actions/getPortalUnread'
+import { markPortalMessagesRead } from '@/features/portal/Actions/markPortalMessagesRead'
+import { sendPortalMessage } from '@/features/portal/Actions/sendPortalMessage'
+import { portalUploadFileName } from '@/features/portal/Lib/portalUploadOwner.server'
+import { freezeOrganization, unfreezeOrganization } from '@/lib/backup/freeze'
+
+const as = (customerId: string | null, organizationId = 'org1') => {
+  state.session = customerId ? { customerId, organizationId } : null
+}
+process.env.BETTER_AUTH_SECRET = 'a-secret-for-the-portal-chat'
+/** A photo this customer uploaded: its name says whose it is. */
+const photoNames = new Map<string, string>()
+const photoName = (customerId = 'kari', org = 'org1') => {
+  const key = `${org}:${customerId}`
+  if (!photoNames.has(key)) photoNames.set(key, portalUploadFileName(org, customerId, 'jpg'))
+  return photoNames.get(key) as string
+}
+const photo = (org = 'org1', customerId = 'kari') =>
+  `/api/protected/files/${org}/portal-uploads/${photoName(customerId, org)}`
+/** A file in the folder with an ordinary random name: staff uploaded it, or it is old. */
+const STAFF_PHOTO =
+  '/api/protected/files/org1/portal-uploads/11111111-1111-4111-8111-111111111111.jpg'
+
+beforeEach(() => {
+  state.rows = []
+  state.portalLive = true
+  state.messagesEnabled = true
+  state.clock = 0
+  notify.mockClear()
+  vi.spyOn(console, 'error').mockImplementation(() => undefined)
+  as('kari')
+})
+
+describe('a customer writes to the workshop', () => {
+  it('stores the message as theirs and answers it as the thread draws it', async () => {
+    const result = await sendPortalMessage({ body: '  Can I pick up after 16?  ' })
+    expect(result.success).toBe(true)
+    expect(result.data).toMatchObject({
+      direction: 'inbound',
+      body: 'Can I pick up after 16?',
+      attachments: [],
+      authorName: null,
+      readAt: null,
+    })
+    expect(state.rows).toHaveLength(1)
+    expect(state.rows[0]).toMatchObject({ customerId: 'kari', organizationId: 'org1' })
+  })
+
+  it('tells the workshop, with a link that opens the thread in its inbox', async () => {
+    await sendPortalMessage({ body: 'Can I pick up after 16?' })
+    expect(notify).toHaveBeenCalledWith(
+      expect.objectContaining({
+        organizationId: 'org1',
+        type: 'portal_inbound',
+        message: 'Kari Nordmann: Can I pick up after 16?',
+        entityUrl: '/messages?channel=portal&customerId=kari',
+      })
+    )
+  })
+
+  it('takes photos, and hands them back at the address a customer can open', async () => {
+    const result = await sendPortalMessage({ attachments: [photo()] })
+    expect(state.rows[0].attachments).toEqual([photo()])
+    expect(result.data?.attachments).toEqual([
+      { url: `/portal/org1/files/${photoName()}`, kind: 'image' },
+    ])
+  })
+
+  it('refuses a message with nothing in it', async () => {
+    expect(await sendPortalMessage({ body: '   ' })).toEqual({ success: false, error: 'empty' })
+    expect(state.rows).toHaveLength(0)
+  })
+
+  it('refuses a message longer than the limit', async () => {
+    const result = await sendPortalMessage({ body: 'x'.repeat(4001) })
+    expect(result.success).toBe(false)
+    expect(state.rows).toHaveLength(0)
+  })
+
+  it("refuses a file from another workshop or from the workshop's own folders", async () => {
+    for (const url of [
+      photo('org2'),
+      '/api/protected/files/org1/logos/logo.png',
+      'https://x.test/a.jpg',
+    ]) {
+      expect(await sendPortalMessage({ body: 'look', attachments: [url] })).toEqual({
+        success: false,
+        error: 'not_yours',
+      })
+    }
+    expect(state.rows).toHaveLength(0)
+  })
+
+  it("refuses another customer's upload, so it cannot be read by attaching it", async () => {
+    // Ola uploaded a photo and has not sent it, or has: Kari learnt its address.
+    const olas = photo('org1', 'ola')
+    expect(await sendPortalMessage({ body: 'look', attachments: [olas] })).toEqual({
+      success: false,
+      error: 'not_yours',
+    })
+    // Nor a photo the workshop's staff put in the folder for someone else.
+    expect((await sendPortalMessage({ attachments: [STAFF_PHOTO] })).error).toBe('not_yours')
+    // No message of Kari's mentions the file, which is what would open it to her.
+    expect(state.rows).toHaveLength(0)
+
+    as('ola')
+    expect((await sendPortalMessage({ attachments: [olas] })).success).toBe(true)
+  })
+
+  it('refuses while the workshop is being restored, and takes the message afterwards', async () => {
+    freezeOrganization('org1')
+    try {
+      expect(await sendPortalMessage({ body: 'Hello?' })).toEqual({
+        success: false,
+        error: 'restoring',
+      })
+      expect(state.rows).toHaveLength(0)
+      expect(notify).not.toHaveBeenCalled()
+    } finally {
+      unfreezeOrganization('org1')
+    }
+    expect((await sendPortalMessage({ body: 'Hello?' })).success).toBe(true)
+  })
+
+  it('refuses when the workshop has turned the chat off', async () => {
+    state.messagesEnabled = false
+    expect(await sendPortalMessage({ body: 'Hello?' })).toEqual({
+      success: false,
+      error: 'chat_off',
+    })
+    expect(state.rows).toHaveLength(0)
+    expect(notify).not.toHaveBeenCalled()
+  })
+
+  it('refuses when the portal itself is no longer on', async () => {
+    state.portalLive = false
+    expect((await sendPortalMessage({ body: 'Hello?' })).error).toBe('chat_off')
+  })
+
+  it('refuses a visitor who is not signed in', async () => {
+    as(null)
+    expect(await sendPortalMessage({ body: 'Hello?' })).toEqual({
+      success: false,
+      error: 'Not authenticated',
+    })
+  })
+
+  it('stops a customer who sends faster than a person types', async () => {
+    for (let i = 0; i < 12; i++) {
+      expect((await sendPortalMessage({ body: `message ${i}` })).success).toBe(true)
+    }
+    expect(await sendPortalMessage({ body: 'one more' })).toEqual({
+      success: false,
+      error: 'too_fast',
+    })
+    // Another customer is not held back by it.
+    as('ola')
+    expect((await sendPortalMessage({ body: 'Hi' })).success).toBe(true)
+  })
+})
+
+describe("a customer's thread is theirs alone", () => {
+  beforeEach(async () => {
+    as('ola')
+    await sendPortalMessage({ body: "Ola's private question" })
+    await sendPortalReply({ customerId: 'ola', body: 'Answer to Ola' })
+    as('kari')
+  })
+
+  it('shows a customer only their own messages', async () => {
+    await sendPortalMessage({ body: "Kari's question" })
+    const thread = await getPortalThread('fjordside')
+    expect(thread.data?.messages.map((message) => message.body)).toEqual(["Kari's question"])
+    expect(thread.data?.unread).toBe(0)
+  })
+
+  it('does not mark another customer read', async () => {
+    // Kari names Ola's unread answer by its id.
+    const olas = state.rows.find((row) => row.customerId === 'ola' && row.direction === 'outbound')
+    expect(await markPortalMessagesRead({ ids: [olas?.id] })).toEqual({
+      success: true,
+      data: { marked: 0, unread: 0 },
+    })
+    as('ola')
+    expect((await getPortalUnread()).data).toEqual({ unread: 1 })
+  })
+
+  it('refuses a session used at another workshop address', async () => {
+    expect((await getPortalThread('someone-else')).success).toBe(false)
+    as('eve', 'org2')
+    expect((await getPortalThread('fjordside')).success).toBe(false)
+  })
+
+  it('refuses the workshop reading or answering a customer of another workshop', async () => {
+    expect((await getPortalConversation('eve')).success).toBe(false)
+    expect((await sendPortalReply({ customerId: 'eve', body: 'Hi' })).success).toBe(false)
+    expect(state.rows.some((row) => row.customerId === 'eve')).toBe(false)
+  })
+})
+
+describe('the workshop answers in its inbox', () => {
+  it('lists the thread as the portal channel with what is unread', async () => {
+    await sendPortalMessage({ body: 'Can I pick up after 16?' })
+    await sendPortalMessage({ attachments: [photo()] })
+
+    const inbox = await getInboxThreads()
+    expect(inbox.data?.channels).toEqual(['portal'])
+    expect(inbox.data?.threads).toEqual([
+      expect.objectContaining({
+        key: 'portal:kari',
+        channel: 'portal',
+        customerId: 'kari',
+        name: 'Kari Nordmann',
+        contact: 'kari@example.com',
+        lastMessage: '[photo]',
+        lastDirection: 'inbound',
+        unread: 2,
+      }),
+    ])
+    expect(await countUnreadMessages('org1')).toBe(2)
+  })
+
+  it('keeps the thread listed, but is no channel to write on, once the chat is off', async () => {
+    await sendPortalMessage({ body: 'Hello' })
+    state.messagesEnabled = false
+    const inbox = await getInboxThreads()
+    expect(inbox.data?.channels).toEqual([])
+    expect(inbox.data?.threads).toHaveLength(1)
+    expect((await getPortalConversation('kari')).data).toMatchObject({ canReply: false })
+    expect((await sendPortalReply({ customerId: 'kari', body: 'Hi' })).success).toBe(false)
+  })
+
+  it('reads the thread when it is opened, and can put it back as unread', async () => {
+    await sendPortalMessage({ body: 'One' })
+    await sendPortalMessage({ body: 'Two' })
+    const thread = { channel: 'portal' as const, customerId: 'kari', contact: 'kari@example.com' }
+
+    // The conversation on screen says which messages it shows.
+    const shown = (await getPortalConversation('kari')).data?.messages.map((m) => m.id) ?? []
+    expect((await markPortalMessagesSeen({ customerId: 'kari', ids: shown })).data).toEqual({
+      marked: 2,
+    })
+    expect(await countUnreadMessages('org1')).toBe(0)
+    // The customer sees their last message was read.
+    expect((await getPortalThread('fjordside')).data?.messages.at(-1)?.readAt).not.toBeNull()
+
+    expect((await markThreadUnread(thread)).data).toEqual({ marked: 1 })
+    expect((await getInboxThreads()).data?.threads[0].unread).toBe(1)
+  })
+
+  it("puts the workshop's answer in the customer's thread, unread until they open it", async () => {
+    await sendPortalMessage({ body: 'Can I pick up after 16?' })
+    const reply = await sendPortalReply({ customerId: 'kari', body: 'Yes, we close at 17.' })
+    expect(reply.success).toBe(true)
+
+    // Answering is having read what the customer wrote.
+    expect(await countUnreadMessages('org1')).toBe(0)
+
+    const thread = await getPortalThread('fjordside')
+    expect(thread.data?.enabled).toBe(true)
+    expect(thread.data?.unread).toBe(1)
+    expect(thread.data?.messages.map((message) => [message.direction, message.body])).toEqual([
+      ['inbound', 'Can I pick up after 16?'],
+      ['outbound', 'Yes, we close at 17.'],
+    ])
+    // A customer knows the mechanic by first name.
+    expect(thread.data?.messages[1].authorName).toBe('Jonas')
+    expect((await getPortalUnread()).data).toEqual({ unread: 1 })
+
+    const shown = thread.data?.messages.map((message) => message.id) ?? []
+    expect((await markPortalMessagesRead({ ids: shown })).data).toEqual({ marked: 1, unread: 0 })
+    expect((await getPortalUnread()).data).toEqual({ unread: 0 })
+    // And the workshop sees that it was seen.
+    const conversation = await getPortalConversation('kari')
+    expect(conversation.data?.messages.at(-1)).toMatchObject({
+      body: 'Yes, we close at 17.',
+      authorName: 'Jonas Berg',
+    })
+    expect(conversation.data?.messages.at(-1)?.readAt).not.toBeNull()
+  })
+
+  it('leaves unread what the customer has not been shown', async () => {
+    await sendPortalReply({ customerId: 'kari', body: 'The car is on the lift.' })
+    const onScreen = (await getPortalThread('fjordside')).data?.messages.map((m) => m.id) ?? []
+    // A second answer arrives after the customer's page read the thread.
+    await sendPortalReply({ customerId: 'kari', body: 'Ready at 15:00.' })
+
+    expect((await markPortalMessagesRead({ ids: onScreen })).data).toEqual({ marked: 1, unread: 1 })
+    expect((await getPortalUnread()).data).toEqual({ unread: 1 })
+    const after = (await getPortalConversation('kari')).data?.messages ?? []
+    expect(after.map((message) => [message.body, message.readAt !== null])).toEqual([
+      ['The car is on the lift.', true],
+      // Not seen, so the workshop is not told it was.
+      ['Ready at 15:00.', false],
+    ])
+  })
+
+  it('marks nothing for a customer who names no message, or their own', async () => {
+    await sendPortalMessage({ body: 'Mine' })
+    expect((await markPortalMessagesRead({ ids: [] })).success).toBe(false)
+    expect((await markPortalMessagesRead({})).success).toBe(false)
+    expect((await markPortalMessagesRead({ ids: [state.rows[0].id] })).data).toMatchObject({
+      marked: 0,
+    })
+    expect(state.rows[0].readAt).toBeNull()
+  })
+
+  it('does not mark the thread read while the workshop is being restored', async () => {
+    await sendPortalReply({ customerId: 'kari', body: 'Ready at 15:00.' })
+    freezeOrganization('org1')
+    try {
+      expect((await markPortalMessagesRead({ ids: [state.rows[0].id] })).success).toBe(false)
+      expect(state.rows[0].readAt).toBeNull()
+    } finally {
+      unfreezeOrganization('org1')
+    }
+  })
+
+  it('leaves unread what the workshop has not been shown', async () => {
+    await sendPortalMessage({ body: 'One' })
+    const onScreen = (await getPortalConversation('kari')).data?.messages.map((m) => m.id) ?? []
+    // The customer writes again after the conversation was read from the server.
+    await sendPortalMessage({ body: 'Two' })
+
+    expect((await markPortalMessagesSeen({ customerId: 'kari', ids: onScreen })).data).toEqual({
+      marked: 1,
+    })
+    expect(await countUnreadMessages('org1')).toBe(1)
+    // The customer is told "seen" for the first message only.
+    const theirs = (await getPortalThread('fjordside')).data?.messages ?? []
+    expect(theirs.map((message) => message.readAt !== null)).toEqual([true, false])
+    // Opening a thread in the list no longer stamps everything in it.
+    const row = { channel: 'portal' as const, customerId: 'kari', contact: 'kari@example.com' }
+    expect((await markThreadRead(row)).data).toEqual({ marked: 0 })
+    expect(await countUnreadMessages('org1')).toBe(1)
+  })
+
+  it("does not mark another workshop's or another customer's messages seen", async () => {
+    await sendPortalMessage({ body: "Kari's" })
+    const id = state.rows[0].id
+    expect((await markPortalMessagesSeen({ customerId: 'ola', ids: [id] })).data).toEqual({
+      marked: 0,
+    })
+    expect(state.rows[0].readAt).toBeNull()
+  })
+
+  it('refuses an empty answer', async () => {
+    expect((await sendPortalReply({ customerId: 'kari', body: '  ' })).success).toBe(false)
+  })
+
+  it('deletes a thread for both sides', async () => {
+    await sendPortalMessage({ body: 'Hello' })
+    await sendPortalReply({ customerId: 'kari', body: 'Hi' })
+    expect((await deletePortalConversation('kari')).data).toEqual({ deleted: 2 })
+    expect((await getPortalThread('fjordside')).data?.messages).toEqual([])
+    expect((await getInboxThreads()).data?.threads).toEqual([])
+  })
+})

+ 248 - 0
src/__tests__/features/portal/portal-detail-actions.test.ts

@@ -0,0 +1,248 @@
+import { beforeEach, describe, expect, it, vi } from 'vitest'
+
+/**
+ * A signed-in customer opens one quote or one inspection in the portal. Only
+ * their own, in this workshop, and never a quote that is still the workshop's
+ * draft: anything else comes back as nothing, which the page turns into a 404.
+ */
+
+type Quote = {
+  id: string
+  title: string
+  status: string
+  customerId: string
+  organizationId: string
+  sentAt?: Date | null
+  sharedAt?: Date | null
+}
+
+type Inspection = {
+  id: string
+  organizationId: string
+  vehicle: { customerId: string; organizationId: string }
+}
+
+const quotes: Quote[] = []
+const inspections: Inspection[] = []
+
+/**
+ * The parts of a Prisma `where` these actions use (equals, `not`, `in`, `OR`,
+ * one nested relation), applied to plain rows. A key it does not understand
+ * fails the row, so a new condition cannot pass by being ignored.
+ */
+function matches(row: Record<string, unknown>, where: Record<string, unknown>): boolean {
+  for (const [key, cond] of Object.entries(where)) {
+    if (key === 'OR') {
+      if (!(cond as Record<string, unknown>[]).some((w) => matches(row, w))) return false
+      continue
+    }
+    const value = row[key] ?? null
+    if (cond !== null && typeof cond === 'object') {
+      const c = cond as Record<string, unknown>
+      if (value !== null && typeof value === 'object' && !(value instanceof Date)) {
+        if (!matches(value as Record<string, unknown>, c)) return false
+        continue
+      }
+      for (const op of Object.keys(c)) {
+        if (op === 'not') {
+          if (c.not === null ? value === null : value === c.not) return false
+        } else if (op === 'in') {
+          if (!(c.in as unknown[]).includes(value)) return false
+        } else {
+          return false
+        }
+      }
+    } else if (value !== cond) {
+      return false
+    }
+  }
+  return true
+}
+
+vi.mock('@/lib/db', () => ({
+  db: {
+    quote: {
+      findFirst: vi.fn(async ({ where }: { where: Record<string, unknown> }) => {
+        const q = quotes.find((row) => matches(row, where))
+        return q
+          ? {
+              ...q,
+              quoteNumber: 'Q-1001',
+              totalAmount: 4200,
+              validUntil: null,
+              createdAt: new Date('2026-11-01T10:00:00Z'),
+              publicToken: null,
+              vehicle: null,
+              vehicleId: null,
+              inspectionId: null,
+              userId: 'u1',
+              partItems: [],
+              laborItems: [],
+              customer: null,
+            }
+          : null
+      }),
+    },
+    inspection: {
+      findFirst: vi.fn(async ({ where }: { where: Record<string, unknown> }) => {
+        const found = inspections.find((row) => matches(row, where))
+        return found
+          ? {
+              id: found.id,
+              status: 'completed',
+              mileage: null,
+              notes: null,
+              completedAt: new Date('2026-11-01T10:00:00Z'),
+              createdAt: new Date('2026-11-01T09:00:00Z'),
+              publicToken: null,
+              severityScale: 'basic',
+              country: null,
+              nextTestDue: null,
+              certificateNumber: null,
+              vehicle: { make: 'Volvo', model: 'V70', year: 2015, vin: null, licensePlate: null },
+              template: { name: 'Winter check', severityScale: 'basic', country: null },
+              items: [],
+            }
+          : null
+      }),
+    },
+    appSetting: {
+      findMany: vi.fn(async () => []),
+      findFirst: vi.fn(async () => null),
+    },
+    organization: { findUnique: vi.fn(async () => ({ name: 'Fjord Motors' })) },
+  },
+}))
+vi.mock('@/lib/customer-session', () => ({
+  getCustomerSession: vi.fn(async () => ({ customerId: 'c1', organizationId: 'org1' })),
+}))
+vi.mock('next/headers', () => ({ headers: async () => new Headers() }))
+vi.mock('@/i18n/locale-from-request', () => ({ resolveCustomerLocale: async () => 'en' }))
+vi.mock('@/features/invoice-designer/Pdf/printLabels', () => ({
+  loadPrintLabels: async () => ({}),
+}))
+vi.mock('@/features/condition-map/Lib/loadMarks.server', () => ({
+  quoteConditionMap: async () => undefined,
+}))
+vi.mock('@/features/inspections/Lib/linkedInspectionResults.server', () => ({
+  inspectionResultsFor: async () => null,
+}))
+vi.mock('@/features/custom-fields/Lib/getCustomFieldsForPrint', () => ({
+  getCustomFieldsForPrint: async () => [],
+}))
+vi.mock('@/features/signatures/Lib/memberSignature.server', () => ({
+  documentSigner: async () => ({ name: '' }),
+}))
+vi.mock('@/lib/features', () => ({ getFeatures: async () => ({ brandingRemoved: true }) }))
+vi.mock('@/lib/torqvoice-branding', () => ({ getTorqvoiceLogoDataUri: async () => undefined }))
+vi.mock('@/features/invoice-designer/Pdf/buildQuotePrint', () => ({
+  buildQuotePrintSpec: () => ({ pages: [] }),
+}))
+vi.mock('@/features/vehicles/Lib/typeKeySetting', () => ({
+  gateTypeKey: <T>(vehicle: T) => vehicle,
+  typeKeyEnabledIn: () => false,
+  isTypeKeyEnabled: async () => false,
+}))
+
+import { getPortalInspection } from '@/features/portal/Actions/getPortalInspection'
+import { getPortalQuote } from '@/features/portal/Actions/getPortalQuote'
+
+beforeEach(() => {
+  quotes.length = 0
+  inspections.length = 0
+})
+
+describe('one quote in the customer portal', () => {
+  it('opens a quote the workshop sent to this customer', async () => {
+    quotes.push({
+      id: 'q1',
+      title: 'Brake overhaul',
+      status: 'sent',
+      customerId: 'c1',
+      organizationId: 'org1',
+    })
+    const result = await getPortalQuote('q1')
+    expect(result.success).toBe(true)
+    expect(result.data?.title).toBe('Brake overhaul')
+    expect(result.data?.totalAmount).toBe(4200)
+  })
+
+  it("refuses another customer's quote in the same workshop", async () => {
+    quotes.push({
+      id: 'q1',
+      title: 'Brake overhaul',
+      status: 'sent',
+      customerId: 'someone-else',
+      organizationId: 'org1',
+    })
+    const result = await getPortalQuote('q1')
+    expect(result.success).toBe(true)
+    expect(result.data).toBeNull()
+  })
+
+  it("refuses the same customer id's quote in another workshop", async () => {
+    quotes.push({
+      id: 'q1',
+      title: 'Brake overhaul',
+      status: 'sent',
+      customerId: 'c1',
+      organizationId: 'org2',
+    })
+    expect((await getPortalQuote('q1')).data).toBeNull()
+  })
+
+  it('refuses a draft, even one with a send recorded', async () => {
+    quotes.push({
+      id: 'q1',
+      title: 'Brake overhaul',
+      status: 'draft',
+      customerId: 'c1',
+      organizationId: 'org1',
+      sentAt: new Date('2026-11-01T10:00:00Z'),
+    })
+    expect((await getPortalQuote('q1')).data).toBeNull()
+  })
+
+  it('refuses a draft turned straight into a work order without being sent', async () => {
+    quotes.push({
+      id: 'q1',
+      title: 'Clutch kit',
+      status: 'converted',
+      customerId: 'c1',
+      organizationId: 'org1',
+    })
+    expect((await getPortalQuote('q1')).data).toBeNull()
+  })
+})
+
+describe('one inspection in the customer portal', () => {
+  it("opens an inspection on the customer's own vehicle", async () => {
+    inspections.push({
+      id: 'i1',
+      organizationId: 'org1',
+      vehicle: { customerId: 'c1', organizationId: 'org1' },
+    })
+    const result = await getPortalInspection('i1')
+    expect(result.data?.template.name).toBe('Winter check')
+  })
+
+  it("refuses an inspection on another customer's vehicle", async () => {
+    inspections.push({
+      id: 'i1',
+      organizationId: 'org1',
+      vehicle: { customerId: 'someone-else', organizationId: 'org1' },
+    })
+    const result = await getPortalInspection('i1')
+    expect(result.success).toBe(true)
+    expect(result.data).toBeNull()
+  })
+
+  it('refuses an inspection in another workshop', async () => {
+    inspections.push({
+      id: 'i1',
+      organizationId: 'org2',
+      vehicle: { customerId: 'c1', organizationId: 'org2' },
+    })
+    expect((await getPortalInspection('i1')).data).toBeNull()
+  })
+})

+ 112 - 0
src/__tests__/features/portal/portal-file-route.test.ts

@@ -0,0 +1,112 @@
+// @vitest-environment node
+/**
+ * A customer reading a photo from their chat or their booking. The file is
+ * theirs when one of their own messages or requests mentions it; a name
+ * alone opens nothing, and another customer's photo answers exactly as a
+ * file that does not exist.
+ */
+import { beforeEach, describe, expect, it, vi } from 'vitest'
+
+const { portalMessage, serviceRequest, getCustomerSession, stat, readFile } = vi.hoisted(() => ({
+  portalMessage: { findFirst: vi.fn() },
+  serviceRequest: { findFirst: vi.fn() },
+  getCustomerSession: vi.fn(),
+  stat: vi.fn(),
+  readFile: vi.fn(),
+}))
+vi.mock('@/lib/db', () => ({ db: { portalMessage, serviceRequest } }))
+vi.mock('@/lib/customer-session', () => ({ getCustomerSession: () => getCustomerSession() }))
+vi.mock('@/lib/portal-slug', () => ({
+  resolvePortalOrg: async (param: string) =>
+    param === 'fjordside' || param === 'org1' ? { id: 'org1', name: 'Fjordside Auto' } : null,
+}))
+vi.mock('@/lib/rate-limit', () => ({ rateLimit: () => null }))
+vi.mock('@/lib/upload-root', () => ({ uploadsRoot: () => '/data/uploads' }))
+vi.mock('@/lib/files/manager', () => ({
+  isGeneratedName: (name: string) => /^[0-9a-f-]{36}\.[a-z0-9]{1,8}$/.test(name),
+}))
+vi.mock('node:fs/promises', () => ({
+  stat: (path: string) => stat(path),
+  readFile: (path: string) => readFile(path),
+  open: vi.fn(),
+}))
+
+import { GET } from '@/app/(public)/portal/[orgId]/files/[name]/route'
+
+const NAME = '11111111-1111-4111-8111-111111111111.jpg'
+const STORED = `/api/protected/files/org1/portal-uploads/${NAME}`
+const read = (name = NAME, orgId = 'fjordside') =>
+  GET(new Request(`https://app.test/portal/${orgId}/files/${name}`), {
+    params: Promise.resolve({ orgId, name }),
+  })
+
+beforeEach(() => {
+  vi.clearAllMocks()
+  getCustomerSession.mockResolvedValue({ customerId: 'kari', organizationId: 'org1' })
+  portalMessage.findFirst.mockResolvedValue(null)
+  serviceRequest.findFirst.mockResolvedValue(null)
+  stat.mockResolvedValue({ size: 3 })
+  readFile.mockResolvedValue(Buffer.from('jpg'))
+})
+
+describe("reading a file from the customer's portal", () => {
+  it('serves a photo one of their own messages mentions', async () => {
+    portalMessage.findFirst.mockResolvedValue({ id: 'pm1' })
+    const response = await read()
+    expect(response.status).toBe(200)
+    expect(response.headers.get('Content-Type')).toBe('image/jpeg')
+    expect(response.headers.get('Cache-Control')).toContain('private')
+    expect(readFile).toHaveBeenCalledWith(`/data/uploads/org1/portal-uploads/${NAME}`)
+    // Looked up as this customer's, in this workshop, by the stored url.
+    expect(portalMessage.findFirst).toHaveBeenCalledWith(
+      expect.objectContaining({
+        where: { organizationId: 'org1', customerId: 'kari', attachments: { has: STORED } },
+      })
+    )
+  })
+
+  it('serves a photo they sent with a request for a visit', async () => {
+    serviceRequest.findFirst.mockResolvedValue({ id: 'sr1' })
+    expect((await read()).status).toBe(200)
+    expect(serviceRequest.findFirst).toHaveBeenCalledWith(
+      expect.objectContaining({
+        where: { organizationId: 'org1', customerId: 'kari', attachments: { has: STORED } },
+      })
+    )
+  })
+
+  it('refuses a file none of their own records mentions, without touching the disk', async () => {
+    // The file exists and belongs to another customer of the same workshop.
+    const response = await read()
+    expect(response.status).toBe(404)
+    expect(stat).not.toHaveBeenCalled()
+    expect(readFile).not.toHaveBeenCalled()
+  })
+
+  it('refuses a visitor who is not signed in', async () => {
+    getCustomerSession.mockResolvedValue(null)
+    expect((await read()).status).toBe(401)
+    expect(portalMessage.findFirst).not.toHaveBeenCalled()
+  })
+
+  it('refuses a customer of another workshop, whatever the address says', async () => {
+    getCustomerSession.mockResolvedValue({ customerId: 'eve', organizationId: 'org2' })
+    portalMessage.findFirst.mockResolvedValue({ id: 'pm1' })
+    expect((await read()).status).toBe(404)
+    expect(readFile).not.toHaveBeenCalled()
+  })
+
+  it('refuses a name that is not one the upload route makes', async () => {
+    portalMessage.findFirst.mockResolvedValue({ id: 'pm1' })
+    for (const name of ['..%2F..%2Fsecret.jpg', '../logo.png', 'logo.png', '.env']) {
+      expect((await read(name)).status).toBe(404)
+    }
+    expect(readFile).not.toHaveBeenCalled()
+  })
+
+  it('answers 404 for a mentioned file that is no longer on disk', async () => {
+    portalMessage.findFirst.mockResolvedValue({ id: 'pm1' })
+    stat.mockRejectedValue(new Error('ENOENT'))
+    expect((await read()).status).toBe(404)
+  })
+})

+ 113 - 0
src/__tests__/features/portal/portal-format.test.ts

@@ -0,0 +1,113 @@
+/**
+ * How the portal prints dates and times: on the workshop's clock, in the
+ * portal's language. The workshop is in Auckland (UTC+13 in November), so a
+ * moment that is still yesterday in UTC is already today there.
+ */
+
+import { describe, expect, it } from 'vitest'
+import { buildPortalFormat } from '@/features/portal/Lib/portalFormat'
+
+// 18 Nov 2026, 11:00 in Auckland; still 17 Nov in UTC.
+const now = new Date('2026-11-17T22:00:00Z')
+
+const make = (locale: string, timeFormat: '12h' | '24h') =>
+  buildPortalFormat({
+    locale,
+    timeZone: 'Pacific/Auckland',
+    timeFormat,
+    money: (amount) => `${amount} kr`,
+    today: locale === 'nb' ? 'i dag' : 'today',
+    tomorrow: locale === 'nb' ? 'i morgen' : 'tomorrow',
+    now,
+  })
+
+// 08:12 on 18 Nov in Auckland.
+const morning = '2026-11-17T19:12:00Z'
+// 15:05 on 19 Nov in Auckland.
+const tomorrowAfternoon = '2026-11-19T02:05:00Z'
+// 09:00 on 3 Dec in Auckland, though 2 Dec in UTC.
+const later = '2026-12-02T20:00:00Z'
+// 10:00 on 4 Feb 2027 in Auckland.
+const nextYear = '2027-02-03T21:00:00Z'
+
+describe('portal dates and times, en-GB', () => {
+  const f24 = make('en-GB', '24h')
+  const f12 = make('en-GB', '12h')
+
+  it('prints the day on the workshop calendar, with the year only when it is not this one', () => {
+    expect(f24.day(later)).toBe('3 Dec')
+    expect(f24.day(nextYear)).toBe('4 Feb 2027')
+  })
+
+  it('prints the long day with its weekday', () => {
+    expect(f24.dayLong(later)).toBe('Thursday 3 December')
+  })
+
+  it('prints a 24 hour time with a two-digit hour', () => {
+    expect(f24.time(morning)).toBe('08:12')
+    expect(f24.time(tomorrowAfternoon)).toBe('15:05')
+  })
+
+  it('prints a 12 hour time without the leading zero', () => {
+    expect(f12.time(morning)).toMatch(/^8:12\sam$/i)
+    expect(f12.time(tomorrowAfternoon)).toMatch(/^3:05\spm$/i)
+  })
+
+  it('names today and tomorrow on the workshop calendar, and any other day by date', () => {
+    expect(f24.relativeDay(morning)).toBe('today')
+    expect(f24.relativeDay(tomorrowAfternoon)).toBe('tomorrow')
+    expect(f24.relativeDay(later)).toBe('3 Dec')
+  })
+
+  it('prints a bare opening time as it stands, in either clock', () => {
+    expect(f24.clock('07:00')).toBe('07:00')
+    expect(f24.clock('16:30')).toBe('16:30')
+    expect(f12.clock('07:00')).toMatch(/^7:00\sam$/i)
+    expect(f12.clock('16:30')).toMatch(/^4:30\spm$/i)
+  })
+})
+
+describe('portal dates and times, Norwegian', () => {
+  const f24 = make('nb', '24h')
+
+  it('prints the day in Norwegian', () => {
+    expect(f24.day(later)).toBe('3. des.')
+    expect(f24.day(nextYear)).toBe('4. feb. 2027')
+    expect(f24.dayLong(later)).toBe('torsdag 3. desember')
+  })
+
+  it('prints times with a two-digit hour', () => {
+    expect(f24.time(morning)).toBe('08:12')
+    expect(f24.clock('07:00')).toBe('07:00')
+  })
+
+  it('names today and tomorrow in the portal language', () => {
+    expect(f24.relativeDay(morning)).toBe('i dag')
+    expect(f24.relativeDay(tomorrowAfternoon)).toBe('i morgen')
+    expect(f24.relativeDay(later)).toBe('3. des.')
+  })
+})
+
+describe('tread depth', () => {
+  const base = {
+    timeZone: 'Pacific/Auckland',
+    timeFormat: '24h' as const,
+    money: (amount: number) => `${amount} kr`,
+    today: 'today',
+    tomorrow: 'tomorrow',
+    now,
+  }
+
+  it('is millimetres to one decimal, without a trailing zero, in the language of the page', () => {
+    const en = buildPortalFormat({ ...base, locale: 'en-GB' })
+    expect(en.tread(5)).toBe('5 mm')
+    expect(en.tread(4.26)).toBe('4.3 mm')
+    expect(buildPortalFormat({ ...base, locale: 'nb' }).tread(4.5)).toBe('4,5 mm')
+  })
+
+  it('is whole 32nds of an inch for a workshop that measures in inches', () => {
+    const imperial = buildPortalFormat({ ...base, locale: 'en-US', imperial: true })
+    expect(imperial.tread(4.8)).toBe('6/32″')
+    expect(imperial.tread(1.6)).toBe('2/32″')
+  })
+})

+ 320 - 0
src/__tests__/features/portal/portal-frame.test.tsx

@@ -0,0 +1,320 @@
+/**
+ * The portal's frame, as Daylight draws it: the five places to go with the
+ * current one marked, unread messages on the Messages tab, the workshop's
+ * name and today's hours always on screen, and the customer's way out.
+ */
+
+import { render, screen, within } from '@testing-library/react'
+import userEvent from '@testing-library/user-event'
+import { beforeEach, describe, expect, it, vi } from 'vitest'
+import { workshop } from './helpers/fixtures'
+
+const nav = vi.hoisted(() => ({ pathname: '/portal/fjordside/dashboard' }))
+const router = vi.hoisted(() => ({ push: vi.fn(), refresh: vi.fn() }))
+
+vi.mock('server-only', () => ({}))
+vi.mock('next/navigation', () => ({
+  usePathname: () => nav.pathname,
+  useRouter: () => router,
+  redirect: vi.fn((to: string) => {
+    throw new Error(`redirect:${to}`)
+  }),
+}))
+vi.mock('next-intl/server', async () => (await import('./helpers/serverIntl')).serverIntl)
+vi.mock('@/lib/db', () => ({ db: { customer: { findUnique: vi.fn() } } }))
+vi.mock('@/lib/customer-session', () => ({
+  getCustomerSession: vi.fn(async () => ({ customerId: 'c1', organizationId: 'org1' })),
+}))
+vi.mock('@/lib/portal-slug', () => ({
+  resolvePortalOrg: vi.fn(async () => ({ id: 'org1', name: 'Fjordside Auto' })),
+}))
+vi.mock('@/features/portal/Lib/portalLive', () => ({ isPortalLive: vi.fn(async () => true) }))
+vi.mock('@/features/portal/Lib/portalLook.server', () => ({ loadPortalLook: vi.fn() }))
+vi.mock('@/features/portal/Lib/workshop.server', () => ({ loadPortalWorkshop: vi.fn() }))
+vi.mock('@/features/portal/Lib/chat.server', () => ({ countPortalUnread: vi.fn(async () => 2) }))
+
+import { PortalDocumentsTabs } from '@/features/portal/Components/PortalDocumentsTabs'
+import { PortalShell } from '@/features/portal/Components/PortalShell'
+import { Chrome } from '@/features/portal/Components/Themes/Daylight/Chrome'
+import type { PortalChromeProps } from '@/features/portal/Components/Themes/types'
+import { countPortalUnread } from '@/features/portal/Lib/chat.server'
+import { isPortalLive } from '@/features/portal/Lib/portalLive'
+import { loadPortalLook } from '@/features/portal/Lib/portalLook.server'
+import { DEFAULT_PORTAL_LOOK } from '@/features/portal/Lib/theme'
+import { loadPortalWorkshop } from '@/features/portal/Lib/workshop.server'
+import { getCustomerSession } from '@/lib/customer-session'
+import { db } from '@/lib/db'
+
+function chrome(over: Partial<PortalChromeProps> = {}) {
+  return render(
+    <Chrome
+      orgParam="fjordside"
+      workshop={workshop}
+      customerName="Kari Nordmann"
+      marine={false}
+      messagesEnabled
+      unreadMessages={0}
+      {...over}
+    >
+      <p>Page body</p>
+    </Chrome>
+  )
+}
+
+/** The phone's tab bar is the second of the two navigations, after the desk bar's. */
+const tabBar = () => screen.getAllByRole('navigation', { name: 'Main' })[1]
+const deskBar = () => screen.getAllByRole('navigation', { name: 'Main' })[0]
+
+describe('the phone tab bar', () => {
+  beforeEach(() => {
+    nav.pathname = '/portal/fjordside/dashboard'
+  })
+
+  it('offers Home, Messages, Book, My cars and Papers, each going where it says', () => {
+    chrome()
+    const links = within(tabBar()).getAllByRole('link')
+    expect(links.map((a) => [a.textContent, a.getAttribute('href')])).toEqual([
+      ['Home', '/portal/fjordside/dashboard'],
+      ['Messages', '/portal/fjordside/messages'],
+      ['Book', '/portal/fjordside/request-service'],
+      ['My cars', '/portal/fjordside/vehicles'],
+      ['Papers', '/portal/fjordside/documents'],
+    ])
+  })
+
+  it('marks Home on the home page and nothing else', () => {
+    chrome()
+    const bar = within(tabBar())
+    expect(bar.getByRole('link', { name: 'Home' })).toHaveAttribute('aria-current', 'page')
+    expect(bar.getByRole('link', { name: 'Book' })).not.toHaveAttribute('aria-current')
+  })
+
+  it.each([
+    '/portal/fjordside/invoices',
+    '/portal/fjordside/invoices/inv1',
+    '/portal/fjordside/quotes',
+    '/portal/fjordside/inspections',
+    '/portal/fjordside/documents',
+  ])('marks Papers on %s', (pathname) => {
+    nav.pathname = pathname
+    chrome()
+    const bar = within(tabBar())
+    expect(bar.getByRole('link', { name: 'Papers' })).toHaveAttribute('aria-current', 'page')
+    expect(bar.getByRole('link', { name: 'Home' })).not.toHaveAttribute('aria-current')
+  })
+
+  it('marks My cars on a car page and Messages on the chat', () => {
+    nav.pathname = '/portal/fjordside/vehicles/v1'
+    const { unmount } = chrome()
+    expect(within(tabBar()).getByRole('link', { name: 'My cars' })).toHaveAttribute(
+      'aria-current',
+      'page'
+    )
+    unmount()
+    nav.pathname = '/portal/fjordside/messages'
+    chrome()
+    expect(within(tabBar()).getByRole('link', { name: /Messages/ })).toHaveAttribute(
+      'aria-current',
+      'page'
+    )
+  })
+
+  it('shows how many messages are unread on the Messages tab, in words too', () => {
+    chrome({ unreadMessages: 3 })
+    const messages = within(tabBar()).getByRole('link', { name: /Messages/ })
+    expect(messages).toHaveTextContent('3')
+    expect(messages).toHaveAccessibleName(/3 unread messages/)
+  })
+
+  it('shows no badge when everything is read', () => {
+    chrome({ unreadMessages: 0 })
+    expect(within(tabBar()).getByRole('link', { name: 'Messages' })).toHaveTextContent(/^Messages$/)
+  })
+
+  it('leaves Messages out when the workshop turned the chat off', () => {
+    chrome({ messagesEnabled: false })
+    const links = within(tabBar()).getAllByRole('link')
+    expect(links.map((a) => a.textContent)).toEqual(['Home', 'Book', 'My cars', 'Papers'])
+    expect(screen.queryByRole('link', { name: /Messages/ })).not.toBeInTheDocument()
+  })
+
+  it('says boats for a marine workshop', () => {
+    chrome({ marine: true })
+    expect(within(tabBar()).getByRole('link', { name: 'My boats' })).toBeInTheDocument()
+  })
+})
+
+describe('the top bar', () => {
+  beforeEach(() => {
+    nav.pathname = '/portal/fjordside/quotes'
+  })
+
+  it('shows the workshop name, linking home, and whether it is open', () => {
+    chrome()
+    expect(screen.getByRole('link', { name: 'Fjordside Auto, home' })).toHaveAttribute(
+      'href',
+      '/portal/fjordside/dashboard'
+    )
+    expect(screen.getAllByText('Open until 17:00').length).toBeGreaterThan(0)
+  })
+
+  it('names the places in full on a desk, with the open one marked', () => {
+    chrome()
+    const links = within(deskBar()).getAllByRole('link')
+    expect(links.map((a) => a.textContent)).toEqual(['Home', 'My cars', 'Invoices and quotes'])
+    expect(within(deskBar()).getByRole('link', { name: 'Invoices and quotes' })).toHaveAttribute(
+      'aria-current',
+      'page'
+    )
+  })
+
+  it('has Book a visit as its one button', () => {
+    chrome()
+    expect(screen.getByRole('link', { name: 'Book a visit' })).toHaveAttribute(
+      'href',
+      '/portal/fjordside/request-service'
+    )
+  })
+
+  it('offers no way to change how the portal looks', () => {
+    chrome()
+    expect(screen.queryByText(/Overview|Timeline|Headline|theme/i)).not.toBeInTheDocument()
+  })
+
+  it("shows the customer's initials on a labelled account button", () => {
+    chrome()
+    expect(screen.getByRole('button', { name: 'Your account, Kari Nordmann' })).toHaveTextContent(
+      'KN'
+    )
+  })
+
+  it('opens a menu with their name and Sign out, and closes it on Escape', async () => {
+    const user = userEvent.setup()
+    chrome()
+    const account = screen.getByRole('button', { name: /Your account/ })
+    await user.click(account)
+    const menu = screen.getByRole('menu')
+    expect(within(menu).getByText('Kari Nordmann')).toBeInTheDocument()
+    expect(within(menu).getByRole('menuitem', { name: 'Sign out' })).toHaveFocus()
+    await user.keyboard('{Escape}')
+    expect(screen.queryByRole('menu')).not.toBeInTheDocument()
+    expect(account).toHaveFocus()
+  })
+
+  it('signs the customer out and takes them to the sign-in page', async () => {
+    const fetchMock = vi.fn(async () => new Response('{}'))
+    vi.stubGlobal('fetch', fetchMock)
+    const user = userEvent.setup()
+    chrome()
+    await user.click(screen.getByRole('button', { name: /Your account/ }))
+    await user.click(screen.getByRole('menuitem', { name: 'Sign out' }))
+    expect(fetchMock).toHaveBeenCalledWith('/portal/fjordside/auth/logout', {
+      method: 'POST',
+    })
+    expect(router.push).toHaveBeenCalledWith('/portal/fjordside/auth/login')
+    vi.unstubAllGlobals()
+  })
+})
+
+describe('the foot of the page', () => {
+  beforeEach(() => {
+    nav.pathname = '/portal/fjordside/vehicles'
+  })
+
+  it("has the workshop's phone and address, each a link", () => {
+    chrome()
+    const footer = screen.getByRole('contentinfo')
+    expect(within(footer).getByRole('link', { name: 'Call 55 00 00 00' })).toHaveAttribute(
+      'href',
+      'tel:55000000'
+    )
+    expect(
+      within(footer).getByRole('link', { name: 'Open Strandgaten 14, Bergen in maps' })
+    ).toHaveAttribute('href', expect.stringContaining('Strandgaten%2014'))
+  })
+
+  it('is left out when the workshop has set neither, and under the chat', () => {
+    const { unmount } = chrome({
+      workshop: { ...workshop, phone: null, phoneHref: null, address: null, directionsUrl: null },
+    })
+    expect(screen.queryByRole('contentinfo')).not.toBeInTheDocument()
+    unmount()
+    nav.pathname = '/portal/fjordside/messages'
+    chrome()
+    expect(screen.queryByRole('contentinfo')).not.toBeInTheDocument()
+  })
+})
+
+describe('the shell', () => {
+  beforeEach(() => {
+    nav.pathname = '/portal/fjordside/dashboard'
+    vi.mocked(db.customer.findUnique).mockResolvedValue({ name: 'Kari Nordmann' } as never)
+    vi.mocked(loadPortalLook).mockResolvedValue(DEFAULT_PORTAL_LOOK)
+    vi.mocked(loadPortalWorkshop).mockResolvedValue({ ...workshop, marine: false })
+    vi.mocked(isPortalLive).mockResolvedValue(true)
+    vi.mocked(getCustomerSession).mockResolvedValue({ customerId: 'c1', organizationId: 'org1' })
+    vi.mocked(countPortalUnread).mockResolvedValue(2)
+  })
+
+  const shell = async (props: { bare?: boolean } = {}) =>
+    render(await PortalShell({ orgId: 'fjordside', ...props, children: <p>Page body</p> }))
+
+  it('draws the page inside the frame, with the unread count it read for this customer', async () => {
+    await shell()
+    expect(screen.getByText('Page body')).toBeInTheDocument()
+    expect(screen.getByRole('button', { name: 'Your account, Kari Nordmann' })).toBeInTheDocument()
+    expect(within(tabBar()).getByRole('link', { name: /Messages/ })).toHaveAccessibleName(
+      /2 unread messages/
+    )
+    expect(countPortalUnread).toHaveBeenCalledWith('org1', 'c1')
+  })
+
+  it('gives an ordinary page the page box, and a bare page the whole width', async () => {
+    const { unmount } = await shell()
+    expect(screen.getByText('Page body').parentElement).toHaveClass('p-page')
+    unmount()
+    await shell({ bare: true })
+    expect(screen.getByText('Page body').parentElement).not.toHaveClass('p-page')
+  })
+
+  it('does not count messages for a workshop that turned the chat off', async () => {
+    vi.mocked(countPortalUnread).mockClear()
+    vi.mocked(loadPortalLook).mockResolvedValue({ ...DEFAULT_PORTAL_LOOK, messagesEnabled: false })
+    await shell()
+    expect(countPortalUnread).not.toHaveBeenCalled()
+    expect(screen.queryByRole('link', { name: /Messages/ })).not.toBeInTheDocument()
+  })
+
+  it('still draws the page when the unread count cannot be read', async () => {
+    vi.mocked(countPortalUnread).mockRejectedValue(new Error('db down'))
+    await shell()
+    expect(screen.getByText('Page body')).toBeInTheDocument()
+  })
+
+  it('sends someone who is not signed in to this workshop to the sign-in page', async () => {
+    vi.mocked(getCustomerSession).mockResolvedValue(null)
+    await expect(shell()).rejects.toThrow('redirect:/portal/fjordside/auth/login')
+    vi.mocked(getCustomerSession).mockResolvedValue({ customerId: 'c9', organizationId: 'other' })
+    await expect(shell()).rejects.toThrow('redirect:/portal/fjordside/auth/login')
+  })
+
+  it('says so, and shows no page, when the workshop has not opened its portal', async () => {
+    vi.mocked(isPortalLive).mockResolvedValue(false)
+    await shell()
+    expect(screen.getByRole('heading', { name: 'Not available' })).toBeInTheDocument()
+    expect(screen.queryByText('Page body')).not.toBeInTheDocument()
+  })
+})
+
+describe('the document tabs', () => {
+  it('links the three lists and marks the open one', async () => {
+    render(await PortalDocumentsTabs({ orgId: 'fjordside', active: 'quotes' }))
+    const tabs = within(screen.getByRole('navigation', { name: 'Documents' })).getAllByRole('link')
+    expect(tabs.map((a) => [a.textContent, a.getAttribute('href')])).toEqual([
+      ['Invoices', '/portal/fjordside/invoices'],
+      ['Quotes', '/portal/fjordside/quotes'],
+      ['Inspections', '/portal/fjordside/inspections'],
+    ])
+    expect(screen.getByRole('link', { name: 'Quotes' })).toHaveAttribute('aria-current', 'page')
+  })
+})

+ 133 - 0
src/__tests__/features/portal/portal-inspection-page.test.tsx

@@ -0,0 +1,133 @@
+/**
+ * The inspection read in the portal: the odometer reading carries the
+ * workshop's unit, the way the vehicle page prints it, so a customer is not
+ * left to guess between miles and kilometres.
+ */
+import fs from 'node:fs'
+import path from 'node:path'
+import { IntlMessageFormat } from 'intl-messageformat'
+import { render, screen } from '@testing-library/react'
+import { beforeEach, describe, expect, it, vi } from 'vitest'
+
+vi.mock('server-only', () => ({}))
+vi.mock('next/navigation', () => ({
+  notFound: vi.fn(() => {
+    throw new Error('NEXT_NOT_FOUND')
+  }),
+}))
+vi.mock('next-intl/server', () => ({
+  getLocale: async () => 'en',
+  getTranslations: async (namespace: string) => {
+    const [file, ...rest] = namespace.split('.')
+    let messages: unknown = JSON.parse(
+      fs.readFileSync(path.resolve(process.cwd(), `messages/en/${file}.json`), 'utf-8')
+    )
+    for (const seg of rest) messages = (messages as Record<string, unknown>)[seg]
+    return (key: string, values?: Record<string, unknown>) => {
+      let tpl: unknown = messages
+      for (const seg of key.split('.')) tpl = (tpl as Record<string, unknown> | undefined)?.[seg]
+      if (typeof tpl !== 'string') return key
+      return String(new IntlMessageFormat(tpl, 'en').format(values as never))
+    }
+  },
+}))
+vi.mock('@/features/portal/Components/PortalShell', () => ({
+  PortalShell: ({ children }: { children: React.ReactNode }) => <main>{children}</main>,
+}))
+vi.mock('@/features/portal/Components/Detail/PortalInspectionResults', () => ({
+  PortalInspectionResults: () => null,
+}))
+vi.mock('@/lib/portal-slug', () => ({
+  resolvePortalOrg: vi.fn(async () => ({ id: 'org-real', name: 'Riverside' })),
+}))
+vi.mock('@/lib/db', () => ({ db: { appSetting: { findFirst: vi.fn() } } }))
+vi.mock('@/features/portal/Actions/getPortalInspection', () => ({ getPortalInspection: vi.fn() }))
+vi.mock('@/features/portal/Lib/portalFormat', () => ({
+  portalFormat: async () => ({ day: (iso: string) => iso.slice(0, 10) }),
+}))
+
+import PortalInspectionPage from '@/app/(public)/portal/[orgId]/inspections/[inspectionId]/page'
+import { getPortalInspection } from '@/features/portal/Actions/getPortalInspection'
+import { db } from '@/lib/db'
+
+const inspection = (serviceType: 'automotive' | 'marine') => ({
+  id: 'i1',
+  status: 'completed',
+  mileage: 18240,
+  publicToken: null,
+  completedAt: '2026-11-05T21:40:00.000Z',
+  createdAt: '2026-11-05T20:30:00.000Z',
+  nextTestDue: null,
+  certificateNumber: null,
+  notes: null,
+  serviceType,
+  vehicle: { year: 2022, make: 'Porsche', model: '911', licensePlate: 'TN-9911' },
+  template: { name: 'Multi-point inspection', severityScale: 'basic', country: null },
+  items: [],
+})
+
+const renderPage = async () =>
+  render(
+    await PortalInspectionPage({
+      params: Promise.resolve({ orgId: 'riverside', inspectionId: 'i1' }),
+    })
+  )
+
+describe('the inspection page odometer', () => {
+  beforeEach(() => {
+    vi.clearAllMocks()
+  })
+
+  it('is in miles for a workshop on imperial units', async () => {
+    vi.mocked(getPortalInspection).mockResolvedValue({
+      success: true,
+      data: inspection('automotive'),
+    } as never)
+    vi.mocked(db.appSetting.findFirst).mockResolvedValue({ value: 'imperial' } as never)
+    await renderPage()
+    expect(screen.getByText('18,240 mi')).toBeInTheDocument()
+  })
+
+  it('is in kilometres for a workshop on metric units', async () => {
+    vi.mocked(getPortalInspection).mockResolvedValue({
+      success: true,
+      data: inspection('automotive'),
+    } as never)
+    vi.mocked(db.appSetting.findFirst).mockResolvedValue({ value: 'metric' } as never)
+    await renderPage()
+    expect(screen.getByText('18,240 km')).toBeInTheDocument()
+  })
+
+  it('leads back to the list and takes its colours from the portal theme', async () => {
+    vi.mocked(getPortalInspection).mockResolvedValue({
+      success: true,
+      data: { ...inspection('automotive'), status: 'in-progress', notes: 'Rear pads next time' },
+    } as never)
+    vi.mocked(db.appSetting.findFirst).mockResolvedValue({ value: 'metric' } as never)
+    const { container } = await renderPage()
+    expect(screen.getByRole('link', { name: /Back to inspections/ })).toHaveAttribute(
+      'href',
+      '/portal/riverside/inspections'
+    )
+    expect(screen.getByRole('heading', { name: 'Multi-point inspection' })).toBeInTheDocument()
+    expect(screen.getByText('Rear pads next time')).toBeInTheDocument()
+    expect(
+      screen.getByText('The workshop is still working on this inspection. Results may change.')
+    ).toBeInTheDocument()
+    // The app's own colour classes are dark text on the dark theme's black.
+    expect(container.innerHTML).not.toMatch(
+      /\b(?:text|bg|border)-(?:muted-foreground|foreground|primary|destructive|card|muted|background|border)\b/
+    )
+  })
+
+  it('stays a bare number under Engine hours on a boat', async () => {
+    vi.mocked(getPortalInspection).mockResolvedValue({
+      success: true,
+      data: inspection('marine'),
+    } as never)
+    vi.mocked(db.appSetting.findFirst).mockResolvedValue({ value: 'metric' } as never)
+    await renderPage()
+    expect(screen.getByText('Engine hours')).toBeInTheDocument()
+    expect(screen.getByText('18,240')).toBeInTheDocument()
+  })
+})

+ 106 - 0
src/__tests__/features/portal/portal-inspection-results.test.tsx

@@ -0,0 +1,106 @@
+/**
+ * An inspection's results as the customer reads them in the portal: what was
+ * measured is printed with its unit the way it is written ("3.2 mm", but
+ * "45%"), and the block is drawn from the portal theme so it reads on the
+ * dark theme as on the light ones.
+ */
+import { render, screen, within } from '@testing-library/react'
+import { describe, expect, it, vi } from 'vitest'
+
+vi.mock('next-intl/server', async () => (await import('./helpers/serverIntl')).serverIntl)
+
+import {
+  PortalInspectionResults,
+  withUnit,
+} from '@/features/portal/Components/Detail/PortalInspectionResults'
+import { serverTree } from './helpers/serverTree'
+
+const item = (over: Record<string, unknown>) => ({
+  id: 'i',
+  name: 'Check',
+  section: 'Brakes',
+  sectionCode: '1',
+  code: null,
+  sortOrder: 0,
+  condition: 'pass',
+  notes: null,
+  inputType: null,
+  unit: null,
+  minValue: null,
+  maxValue: null,
+  measuredValue: null,
+  textValue: null,
+  ...over,
+})
+
+const results = async (items: ReturnType<typeof item>[]) =>
+  render(
+    await serverTree(<PortalInspectionResults items={items} severityScale="basic" country={null} />)
+  )
+
+describe('a measured value', () => {
+  it('takes a space before a unit that is a word and none before a sign', () => {
+    expect(withUnit('3.2', 'mm')).toBe('3.2 mm')
+    expect(withUnit('0.5', 'm⁻¹')).toBe('0.5 m⁻¹')
+    expect(withUnit('45', '%')).toBe('45%')
+    expect(withUnit('12', '°')).toBe('12°')
+    expect(withUnit('7', null)).toBe('7')
+    expect(withUnit('7', '  ')).toBe('7')
+  })
+
+  it('is printed with its unit beside the check it belongs to', async () => {
+    await results([
+      item({
+        id: 'pads',
+        name: 'Brake pads',
+        inputType: 'measurement',
+        unit: 'mm',
+        measuredValue: 3.2,
+        minValue: 3,
+      }),
+      item({
+        id: 'force',
+        name: 'Brake force',
+        sortOrder: 1,
+        inputType: 'measurement',
+        unit: '%',
+        measuredValue: 45,
+      }),
+    ])
+    const rows = screen.getAllByRole('listitem')
+    const pads = rows.find((row) => row.textContent?.includes('Brake pads')) as HTMLElement
+    expect(within(pads).getByText('3.2 mm')).toBeInTheDocument()
+    const force = rows.find((row) => row.textContent?.includes('Brake force')) as HTMLElement
+    expect(within(force).getByText('45%')).toBeInTheDocument()
+    expect(within(force).queryByText('45 %')).not.toBeInTheDocument()
+  })
+})
+
+describe('the results', () => {
+  it('group the checks by section and leave out what was not inspected', async () => {
+    await results([
+      item({ id: 'a', name: 'Brake hoses', condition: 'fail', notes: 'Cracked at the front left' }),
+      item({ id: 'b', name: 'Horn', section: 'Electrics', sectionCode: '4', sortOrder: 2 }),
+      item({ id: 'c', name: 'Tow bar', condition: 'not_inspected', sortOrder: 3 }),
+    ])
+    expect(screen.getByRole('heading', { name: /Brakes/ })).toBeInTheDocument()
+    expect(screen.getByRole('heading', { name: /Electrics/ })).toBeInTheDocument()
+    expect(screen.getAllByText('Cracked at the front left').length).toBeGreaterThan(0)
+    expect(screen.queryByText('Tow bar')).not.toBeInTheDocument()
+  })
+
+  it('take their surfaces and quiet text from the portal theme, not the app', async () => {
+    const { container } = await results([
+      item({ id: 'a', name: 'Brake hoses', condition: 'fail', notes: 'Cracked' }),
+      item({ id: 'b', name: 'Horn', sortOrder: 1, code: '4.1' }),
+    ])
+    expect(container.innerHTML).not.toMatch(
+      /\b(?:text|bg|border)-(?:muted-foreground|foreground|primary|destructive|card|muted|background|border)\b/
+    )
+  })
+
+  it('say so when nothing has been graded yet', async () => {
+    await results([item({ condition: 'not_inspected' })])
+    expect(screen.getByText('No results yet.')).toBeInTheDocument()
+  })
+})

+ 352 - 0
src/__tests__/features/portal/portal-landing.test.tsx

@@ -0,0 +1,352 @@
+/**
+ * The portal's front page, before anyone signs in: the workshop's own front
+ * door, drawn by the theme it chose, with the sign-in in it.
+ *
+ * The opening hours are the workshop calendar's week, the same the signed-in
+ * pages show, once the workshop has set them there. A workshop that only
+ * typed its hours gets its own words, not a default week nobody chose.
+ */
+
+import { render, screen, within } from '@testing-library/react'
+import { beforeEach, describe, expect, it, vi } from 'vitest'
+import { workshop } from './helpers/fixtures'
+
+vi.mock('server-only', () => ({}))
+vi.mock('next/navigation', () => ({ useRouter: () => ({ push: vi.fn(), refresh: vi.fn() }) }))
+vi.mock('next-intl/server', async () => (await import('./helpers/serverIntl')).serverIntl)
+vi.mock('@/lib/db', () => ({ db: { appSetting: { findFirst: vi.fn() } } }))
+vi.mock('@/lib/workshop-timezone', () => ({
+  workshopTimeZone: vi.fn(async () => 'Pacific/Auckland'),
+}))
+vi.mock('@/features/workshop-calendar/Lib/loadCalendar.server', () => ({
+  loadWorkshopCalendar: vi.fn(),
+}))
+vi.mock('@/features/portal/Lib/portalLook.server', () => ({ loadPortalLook: vi.fn() }))
+vi.mock('@/features/portal/Lib/workshop.server', () => ({ loadPortalWorkshop: vi.fn() }))
+
+import { PortalLanding } from '@/features/portal/Components/PortalLanding'
+import { PortalLoginForm } from '@/features/portal/Components/PortalLoginForm'
+import { portalWeekLines } from '@/features/portal/Components/SignIn/weekLines'
+import { SignIn } from '@/features/portal/Components/Themes/Daylight/SignIn'
+import type { PortalSignInProps } from '@/features/portal/Components/Themes/types'
+import { loadPortalOpeningHours } from '@/features/portal/Lib/openingHours.server'
+import { loadPortalLook } from '@/features/portal/Lib/portalLook.server'
+import { DEFAULT_PORTAL_LOOK } from '@/features/portal/Lib/theme'
+import { loadPortalWorkshop } from '@/features/portal/Lib/workshop.server'
+import { defaultWeek } from '@/features/workshop-calendar/Lib/calendar'
+import { loadWorkshopCalendar } from '@/features/workshop-calendar/Lib/loadCalendar.server'
+import { db } from '@/lib/db'
+import { englishTranslator } from './helpers/serverIntl'
+import { serverTree } from './helpers/serverTree'
+
+/** Mon to Fri 07:30 to 17:00, Saturday 09:00 to 13:00, Sunday closed. Sunday first. */
+const week = [
+  { open: false, start: '09:00', end: '13:00' },
+  ...Array.from({ length: 5 }, () => ({ open: true, start: '07:30', end: '17:00' })),
+  { open: true, start: '09:00', end: '13:00' },
+]
+// A Saturday.
+const hours = { week, today: '2026-11-14', timeFormat: '24h' as const, closedSoon: [] }
+
+const frame = (over: Partial<PortalSignInProps> = {}) =>
+  SignIn({
+    orgParam: 'fjordside',
+    workshop: { ...workshop, hours },
+    description: 'Family-run workshop in Bergen since 1998.',
+    hoursText: null,
+    coverUrl: null,
+    eyebrow: 'For our customers',
+    heading: 'See your car, your invoices and your messages.',
+    children: <p>The form</p>,
+    ...over,
+  })
+
+describe("Daylight's front door", () => {
+  it('names the workshop first, then says what signing in gives, above the form', async () => {
+    render(await frame())
+    expect(screen.getByRole('heading', { level: 1, name: 'Fjordside Auto' })).toBeInTheDocument()
+    const main = within(screen.getByRole('main'))
+    expect(
+      main.getByRole('heading', {
+        level: 2,
+        name: 'See your car, your invoices and your messages.',
+      })
+    ).toBeInTheDocument()
+    expect(main.getByText('For our customers')).toBeInTheDocument()
+    expect(main.getByText('The form')).toBeInTheDocument()
+  })
+
+  it("carries the workshop's own words and whether it is open now", async () => {
+    render(await frame())
+    expect(screen.getByText('Family-run workshop in Bergen since 1998.')).toBeInTheDocument()
+    expect(screen.getByText('Open until 17:00')).toBeInTheDocument()
+  })
+
+  it('puts signing in before how to find and reach the workshop', async () => {
+    render(await frame())
+    const form = screen.getByText('The form')
+    const findUs = screen.getByText('Find us')
+    expect(form.compareDocumentPosition(findUs) & Node.DOCUMENT_POSITION_FOLLOWING).toBeTruthy()
+  })
+
+  it('shows the week in as few lines as it takes, with today marked', async () => {
+    render(await frame())
+    const lines = within(screen.getByRole('contentinfo')).getAllByRole('listitem')
+    expect(lines.map((li) => li.textContent)).toEqual([
+      'Mon to Fri 07:30 to 17:00',
+      'Saturday 09:00 to 13:00',
+      'Sunday closed',
+    ])
+    expect(lines[1]).toHaveAttribute('aria-current', 'date')
+    expect(lines[0]).not.toHaveAttribute('aria-current')
+  })
+
+  it("shows the workshop's typed hours when there is no calendar week", async () => {
+    render(await frame({ workshop: { ...workshop, hours: null }, hoursText: 'Weekdays 7 to 4' }))
+    expect(screen.getByText('Weekdays 7 to 4')).toBeInTheDocument()
+    expect(screen.queryByText(/Mon to Fri/)).not.toBeInTheDocument()
+  })
+
+  it('links the address to directions and the phone to a call', async () => {
+    render(await frame())
+    expect(screen.getByRole('link', { name: 'Directions' })).toHaveAttribute(
+      'href',
+      expect.stringContaining('Strandgaten%2014')
+    )
+    expect(screen.getByRole('link', { name: '55 00 00 00' })).toHaveAttribute(
+      'href',
+      'tel:55000000'
+    )
+  })
+
+  it('shows the cover photo only when the workshop uploaded one', async () => {
+    const { container, unmount } = render(await frame())
+    expect(container.querySelector('img')).toBeNull()
+    unmount()
+    const withCover = render(await frame({ coverUrl: '/api/public/portal-bg/org1?v=a.jpg' }))
+    expect(withCover.container.querySelector('img')).toHaveAttribute(
+      'src',
+      '/api/public/portal-bg/org1?v=a.jpg'
+    )
+  })
+
+  it('still stands when the workshop has told nothing about itself', async () => {
+    render(
+      await frame({
+        workshop: {
+          ...workshop,
+          hours: null,
+          phone: null,
+          phoneHref: null,
+          address: null,
+          directionsUrl: null,
+        },
+        description: null,
+      })
+    )
+    expect(screen.getByRole('heading', { level: 1, name: 'Fjordside Auto' })).toBeInTheDocument()
+    expect(screen.getByText('The form')).toBeInTheDocument()
+    expect(screen.queryByRole('contentinfo')).not.toBeInTheDocument()
+    expect(screen.queryByText('Opening hours')).not.toBeInTheDocument()
+  })
+})
+
+describe('the week on the front door', () => {
+  const t = englishTranslator('portal.signIn')
+
+  it('is one line when every day is the same', () => {
+    const same = Array.from({ length: 7 }, () => ({ open: true, start: '08:00', end: '16:00' }))
+    expect(portalWeekLines({ ...hours, week: same }, 'en', t)).toEqual([
+      { days: 'Mon to Sun', hours: '08:00 to 16:00', today: true },
+    ])
+  })
+
+  it('names a day on its own in full, and reads the clock as the workshop set it', () => {
+    const lines = portalWeekLines({ ...hours, timeFormat: '12h' }, 'en', t)
+    expect(lines.map((line) => `${line.days} ${line.hours}`)).toEqual([
+      'Mon to Fri 7:30 AM to 5 PM',
+      'Saturday 9 AM to 1 PM',
+      'Sunday closed',
+    ])
+  })
+
+  it('names the days in the language of the page', () => {
+    expect(portalWeekLines(hours, 'nb', t)[1].days).toBe('Lørdag')
+  })
+})
+
+describe('the front page', () => {
+  beforeEach(() => {
+    vi.mocked(loadPortalLook).mockResolvedValue(DEFAULT_PORTAL_LOOK)
+    vi.mocked(loadPortalWorkshop).mockResolvedValue({ ...workshop, marine: false })
+    vi.mocked(loadWorkshopCalendar).mockRejectedValue(new Error('no calendar in this test'))
+    vi.spyOn(console, 'error').mockImplementation(() => undefined)
+  })
+
+  const landing = (over: Partial<Parameters<typeof PortalLanding>[0]> = {}) =>
+    serverTree(
+      <PortalLanding
+        orgParam="fjordside"
+        organizationId="org1"
+        orgName="Fjordside Auto"
+        description={null}
+        hoursText={null}
+        {...over}
+      >
+        {over.children ?? (
+          <PortalLoginForm
+            orgId="fjordside"
+            smsEnabled={false}
+            defaultCountryCode={null}
+            error="That sign-in link has expired."
+          />
+        )}
+      </PortalLanding>
+    )
+
+  it("holds the sign-in, in the customer's words, with one field and one button", async () => {
+    render(await landing())
+    expect(
+      screen.getByRole('heading', { name: 'See your car, your invoices and your messages.' })
+    ).toBeInTheDocument()
+    expect(screen.getByLabelText('Your email address')).toBeInTheDocument()
+    expect(screen.getByRole('button', { name: 'Send me a sign-in link' })).toBeInTheDocument()
+    expect(
+      screen.getByText('No password. We send you a link that signs you in.')
+    ).toBeInTheDocument()
+  })
+
+  it('shows a sign-in problem it was given', async () => {
+    render(await landing())
+    expect(screen.getByRole('alert')).toHaveTextContent('That sign-in link has expired.')
+  })
+
+  it('offers no SMS choice when the workshop cannot send texts, and one when it can', async () => {
+    const { unmount } = render(await landing())
+    expect(screen.queryByRole('button', { name: 'SMS' })).not.toBeInTheDocument()
+    unmount()
+    render(
+      await landing({
+        children: <PortalLoginForm orgId="fjordside" smsEnabled defaultCountryCode="+47" />,
+      })
+    )
+    expect(screen.getByRole('button', { name: 'Email' })).toHaveAttribute('aria-pressed', 'true')
+    expect(screen.getByRole('button', { name: 'SMS' })).toHaveAttribute('aria-pressed', 'false')
+  })
+
+  it('does not promise messages when the workshop turned the chat off, and says boat for a marina', async () => {
+    vi.mocked(loadPortalLook).mockResolvedValue({ ...DEFAULT_PORTAL_LOOK, messagesEnabled: false })
+    const { unmount } = render(await landing())
+    expect(
+      screen.getByRole('heading', { name: 'See your car, your invoices and your quotes.' })
+    ).toBeInTheDocument()
+    unmount()
+    vi.mocked(loadPortalLook).mockResolvedValue(DEFAULT_PORTAL_LOOK)
+    vi.mocked(loadPortalWorkshop).mockResolvedValue({ ...workshop, marine: true })
+    render(await landing())
+    expect(
+      screen.getByRole('heading', { name: 'See your boat, your invoices and your messages.' })
+    ).toBeInTheDocument()
+  })
+
+  it("shows the workshop's typed hours when its calendar has none to give", async () => {
+    render(await landing({ hoursText: 'Weekdays 7 to 4' }))
+    expect(screen.getByText('Weekdays 7 to 4')).toBeInTheDocument()
+  })
+
+  it('takes the heading it is given, for the step after the emailed link', async () => {
+    render(await landing({ eyebrow: 'Almost there', heading: 'Sign in to Fjordside Auto' }))
+    expect(screen.getByRole('heading', { name: 'Sign in to Fjordside Auto' })).toBeInTheDocument()
+    expect(screen.getByText('Almost there')).toBeInTheDocument()
+  })
+})
+
+describe('the hours the front page is given', () => {
+  let stored: Record<string, string> = {}
+
+  beforeEach(() => {
+    vi.useFakeTimers({ toFake: ['Date'] })
+    // Monday 16 November in Auckland, still Sunday in UTC.
+    vi.setSystemTime(new Date('2026-11-15T20:00:00Z'))
+    stored = { 'workshop.timeFormat': '24h' }
+    vi.mocked(db.appSetting.findFirst).mockImplementation((async (args: {
+      where: { key: string }
+    }) => (args.where.key in stored ? { value: stored[args.where.key] } : null)) as never)
+  })
+
+  /** The calendar as it answers for a workshop: its saved week, or the default one. */
+  const calendarWeek = (start: string, end: string) =>
+    vi.mocked(loadWorkshopCalendar).mockResolvedValue({
+      enabled: true,
+      calendar: {
+        timeZone: 'Pacific/Auckland',
+        week: defaultWeek(start, end),
+        closures: [],
+        absences: [],
+      },
+    })
+
+  it('are the workshop own words when it typed its hours but never set the calendar', async () => {
+    // Nothing saved in the calendar, so the week it answers with is the default.
+    calendarWeek('08:00', '17:00')
+    expect(await loadPortalOpeningHours('org-real', 'Weekdays 7 to 4')).toBeNull()
+  })
+
+  it('are the calendar week once the workshop set it, whatever it typed before', async () => {
+    stored['workshop.openingHours'] = JSON.stringify(defaultWeek('07:00', '16:00'))
+    calendarWeek('07:00', '16:00')
+    const hours = await loadPortalOpeningHours('org-real', 'Weekdays 7 to 4')
+    expect(hours?.week[1]).toEqual({ open: true, start: '07:00', end: '16:00' })
+  })
+
+  it('are the default week when the workshop set nothing and typed nothing, as once signed in', async () => {
+    calendarWeek('08:00', '17:00')
+    const hours = await loadPortalOpeningHours('org-real', '  ')
+    expect(hours?.week[1]).toEqual({ open: true, start: '08:00', end: '17:00' })
+  })
+
+  it('are the calendar week, on the workshop clock, and nothing else', async () => {
+    vi.mocked(loadWorkshopCalendar).mockResolvedValue({
+      enabled: true,
+      calendar: {
+        timeZone: 'Pacific/Auckland',
+        week: defaultWeek('08:00', '17:00'),
+        closures: [
+          { name: 'Staff day', source: 'closure', startDate: '2026-11-20', endDate: '2026-11-20' },
+        ],
+        absences: [
+          { id: 'a1', technicianId: 't1', startDate: '2026-11-17', endDate: '2026-11-17' },
+        ] as never,
+      },
+    })
+
+    const hours = await loadPortalOpeningHours('org-real')
+
+    expect(hours).toEqual({
+      week: defaultWeek('08:00', '17:00'),
+      today: '2026-11-16',
+      timeFormat: '24h',
+      closedSoon: [{ date: '2026-11-20', name: 'Staff day', open: [] }],
+    })
+    expect(loadWorkshopCalendar).toHaveBeenCalledWith('org-real', expect.anything())
+  })
+
+  it('are nothing when the calendar has no day open, so the text can show', async () => {
+    vi.mocked(loadWorkshopCalendar).mockResolvedValue({
+      enabled: false,
+      calendar: {
+        timeZone: 'Pacific/Auckland',
+        week: defaultWeek('08:00', '17:00').map((d) => ({ ...d, open: false })),
+        closures: [],
+        absences: [],
+      },
+    })
+    expect(await loadPortalOpeningHours('org-real')).toBeNull()
+  })
+
+  it('are nothing, quietly, when the calendar cannot be read', async () => {
+    vi.spyOn(console, 'error').mockImplementation(() => undefined)
+    vi.mocked(loadWorkshopCalendar).mockRejectedValue(new Error('db down'))
+    expect(await loadPortalOpeningHours('org-real')).toBeNull()
+  })
+})

Some files were not shown because too many files changed in this diff