Просмотр исходного кода

New sign-in and sign-up pages, plan limits, Marine wording and e2e coverage (#378)

* new login page

* subscription guard

* google signin

* e2e tests

* Marine wording on screens and PDFs, number search fix, plain error messages

Vessel wording in PDFs, breadcrumbs, the mobile bar, the work order vehicle picker and the customer page; plate lookup hidden for marine workshops. Search only reads four-digit words as a year. Database and runtime errors reach the page as a plain message and are logged in full on the server. E2E specs for the marine setting and number search.
Bernt Christian Egeland 2 месяцев назад
Родитель
Сommit
a3c8e0aed0
100 измененных файлов с 2427 добавлено и 175 удалено
  1. 6 0
      .env.example
  2. 5 1
      .github/workflows/deploy-prod.yml
  3. 5 1
      .github/workflows/deploy-staging.yml
  4. 10 0
      .github/workflows/e2e.yml
  5. 2 0
      e2e/README.md
  6. 36 0
      e2e/google-standin-preload.mjs
  7. 193 0
      e2e/google-standin.ts
  8. 61 0
      e2e/specs/auth/pages.spec.ts
  9. 84 0
      e2e/specs/cloud/auth-pages.spec.ts
  10. 166 0
      e2e/specs/cloud/google-sign-in.spec.ts
  11. 196 0
      e2e/specs/cloud/plan-gates.spec.ts
  12. 329 0
      e2e/specs/settings/marine.spec.ts
  13. 56 0
      e2e/specs/vehicles/search.spec.ts
  14. 120 0
      e2e/support/cloud.ts
  15. 181 0
      e2e/support/db.ts
  16. 44 0
      messages/de/auth.json
  17. 8 0
      messages/de/common.json
  18. 3 0
      messages/de/integrations.json
  19. 3 0
      messages/de/navigation.json
  20. 9 13
      messages/de/onboarding.json
  21. 9 0
      messages/de/pdf.json
  22. 5 3
      messages/de/settings.json
  23. 10 0
      messages/de/workOrders.json
  24. 44 0
      messages/en/auth.json
  25. 8 0
      messages/en/common.json
  26. 3 0
      messages/en/integrations.json
  27. 3 0
      messages/en/navigation.json
  28. 9 13
      messages/en/onboarding.json
  29. 9 0
      messages/en/pdf.json
  30. 5 3
      messages/en/settings.json
  31. 10 0
      messages/en/workOrders.json
  32. 44 0
      messages/es/auth.json
  33. 8 0
      messages/es/common.json
  34. 3 0
      messages/es/integrations.json
  35. 3 0
      messages/es/navigation.json
  36. 9 13
      messages/es/onboarding.json
  37. 9 0
      messages/es/pdf.json
  38. 5 3
      messages/es/settings.json
  39. 10 0
      messages/es/workOrders.json
  40. 44 0
      messages/fr/auth.json
  41. 8 0
      messages/fr/common.json
  42. 3 0
      messages/fr/integrations.json
  43. 3 0
      messages/fr/navigation.json
  44. 9 13
      messages/fr/onboarding.json
  45. 9 0
      messages/fr/pdf.json
  46. 5 3
      messages/fr/settings.json
  47. 10 0
      messages/fr/workOrders.json
  48. 44 0
      messages/it/auth.json
  49. 8 0
      messages/it/common.json
  50. 3 0
      messages/it/integrations.json
  51. 3 0
      messages/it/navigation.json
  52. 9 13
      messages/it/onboarding.json
  53. 9 0
      messages/it/pdf.json
  54. 5 3
      messages/it/settings.json
  55. 10 0
      messages/it/workOrders.json
  56. 44 0
      messages/lt/auth.json
  57. 8 0
      messages/lt/common.json
  58. 3 0
      messages/lt/integrations.json
  59. 3 0
      messages/lt/navigation.json
  60. 9 13
      messages/lt/onboarding.json
  61. 9 0
      messages/lt/pdf.json
  62. 5 3
      messages/lt/settings.json
  63. 10 0
      messages/lt/workOrders.json
  64. 44 0
      messages/nb/auth.json
  65. 8 0
      messages/nb/common.json
  66. 3 0
      messages/nb/integrations.json
  67. 3 0
      messages/nb/navigation.json
  68. 9 13
      messages/nb/onboarding.json
  69. 9 0
      messages/nb/pdf.json
  70. 5 3
      messages/nb/settings.json
  71. 10 0
      messages/nb/workOrders.json
  72. 44 0
      messages/nl/auth.json
  73. 8 0
      messages/nl/common.json
  74. 3 0
      messages/nl/integrations.json
  75. 3 0
      messages/nl/navigation.json
  76. 9 13
      messages/nl/onboarding.json
  77. 9 0
      messages/nl/pdf.json
  78. 5 3
      messages/nl/settings.json
  79. 10 0
      messages/nl/workOrders.json
  80. 44 0
      messages/pl/auth.json
  81. 8 0
      messages/pl/common.json
  82. 3 0
      messages/pl/integrations.json
  83. 3 0
      messages/pl/navigation.json
  84. 9 13
      messages/pl/onboarding.json
  85. 9 0
      messages/pl/pdf.json
  86. 5 3
      messages/pl/settings.json
  87. 10 0
      messages/pl/workOrders.json
  88. 44 0
      messages/pt-BR/auth.json
  89. 8 0
      messages/pt-BR/common.json
  90. 3 0
      messages/pt-BR/integrations.json
  91. 3 0
      messages/pt-BR/navigation.json
  92. 9 13
      messages/pt-BR/onboarding.json
  93. 9 0
      messages/pt-BR/pdf.json
  94. 5 3
      messages/pt-BR/settings.json
  95. 10 0
      messages/pt-BR/workOrders.json
  96. 44 0
      messages/ru/auth.json
  97. 8 0
      messages/ru/common.json
  98. 3 0
      messages/ru/integrations.json
  99. 3 0
      messages/ru/navigation.json
  100. 9 13
      messages/ru/onboarding.json

+ 6 - 0
.env.example

@@ -38,6 +38,12 @@ INTEGRATIONS_ENCRYPTION_KEY=""
 # self-hosted install to have each workshop enter its own app credentials.
 GOOGLE_INTEGRATION_CLIENT_ID=""
 GOOGLE_INTEGRATION_CLIENT_SECRET=""
+
+# Google sign-in (cloud mode only). A web OAuth client in the Google Cloud console
+# with this authorised redirect URI: <NEXT_PUBLIC_APP_URL>/api/public/auth/callback/google
+# Separate from the calendar connector client above, which requests calendar scopes.
+GOOGLE_AUTH_CLIENT_ID=""
+GOOGLE_AUTH_CLIENT_SECRET=""
 MICROSOFT_INTEGRATION_CLIENT_ID=""
 MICROSOFT_INTEGRATION_CLIENT_SECRET=""
 ZOOM_INTEGRATION_CLIENT_ID=""

+ 5 - 1
.github/workflows/deploy-prod.yml

@@ -51,6 +51,8 @@ jobs:
           INTEGRATIONS_ENCRYPTION_KEY: ${{ secrets.CLOUD_INTEGRATIONS_ENCRYPTION_KEY }}
           GOOGLE_INTEGRATION_CLIENT_ID: ${{ secrets.CLOUD_GOOGLE_INTEGRATION_CLIENT_ID }}
           GOOGLE_INTEGRATION_CLIENT_SECRET: ${{ secrets.CLOUD_GOOGLE_INTEGRATION_CLIENT_SECRET }}
+          GOOGLE_AUTH_CLIENT_ID: ${{ secrets.CLOUD_GOOGLE_AUTH_CLIENT_ID }}
+          GOOGLE_AUTH_CLIENT_SECRET: ${{ secrets.CLOUD_GOOGLE_AUTH_CLIENT_SECRET }}
           MICROSOFT_INTEGRATION_CLIENT_ID: ${{ secrets.CLOUD_MICROSOFT_INTEGRATION_CLIENT_ID }}
           MICROSOFT_INTEGRATION_CLIENT_SECRET: ${{ secrets.CLOUD_MICROSOFT_INTEGRATION_CLIENT_SECRET }}
           ZOOM_INTEGRATION_CLIENT_ID: ${{ secrets.CLOUD_ZOOM_INTEGRATION_CLIENT_ID }}
@@ -61,7 +63,7 @@ jobs:
           mkdir -p $HOME/torqvoice-deploy/prod
           cd $HOME/torqvoice-deploy/prod
 
-          env | grep -E '^(VIRTUAL_HOST|DATA_PATH|DATABASE_URL|BETTER_AUTH_SECRET|APP_URL|STRIPE_|POSTHOG_|BACKUP_|INTEGRATIONS_|GOOGLE_INTEGRATION_|MICROSOFT_INTEGRATION_|ZOOM_INTEGRATION_|QUICKBOOKS_INTEGRATION_)' > .env
+          env | grep -E '^(VIRTUAL_HOST|DATA_PATH|DATABASE_URL|BETTER_AUTH_SECRET|APP_URL|STRIPE_|POSTHOG_|BACKUP_|INTEGRATIONS_|GOOGLE_INTEGRATION_|GOOGLE_AUTH_|MICROSOFT_INTEGRATION_|ZOOM_INTEGRATION_|QUICKBOOKS_INTEGRATION_)' > .env
 
           cat > docker-compose.yml << 'COMPOSE'
           networks:
@@ -99,6 +101,8 @@ jobs:
                 INTEGRATIONS_ENCRYPTION_KEY: ${INTEGRATIONS_ENCRYPTION_KEY}
                 GOOGLE_INTEGRATION_CLIENT_ID: ${GOOGLE_INTEGRATION_CLIENT_ID}
                 GOOGLE_INTEGRATION_CLIENT_SECRET: ${GOOGLE_INTEGRATION_CLIENT_SECRET}
+                GOOGLE_AUTH_CLIENT_ID: ${GOOGLE_AUTH_CLIENT_ID}
+                GOOGLE_AUTH_CLIENT_SECRET: ${GOOGLE_AUTH_CLIENT_SECRET}
                 MICROSOFT_INTEGRATION_CLIENT_ID: ${MICROSOFT_INTEGRATION_CLIENT_ID}
                 MICROSOFT_INTEGRATION_CLIENT_SECRET: ${MICROSOFT_INTEGRATION_CLIENT_SECRET}
                 ZOOM_INTEGRATION_CLIENT_ID: ${ZOOM_INTEGRATION_CLIENT_ID}

+ 5 - 1
.github/workflows/deploy-staging.yml

@@ -35,6 +35,8 @@ jobs:
           INTEGRATIONS_ENCRYPTION_KEY: ${{ secrets.STAGING_INTEGRATIONS_ENCRYPTION_KEY }}
           GOOGLE_INTEGRATION_CLIENT_ID: ${{ secrets.STAGING_GOOGLE_INTEGRATION_CLIENT_ID }}
           GOOGLE_INTEGRATION_CLIENT_SECRET: ${{ secrets.STAGING_GOOGLE_INTEGRATION_CLIENT_SECRET }}
+          GOOGLE_AUTH_CLIENT_ID: ${{ secrets.STAGING_GOOGLE_AUTH_CLIENT_ID }}
+          GOOGLE_AUTH_CLIENT_SECRET: ${{ secrets.STAGING_GOOGLE_AUTH_CLIENT_SECRET }}
           MICROSOFT_INTEGRATION_CLIENT_ID: ${{ secrets.STAGING_MICROSOFT_INTEGRATION_CLIENT_ID }}
           MICROSOFT_INTEGRATION_CLIENT_SECRET: ${{ secrets.STAGING_MICROSOFT_INTEGRATION_CLIENT_SECRET }}
           ZOOM_INTEGRATION_CLIENT_ID: ${{ secrets.STAGING_ZOOM_INTEGRATION_CLIENT_ID }}
@@ -45,7 +47,7 @@ jobs:
           mkdir -p $HOME/torqvoice-deploy/staging
           cd $HOME/torqvoice-deploy/staging
 
-          env | grep -E '^(VIRTUAL_HOST|DATA_PATH|DATABASE_URL|BETTER_AUTH_SECRET|APP_URL|STRIPE_|POSTHOG_|BACKUP_|INTEGRATIONS_|GOOGLE_INTEGRATION_|MICROSOFT_INTEGRATION_|ZOOM_INTEGRATION_|QUICKBOOKS_INTEGRATION_)' > .env
+          env | grep -E '^(VIRTUAL_HOST|DATA_PATH|DATABASE_URL|BETTER_AUTH_SECRET|APP_URL|STRIPE_|POSTHOG_|BACKUP_|INTEGRATIONS_|GOOGLE_INTEGRATION_|GOOGLE_AUTH_|MICROSOFT_INTEGRATION_|ZOOM_INTEGRATION_|QUICKBOOKS_INTEGRATION_)' > .env
 
           cat > docker-compose.yml << 'COMPOSE'
           networks:
@@ -80,6 +82,8 @@ jobs:
                 INTEGRATIONS_ENCRYPTION_KEY: ${INTEGRATIONS_ENCRYPTION_KEY}
                 GOOGLE_INTEGRATION_CLIENT_ID: ${GOOGLE_INTEGRATION_CLIENT_ID}
                 GOOGLE_INTEGRATION_CLIENT_SECRET: ${GOOGLE_INTEGRATION_CLIENT_SECRET}
+                GOOGLE_AUTH_CLIENT_ID: ${GOOGLE_AUTH_CLIENT_ID}
+                GOOGLE_AUTH_CLIENT_SECRET: ${GOOGLE_AUTH_CLIENT_SECRET}
                 MICROSOFT_INTEGRATION_CLIENT_ID: ${MICROSOFT_INTEGRATION_CLIENT_ID}
                 MICROSOFT_INTEGRATION_CLIENT_SECRET: ${MICROSOFT_INTEGRATION_CLIENT_SECRET}
                 ZOOM_INTEGRATION_CLIENT_ID: ${ZOOM_INTEGRATION_CLIENT_ID}

+ 10 - 0
.github/workflows/e2e.yml

@@ -102,6 +102,16 @@ jobs:
       - name: Run the suite
         run: npm run test:e2e
 
+      # The same build again, started in cloud mode: plan limits, the sign-up
+      # pitch and Google sign-in only exist there. The database the first run
+      # prepared is reused, since every cloud spec opens a workshop of its own.
+      - name: Run the cloud specs
+        if: ${{ !cancelled() }}
+        run: npm run test:e2e
+        env:
+          E2E_MODE: cloud
+          E2E_SKIP_SEED: '1'
+
       - name: Upload the report
         if: ${{ !cancelled() }}
         uses: actions/upload-artifact@v4

+ 2 - 0
e2e/README.md

@@ -13,6 +13,7 @@ e2e/
   prepare-db.ts        reset + seed, run ahead of the server
   mail-sink.ts         a mail server that delivers nothing and keeps everything
   payment-sink.ts      Stripe and PayPal as far as the app can tell; no money moves
+  google-standin.ts    Google's account chooser and token endpoint, for the cloud run
   support/             helpers specs share: reading mail, reading a PDF's text,
                        database peeks, TOTP, work order driving
   specs/
@@ -30,6 +31,7 @@ e2e/
     reminders/         a due time survives being displayed and re-saved
     email/             the email template designer, and the mail it sends
     payments/          a customer pays online, and the payment is booked once
+    cloud/             run with E2E_MODE=cloud: plan limits, Google sign-in, the sign-up pitch
     tech/              the technician app's API contract
     smoke/             the build is alive
 ```

+ 36 - 0
e2e/google-standin-preload.mjs

@@ -0,0 +1,36 @@
+/**
+ * Points the app server's calls to Google at the stand-in, and nothing else.
+ *
+ * Loaded into the app under test through NODE_OPTIONS=--import, and only in
+ * the cloud-mode run: better-auth's Google provider has its endpoints written
+ * into it, so there is no setting to change, and the app's own code is left
+ * exactly as it ships. Every other request goes where it was going.
+ *
+ * Inert unless E2E_GOOGLE_STANDIN_URL is set.
+ */
+
+const standin = process.env.E2E_GOOGLE_STANDIN_URL?.replace(/\/+$/, '')
+
+if (standin) {
+  const rewrites = [
+    ['https://oauth2.googleapis.com/token', `${standin}/token`],
+    ['https://www.googleapis.com/oauth2/v3/certs', `${standin}/oauth2/v3/certs`],
+  ]
+  const original = globalThis.fetch
+
+  globalThis.fetch = function fetchThroughStandin(input, init) {
+    const url = typeof input === 'string' ? input : input instanceof URL ? input.href : input?.url
+    for (const [from, to] of rewrites) {
+      if (url?.startsWith(from)) {
+        const target = to + url.slice(from.length)
+        if (typeof input === 'string' || input instanceof URL) {
+          return original.call(this, target, init)
+        }
+        return original.call(this, new Request(target, input), init)
+      }
+    }
+    return original.call(this, input, init)
+  }
+
+  console.log(`[google-standin] Google token calls from this server go to ${standin}`)
+}

+ 193 - 0
e2e/google-standin.ts

@@ -0,0 +1,193 @@
+import { randomBytes } from 'node:crypto'
+import { createServer, type IncomingMessage, type ServerResponse } from 'node:http'
+
+/**
+ * Google, as far as a sign-in needs it, with nobody's real account in it.
+ *
+ * Google sign-in cannot run from a test: it needs a real Google account, a
+ * consent screen that is Google's to change, and a callback Google would only
+ * send to an address it knows. So this plays the two parts of Google the app
+ * touches in a sign-in. The browser is sent to its account chooser (a spec
+ * routes `accounts.google.com` here), and the app's server exchanges the code
+ * at its token endpoint (e2e/google-standin-preload.mjs points it here).
+ *
+ * The accounts it offers are the ones a spec registers, each with its own
+ * `email_verified`, because what an account-linking rule does with an address
+ * Google has not verified is the question most worth a test. The ID token it
+ * returns is unsigned: in the redirect flow better-auth decodes the token it
+ * receives straight from the token endpoint and does not check a signature.
+ */
+
+const PORT = Number(process.env.E2E_GOOGLE_PORT ?? 8027)
+
+interface Account {
+  sub: string
+  email: string
+  email_verified: boolean
+  name: string
+}
+
+interface Grant {
+  account: Account
+  clientId: string
+  redirectUri: string
+}
+
+const state = {
+  accounts: [] as Account[],
+  /** The query of every trip to the chooser, oldest first. */
+  authorizeRequests: [] as Record<string, string>[],
+  /** What the app sent to the token endpoint, oldest first. */
+  tokenExchanges: [] as { clientId: string; code: string; hadVerifier: boolean }[],
+}
+const grants = new Map<string, Grant>()
+
+function json(res: ServerResponse, status: number, body: unknown): void {
+  res.writeHead(status, { 'content-type': 'application/json' })
+  res.end(JSON.stringify(body))
+}
+
+function redirect(res: ServerResponse, to: string): void {
+  res.writeHead(303, { location: to })
+  res.end()
+}
+
+async function readBody(req: IncomingMessage): Promise<string> {
+  const chunks: Buffer[] = []
+  for await (const chunk of req) chunks.push(chunk as Buffer)
+  return Buffer.concat(chunks).toString('utf8')
+}
+
+function escapeHtml(value: string): string {
+  return value.replace(/[&<>"']/g, (c) => `&#${c.charCodeAt(0)};`)
+}
+
+function base64url(value: string): string {
+  return Buffer.from(value).toString('base64url')
+}
+
+/** An ID token shaped like Google's. Unsigned; see the note at the top. */
+function idToken(account: Account, clientId: string): string {
+  const now = Math.floor(Date.now() / 1000)
+  const header = base64url(JSON.stringify({ alg: 'RS256', kid: 'e2e-standin', typ: 'JWT' }))
+  const payload = base64url(
+    JSON.stringify({
+      iss: 'https://accounts.google.com',
+      azp: clientId,
+      aud: clientId,
+      sub: account.sub,
+      email: account.email,
+      email_verified: account.email_verified,
+      name: account.name,
+      iat: now,
+      exp: now + 3600,
+    })
+  )
+  return `${header}.${payload}.${base64url('e2e-standin-signature')}`
+}
+
+function chooser(query: URLSearchParams): string {
+  const hidden = ['redirect_uri', 'state', 'client_id']
+    .map((k) => `<input type="hidden" name="${k}" value="${escapeHtml(query.get(k) ?? '')}">`)
+    .join('')
+  const accounts = state.accounts
+    .map(
+      (a) =>
+        `<form method="post" action="/o/oauth2/v2/auth/choose">${hidden}` +
+        `<input type="hidden" name="sub" value="${escapeHtml(a.sub)}">` +
+        `<button type="submit">${escapeHtml(a.email)}</button></form>`
+    )
+    .join('')
+  const cancel = `${query.get('redirect_uri') ?? ''}?error=access_denied&state=${encodeURIComponent(query.get('state') ?? '')}`
+  return (
+    `<!doctype html><html><head><meta charset="utf-8"><title>Sign in - Google Accounts</title></head><body>` +
+    `<h1>Choose an account</h1>${accounts}<a href="${escapeHtml(cancel)}">Cancel</a></body></html>`
+  )
+}
+
+const server = createServer(async (req, res) => {
+  const url = new URL(req.url ?? '/', `http://127.0.0.1:${PORT}`)
+  try {
+    if (url.pathname === '/health') return json(res, 200, { ok: true })
+
+    if (url.pathname === '/state') {
+      if (req.method === 'DELETE') {
+        state.accounts.length = 0
+        state.authorizeRequests.length = 0
+        state.tokenExchanges.length = 0
+        grants.clear()
+        return json(res, 200, { cleared: true })
+      }
+      return json(res, 200, state)
+    }
+
+    if (req.method === 'POST' && url.pathname === '/accounts') {
+      const body = JSON.parse((await readBody(req)) || '{}') as Partial<Account>
+      if (!body.email) return json(res, 400, { error: 'email is required' })
+      const account: Account = {
+        sub: body.sub ?? `e2e-${randomBytes(8).toString('hex')}`,
+        email: body.email,
+        email_verified: body.email_verified !== false,
+        name: body.name ?? body.email,
+      }
+      state.accounts.push(account)
+      return json(res, 200, account)
+    }
+
+    if (req.method === 'GET' && url.pathname === '/o/oauth2/v2/auth') {
+      state.authorizeRequests.push(Object.fromEntries(url.searchParams))
+      res.writeHead(200, { 'content-type': 'text/html; charset=utf-8' })
+      res.end(chooser(url.searchParams))
+      return
+    }
+
+    if (req.method === 'POST' && url.pathname === '/o/oauth2/v2/auth/choose') {
+      const form = new URLSearchParams(await readBody(req))
+      const account = state.accounts.find((a) => a.sub === form.get('sub'))
+      const redirectUri = form.get('redirect_uri') ?? ''
+      if (!account || !redirectUri) return json(res, 400, { error: 'unknown account' })
+      const code = randomBytes(16).toString('hex')
+      grants.set(code, { account, clientId: form.get('client_id') ?? '', redirectUri })
+      const back = new URL(redirectUri)
+      back.searchParams.set('code', code)
+      back.searchParams.set('state', form.get('state') ?? '')
+      back.searchParams.set('scope', 'email profile openid')
+      return redirect(res, back.toString())
+    }
+
+    if (req.method === 'POST' && url.pathname === '/token') {
+      const form = new URLSearchParams(await readBody(req))
+      // The client may authenticate in the body or with Basic, as Google allows.
+      const basic = (req.headers.authorization ?? '').replace(/^Basic\s+/i, '')
+      const [basicId] = basic ? Buffer.from(basic, 'base64').toString('utf8').split(':') : []
+      const clientId = form.get('client_id') ?? decodeURIComponent(basicId ?? '')
+      const code = form.get('code') ?? ''
+      state.tokenExchanges.push({ clientId, code, hadVerifier: form.has('code_verifier') })
+
+      const grant = grants.get(code)
+      if (!grant) return json(res, 400, { error: 'invalid_grant' })
+      // A code is good once, as Google's are.
+      grants.delete(code)
+      return json(res, 200, {
+        access_token: `e2e-google-access-${code}`,
+        expires_in: 3599,
+        scope:
+          'openid https://www.googleapis.com/auth/userinfo.email https://www.googleapis.com/auth/userinfo.profile',
+        token_type: 'Bearer',
+        id_token: idToken(grant.account, grant.clientId || clientId),
+      })
+    }
+
+    if (req.method === 'GET' && url.pathname === '/oauth2/v3/certs') {
+      return json(res, 200, { keys: [] })
+    }
+
+    json(res, 404, { error: `google stand-in has nothing at ${url.pathname}` })
+  } catch (error) {
+    json(res, 500, { error: error instanceof Error ? error.message : String(error) })
+  }
+})
+
+server.listen(PORT, '127.0.0.1', () => {
+  console.log(`[google-standin] account chooser and token endpoint on http://127.0.0.1:${PORT}`)
+})

+ 61 - 0
e2e/specs/auth/pages.spec.ts

@@ -0,0 +1,61 @@
+import { expect, test } from '@playwright/test'
+import { settle } from '../../support/hydration'
+
+/**
+ * The sign-in and sign-up pages on a self-hosted install.
+ *
+ * The pages were rebuilt around a cloud sign-up pitch, and a self-hosted
+ * install must not get it: its visitors are the workshop's own staff, and a
+ * "free plan, no credit card" banner or a Google button would be selling them
+ * a product they already run, through a Google client nobody configured. What
+ * they do keep is the way to an account above the form and the language
+ * switcher, which is theirs as much as anybody's.
+ */
+
+test.use({ storageState: { cookies: [], origins: [] } })
+
+test.describe('a self-hosted install', () => {
+  test('signs people up without a sales pitch or Google', async ({ page }) => {
+    await page.goto('/auth/sign-up')
+    await settle(page)
+
+    for (const field of ['#name', '#email', '#password']) {
+      await expect(page.locator(field)).toBeVisible()
+    }
+    await expect(page.getByText('Free plan, no credit card')).toHaveCount(0)
+    await expect(page.getByRole('button', { name: 'Continue with Google' })).toHaveCount(0)
+  })
+
+  test('puts the way to an account above the sign-in form', async ({ page }) => {
+    await page.goto('/auth/sign-in')
+    await settle(page)
+
+    const link = page.getByRole('link', { name: 'Create one' })
+    await expect(link).toHaveAttribute('href', /\/auth\/sign-up/)
+    const linkBox = await link.boundingBox()
+    const emailBox = await page.locator('#email').boundingBox()
+    expect(linkBox && emailBox && linkBox.y < emailBox.y, 'the link sits above the form').toBe(true)
+    await expect(page.getByRole('button', { name: 'Continue with Google' })).toHaveCount(0)
+  })
+
+  test('lets the language be changed before signing in', async ({ page, context }) => {
+    await page.goto('/auth/sign-in')
+    await settle(page)
+    await expect(page.getByRole('button', { name: 'Sign In', exact: true })).toBeVisible()
+
+    await expect(async () => {
+      await page.getByRole('combobox', { name: 'Language' }).click()
+      await expect(page.getByRole('option', { name: 'Norsk Bokmål' })).toBeVisible({
+        timeout: 2_000,
+      })
+    }).toPass({ timeout: 30_000 })
+    await page.getByRole('option', { name: 'Norsk Bokmål' }).click()
+
+    // The page re-renders in Norwegian and the choice is kept.
+    await expect(page.getByRole('button', { name: 'Sign In', exact: true })).toHaveCount(0, {
+      timeout: 30_000,
+    })
+    const cookie = (await context.cookies()).find((c) => c.name === 'locale')
+    expect(cookie?.value).toBe('nb')
+  })
+})

+ 84 - 0
e2e/specs/cloud/auth-pages.spec.ts

@@ -0,0 +1,84 @@
+import { expect, test } from '@playwright/test'
+import { signUpWithPassword } from '../../support/cloud'
+import { settle } from '../../support/hydration'
+
+/**
+ * The sign-up and sign-in pages as a stranger meets them, in cloud mode.
+ *
+ * Four in ten people who landed on sign-up left without touching the form, on
+ * a page that said nothing about what they were signing up for. The pages now
+ * make the case beside the form, point a newcomer who clicked "Login" at a
+ * free account before the form, and let a visitor change the language before
+ * they have an account to keep it on. The last is the one that can quietly
+ * break: a language picked on sign-up has to survive the sign-up itself.
+ */
+
+test.use({ storageState: { cookies: [], origins: [] } })
+
+const stamp = Date.now()
+
+test.describe('the sign-up page', () => {
+  test('makes its case beside the form', async ({ page }) => {
+    await page.goto('/auth/sign-up')
+    await settle(page)
+
+    await expect(page.getByRole('heading', { name: 'Start your free workshop' })).toBeVisible()
+    await expect(page.getByText('Ready in under a minute. No credit card required.')).toBeVisible()
+    await expect(page.getByRole('heading', { name: /Workshop management/ })).toBeVisible()
+    await expect(page.getByText('Free plan, no credit card')).toBeVisible()
+
+    // And the form is still the thing to do.
+    for (const field of ['#name', '#email', '#password']) {
+      await expect(page.locator(field)).toBeVisible()
+    }
+    await expect(page.getByRole('button', { name: 'Create free account' })).toBeVisible()
+  })
+
+  test('keeps a language picked before signing up, into onboarding', async ({ page, context }) => {
+    await page.goto('/auth/sign-up')
+    await settle(page)
+
+    await expect(async () => {
+      await page.getByRole('combobox', { name: 'Language' }).click()
+      await expect(page.getByRole('option', { name: 'Norsk Bokmål' })).toBeVisible({
+        timeout: 2_000,
+      })
+    }).toPass({ timeout: 30_000 })
+    await page.getByRole('option', { name: 'Norsk Bokmål' }).click()
+
+    await expect(page.getByRole('heading', { name: 'Start ditt gratis verksted' })).toBeVisible({
+      timeout: 30_000,
+    })
+    const cookie = (await context.cookies()).find((c) => c.name === 'locale')
+    expect(cookie?.value, 'kept for the visits after this one').toBe('nb')
+
+    // Signed up in Norwegian, and onboarding speaks it too.
+    await signUpWithPassword(page, {
+      name: 'E2E Norsk',
+      email: `e2e-norsk-${stamp}@example.com`,
+      password: `E2e-pass-${stamp}`,
+    })
+    await expect(page.getByRole('heading', { name: 'Sett opp verkstedet ditt' })).toBeVisible()
+  })
+})
+
+test.describe('the sign-in page', () => {
+  test('points a newcomer at a free account before the form', async ({ page }) => {
+    await page.goto('/auth/sign-in')
+    await settle(page)
+
+    await expect(page.getByText('New to Torqvoice?')).toBeVisible()
+    const link = page.getByRole('link', { name: 'Create a free account' })
+    await expect(link).toHaveAttribute('href', /\/auth\/sign-up/)
+
+    // Above the form, where a newcomer who clicked "Login" reads, rather than
+    // under it.
+    const linkBox = await link.boundingBox()
+    const emailBox = await page.locator('#email').boundingBox()
+    expect(linkBox && emailBox && linkBox.y < emailBox.y, 'the link sits above the form').toBe(true)
+
+    await link.click()
+    await page.waitForURL(/\/auth\/sign-up/)
+    await expect(page.getByRole('heading', { name: 'Start your free workshop' })).toBeVisible()
+  })
+})

+ 166 - 0
e2e/specs/cloud/google-sign-in.spec.ts

@@ -0,0 +1,166 @@
+import { expect, type Page, test } from '@playwright/test'
+import {
+  clearGoogleStandin,
+  completeOnboarding,
+  googleStandin,
+  registerGoogleAccount,
+  routeGoogleToStandin,
+  signUpWithPassword,
+} from '../../support/cloud'
+import { personWithEmail } from '../../support/db'
+import { settle } from '../../support/hydration'
+
+/**
+ * Signing in with Google, and who a Google account is allowed to become.
+ *
+ * Google here is `e2e/google-standin.ts`: its account chooser takes the
+ * browser's trip to accounts.google.com, and its token endpoint takes the
+ * server's code exchange. Each test offers the accounts it needs, with the
+ * `email_verified` it needs.
+ *
+ * The rule most worth a test is account linking. A Google sign-in whose
+ * address matches an existing password account is attached to that account,
+ * which is what a returning customer expects. But an address Google has not
+ * verified proves nothing about who is signing in: anyone can create a Google
+ * account with somebody else's address on it. Attached to the account that
+ * owns the address, that is a way into another person's workshop.
+ */
+
+// Signing up and onboarding a workshop in a hook takes longer than a test.
+test.describe.configure({ mode: 'serial', timeout: 180_000 })
+
+// A stranger's browser, every time.
+test.use({ storageState: { cookies: [], origins: [] } })
+
+const stamp = Date.now()
+const NEWCOMER = `e2e-google-new-${stamp}@example.com`
+const RETURNING = `e2e-google-password-${stamp}@example.com`
+const OWNER = `e2e-google-owner-${stamp}@example.com`
+const PASSWORD = `E2e-pass-${stamp}`
+
+test.beforeAll(async ({ browser }) => {
+  await clearGoogleStandin()
+
+  // Two people who signed up with a password before Google was offered, each
+  // with a workshop of their own.
+  for (const [email, workshop] of [
+    [RETURNING, `E2E Returning Garage ${stamp}`],
+    [OWNER, `E2E Owner Garage ${stamp}`],
+  ]) {
+    const context = await browser.newContext({ storageState: { cookies: [], origins: [] } })
+    const page = await context.newPage()
+    await signUpWithPassword(page, { name: 'E2E Password Person', email, password: PASSWORD })
+    await completeOnboarding(page, workshop, { sampleData: false })
+    await context.close()
+  }
+})
+
+test.beforeEach(async ({ context }) => {
+  await routeGoogleToStandin(context)
+})
+
+/** Presses "Continue with Google" and picks an account in the chooser. */
+async function continueWithGoogle(page: Page, from: string, email: string): Promise<void> {
+  await page.goto(from)
+  await settle(page)
+  await expect(async () => {
+    await page.getByRole('button', { name: 'Continue with Google' }).click()
+    await expect(page.getByRole('heading', { name: 'Choose an account' })).toBeVisible({
+      timeout: 5_000,
+    })
+  }).toPass({ timeout: 30_000 })
+  await page.getByRole('button', { name: email, exact: true }).click()
+}
+
+test.describe('Google sign-in', () => {
+  test('is offered on the sign-in and the sign-up page', async ({ page }) => {
+    for (const path of ['/auth/sign-in', '/auth/sign-up']) {
+      await page.goto(path)
+      await expect(
+        page.getByRole('button', { name: 'Continue with Google' }),
+        `${path} offers it`
+      ).toBeVisible()
+    }
+  })
+
+  test('takes a newcomer to setting up a workshop', async ({ page }) => {
+    await registerGoogleAccount({ email: NEWCOMER, name: 'E2E Google Newcomer' })
+    await continueWithGoogle(page, '/auth/sign-up', NEWCOMER)
+
+    await page.waitForURL(/\/onboarding/, { timeout: 30_000 })
+    await expect(page.getByRole('heading', { name: 'Set up your workshop' })).toBeVisible()
+
+    const person = await personWithEmail(NEWCOMER)
+    expect(person).toEqual({ users: 1, providers: ['google'], emailVerified: true })
+
+    // What was asked of Google: this app's client, the chooser every time
+    // (a workshop laptop is shared), and a code only this browser can redeem.
+    const { authorizeRequests, tokenExchanges } = await googleStandin()
+    const asked = authorizeRequests.at(-1)
+    expect(asked?.client_id).toBe('e2e-google-client')
+    expect(asked?.prompt).toBe('select_account')
+    expect(asked?.code_challenge, 'PKCE').toBeTruthy()
+    expect(tokenExchanges.at(-1)?.hadVerifier, 'the verifier came with the code').toBe(true)
+
+    await completeOnboarding(page, `E2E Google Garage ${stamp}`, { sampleData: false })
+  })
+
+  test('brings the same person back to their workshop next time', async ({ page }) => {
+    await continueWithGoogle(page, '/auth/sign-in', NEWCOMER)
+
+    await page.waitForURL((url) => !/^\/(auth|onboarding)/.test(url.pathname), { timeout: 30_000 })
+    await expect(page.getByText(`E2E Google Garage ${stamp}`).first()).toBeVisible()
+    expect((await personWithEmail(NEWCOMER)).users, 'still one person').toBe(1)
+  })
+
+  test('joins a password account whose address Google has verified', async ({ page }) => {
+    await registerGoogleAccount({ email: RETURNING, emailVerified: true })
+    await continueWithGoogle(page, '/auth/sign-in', RETURNING)
+
+    // Into the workshop they already had, not into a second onboarding.
+    await page.waitForURL((url) => !/^\/(auth|onboarding)/.test(url.pathname), { timeout: 30_000 })
+    await expect(page.getByText(`E2E Returning Garage ${stamp}`).first()).toBeVisible()
+
+    const person = await personWithEmail(RETURNING)
+    expect(person.users, 'one person, not two with the same address').toBe(1)
+    expect(person.providers).toEqual(['credential', 'google'])
+  })
+
+  test('does not hand an account to a Google address nobody verified', async ({ page }) => {
+    // Somebody made a Google account with the owner's address on it. Google
+    // says so: the address is not verified.
+    await registerGoogleAccount({ email: OWNER, name: 'Not the owner', emailVerified: false })
+    await continueWithGoogle(page, '/auth/sign-in', OWNER)
+
+    // Wherever the attempt ends up, it must not be inside the owner's workshop.
+    await page.waitForLoadState('networkidle')
+    await expect(
+      page.getByText(`E2E Owner Garage ${stamp}`),
+      'the owner workshop is not opened'
+    ).toHaveCount(0)
+    await expect(page).toHaveURL(/\/auth\//)
+
+    const person = await personWithEmail(OWNER)
+    expect(person.providers, 'no Google account attached to the owner').toEqual(['credential'])
+    expect(person.users).toBe(1)
+  })
+
+  test('comes back to sign-in, with a way forward, when the person turns back at Google', async ({
+    page,
+  }) => {
+    await page.goto('/auth/sign-in')
+    await settle(page)
+    await expect(async () => {
+      await page.getByRole('button', { name: 'Continue with Google' }).click()
+      await expect(page.getByRole('heading', { name: 'Choose an account' })).toBeVisible({
+        timeout: 5_000,
+      })
+    }).toPass({ timeout: 30_000 })
+    await page.getByRole('link', { name: 'Cancel' }).click()
+
+    await page.waitForURL(/\/auth\/sign-in/, { timeout: 30_000 })
+    await expect(page.getByText(/Google sign-in did not complete/)).toBeVisible()
+    // And the password form is still there to use.
+    await expect(page.locator('#email')).toBeVisible()
+  })
+})

+ 196 - 0
e2e/specs/cloud/plan-gates.spec.ts

@@ -0,0 +1,196 @@
+import { expect, test } from '@playwright/test'
+import { completeOnboarding, expectUpgradeOffered, signUpWithPassword } from '../../support/cloud'
+import {
+  customerRows,
+  giveProPlan,
+  insertCustomers,
+  organizationIdFor,
+  removePlan,
+  teamInvitations,
+  userIdFor,
+  vehicleRows,
+} from '../../support/db'
+import { settle } from '../../support/hydration'
+
+/**
+ * What the free plan allows, and what happens at its edge.
+ *
+ * Only in cloud mode: a self-hosted install has every feature, which is why
+ * the rest of the suite never reaches a limit. Two things are pinned here.
+ * The limit counts what the workshop made and not the sample data onboarding
+ * seeds, because counted, the samples ate three of the old five slots and a
+ * new workshop was refused on its third real customer. And reaching a limit
+ * offers an upgrade rather than an error: a red "Customer limit reached" with
+ * no way forward is how a workshop that was ready to pay left instead.
+ *
+ * A workshop of its own is opened here by signing up, so nothing about the
+ * seeded one changes.
+ */
+
+// Signing up and onboarding a workshop in a hook takes longer than a test.
+test.describe.configure({ mode: 'serial', timeout: 180_000 })
+
+const stamp = Date.now()
+const EMAIL = `e2e-free-${stamp}@example.com`
+const PASSWORD = `E2e-pass-${stamp}`
+const WORKSHOP = `E2E Free Garage ${stamp}`
+const STATE = `e2e/.auth/cloud-free-${stamp}.json`
+/** The free plan's customer allowance, from PLAN_FEATURES.free in src/lib/features.ts. */
+const FREE_CUSTOMERS = 20
+
+let organizationId = ''
+let planId = ''
+
+test.use({ storageState: STATE })
+
+test.beforeAll(async ({ browser }) => {
+  // Signed up the way a stranger does, sample data and all, and the session
+  // kept for the tests below.
+  const context = await browser.newContext({ storageState: { cookies: [], origins: [] } })
+  const page = await context.newPage()
+  await signUpWithPassword(page, { name: 'E2E Free Owner', email: EMAIL, password: PASSWORD })
+  await completeOnboarding(page, WORKSHOP, { sampleData: true })
+  await context.storageState({ path: STATE })
+  await context.close()
+
+  organizationId = await organizationIdFor(EMAIL)
+})
+
+test.afterAll(async () => {
+  if (planId) await removePlan(organizationId, planId)
+})
+
+/** Opens the customer form and saves a customer with just a name. */
+async function addCustomer(page: import('@playwright/test').Page, name: string): Promise<void> {
+  await page.goto('/customers')
+  await settle(page)
+  const dialog = page.getByRole('dialog', { name: 'Add New Customer' })
+  await expect(async () => {
+    await page
+      .getByRole('button', { name: 'Add Customer' })
+      .filter({ visible: true })
+      .first()
+      .click()
+    await expect(dialog).toBeVisible({ timeout: 2_000 })
+  }).toPass({ timeout: 30_000 })
+  await dialog.locator('#name').fill(name)
+  await dialog.locator('button[type="submit"]').click()
+}
+
+test.describe('the free plan', () => {
+  test('counts only the customers the workshop made, not the samples', async ({ page }) => {
+    // Onboarding seeded its sample customers. Real ones up to one short of
+    // the allowance go in directly; the last one goes through the form.
+    const samples = await customerRows(organizationId)
+    expect(samples, 'onboarding left sample customers to look around with').toBeGreaterThan(0)
+    await insertCustomers(organizationId, await userIdFor(EMAIL), FREE_CUSTOMERS - 1, 'E2E Real')
+
+    // Twenty real customers is inside the plan, however many rows the
+    // samples add on top.
+    await addCustomer(page, `E2E Twentieth ${stamp}`)
+    await expect(page.getByText('Customer created')).toBeVisible({ timeout: 30_000 })
+    expect(await customerRows(organizationId)).toBe(samples + FREE_CUSTOMERS)
+  })
+
+  test('offers an upgrade at the customer after that, instead of an error', async ({ page }) => {
+    const before = await customerRows(organizationId)
+
+    await addCustomer(page, `E2E Twenty-first ${stamp}`)
+    await expectUpgradeOffered(page, new RegExp(`up to ${FREE_CUSTOMERS} customers`))
+
+    // Refused on the server, not just hidden: nothing was written.
+    expect(await customerRows(organizationId)).toBe(before)
+    await expect(page.getByText('Failed to save customer')).toHaveCount(0)
+  })
+
+  test('offers the same upgrade when a new work order creates the customer', async ({ page }) => {
+    // The flow the getting-started checklist sends a new workshop to: vehicle,
+    // customer and job from one dialog. Still at the limit, the customer is
+    // refused, and with it the vehicle that would have belonged to them.
+    const customers = await customerRows(organizationId)
+    const vehicles = await vehicleRows(organizationId)
+
+    await page.goto('/work-orders?new=1')
+    await settle(page)
+    await expect(async () => {
+      await page
+        .getByRole('dialog', { name: 'Select Vehicle' })
+        .getByRole('button', { name: 'Add New Vehicle' })
+        .first()
+        .click()
+      await expect(page.locator('#new-make')).toBeVisible({ timeout: 2_000 })
+    }).toPass({ timeout: 30_000 })
+
+    await page.locator('#new-make').fill('Volvo')
+    await page.locator('#new-model').fill('V70')
+    await page.locator('#new-year').fill('2015')
+    await page.getByRole('combobox').filter({ hasText: 'Select a customer (optional)' }).click()
+    await page.getByRole('option', { name: 'Create new customer' }).click()
+    await page.locator('#new-customer-name').fill(`E2E Work order customer ${stamp}`)
+    await page.getByRole('button', { name: 'Create & Continue' }).click()
+
+    await expectUpgradeOffered(page, new RegExp(`up to ${FREE_CUSTOMERS} customers`))
+    expect(await customerRows(organizationId), 'no customer written').toBe(customers)
+    expect(await vehicleRows(organizationId), 'and no vehicle without an owner').toBe(vehicles)
+    // Not taken on to a work order that has nobody to belong to.
+    await expect(page).toHaveURL(/\/work-orders/)
+  })
+
+  test('offers an upgrade when inviting a colleague', async ({ page }) => {
+    // The free plan is one person, so the first invitation is the limit.
+    await page.goto('/settings/team')
+    await settle(page)
+    await expect(async () => {
+      await page.getByRole('button', { name: 'Add', exact: true }).first().click()
+      await expect(page.getByText('Someone in the office')).toBeVisible({ timeout: 2_000 })
+    }).toPass({ timeout: 30_000 })
+    await page.getByText('Someone in the office').click()
+    await page.locator('#member-email').fill(`e2e-colleague-${stamp}@example.com`)
+    await page.getByRole('button', { name: 'Invite', exact: true }).click()
+
+    await expectUpgradeOffered(page, /one team member/)
+    expect(await teamInvitations(organizationId), 'no invitation went out').toBe(0)
+  })
+
+  test('keeps online payments locked, with the way to a plan', async ({ page }) => {
+    // One of the settings pages gated by feature rather than by count: the
+    // notice names Stripe and points at the plans, and the connection behind
+    // it cannot be set up.
+    await page.goto('/settings/integrations/stripe')
+    await settle(page)
+
+    await expect(page.getByText('Subscription required')).toBeVisible({ timeout: 30_000 })
+    await expect(page.getByRole('heading', { name: 'Stripe' })).toBeVisible()
+    // In terms of payments, not the calendars and video calls other
+    // integrations are about.
+    await expect(page.getByText(/pay their invoices online/)).toBeVisible()
+    await expect(page.getByText(/calendars, video calls/)).toHaveCount(0)
+    await expect(page.getByRole('link', { name: 'View plans' })).toHaveAttribute(
+      'href',
+      '/settings/subscription'
+    )
+    // Nothing to type keys into, in front of the notice or behind it.
+    await expect(page.locator('input[name="stripe-secretKey"]')).toHaveCount(0)
+    await expect(page.getByRole('button', { name: 'Connect', exact: true })).toHaveCount(0)
+  })
+})
+
+test.describe('a paid plan', () => {
+  test('is not stopped where the free plan was', async ({ page }) => {
+    planId = await giveProPlan(organizationId)
+    const before = await customerRows(organizationId)
+
+    await addCustomer(page, `E2E On Pro ${stamp}`)
+    await expect(page.getByText('Customer created')).toBeVisible({ timeout: 30_000 })
+    expect(await customerRows(organizationId)).toBe(before + 1)
+  })
+
+  test('opens online payments for connecting', async ({ page }) => {
+    await page.goto('/settings/integrations/stripe')
+    await settle(page)
+
+    await expect(page.locator('input[name="stripe-secretKey"]')).toBeEditable({ timeout: 30_000 })
+    await expect(page.getByRole('button', { name: 'Connect', exact: true })).toBeVisible()
+    await expect(page.getByText('Subscription required')).toHaveCount(0)
+  })
+})

+ 329 - 0
e2e/specs/settings/marine.spec.ts

@@ -0,0 +1,329 @@
+import { expect, type Locator, type Page, test } from '@playwright/test'
+import { completeOnboarding, signUpWithPassword } from '../../support/cloud'
+import {
+  connectRegistry,
+  customerIdNamed,
+  disconnectRegistry,
+  organizationIdFor,
+  userIdFor,
+  workshopSetting,
+} from '../../support/db'
+import { settle } from '../../support/hydration'
+import { pdfContent } from '../../support/pdf'
+import { newWorkOrder, saveWorkOrder, seededVehicleUrl } from '../../support/work-order'
+
+/**
+ * A marine workshop, and the words the app uses for it.
+ *
+ * Settings → Workshop → Service Type is one choice with a long reach. Picked
+ * Marine, the workshop services vessels: a make is a manufacturer, the
+ * odometer is engine hours, a VIN is a HIN, a plate is a registration number,
+ * and a transmission is an outboard or inboard engine. Each place that is
+ * meant to switch is pinned here, and so is the way back, because a workshop
+ * that picked Marine by mistake has to get its car words back.
+ *
+ * A workshop of its own is opened by signing up. The seeded one is shared by
+ * the whole run, and a failure halfway would leave every later spec reading
+ * about vessels.
+ */
+
+// Signing up and onboarding a workshop in a hook takes longer than a test.
+test.describe.configure({ mode: 'serial', timeout: 180_000 })
+
+const stamp = Date.now()
+const EMAIL = `e2e-marine-${stamp}@example.com`
+const STATE = `e2e/.auth/marine-${stamp}.json`
+const SERVICE_TYPE = 'workshop.serviceType'
+// The model carries the run in letters and digits: the list's search reads an
+// all-digit word as a number, and the stamp is too big for one.
+const VESSEL = {
+  make: 'Boston Whaler',
+  model: `Montauk ${stamp.toString(36)}`,
+  year: '2021',
+  hours: '1234',
+}
+
+const SKIPPER = `E2E Skipper ${stamp}`
+/** A plate registry (the Dutch RDW): enough for the header to offer a lookup. */
+const REGISTRY = 'rdw'
+
+let organizationId = ''
+let vesselUrl = ''
+
+test.use({ storageState: STATE })
+
+test.beforeAll(async ({ browser }) => {
+  const context = await browser.newContext({ storageState: { cookies: [], origins: [] } })
+  const page = await context.newPage()
+  await signUpWithPassword(page, {
+    name: 'E2E Marine Owner',
+    email: EMAIL,
+    password: `E2e-pass-${stamp}`,
+  })
+  await completeOnboarding(page, `E2E Marina ${stamp}`, { sampleData: false })
+  await context.storageState({ path: STATE })
+  await context.close()
+
+  organizationId = await organizationIdFor(EMAIL)
+})
+
+test.afterAll(async () => {
+  if (organizationId) await disconnectRegistry(organizationId, REGISTRY)
+})
+
+function sidebar(page: Page): Locator {
+  return page.locator('[data-sidebar="sidebar"]')
+}
+
+function serviceTypeSelect(page: Page): Locator {
+  return page.getByRole('combobox').filter({ hasText: /^(Automotive|Marine)$/ })
+}
+
+/** Settings → Workshop → Service Type, saved, and checked as stored. */
+async function setServiceType(page: Page, type: 'Automotive' | 'Marine'): Promise<void> {
+  await page.goto('/settings/workshop')
+  await settle(page)
+  const select = serviceTypeSelect(page)
+  await expect(async () => {
+    if ((await select.textContent())?.trim() !== type) {
+      await select.click()
+      await page.getByRole('option', { name: type, exact: true }).click({ timeout: 2_000 })
+    }
+    await expect(select).toHaveText(type, { timeout: 2_000 })
+  }).toPass({ timeout: 30_000 })
+  await page.getByRole('button', { name: 'Save Workshop Settings' }).click()
+  await expect(page.getByText('Workshop settings saved')).toBeVisible()
+  // The page shows its toast whatever the save returned, so what was stored
+  // is what counts.
+  await expect
+    .poll(() => workshopSetting(organizationId, SERVICE_TYPE), { timeout: 15_000 })
+    .toBe(type.toLowerCase())
+}
+
+/** The vehicle list's add form, open. */
+async function openAddVehicle(page: Page): Promise<Locator> {
+  await page.goto('/vehicles')
+  await settle(page)
+  const dialog = page.getByRole('dialog', { name: 'Add New Vehicle' })
+  await expect(async () => {
+    await page
+      .getByRole('button', { name: 'Add Vehicle' })
+      .filter({ visible: true })
+      .first()
+      .click()
+    await expect(dialog).toBeVisible({ timeout: 2_000 })
+  }).toPass({ timeout: 30_000 })
+  return dialog
+}
+
+function label(dialog: Locator, field: string): Locator {
+  return dialog.locator(`label[for="${field}"]`)
+}
+
+/** The select drawn after a label. Its trigger carries no id of its own. */
+function selectAfter(dialog: Locator, field: string): Locator {
+  return dialog.locator(`label[for="${field}"] ~ [role="combobox"]`)
+}
+
+test.describe('a workshop that picks Marine', () => {
+  test('starts out as automotive', async ({ page }) => {
+    await page.goto('/settings/workshop')
+    await settle(page)
+    await expect(serviceTypeSelect(page)).toHaveText('Automotive')
+    expect(await workshopSetting(organizationId, SERVICE_TYPE), 'nothing stored yet').toBeNull()
+    await expect(sidebar(page).getByRole('link', { name: /^Vehicles/ })).toBeVisible()
+  })
+
+  test('keeps the choice once saved', async ({ page }) => {
+    await setServiceType(page, 'Marine')
+
+    await page.reload()
+    await settle(page)
+    await expect(serviceTypeSelect(page)).toHaveText('Marine')
+  })
+
+  test('lists vessels in the sidebar', async ({ page }) => {
+    await page.goto('/vehicles')
+    await settle(page)
+    await expect(sidebar(page).getByRole('link', { name: /^Vessels/ })).toHaveAttribute(
+      'href',
+      '/vehicles'
+    )
+    await expect(sidebar(page).getByRole('link', { name: /^Vehicles/ })).toHaveCount(0)
+  })
+
+  test('asks for what a boat has when one is added', async ({ page }) => {
+    const dialog = await openAddVehicle(page)
+
+    await expect(label(dialog, 'make')).toHaveText('Manufacturer *')
+    await expect(label(dialog, 'mileage')).toHaveText('Engine Hours')
+    await expect(label(dialog, 'vin')).toHaveText('HIN')
+    await expect(label(dialog, 'licensePlate')).toContainText('Registration Number')
+    await expect(label(dialog, 'transmission')).toHaveText('Engine Type')
+    await expect(label(dialog, 'engineSize')).toHaveText('Engine')
+    // A periodic roadworthiness inspection is a road vehicle's.
+    await expect(dialog.locator('#inspectionDueAt')).toHaveCount(0)
+
+    // Two-stroke instead of electric and hybrid.
+    await selectAfter(dialog, 'fuelType').click()
+    await expect(page.getByRole('option')).toHaveText(['Gasoline', 'Diesel', 'Two-Stroke', 'Other'])
+    await page.getByRole('option', { name: 'Two-Stroke' }).click()
+
+    // Outboard or inboard, outboard unless told otherwise.
+    const engineType = selectAfter(dialog, 'transmission')
+    await expect(engineType).toHaveText('Outboard')
+    await engineType.click()
+    await expect(page.getByRole('option')).toHaveText(['Outboard', 'Inboard'])
+    await page.getByRole('option', { name: 'Inboard' }).click()
+
+    await dialog.locator('#make').fill(VESSEL.make)
+    await dialog.locator('#model').fill(VESSEL.model)
+    await dialog.locator('#year').fill(VESSEL.year)
+    await dialog.locator('#mileage').fill(VESSEL.hours)
+    await dialog.locator('#vin').fill(`BWC${stamp}`.slice(0, 12))
+    await dialog.locator('#licensePlate').fill('NB-4521-E')
+    await dialog.getByRole('button', { name: 'Add New Vehicle' }).click()
+    await expect(page.getByText('Vehicle added')).toBeVisible({ timeout: 30_000 })
+  })
+
+  test('counts a vessel in engine hours, from its page to its invoice', async ({ page }) => {
+    vesselUrl = await seededVehicleUrl(page, VESSEL.model)
+    await settle(page)
+    await expect(page.getByText('1,234', { exact: true }).first()).toBeVisible()
+    await expect(page.getByText('hrs', { exact: true }).first()).toBeVisible()
+
+    const jobUrl = await newWorkOrder(page, vesselUrl, `E2E Vessel service ${stamp}`)
+    const hours = page.locator('#mileage')
+    await expect(page.locator('label[for="mileage"]')).toHaveText('Engine Hours')
+    await hours.fill('1250')
+    await saveWorkOrder(page)
+
+    const id = new URL(jobUrl).pathname.split('/').pop()
+    const response = await page.request.get(`/api/protected/services/${id}/pdf`)
+    expect(response.ok(), 'the invoice PDF is served').toBe(true)
+    const pdf = await pdfContent(await response.body())
+    expect(pdf.flat).toMatch(/Engine Hours:?\s*1,250 hrs/)
+    expect(pdf.flat).not.toContain('Mileage')
+    // The vessel's own numbers under a vessel's names.
+    expect(pdf.flat).toContain(`HIN: ${`BWC${stamp}`.slice(0, 12)}`)
+    expect(pdf.flat).toContain('Registration: NB-4521-E')
+    expect(pdf.flat).not.toMatch(/\bVIN:|\bPlate:/)
+  })
+
+  test('names vessels in the breadcrumbs', async ({ page }) => {
+    const breadcrumb = page.getByRole('navigation', { name: 'breadcrumb' })
+
+    await page.goto('/vehicles')
+    await settle(page)
+    await expect(breadcrumb).toContainText('Vessels')
+    await expect(breadcrumb).toContainText('All Vessels')
+    await expect(breadcrumb).not.toContainText('Vehicle')
+
+    await page.goto(vesselUrl)
+    await settle(page)
+    await expect(breadcrumb).toContainText('Vessel Details')
+    await expect(breadcrumb).not.toContainText('Vehicle')
+  })
+
+  test('names vessels in the bottom bar on a phone', async ({ page }) => {
+    await page.setViewportSize({ width: 390, height: 844 })
+    await page.goto('/vehicles')
+    await settle(page)
+
+    const vessels = page
+      .getByRole('link', { name: 'Vessels', exact: true })
+      .filter({ visible: true })
+    await expect(vessels).toHaveAttribute('href', '/vehicles')
+    await expect(
+      page.getByRole('link', { name: 'Vehicles', exact: true }).filter({ visible: true })
+    ).toHaveCount(0)
+  })
+
+  test('starts a work order on a vessel, with a registration number', async ({ page }) => {
+    await page.goto('/work-orders?new=1')
+    await settle(page)
+    const picker = page.getByRole('dialog', { name: 'Select Vessel for Work Order' })
+    await expect(picker).toBeVisible({ timeout: 30_000 })
+    await expect(picker.getByPlaceholder('Search vessels...')).toBeVisible()
+
+    await expect(async () => {
+      await picker.getByRole('button', { name: 'Add New Vessel' }).first().click()
+      await expect(page.locator('#new-make')).toBeVisible({ timeout: 2_000 })
+    }).toPass({ timeout: 30_000 })
+    const create = page.getByRole('dialog', { name: 'Add New Vessel' })
+    await expect(create.getByText('Manufacturer *', { exact: true })).toBeVisible()
+    await expect(create.getByText('Registration Number', { exact: true })).toBeVisible()
+    await expect(create.getByText('License Plate', { exact: true })).toHaveCount(0)
+
+    // A vessel and its owner, made in one go, for the customer page below.
+    await page.locator('#new-make').fill('Yamaha')
+    await page.locator('#new-model').fill(`242X ${stamp.toString(36)}`)
+    await page.locator('#new-year').fill('2019')
+    await page.getByRole('combobox').filter({ hasText: 'Select a customer (optional)' }).click()
+    await page.getByRole('option', { name: 'Create new customer' }).click()
+    await page.locator('#new-customer-name').fill(SKIPPER)
+    await page.getByRole('button', { name: 'Create & Continue' }).click()
+    await page.waitForURL(/\/vehicles\/[^/]+\/service\//, { timeout: 30_000 })
+  })
+
+  test("shows a customer's vessels in engine hours", async ({ page }) => {
+    await page.goto(`/customers/${await customerIdNamed(organizationId, SKIPPER)}`)
+    await settle(page)
+
+    await expect(page.getByText('Engine Hours', { exact: true }).first()).toBeVisible()
+    // The list is drawn twice, cards for a phone and a table for a desk, so
+    // only the one on screen counts; neither may say km or mi.
+    await expect(
+      page
+        .getByText(/^\d[\d,]* hrs$/)
+        .filter({ visible: true })
+        .first()
+    ).toBeVisible()
+    await expect(page.getByText(/^\d[\d,]* (km|mi)$/)).toHaveCount(0)
+  })
+
+  test('does not offer a plate lookup, even with a registry connected', async ({ page }) => {
+    // Registries answer for road vehicles. Connected, the header would offer
+    // one to an automotive workshop; the last test below proves it does.
+    await connectRegistry(organizationId, await userIdFor(EMAIL), REGISTRY)
+
+    await page.goto('/vehicles')
+    await settle(page)
+    await expect(page.getByRole('heading', { name: /./ }).first()).toBeVisible()
+    await expect(page.getByRole('button', { name: 'Plate lookup' })).toHaveCount(0)
+  })
+
+  test('gets its car words back when switched to Automotive', async ({ page }) => {
+    await setServiceType(page, 'Automotive')
+
+    const dialog = await openAddVehicle(page)
+    await expect(label(dialog, 'make')).toHaveText('Make *')
+    await expect(label(dialog, 'mileage')).toHaveText('Mileage')
+    await expect(label(dialog, 'vin')).toHaveText('VIN')
+    await expect(label(dialog, 'licensePlate')).toContainText('License Plate')
+    await expect(label(dialog, 'transmission')).toHaveText('Transmission')
+    await expect(dialog.locator('#inspectionDueAt')).toBeVisible()
+
+    await selectAfter(dialog, 'fuelType').click()
+    await expect(page.getByRole('option')).toHaveText([
+      'Gasoline',
+      'Diesel',
+      'Electric',
+      'Hybrid',
+      'Other',
+    ])
+    await page.keyboard.press('Escape')
+    await dialog.getByRole('button', { name: 'Cancel' }).click()
+
+    await expect(sidebar(page).getByRole('link', { name: /^Vehicles/ })).toBeVisible()
+    await expect(sidebar(page).getByRole('link', { name: /^Vessels/ })).toHaveCount(0)
+
+    // The same pages, back in car words, and the registry connected earlier is
+    // offered again.
+    await page.goto('/vehicles')
+    await settle(page)
+    const breadcrumb = page.getByRole('navigation', { name: 'breadcrumb' })
+    await expect(breadcrumb).toContainText('All Vehicles')
+    await expect(page.getByRole('button', { name: 'Plate lookup' }).first()).toBeVisible()
+  })
+})

+ 56 - 0
e2e/specs/vehicles/search.spec.ts

@@ -0,0 +1,56 @@
+import { expect, type Page, test } from '@playwright/test'
+import { settle } from '../../support/hydration'
+
+/**
+ * Searching the vehicle list with a number.
+ *
+ * A four-digit word is also tried as a model year, which is how "2023" finds
+ * the 2023 cars. Every all-digit word used to be tried that way, and a phone
+ * number with its country code is past what the year column holds: the
+ * database refused the query and the list was replaced by the raw error, query
+ * code and server paths included.
+ */
+
+/** Words that belong to the database, never to a page a workshop reads. */
+const LEAKED = /Invalid `|invocation|out of range for type|prisma|\.next\/|TURBOPACK/i
+
+async function expectNoLeak(page: Page): Promise<void> {
+  await expect(page.getByText(LEAKED)).toHaveCount(0)
+}
+
+test('a long number finds nothing, instead of breaking the list', async ({ page }) => {
+  await page.goto('/vehicles?search=4791234567')
+  await settle(page)
+
+  await expect(page.getByText('No vehicles match your search.')).toBeVisible()
+  await expect(page.getByText('Failed to load vehicles')).toHaveCount(0)
+  await expectNoLeak(page)
+})
+
+test('a full phone number finds its customer in the global search', async ({ page }) => {
+  // James Mitchell is seeded with +1 (555) 201-3344. Eleven digits were tried
+  // as a model year too, and that one failed query took every other result of
+  // the search down with it, the customer whose number it is included.
+  await page.goto('/vehicles')
+  await settle(page)
+  const input = page.getByPlaceholder('Search by name, plate, phone, VIN, invoice…')
+  await expect(async () => {
+    await page.keyboard.press('Control+k')
+    await expect(input).toBeVisible({ timeout: 2_000 })
+  }).toPass({ timeout: 30_000 })
+
+  await input.fill('15552013344')
+  await expect(page.getByRole('option', { name: /James Mitchell/ }).first()).toBeVisible({
+    timeout: 15_000,
+  })
+  await expectNoLeak(page)
+})
+
+test('a year still finds the vehicles from that year', async ({ page }) => {
+  // The seeded Camry XSE is a 2023.
+  await page.goto('/vehicles?search=2023')
+  await settle(page)
+
+  await expect(page.getByRole('link', { name: /Camry/ }).first()).toBeVisible()
+  await expectNoLeak(page)
+})

+ 120 - 0
e2e/support/cloud.ts

@@ -0,0 +1,120 @@
+import { type BrowserContext, expect, type Page } from '@playwright/test'
+import { settle } from './hydration'
+
+/**
+ * Driving the app in cloud mode, as a stranger arrives at it.
+ *
+ * Cloud mode is where the free plan's limits bite, where the sign-up page
+ * makes its case, and where Google sign-in exists. The specs under
+ * `specs/cloud` run against the same build started with TORQVOICE_MODE=cloud
+ * (see `E2E_MODE` in playwright.config.ts), and each opens a workshop of its
+ * own rather than touching the seeded one.
+ */
+
+const standin = process.env.E2E_GOOGLE_STANDIN ?? 'http://127.0.0.1:8027'
+
+export interface GoogleAccount {
+  sub: string
+  email: string
+  email_verified: boolean
+  name: string
+}
+
+/** Offers an account in the stand-in's chooser. Unverified only when asked. */
+export async function registerGoogleAccount(account: {
+  email: string
+  name?: string
+  emailVerified?: boolean
+}): Promise<GoogleAccount> {
+  const response = await fetch(`${standin}/accounts`, {
+    method: 'POST',
+    headers: { 'content-type': 'application/json' },
+    body: JSON.stringify({
+      email: account.email,
+      name: account.name ?? account.email,
+      email_verified: account.emailVerified ?? true,
+    }),
+  })
+  if (!response.ok) {
+    throw new Error(
+      `the Google stand-in answered ${response.status}. Is e2e/google-standin.ts running?`
+    )
+  }
+  return response.json()
+}
+
+export interface GoogleStandinState {
+  accounts: GoogleAccount[]
+  authorizeRequests: Record<string, string>[]
+  tokenExchanges: { clientId: string; code: string; hadVerifier: boolean }[]
+}
+
+export async function googleStandin(): Promise<GoogleStandinState> {
+  return (await fetch(`${standin}/state`)).json()
+}
+
+export async function clearGoogleStandin(): Promise<void> {
+  await fetch(`${standin}/state`, { method: 'DELETE' })
+}
+
+/**
+ * Sends the browser's trip to Google to the stand-in instead. The app builds
+ * the real `accounts.google.com` address, as it would for a customer; only
+ * where the browser lands changes.
+ */
+export async function routeGoogleToStandin(context: BrowserContext): Promise<void> {
+  await context.route('https://accounts.google.com/**', async (route) => {
+    const url = new URL(route.request().url())
+    await route.fulfill({
+      status: 302,
+      headers: { location: `${standin}${url.pathname}${url.search}` },
+    })
+  })
+}
+
+/** Signs up with a password on the cloud sign-up page, landing in onboarding. */
+export async function signUpWithPassword(
+  page: Page,
+  person: { name: string; email: string; password: string }
+): Promise<void> {
+  await page.goto('/auth/sign-up')
+  await settle(page)
+  await page.locator('#name').fill(person.name)
+  await page.locator('#email').fill(person.email)
+  await page.locator('#password').fill(person.password)
+  await page.locator('#terms').click()
+  // By type, not by name: the button's wording is the page's pitch, and a
+  // spec that signs up in another language must still find it.
+  await page.locator('form button[type="submit"]').click()
+  await page.waitForURL(/\/onboarding/, { timeout: 30_000 })
+}
+
+/** Names the workshop and finishes onboarding, with or without the sample data. */
+export async function completeOnboarding(
+  page: Page,
+  workshopName: string,
+  { sampleData }: { sampleData: boolean }
+): Promise<void> {
+  await settle(page)
+  await page.locator('#workshopName').fill(workshopName)
+  const sample = page.locator('#loadSampleData')
+  const checked =
+    (await sample.getAttribute('aria-checked')) === 'true' ||
+    (await sample.isChecked().catch(() => false))
+  if (checked !== sampleData) await sample.click()
+  await page.locator('form button[type="submit"]').click()
+  await page.waitForURL((url) => !/^\/(auth|onboarding)/.test(url.pathname), { timeout: 60_000 })
+}
+
+/** The dialog a plan limit opens, in place of an error. */
+export function upgradeDialog(page: Page) {
+  return page.getByRole('dialog', { name: 'Upgrade to keep going' })
+}
+
+/** Waits for the upgrade dialog and checks it offers the way to a plan. */
+export async function expectUpgradeOffered(page: Page, reason: RegExp): Promise<void> {
+  const dialog = upgradeDialog(page)
+  await expect(dialog, 'the plan limit is offered as an upgrade').toBeVisible({ timeout: 30_000 })
+  await expect(dialog.getByText(reason)).toBeVisible()
+  await expect(dialog.getByRole('link')).toHaveAttribute('href', '/settings/subscription')
+}

+ 181 - 0
e2e/support/db.ts

@@ -515,3 +515,184 @@ export async function vendorPaymentRows(
 export async function deleteVendorPaymentRows(externalId: string): Promise<void> {
   await withDb((db) => db.query(`delete from payments where "externalId" = $1`, [externalId]))
 }
+
+/** The id of the user signed up with an address. */
+export async function userIdFor(email: string): Promise<string> {
+  return withDb(async (db) => {
+    const result = await db.query<{ id: string }>(
+      `select id from users where lower(email) = lower($1)`,
+      [email]
+    )
+    const id = result.rows[0]?.id
+    if (!id) throw new Error(`no user with ${email}`)
+    return id
+  })
+}
+
+/**
+ * Writes customers straight into a workshop, as if it had typed them in.
+ *
+ * For reaching a plan limit without twenty trips through a form: what is
+ * under test is the one customer past the limit, and that one goes through
+ * the app. These are real customers, not sample ones, so they count.
+ */
+export async function insertCustomers(
+  organizationId: string,
+  userId: string,
+  count: number,
+  prefix: string
+): Promise<void> {
+  await withDb((db) =>
+    db.query(
+      `insert into customers (id, name, "userId", "organizationId", "updatedAt")
+       select md5(random()::text || clock_timestamp()::text || n), $3 || ' ' || n, $2, $1, now()
+       from generate_series(1, $4::int) as n`,
+      [organizationId, userId, prefix, count]
+    )
+  )
+}
+
+/** Every customer row a workshop holds, sample ones included. */
+export async function customerRows(organizationId: string): Promise<number> {
+  return withDb(async (db) => {
+    const result = await db.query<{ n: number }>(
+      `select count(*)::int as n from customers where "organizationId" = $1`,
+      [organizationId]
+    )
+    return result.rows[0]?.n ?? 0
+  })
+}
+
+/** Team invitations a workshop has sent. */
+export async function teamInvitations(organizationId: string): Promise<number> {
+  return withDb(async (db) => {
+    const result = await db.query<{ n: number }>(
+      `select count(*)::int as n from team_invitations where "organizationId" = $1`,
+      [organizationId]
+    )
+    return result.rows[0]?.n ?? 0
+  })
+}
+
+/**
+ * Puts a workshop on an active Pro subscription, as a paid checkout would.
+ * Returns the plan's id so the spec can take it away again.
+ */
+export async function giveProPlan(organizationId: string): Promise<string> {
+  return withDb(async (db) => {
+    const plan = await db.query<{ id: string }>(
+      `insert into subscription_plans (id, name, price, "updatedAt")
+       values (md5(random()::text || clock_timestamp()::text), 'E2E Pro', 0, now())
+       returning id`
+    )
+    const planId = plan.rows[0].id
+    await db.query(
+      `insert into subscriptions (id, status, "organizationId", "planId", "currentPeriodEnd", "updatedAt")
+       values (md5(random()::text || clock_timestamp()::text), 'active', $1, $2, now() + interval '30 days', now())`,
+      [organizationId, planId]
+    )
+    return planId
+  })
+}
+
+/** Takes a subscription and its plan away again. */
+export async function removePlan(organizationId: string, planId: string): Promise<void> {
+  await withDb(async (db) => {
+    await db.query(`delete from subscriptions where "organizationId" = $1`, [organizationId])
+    await db.query(`delete from subscription_plans where id = $1`, [planId])
+  })
+}
+
+export interface PersonRecord {
+  /** How many users hold the address: more than one is two people where there should be one. */
+  users: number
+  /** How each of them can sign in: `credential` for a password, `google`. */
+  providers: string[]
+  emailVerified: boolean
+}
+
+/** Who holds an address, and how they can sign in. */
+export async function personWithEmail(email: string): Promise<PersonRecord> {
+  return withDb(async (db) => {
+    const users = await db.query<{ id: string; emailVerified: boolean }>(
+      `select id, "emailVerified" from users where lower(email) = lower($1)`,
+      [email]
+    )
+    const providers = await db.query<{ providerId: string }>(
+      `select a."providerId" from accounts a join users u on u.id = a."userId"
+        where lower(u.email) = lower($1) order by a."providerId"`,
+      [email]
+    )
+    return {
+      users: users.rows.length,
+      providers: providers.rows.map((row) => row.providerId),
+      emailVerified: users.rows.some((row) => row.emailVerified),
+    }
+  })
+}
+
+/** Every vehicle row a workshop holds. */
+export async function vehicleRows(organizationId: string): Promise<number> {
+  return withDb(async (db) => {
+    const result = await db.query<{ n: number }>(
+      `select count(*)::int as n from vehicles where "organizationId" = $1`,
+      [organizationId]
+    )
+    return result.rows[0]?.n ?? 0
+  })
+}
+
+/** One of a workshop's settings as stored, or null when it was never saved. */
+export async function workshopSetting(organizationId: string, key: string): Promise<string | null> {
+  return withDb(async (db) => {
+    const result = await db.query<{ value: string }>(
+      `select value from app_settings where "organizationId" = $1 and key = $2`,
+      [organizationId, key]
+    )
+    return result.rows[0]?.value ?? null
+  })
+}
+
+/**
+ * A vehicle registry connected to a workshop, active, the way the header's
+ * plate lookup looks for one. No keys: nothing is looked up, only offered.
+ */
+export async function connectRegistry(
+  organizationId: string,
+  userId: string,
+  connectorId: string
+): Promise<void> {
+  await withDb((db) =>
+    db.query(
+      `insert into integration_connections
+         (id, "organizationId", "connectorId", status, "createdById", "updatedAt")
+       values ($1, $2, $3, 'active', $4, now())`,
+      [`e2e-${connectorId}-${Date.now()}`, organizationId, connectorId, userId]
+    )
+  )
+}
+
+export async function disconnectRegistry(
+  organizationId: string,
+  connectorId: string
+): Promise<void> {
+  await withDb((db) =>
+    db.query(
+      `delete from integration_connections where "organizationId" = $1 and "connectorId" = $2`,
+      [organizationId, connectorId]
+    )
+  )
+}
+
+/** The id of a workshop's customer with exactly this name. */
+export async function customerIdNamed(organizationId: string, name: string): Promise<string> {
+  return withDb(async (db) => {
+    const result = await db.query<{ id: string }>(
+      `select id from customers where "organizationId" = $1 and name = $2`,
+      [organizationId, name]
+    )
+    const id = result.rows[0]?.id
+    if (!id) throw new Error(`no customer named ${name}`)
+    return id
+  })
+}

+ 44 - 0
messages/de/auth.json

@@ -6,6 +6,8 @@
     "forgotPassword": "Passwort vergessen?",
     "noAccount": "Noch kein Konto?",
     "createOne": "Jetzt erstellen",
+    "newHere": "Neu bei Torqvoice?",
+    "createFreeAccount": "Kostenloses Konto erstellen",
     "termsAgreement": "Durch die Nutzung dieses Dienstes stimmen Sie unseren",
     "or": "oder",
     "passkey": "Mit Passkey anmelden",
@@ -22,12 +24,16 @@
     "title": "Konto erstellen",
     "descriptionInvite": "Erstellen Sie Ihr Konto, um dem Team beizutreten",
     "descriptionDefault": "Richten Sie Ihre Werkstatt ein, um Kundenfahrzeuge zu verwalten",
+    "titleCloud": "Starten Sie Ihre kostenlose Werkstatt",
+    "descriptionCloud": "In unter einer Minute startklar. Keine Kreditkarte nötig.",
     "fullName": "Vollständiger Name",
     "fullNamePlaceholder": "Max Mustermann",
     "passwordPlaceholder": "Sicheres Passwort erstellen",
     "agreeToTerms": "Ich stimme den",
     "createAccountJoin": "Konto erstellen & Team beitreten",
     "createAccount": "Konto erstellen",
+    "createAccountCloud": "Kostenloses Konto erstellen",
+    "noCardNote": "Kostenloser Tarif. Upgrade nur, wenn Sie mehr brauchen.",
     "alreadyHaveAccount": "Bereits ein Konto?",
     "errors": {
       "couldNotCreate": "Konto konnte nicht erstellt werden",
@@ -39,6 +45,11 @@
     "passwordHint": "Mindestens 8 Zeichen",
     "signInInstead": "Stattdessen anmelden"
   },
+  "social": {
+    "google": "Mit Google fortfahren",
+    "orEmail": "oder mit E-Mail fortfahren",
+    "failed": "Die Anmeldung mit Google wurde nicht abgeschlossen. Versuchen Sie es erneut oder nutzen Sie E-Mail und Passwort."
+  },
   "forgotPassword": {
     "title": "Passwort zurücksetzen",
     "description": "Geben Sie Ihre E-Mail-Adresse ein und wir senden Ihnen einen Link zum Zurücksetzen",
@@ -88,5 +99,38 @@
     "errors": {
       "invalidCode": "Ungültiger Code"
     }
+  },
+  "shell": {
+    "language": "Sprache",
+    "about": "Über Torqvoice",
+    "docs": "Dokumentation",
+    "terms": "Nutzungsbedingungen"
+  },
+  "pitch": {
+    "badge": "Für unabhängige Werkstätten",
+    "headline": "Werkstattverwaltung",
+    "headlineHighlight": "ohne Papierkram",
+    "subheadline": "Angebote, Aufträge, Rechnungen und Kundennachrichten an einem Ort. Jeder Auftrag wird einmal erfasst, und nichts geht unter.",
+    "benefits": {
+      "flow": {
+        "title": "Vom Angebot zur bezahlten Rechnung in einem Ablauf",
+        "description": "Machen Sie aus einem Angebot einen Auftrag und eine Rechnung, ohne etwas neu einzutippen."
+      },
+      "history": {
+        "title": "Die komplette Historie jedes Fahrzeugs",
+        "description": "Arbeiten, Teile, Fotos und Kilometerstand auf einer Zeitachse, griffbereit, wenn der Kunde anruft."
+      },
+      "pay": {
+        "title": "Kunden zahlen per Link",
+        "description": "Rechnung senden und online bezahlt werden, mit Stripe, Vipps oder PayPal. Kein Kundenkonto nötig."
+      }
+    },
+    "proof": {
+      "free": "Kostenloser Tarif, keine Kreditkarte",
+      "minute": "In einer Minute startklar",
+      "languages": "12 Sprachen",
+      "openSource": "Open Source"
+    },
+    "screenshotAlt": "Das Torqvoice-Dashboard mit aktiven Aufträgen, Kennzahlen und der Checkliste für den Einstieg"
   }
 }

+ 8 - 0
messages/de/common.json

@@ -81,6 +81,14 @@
     "enterFullscreen": "Vollbild",
     "exitFullscreen": "Vollbild beenden"
   },
+  "upgrade": {
+    "title": "Upgrade, um weiterzumachen",
+    "maxCustomers": "Ihr Tarif umfasst bis zu {limit} Kunden, und diese Zahl ist erreicht. Mit einem Upgrade legen Sie so viele an, wie Sie brauchen.",
+    "maxUsers": "Ihr Tarif umfasst {limit, plural, one {ein Teammitglied} other {# Teammitglieder}}. Mit einem Upgrade laden Sie weitere Personen ein.",
+    "generic": "Diese Funktion ist in Ihrem aktuellen Tarif nicht enthalten.",
+    "featureNotIncluded": "{feature} ist in Ihrem aktuellen Tarif nicht enthalten.",
+    "notNow": "Später"
+  },
   "broadcast": {
     "dismiss": "Schließen",
     "title": "Hinweis an alle",

+ 3 - 0
messages/de/integrations.json

@@ -126,6 +126,9 @@
     "leaveEmpty": "Leer lassen",
     "noLimit": "Keine Grenze",
     "planLocked": "Integrationen sind in Ihrem Tarif nicht enthalten.",
+    "lockedIntegrations": "Verbinden Sie Kalender, Videoanrufe und weitere Dienste mit Ihrer Werkstatt.",
+    "lockedPayments": "Lassen Sie Kunden ihre Rechnungen online bezahlen, und jede Zahlung wird auf der Rechnung verbucht.",
+    "lockedAi": "Verbinden Sie einen KI-Anbieter, um KI-Funktionen in Ihrer Werkstatt zu nutzen.",
     "ownAppTitle": "Diese Installation verwendet Ihre eigene App beim Anbieter",
     "redirectUri": "Beim Anbieter zu registrierende Redirect-URI:",
     "sendTestEmail": "Send test email",

+ 3 - 0
messages/de/navigation.json

@@ -2,8 +2,11 @@
   "breadcrumbs": {
     "dashboard": "Dashboard",
     "vehicles": "Fahrzeuge",
+    "vessels": "Wasserfahrzeuge",
     "allVehicles": "Alle Fahrzeuge",
+    "allVessels": "Alle Wasserfahrzeuge",
     "vehicleDetails": "Fahrzeugdetails",
+    "vesselDetails": "Wasserfahrzeugdetails",
     "customers": "Kunden",
     "allCustomers": "Alle Kunden",
     "customerDetails": "Kundendetails",

+ 9 - 13
messages/de/onboarding.json

@@ -53,24 +53,20 @@
   },
   "checklist": {
     "title": "Erste Schritte",
-    "description": "Vier Schritte, um Ihre Werkstatt zum Laufen zu bringen",
+    "description": "Drei Schritte, und {workshop} läuft",
     "progress": "{done}/{total}",
     "steps": {
-      "customer": {
-        "title": "Kunden anlegen",
-        "description": "Legen Sie Ihren ersten Kunden an"
-      },
-      "vehicle": {
-        "title": "Fahrzeug anlegen",
-        "description": "Erfassen Sie ein Fahrzeug für einen Kunden"
-      },
       "workOrder": {
-        "title": "Auftrag erstellen",
-        "description": "Eröffnen Sie Ihren ersten Auftrag"
+        "title": "Legen Sie Ihren ersten Auftrag an",
+        "description": "Kunde, Fahrzeug und Auftrag in einem Dialog"
+      },
+      "company": {
+        "title": "Ergänzen Sie Ihre Werkstattdaten",
+        "description": "Adresse, Telefon und Registernummer für Ihre Rechnungen"
       },
       "invoice": {
-        "title": "Rechnung senden oder herunterladen",
-        "description": "Teilen Sie eine Rechnung mit einem Kunden oder laden Sie sie als PDF herunter"
+        "title": "Senden oder laden Sie Ihre erste Rechnung",
+        "description": "An den Kunden schicken oder als PDF speichern"
       }
     },
     "allDoneTitle": "Alles erledigt",

+ 9 - 0
messages/de/pdf.json

@@ -5,12 +5,16 @@
     "billTo": "Rechnungsempfänger",
     "customerTaxId": "USt-IdNr.",
     "vehicle": "Fahrzeug",
+    "vehicleMarine": "Wasserfahrzeug",
     "vin": "VIN: {vin}",
+    "vinMarine": "HIN: {vin}",
     "plate": "Kennzeichen: {plate}",
+    "plateMarine": "Registrierungsnummer: {plate}",
     "mileage": "Kilometerstand: {mileage}",
     "mileageMarine": "Betriebsstunden: {mileage}",
     "km": "km",
     "mi": "mi",
+    "mileageUnitMarine": "h",
     "service": "Service",
     "type": "Typ: {type}",
     "tech": "Techniker: {tech}",
@@ -118,9 +122,13 @@
   },
   "inspection": {
     "title": "FAHRZEUGINSPEKTION",
+    "titleMarine": "BOOTSINSPEKTION",
     "vehicle": "Fahrzeug",
+    "vehicleMarine": "Wasserfahrzeug",
     "vin": "VIN: {vin}",
+    "vinMarine": "HIN: {vin}",
     "plate": "Kennzeichen: {plate}",
+    "plateMarine": "Registrierungsnummer: {plate}",
     "mileage": "Kilometerstand: {mileage}",
     "mileageMarine": "Betriebsstunden: {mileage}",
     "customer": "Kunde",
@@ -136,6 +144,7 @@
     "statusColumn": "Status",
     "notesColumn": "Hinweise",
     "footerText": "Fahrzeuginspektion — {shopName}",
+    "footerTextMarine": "Bootsinspektion · {shopName}",
     "viewPortal": "Ihr Portal ansehen: {url}",
     "tel": "Tel: {phone}",
     "euPass": "Kein Mangel",

+ 5 - 3
messages/de/settings.json

@@ -147,9 +147,11 @@
     "banner": "Sie haben nur Lesezugriff auf die Einstellungen. Kontaktieren Sie einen Administrator, um Anderungen vorzunehmen."
   },
   "featureLocked": {
-    "requiresPro": "Erfordert eine Pro-Lizenz",
-    "upgradePlan": "Tarif upgraden",
-    "activateLicense": "Lizenz aktivieren"
+    "requiresPro": "Abonnement erforderlich",
+    "upgradePlan": "Tarife ansehen",
+    "activateLicense": "Lizenz aktivieren",
+    "requiresLicense": "White-Label-Lizenz erforderlich",
+    "previewHint": "Dies ist eine Vorschau. Alles auf dieser Seite wird mit einem Abonnement freigeschaltet."
   },
   "company": {
     "logoTitle": "Firmenlogo",

+ 10 - 0
messages/de/workOrders.json

@@ -43,15 +43,23 @@
   },
   "vehiclePicker": {
     "title": "Fahrzeug für Arbeitsauftrag auswählen",
+    "titleMarine": "Wasserfahrzeug für Arbeitsauftrag auswählen",
     "searchPlaceholder": "Fahrzeuge durchsuchen...",
+    "searchPlaceholderMarine": "Wasserfahrzeuge durchsuchen...",
     "empty": "Keine Fahrzeuge gefunden.",
+    "emptyMarine": "Keine Wasserfahrzeuge gefunden.",
     "emptySearch": "Keine Fahrzeuge entsprechen Ihrer Suche.",
+    "emptySearchMarine": "Keine Wasserfahrzeuge entsprechen Ihrer Suche.",
     "addNewVehicle": "Neues Fahrzeug hinzufügen",
+    "addNewVehicleMarine": "Neues Wasserfahrzeug hinzufügen",
     "noPlate": "Kein Kennzeichen",
+    "noPlateMarine": "Keine Registrierungsnummer",
     "make": "Hersteller *",
+    "makeMarine": "Hersteller *",
     "model": "Modell *",
     "year": "Jahr *",
     "licensePlate": "Kennzeichen",
+    "licensePlateMarine": "Registrierungsnummer",
     "customer": "Kunde",
     "selectCustomer": "Wählen Sie einen Kunden (optional)",
     "createNewCustomer": "Neuen Kunden erstellen",
@@ -66,9 +74,11 @@
     "customerNameRequired": "Kundenname ist erforderlich",
     "failedCreateCustomer": "Kunde konnte nicht erstellt werden",
     "failedCreateVehicle": "Fahrzeug konnte nicht erstellt werden",
+    "failedCreateVehicleMarine": "Wasserfahrzeug konnte nicht erstellt werden",
     "somethingWentWrong": "Etwas ist schief gelaufen",
     "partsSale": "Reiner Teileverkauf",
     "partsSaleDescription": "Rechnung ohne Fahrzeug erstellen, für Teileverkauf über die Theke.",
+    "partsSaleDescriptionMarine": "Rechnung ohne Wasserfahrzeug erstellen, für Teileverkauf über die Theke.",
     "createSale": "Verkauf erstellen",
     "none": "Keiner"
   },

+ 44 - 0
messages/en/auth.json

@@ -7,6 +7,8 @@
     "resetPasswordCta": "Reset it here",
     "noAccount": "Don't have an account?",
     "createOne": "Create one",
+    "newHere": "New to Torqvoice?",
+    "createFreeAccount": "Create a free account",
     "termsAgreement": "By using this service you agree to our",
     "or": "or",
     "passkey": "Sign in with Passkey",
@@ -22,6 +24,8 @@
     "title": "Create an account",
     "descriptionInvite": "Create your account to join the team",
     "descriptionDefault": "Set up your workshop to manage customer vehicles",
+    "titleCloud": "Start your free workshop",
+    "descriptionCloud": "Ready in under a minute. No credit card required.",
     "fullName": "Full Name",
     "fullNamePlaceholder": "John Doe",
     "passwordPlaceholder": "Create a strong password",
@@ -29,6 +33,8 @@
     "agreeToTerms": "I agree to the",
     "createAccountJoin": "Create Account & Join Team",
     "createAccount": "Create Account",
+    "createAccountCloud": "Create free account",
+    "noCardNote": "Free plan. Upgrade only if you outgrow it.",
     "alreadyHaveAccount": "Already have an account?",
     "signInInstead": "Sign in instead",
     "errors": {
@@ -39,6 +45,11 @@
       "emailExists": "An account with this email already exists."
     }
   },
+  "social": {
+    "google": "Continue with Google",
+    "orEmail": "or continue with email",
+    "failed": "Google sign-in did not complete. Try again, or use your email and password."
+  },
   "forgotPassword": {
     "title": "Reset your password",
     "description": "Enter your email and we'll send you a reset link",
@@ -88,5 +99,38 @@
     "errors": {
       "invalidCode": "Invalid code"
     }
+  },
+  "shell": {
+    "language": "Language",
+    "about": "About Torqvoice",
+    "docs": "Docs",
+    "terms": "Terms"
+  },
+  "pitch": {
+    "badge": "For independent repair shops",
+    "headline": "Workshop management",
+    "headlineHighlight": "without the paperwork",
+    "subheadline": "Quotes, work orders, invoices and customer messages in one place. Every job is entered once, and nothing slips through.",
+    "benefits": {
+      "flow": {
+        "title": "Quote to paid invoice in one flow",
+        "description": "Turn a quote into a work order and an invoice without retyping a thing."
+      },
+      "history": {
+        "title": "Every vehicle's full history",
+        "description": "Services, parts, photos and mileage on one timeline, ready when the customer calls."
+      },
+      "pay": {
+        "title": "Customers pay from a link",
+        "description": "Send the invoice and get paid online with Stripe, Vipps or PayPal. No customer account needed."
+      }
+    },
+    "proof": {
+      "free": "Free plan, no credit card",
+      "minute": "Ready in a minute",
+      "languages": "12 languages",
+      "openSource": "Open source"
+    },
+    "screenshotAlt": "The Torqvoice dashboard with active jobs, key numbers and the getting-started checklist"
   }
 }

+ 8 - 0
messages/en/common.json

@@ -81,6 +81,14 @@
     "enterFullscreen": "Fullscreen",
     "exitFullscreen": "Exit fullscreen"
   },
+  "upgrade": {
+    "title": "Upgrade to keep going",
+    "maxCustomers": "Your plan includes up to {limit} customers, and you have reached that number. Upgrade to add as many as you need.",
+    "maxUsers": "Your plan includes {limit, plural, one {one team member} other {# team members}}. Upgrade to invite more people.",
+    "generic": "This feature is not included in your current plan.",
+    "featureNotIncluded": "{feature} is not included in your current plan.",
+    "notNow": "Not now"
+  },
   "broadcast": {
     "dismiss": "Dismiss",
     "title": "Notice to everyone",

+ 3 - 0
messages/en/integrations.json

@@ -126,6 +126,9 @@
     "leaveEmpty": "Leave empty",
     "noLimit": "No limit",
     "planLocked": "Integrations are not included in your plan.",
+    "lockedIntegrations": "Connect calendars, video calls and other services to your workshop.",
+    "lockedPayments": "Let customers pay their invoices online, with each payment booked on the invoice.",
+    "lockedAi": "Connect an AI provider to use AI features in your workshop.",
     "ownAppTitle": "This install uses your own app with the provider",
     "redirectUri": "Redirect URI to register with the provider:",
     "sendTestEmail": "Send test email",

+ 3 - 0
messages/en/navigation.json

@@ -2,8 +2,11 @@
   "breadcrumbs": {
     "dashboard": "Dashboard",
     "vehicles": "Vehicles",
+    "vessels": "Vessels",
     "allVehicles": "All Vehicles",
+    "allVessels": "All Vessels",
     "vehicleDetails": "Vehicle Details",
+    "vesselDetails": "Vessel Details",
     "customers": "Customers",
     "allCustomers": "All Customers",
     "customerDetails": "Customer Details",

+ 9 - 13
messages/en/onboarding.json

@@ -53,24 +53,20 @@
   },
   "checklist": {
     "title": "Getting started",
-    "description": "Four steps to get your workshop rolling",
+    "description": "Three steps to get {workshop} rolling",
     "progress": "{done}/{total}",
     "steps": {
-      "customer": {
-        "title": "Add a customer",
-        "description": "Create your first customer record"
-      },
-      "vehicle": {
-        "title": "Add a vehicle",
-        "description": "Register a vehicle for a customer"
-      },
       "workOrder": {
-        "title": "Create a work order",
-        "description": "Open your first job"
+        "title": "Create your first work order",
+        "description": "Customer, vehicle and job in one dialog"
+      },
+      "company": {
+        "title": "Add your workshop details",
+        "description": "Address, phone and registration number for your invoices"
       },
       "invoice": {
-        "title": "Send or download an invoice",
-        "description": "Share an invoice with a customer or download it as a PDF"
+        "title": "Send or download your first invoice",
+        "description": "Share it with the customer or save it as a PDF"
       }
     },
     "allDoneTitle": "You are all set",

+ 9 - 0
messages/en/pdf.json

@@ -5,12 +5,16 @@
     "billTo": "Bill To",
     "customerTaxId": "Tax ID",
     "vehicle": "Vehicle",
+    "vehicleMarine": "Vessel",
     "vin": "VIN: {vin}",
+    "vinMarine": "HIN: {vin}",
     "plate": "Plate: {plate}",
+    "plateMarine": "Registration: {plate}",
     "mileage": "Mileage: {mileage}",
     "mileageMarine": "Engine Hours: {mileage}",
     "km": "km",
     "mi": "mi",
+    "mileageUnitMarine": "hrs",
     "service": "Service",
     "type": "Type: {type}",
     "tech": "Tech: {tech}",
@@ -118,9 +122,13 @@
   },
   "inspection": {
     "title": "VEHICLE INSPECTION",
+    "titleMarine": "VESSEL INSPECTION",
     "vehicle": "Vehicle",
+    "vehicleMarine": "Vessel",
     "vin": "VIN: {vin}",
+    "vinMarine": "HIN: {vin}",
     "plate": "Plate: {plate}",
+    "plateMarine": "Registration: {plate}",
     "mileage": "Mileage: {mileage}",
     "mileageMarine": "Engine Hours: {mileage}",
     "customer": "Customer",
@@ -136,6 +144,7 @@
     "statusColumn": "Status",
     "notesColumn": "Notes",
     "footerText": "Vehicle Inspection — {shopName}",
+    "footerTextMarine": "Vessel Inspection · {shopName}",
     "viewPortal": "View your portal: {url}",
     "tel": "Tel: {phone}",
     "euPass": "No defect",

+ 5 - 3
messages/en/settings.json

@@ -147,9 +147,11 @@
     "banner": "You have view-only access to settings. Contact an admin to make changes."
   },
   "featureLocked": {
-    "requiresPro": "Requires a Pro license",
-    "upgradePlan": "Upgrade Plan",
-    "activateLicense": "Activate License"
+    "requiresPro": "Subscription required",
+    "upgradePlan": "View plans",
+    "activateLicense": "Activate License",
+    "requiresLicense": "White-label licence required",
+    "previewHint": "You are looking at a preview. Everything on this page unlocks with a subscription."
   },
   "company": {
     "logoTitle": "Company Logo",

+ 10 - 0
messages/en/workOrders.json

@@ -43,15 +43,23 @@
   },
   "vehiclePicker": {
     "title": "Select Vehicle for Work Order",
+    "titleMarine": "Select Vessel for Work Order",
     "searchPlaceholder": "Search vehicles...",
+    "searchPlaceholderMarine": "Search vessels...",
     "empty": "No vehicles found.",
+    "emptyMarine": "No vessels found.",
     "emptySearch": "No vehicles match your search.",
+    "emptySearchMarine": "No vessels match your search.",
     "addNewVehicle": "Add New Vehicle",
+    "addNewVehicleMarine": "Add New Vessel",
     "noPlate": "No plate",
+    "noPlateMarine": "No registration",
     "make": "Make *",
+    "makeMarine": "Manufacturer *",
     "model": "Model *",
     "year": "Year *",
     "licensePlate": "License Plate",
+    "licensePlateMarine": "Registration Number",
     "customer": "Customer",
     "selectCustomer": "Select a customer (optional)",
     "createNewCustomer": "Create new customer",
@@ -66,9 +74,11 @@
     "customerNameRequired": "Customer name is required",
     "failedCreateCustomer": "Failed to create customer",
     "failedCreateVehicle": "Failed to create vehicle",
+    "failedCreateVehicleMarine": "Failed to create vessel",
     "somethingWentWrong": "Something went wrong",
     "partsSale": "Parts-Only Sale",
     "partsSaleDescription": "Create an invoice without a vehicle, for over-the-counter parts sales.",
+    "partsSaleDescriptionMarine": "Create an invoice without a vessel, for over-the-counter parts sales.",
     "createSale": "Create Sale",
     "none": "None"
   },

+ 44 - 0
messages/es/auth.json

@@ -6,6 +6,8 @@
     "forgotPassword": "Olvido su contraseña?",
     "noAccount": "No tiene una cuenta?",
     "createOne": "Crear una",
+    "newHere": "¿Nuevo en Torqvoice?",
+    "createFreeAccount": "Cree una cuenta gratuita",
     "termsAgreement": "Al utilizar este servicio, usted acepta nuestros",
     "or": "o",
     "passkey": "Iniciar sesión con Passkey",
@@ -22,12 +24,16 @@
     "title": "Crear una cuenta",
     "descriptionInvite": "Cree su cuenta para unirse al equipo",
     "descriptionDefault": "Configure su taller para gestionar los vehículos de sus clientes",
+    "titleCloud": "Empiece con su taller gratis",
+    "descriptionCloud": "Listo en menos de un minuto. Sin tarjeta de crédito.",
     "fullName": "Nombre completo",
     "fullNamePlaceholder": "Juan Perez",
     "passwordPlaceholder": "Cree una contraseña segura",
     "agreeToTerms": "Acepto los",
     "createAccountJoin": "Crear cuenta y unirse al equipo",
     "createAccount": "Crear cuenta",
+    "createAccountCloud": "Crear cuenta gratuita",
+    "noCardNote": "Plan gratuito. Mejore solo si se le queda pequeño.",
     "alreadyHaveAccount": "Ya tiene una cuenta?",
     "errors": {
       "couldNotCreate": "No se pudo crear la cuenta",
@@ -39,6 +45,11 @@
     "passwordHint": "Debe tener al menos 8 caracteres",
     "signInInstead": "Inicia sesión en su lugar"
   },
+  "social": {
+    "google": "Continuar con Google",
+    "orEmail": "o continúe con su correo",
+    "failed": "El inicio de sesión con Google no se completó. Inténtelo de nuevo o use su correo y contraseña."
+  },
   "forgotPassword": {
     "title": "Restablecer su contraseña",
     "description": "Ingrese su correo electrónico y le enviaremos un enlace de restablecimiento",
@@ -88,5 +99,38 @@
     "errors": {
       "invalidCode": "Código no válido"
     }
+  },
+  "shell": {
+    "language": "Idioma",
+    "about": "Acerca de Torqvoice",
+    "docs": "Documentación",
+    "terms": "Términos"
+  },
+  "pitch": {
+    "badge": "Para talleres independientes",
+    "headline": "Gestión del taller",
+    "headlineHighlight": "sin papeleo",
+    "subheadline": "Presupuestos, órdenes de trabajo, facturas y mensajes a clientes en un solo lugar. Cada trabajo se introduce una vez y nada se pierde.",
+    "benefits": {
+      "flow": {
+        "title": "Del presupuesto a la factura cobrada en un solo flujo",
+        "description": "Convierta un presupuesto en una orden de trabajo y una factura sin volver a escribir nada."
+      },
+      "history": {
+        "title": "El historial completo de cada vehículo",
+        "description": "Servicios, piezas, fotos y kilometraje en una sola línea de tiempo, a mano cuando llama el cliente."
+      },
+      "pay": {
+        "title": "Los clientes pagan desde un enlace",
+        "description": "Envíe la factura y cobre en línea con Stripe, Vipps o PayPal. Sin cuenta de cliente."
+      }
+    },
+    "proof": {
+      "free": "Plan gratuito, sin tarjeta de crédito",
+      "minute": "Listo en un minuto",
+      "languages": "12 idiomas",
+      "openSource": "Código abierto"
+    },
+    "screenshotAlt": "El panel de Torqvoice con trabajos activos, cifras clave y la lista de primeros pasos"
   }
 }

+ 8 - 0
messages/es/common.json

@@ -81,6 +81,14 @@
     "enterFullscreen": "Pantalla completa",
     "exitFullscreen": "Salir de pantalla completa"
   },
+  "upgrade": {
+    "title": "Mejore su plan para continuar",
+    "maxCustomers": "Su plan incluye hasta {limit} clientes y ya ha alcanzado ese número. Mejore el plan para añadir todos los que necesite.",
+    "maxUsers": "Su plan incluye {limit, plural, one {un miembro del equipo} other {# miembros del equipo}}. Mejore el plan para invitar a más personas.",
+    "generic": "Esta función no está incluida en su plan actual.",
+    "featureNotIncluded": "{feature} no está incluido en su plan actual.",
+    "notNow": "Ahora no"
+  },
   "broadcast": {
     "dismiss": "Cerrar",
     "title": "Aviso para todos",

+ 3 - 0
messages/es/integrations.json

@@ -126,6 +126,9 @@
     "leaveEmpty": "Dejar vacío",
     "noLimit": "Sin límite",
     "planLocked": "Las integraciones no están incluidas en su plan.",
+    "lockedIntegrations": "Conecte calendarios, videollamadas y otros servicios a su taller.",
+    "lockedPayments": "Permita que sus clientes paguen sus facturas en línea, con cada pago registrado en la factura.",
+    "lockedAi": "Conecte un proveedor de IA para usar funciones de IA en su taller.",
     "ownAppTitle": "Esta instalación usa su propia aplicación con el proveedor",
     "redirectUri": "URI de redirección que debe registrar con el proveedor:",
     "sendTestEmail": "Send test email",

+ 3 - 0
messages/es/navigation.json

@@ -2,8 +2,11 @@
   "breadcrumbs": {
     "dashboard": "Panel de control",
     "vehicles": "Vehículos",
+    "vessels": "Embarcaciones",
     "allVehicles": "Todos los vehículos",
+    "allVessels": "Todas las embarcaciones",
     "vehicleDetails": "Detalles del vehículo",
+    "vesselDetails": "Detalles de la embarcación",
     "customers": "Clientes",
     "allCustomers": "Todos los clientes",
     "customerDetails": "Detalles del cliente",

+ 9 - 13
messages/es/onboarding.json

@@ -53,24 +53,20 @@
   },
   "checklist": {
     "title": "Primeros pasos",
-    "description": "Cuatro pasos para poner su taller en marcha",
+    "description": "Tres pasos para poner en marcha {workshop}",
     "progress": "{done}/{total}",
     "steps": {
-      "customer": {
-        "title": "Añadir un cliente",
-        "description": "Cree su primera ficha de cliente"
-      },
-      "vehicle": {
-        "title": "Añadir un vehículo",
-        "description": "Registre un vehículo para un cliente"
-      },
       "workOrder": {
-        "title": "Crear una orden de trabajo",
-        "description": "Abra su primer trabajo"
+        "title": "Cree su primera orden de trabajo",
+        "description": "Cliente, vehículo y trabajo en un solo diálogo"
+      },
+      "company": {
+        "title": "Añada los datos de su taller",
+        "description": "Dirección, teléfono y número de registro para sus facturas"
       },
       "invoice": {
-        "title": "Enviar o descargar una factura",
-        "description": "Comparta una factura con un cliente o descárguela en PDF"
+        "title": "Envíe o descargue su primera factura",
+        "description": "Compártala con el cliente o guárdela como PDF"
       }
     },
     "allDoneTitle": "Todo listo",

+ 9 - 0
messages/es/pdf.json

@@ -5,12 +5,16 @@
     "billTo": "Facturar a",
     "customerTaxId": "NIF",
     "vehicle": "Vehículo",
+    "vehicleMarine": "Embarcación",
     "vin": "VIN: {vin}",
+    "vinMarine": "HIN: {vin}",
     "plate": "Placa: {plate}",
+    "plateMarine": "Matrícula: {plate}",
     "mileage": "Kilometraje: {mileage}",
     "mileageMarine": "Horas de Motor: {mileage}",
     "km": "km",
     "mi": "mi",
+    "mileageUnitMarine": "h",
     "service": "Servicio",
     "type": "Tipo: {type}",
     "tech": "Técnico: {tech}",
@@ -118,9 +122,13 @@
   },
   "inspection": {
     "title": "INSPECCIÓN DE VEHÍCULO",
+    "titleMarine": "INSPECCIÓN DE EMBARCACIÓN",
     "vehicle": "Vehículo",
+    "vehicleMarine": "Embarcación",
     "vin": "VIN: {vin}",
+    "vinMarine": "HIN: {vin}",
     "plate": "Placa: {plate}",
+    "plateMarine": "Matrícula: {plate}",
     "mileage": "Kilometraje: {mileage}",
     "mileageMarine": "Horas de Motor: {mileage}",
     "customer": "Cliente",
@@ -136,6 +144,7 @@
     "statusColumn": "Estado",
     "notesColumn": "Notas",
     "footerText": "Inspección de vehículo — {shopName}",
+    "footerTextMarine": "Inspección de embarcación · {shopName}",
     "viewPortal": "Ver su portal: {url}",
     "tel": "Tel: {phone}",
     "euPass": "Sin deficiencia",

+ 5 - 3
messages/es/settings.json

@@ -147,9 +147,11 @@
     "banner": "Tiene acceso de solo lectura a la configuración. Contacte a un administrador para realizar cambios."
   },
   "featureLocked": {
-    "requiresPro": "Requiere una licencia Pro",
-    "upgradePlan": "Mejorar plan",
-    "activateLicense": "Activar licencia"
+    "requiresPro": "Se requiere suscripción",
+    "upgradePlan": "Ver planes",
+    "activateLicense": "Activar licencia",
+    "requiresLicense": "Se requiere licencia de marca blanca",
+    "previewHint": "Está viendo una vista previa. Todo lo que hay en esta página se desbloquea con una suscripción."
   },
   "company": {
     "logoTitle": "Logo de la empresa",

+ 10 - 0
messages/es/workOrders.json

@@ -43,15 +43,23 @@
   },
   "vehiclePicker": {
     "title": "Seleccionar Vehículo para Orden de Trabajo",
+    "titleMarine": "Seleccionar Embarcación para Orden de Trabajo",
     "searchPlaceholder": "Buscar vehículos...",
+    "searchPlaceholderMarine": "Buscar embarcaciones...",
     "empty": "No se encontraron vehículos.",
+    "emptyMarine": "No se encontraron embarcaciones.",
     "emptySearch": "Ningún vehículo coincide con su búsqueda.",
+    "emptySearchMarine": "Ninguna embarcación coincide con su búsqueda.",
     "addNewVehicle": "Agregar Nuevo Vehículo",
+    "addNewVehicleMarine": "Agregar Nueva Embarcación",
     "noPlate": "Sin placa",
+    "noPlateMarine": "Sin matrícula",
     "make": "Marca *",
+    "makeMarine": "Fabricante *",
     "model": "Modelo *",
     "year": "Año *",
     "licensePlate": "Placa de Licencia",
+    "licensePlateMarine": "Número de Registro",
     "customer": "Cliente",
     "selectCustomer": "Seleccionar un cliente (opcional)",
     "createNewCustomer": "Crear nuevo cliente",
@@ -66,9 +74,11 @@
     "customerNameRequired": "El nombre del cliente es requerido",
     "failedCreateCustomer": "Error al crear cliente",
     "failedCreateVehicle": "Error al crear vehículo",
+    "failedCreateVehicleMarine": "Error al crear embarcación",
     "somethingWentWrong": "Algo salió mal",
     "partsSale": "Venta solo de piezas",
     "partsSaleDescription": "Crea una factura sin vehículo, para ventas de piezas en mostrador.",
+    "partsSaleDescriptionMarine": "Crea una factura sin embarcación, para ventas de piezas en mostrador.",
     "createSale": "Crear venta",
     "none": "Ninguno"
   },

+ 44 - 0
messages/fr/auth.json

@@ -6,6 +6,8 @@
     "forgotPassword": "Mot de passe oublié ?",
     "noAccount": "Vous n'avez pas de compte ?",
     "createOne": "Créer un compte",
+    "newHere": "Nouveau sur Torqvoice ?",
+    "createFreeAccount": "Créer un compte gratuit",
     "termsAgreement": "En utilisant ce service, vous acceptez nos",
     "or": "ou",
     "passkey": "Se connecter avec Passkey",
@@ -22,12 +24,16 @@
     "title": "Créer un compte",
     "descriptionInvite": "Créez votre compte pour rejoindre l'équipe",
     "descriptionDefault": "Configurez votre atelier pour gérer les véhicules de vos clients",
+    "titleCloud": "Lancez votre atelier gratuitement",
+    "descriptionCloud": "Prêt en moins d'une minute. Sans carte bancaire.",
     "fullName": "Nom complet",
     "fullNamePlaceholder": "Jean Dupont",
     "passwordPlaceholder": "Créez un mot de passe sécurisé",
     "agreeToTerms": "J'accepte les",
     "createAccountJoin": "Créer un compte et rejoindre l'équipe",
     "createAccount": "Créer un compte",
+    "createAccountCloud": "Créer un compte gratuit",
+    "noCardNote": "Offre gratuite. Passez au niveau supérieur seulement si elle devient trop juste.",
     "alreadyHaveAccount": "Vous avez déjà un compte ?",
     "errors": {
       "couldNotCreate": "Impossible de créer le compte",
@@ -39,6 +45,11 @@
     "passwordHint": "Doit comporter au moins 8 caractères",
     "signInInstead": "Connectez-vous plutôt"
   },
+  "social": {
+    "google": "Continuer avec Google",
+    "orEmail": "ou continuer avec l'e-mail",
+    "failed": "La connexion avec Google n'a pas abouti. Réessayez ou utilisez votre e-mail et votre mot de passe."
+  },
   "forgotPassword": {
     "title": "Réinitialiser votre mot de passe",
     "description": "Saisissez votre adresse e-mail et nous vous enverrons un lien de réinitialisation",
@@ -88,5 +99,38 @@
     "errors": {
       "invalidCode": "Code invalide"
     }
+  },
+  "shell": {
+    "language": "Langue",
+    "about": "À propos de Torqvoice",
+    "docs": "Documentation",
+    "terms": "Conditions"
+  },
+  "pitch": {
+    "badge": "Pour les garages indépendants",
+    "headline": "La gestion d'atelier",
+    "headlineHighlight": "sans paperasse",
+    "subheadline": "Devis, ordres de réparation, factures et messages clients au même endroit. Chaque intervention est saisie une seule fois, et rien ne passe entre les mailles.",
+    "benefits": {
+      "flow": {
+        "title": "Du devis à la facture payée en un seul flux",
+        "description": "Transformez un devis en ordre de réparation puis en facture sans rien ressaisir."
+      },
+      "history": {
+        "title": "L'historique complet de chaque véhicule",
+        "description": "Interventions, pièces, photos et kilométrage sur une seule frise, sous la main quand le client appelle."
+      },
+      "pay": {
+        "title": "Les clients paient depuis un lien",
+        "description": "Envoyez la facture et encaissez en ligne avec Stripe, Vipps ou PayPal. Aucun compte client requis."
+      }
+    },
+    "proof": {
+      "free": "Offre gratuite, sans carte bancaire",
+      "minute": "Prêt en une minute",
+      "languages": "12 langues",
+      "openSource": "Open source"
+    },
+    "screenshotAlt": "Le tableau de bord Torqvoice avec les interventions en cours, les chiffres clés et la liste de démarrage"
   }
 }

+ 8 - 0
messages/fr/common.json

@@ -81,6 +81,14 @@
     "enterFullscreen": "Plein écran",
     "exitFullscreen": "Quitter le plein écran"
   },
+  "upgrade": {
+    "title": "Passez au niveau supérieur pour continuer",
+    "maxCustomers": "Votre offre inclut jusqu'à {limit} clients et vous avez atteint ce nombre. Passez au niveau supérieur pour en ajouter autant que nécessaire.",
+    "maxUsers": "Votre offre inclut {limit, plural, one {un membre d'équipe} other {# membres d'équipe}}. Passez au niveau supérieur pour inviter d'autres personnes.",
+    "generic": "Cette fonctionnalité n'est pas incluse dans votre offre actuelle.",
+    "featureNotIncluded": "{feature} n'est pas inclus dans votre offre actuelle.",
+    "notNow": "Pas maintenant"
+  },
   "broadcast": {
     "dismiss": "Fermer",
     "title": "Message à tous",

+ 3 - 0
messages/fr/integrations.json

@@ -126,6 +126,9 @@
     "leaveEmpty": "Laisser vide",
     "noLimit": "Sans limite",
     "planLocked": "Les intégrations ne sont pas incluses dans votre forfait.",
+    "lockedIntegrations": "Connectez des calendriers, des appels vidéo et d'autres services à votre atelier.",
+    "lockedPayments": "Laissez vos clients régler leurs factures en ligne, chaque paiement étant enregistré sur la facture.",
+    "lockedAi": "Connectez un fournisseur d'IA pour utiliser les fonctions d'IA dans votre atelier.",
     "ownAppTitle": "Cette installation utilise votre propre application auprès du fournisseur",
     "redirectUri": "URI de redirection à enregistrer auprès du fournisseur :",
     "sendTestEmail": "Send test email",

+ 3 - 0
messages/fr/navigation.json

@@ -2,8 +2,11 @@
   "breadcrumbs": {
     "dashboard": "Tableau de bord",
     "vehicles": "Véhicules",
+    "vessels": "Navires",
     "allVehicles": "Tous les véhicules",
+    "allVessels": "Tous les navires",
     "vehicleDetails": "Détails du véhicule",
+    "vesselDetails": "Détails du navire",
     "customers": "Clients",
     "allCustomers": "Tous les clients",
     "customerDetails": "Détails du client",

+ 9 - 13
messages/fr/onboarding.json

@@ -53,24 +53,20 @@
   },
   "checklist": {
     "title": "Premiers pas",
-    "description": "Quatre étapes pour lancer votre atelier",
+    "description": "Trois étapes pour lancer {workshop}",
     "progress": "{done}/{total}",
     "steps": {
-      "customer": {
-        "title": "Ajouter un client",
-        "description": "Créez votre première fiche client"
-      },
-      "vehicle": {
-        "title": "Ajouter un véhicule",
-        "description": "Enregistrez un véhicule pour un client"
-      },
       "workOrder": {
-        "title": "Créer un ordre de réparation",
-        "description": "Ouvrez votre première intervention"
+        "title": "Créez votre premier ordre de réparation",
+        "description": "Client, véhicule et intervention dans une seule fenêtre"
+      },
+      "company": {
+        "title": "Renseignez les coordonnées de votre atelier",
+        "description": "Adresse, téléphone et numéro d'immatriculation pour vos factures"
       },
       "invoice": {
-        "title": "Envoyer ou télécharger une facture",
-        "description": "Partagez une facture avec un client ou téléchargez-la en PDF"
+        "title": "Envoyez ou téléchargez votre première facture",
+        "description": "Partagez-la avec le client ou enregistrez-la en PDF"
       }
     },
     "allDoneTitle": "Tout est prêt",

+ 9 - 0
messages/fr/pdf.json

@@ -5,12 +5,16 @@
     "billTo": "Facturer à",
     "customerTaxId": "N° TVA",
     "vehicle": "Véhicule",
+    "vehicleMarine": "Bateau",
     "vin": "VIN : {vin}",
+    "vinMarine": "HIN : {vin}",
     "plate": "Plaque : {plate}",
+    "plateMarine": "Immatriculation : {plate}",
     "mileage": "Kilométrage : {mileage}",
     "mileageMarine": "Heures Moteur: {mileage}",
     "km": "km",
     "mi": "mi",
+    "mileageUnitMarine": "h",
     "service": "Service",
     "type": "Type : {type}",
     "tech": "Technicien : {tech}",
@@ -118,9 +122,13 @@
   },
   "inspection": {
     "title": "INSPECTION DU VÉHICULE",
+    "titleMarine": "INSPECTION DU BATEAU",
     "vehicle": "Véhicule",
+    "vehicleMarine": "Bateau",
     "vin": "VIN : {vin}",
+    "vinMarine": "HIN : {vin}",
     "plate": "Plaque : {plate}",
+    "plateMarine": "Immatriculation : {plate}",
     "mileage": "Kilométrage : {mileage}",
     "mileageMarine": "Heures Moteur: {mileage}",
     "customer": "Client",
@@ -136,6 +144,7 @@
     "statusColumn": "Statut",
     "notesColumn": "Notes",
     "footerText": "Inspection du véhicule — {shopName}",
+    "footerTextMarine": "Inspection du bateau · {shopName}",
     "viewPortal": "Consultez votre portail : {url}",
     "tel": "Tél. : {phone}",
     "euPass": "Aucune défaillance",

+ 5 - 3
messages/fr/settings.json

@@ -147,9 +147,11 @@
     "banner": "Vous avez un accès en lecture seule aux paramètres. Contactez un administrateur pour effectuer des modifications."
   },
   "featureLocked": {
-    "requiresPro": "Necessite une licence Pro",
-    "upgradePlan": "Mettre a niveau",
-    "activateLicense": "Activer la licence"
+    "requiresPro": "Abonnement requis",
+    "upgradePlan": "Voir les offres",
+    "activateLicense": "Activer la licence",
+    "requiresLicense": "Licence en marque blanche requise",
+    "previewHint": "Ceci est un aperçu. Tout ce qui figure sur cette page se débloque avec un abonnement."
   },
   "company": {
     "logoTitle": "Logo de l'entreprise",

+ 10 - 0
messages/fr/workOrders.json

@@ -43,15 +43,23 @@
   },
   "vehiclePicker": {
     "title": "Sélectionner un Véhicule pour l'Ordre de Travail",
+    "titleMarine": "Sélectionner un Navire pour l'Ordre de Travail",
     "searchPlaceholder": "Rechercher des véhicules...",
+    "searchPlaceholderMarine": "Rechercher des navires...",
     "empty": "Aucun véhicule trouvé.",
+    "emptyMarine": "Aucun navire trouvé.",
     "emptySearch": "Aucun véhicule ne correspond à votre recherche.",
+    "emptySearchMarine": "Aucun navire ne correspond à votre recherche.",
     "addNewVehicle": "Ajouter un Nouveau Véhicule",
+    "addNewVehicleMarine": "Ajouter un Nouveau Navire",
     "noPlate": "Pas de plaque",
+    "noPlateMarine": "Pas d'immatriculation",
     "make": "Marque *",
+    "makeMarine": "Fabricant *",
     "model": "Modèle *",
     "year": "Année *",
     "licensePlate": "Plaque d'Immatriculation",
+    "licensePlateMarine": "Numéro d'Immatriculation",
     "customer": "Client",
     "selectCustomer": "Sélectionner un client (optionnel)",
     "createNewCustomer": "Créer un nouveau client",
@@ -66,9 +74,11 @@
     "customerNameRequired": "Le nom du client est requis",
     "failedCreateCustomer": "Impossible de créer le client",
     "failedCreateVehicle": "Impossible de créer le véhicule",
+    "failedCreateVehicleMarine": "Impossible de créer le navire",
     "somethingWentWrong": "Une erreur s'est produite",
     "partsSale": "Vente de pièces seule",
     "partsSaleDescription": "Créez une facture sans véhicule, pour la vente de pièces au comptoir.",
+    "partsSaleDescriptionMarine": "Créez une facture sans navire, pour la vente de pièces au comptoir.",
     "createSale": "Créer la vente",
     "none": "Aucun"
   },

+ 44 - 0
messages/it/auth.json

@@ -6,6 +6,8 @@
     "forgotPassword": "Password dimenticata?",
     "noAccount": "Non ha un account?",
     "createOne": "Ne crei uno",
+    "newHere": "Nuovo su Torqvoice?",
+    "createFreeAccount": "Crei un account gratuito",
     "termsAgreement": "Utilizzando questo servizio accetta i nostri",
     "or": "o",
     "passkey": "Accedi con Passkey",
@@ -22,12 +24,16 @@
     "title": "Crei un account",
     "descriptionInvite": "Crei il Suo account per unirsi al team",
     "descriptionDefault": "Configuri la Sua officina per gestire i veicoli dei clienti",
+    "titleCloud": "Avvii la Sua officina gratis",
+    "descriptionCloud": "Pronto in meno di un minuto. Nessuna carta di credito richiesta.",
     "fullName": "Nome completo",
     "fullNamePlaceholder": "Mario Rossi",
     "passwordPlaceholder": "Crei una password sicura",
     "agreeToTerms": "Accetto i",
     "createAccountJoin": "Crea account e unisciti al team",
     "createAccount": "Crea account",
+    "createAccountCloud": "Crea account gratuito",
+    "noCardNote": "Piano gratuito. Passi a un piano superiore solo se non Le basta più.",
     "alreadyHaveAccount": "Ha già un account?",
     "errors": {
       "couldNotCreate": "Impossibile creare l'account",
@@ -39,6 +45,11 @@
     "passwordHint": "Deve contenere almeno 8 caratteri",
     "signInInstead": "Accedi invece"
   },
+  "social": {
+    "google": "Continua con Google",
+    "orEmail": "oppure continui con l'email",
+    "failed": "L'accesso con Google non è andato a buon fine. Riprovi oppure usi email e password."
+  },
   "forgotPassword": {
     "title": "Reimposti la Sua password",
     "description": "Inserisca la Sua email e Le invieremo un link per il ripristino",
@@ -88,5 +99,38 @@
     "errors": {
       "invalidCode": "Codice non valido"
     }
+  },
+  "shell": {
+    "language": "Lingua",
+    "about": "Informazioni su Torqvoice",
+    "docs": "Documentazione",
+    "terms": "Termini"
+  },
+  "pitch": {
+    "badge": "Per le officine indipendenti",
+    "headline": "Gestione dell'officina",
+    "headlineHighlight": "senza scartoffie",
+    "subheadline": "Preventivi, ordini di lavoro, fatture e messaggi ai clienti in un unico posto. Ogni lavoro si inserisce una volta sola e nulla va perso.",
+    "benefits": {
+      "flow": {
+        "title": "Dal preventivo alla fattura pagata in un unico flusso",
+        "description": "Trasformi un preventivo in un ordine di lavoro e in una fattura senza ridigitare nulla."
+      },
+      "history": {
+        "title": "Lo storico completo di ogni veicolo",
+        "description": "Interventi, ricambi, foto e chilometraggio su un'unica linea temporale, a portata di mano quando chiama il cliente."
+      },
+      "pay": {
+        "title": "I clienti pagano da un link",
+        "description": "Invii la fattura e incassi online con Stripe, Vipps o PayPal. Nessun account cliente necessario."
+      }
+    },
+    "proof": {
+      "free": "Piano gratuito, nessuna carta di credito",
+      "minute": "Pronto in un minuto",
+      "languages": "12 lingue",
+      "openSource": "Open source"
+    },
+    "screenshotAlt": "La dashboard di Torqvoice con i lavori attivi, i numeri chiave e la lista dei primi passi"
   }
 }

+ 8 - 0
messages/it/common.json

@@ -81,6 +81,14 @@
     "enterFullscreen": "Schermo intero",
     "exitFullscreen": "Esci da schermo intero"
   },
+  "upgrade": {
+    "title": "Passi a un piano superiore per continuare",
+    "maxCustomers": "Il Suo piano include fino a {limit} clienti e ha raggiunto quel numero. Passi a un piano superiore per aggiungerne quanti ne servono.",
+    "maxUsers": "Il Suo piano include {limit, plural, one {un membro del team} other {# membri del team}}. Passi a un piano superiore per invitare altre persone.",
+    "generic": "Questa funzione non è inclusa nel Suo piano attuale.",
+    "featureNotIncluded": "{feature} non è incluso nel Suo piano attuale.",
+    "notNow": "Non ora"
+  },
   "broadcast": {
     "dismiss": "Chiudi",
     "title": "Avviso a tutti",

+ 3 - 0
messages/it/integrations.json

@@ -126,6 +126,9 @@
     "leaveEmpty": "Lascia vuoto",
     "noLimit": "Nessun limite",
     "planLocked": "Le integrazioni non sono incluse nel tuo piano.",
+    "lockedIntegrations": "Collega calendari, videochiamate e altri servizi alla tua officina.",
+    "lockedPayments": "Permetti ai clienti di pagare le fatture online, con ogni pagamento registrato sulla fattura.",
+    "lockedAi": "Collega un fornitore di IA per usare le funzioni di IA nella tua officina.",
     "ownAppTitle": "Questa installazione usa la tua app presso il provider",
     "redirectUri": "URI di reindirizzamento da registrare presso il provider:",
     "sendTestEmail": "Send test email",

+ 3 - 0
messages/it/navigation.json

@@ -2,8 +2,11 @@
   "breadcrumbs": {
     "dashboard": "Dashboard",
     "vehicles": "Veicoli",
+    "vessels": "Imbarcazioni",
     "allVehicles": "Tutti i veicoli",
+    "allVessels": "Tutte le imbarcazioni",
     "vehicleDetails": "Dettagli veicolo",
+    "vesselDetails": "Dettagli imbarcazione",
     "customers": "Clienti",
     "allCustomers": "Tutti i clienti",
     "customerDetails": "Dettagli cliente",

+ 9 - 13
messages/it/onboarding.json

@@ -53,24 +53,20 @@
   },
   "checklist": {
     "title": "Per iniziare",
-    "description": "Quattro passaggi per avviare la Sua officina",
+    "description": "Tre passi per avviare {workshop}",
     "progress": "{done}/{total}",
     "steps": {
-      "customer": {
-        "title": "Aggiungere un cliente",
-        "description": "Crei la Sua prima scheda cliente"
-      },
-      "vehicle": {
-        "title": "Aggiungere un veicolo",
-        "description": "Registri un veicolo per un cliente"
-      },
       "workOrder": {
-        "title": "Creare un ordine di lavoro",
-        "description": "Apra il Suo primo lavoro"
+        "title": "Crei il Suo primo ordine di lavoro",
+        "description": "Cliente, veicolo e lavoro in un'unica finestra"
+      },
+      "company": {
+        "title": "Aggiunga i dati della Sua officina",
+        "description": "Indirizzo, telefono e numero di registrazione per le fatture"
       },
       "invoice": {
-        "title": "Inviare o scaricare una fattura",
-        "description": "Condivida una fattura con un cliente o la scarichi in PDF"
+        "title": "Invii o scarichi la Sua prima fattura",
+        "description": "La condivida con il cliente o la salvi in PDF"
       }
     },
     "allDoneTitle": "Tutto pronto",

+ 9 - 0
messages/it/pdf.json

@@ -5,12 +5,16 @@
     "billTo": "Fatturare a",
     "customerTaxId": "P. IVA",
     "vehicle": "Veicolo",
+    "vehicleMarine": "Imbarcazione",
     "vin": "VIN: {vin}",
+    "vinMarine": "HIN: {vin}",
     "plate": "Targa: {plate}",
+    "plateMarine": "Registrazione: {plate}",
     "mileage": "Chilometraggio: {mileage}",
     "mileageMarine": "Ore Motore: {mileage}",
     "km": "km",
     "mi": "mi",
+    "mileageUnitMarine": "h",
     "service": "Servizio",
     "type": "Tipo: {type}",
     "tech": "Tecnico: {tech}",
@@ -118,9 +122,13 @@
   },
   "inspection": {
     "title": "ISPEZIONE VEICOLO",
+    "titleMarine": "ISPEZIONE IMBARCAZIONE",
     "vehicle": "Veicolo",
+    "vehicleMarine": "Imbarcazione",
     "vin": "VIN: {vin}",
+    "vinMarine": "HIN: {vin}",
     "plate": "Targa: {plate}",
+    "plateMarine": "Registrazione: {plate}",
     "mileage": "Chilometraggio: {mileage}",
     "mileageMarine": "Ore Motore: {mileage}",
     "customer": "Cliente",
@@ -136,6 +144,7 @@
     "statusColumn": "Stato",
     "notesColumn": "Note",
     "footerText": "Ispezione Veicolo — {shopName}",
+    "footerTextMarine": "Ispezione Imbarcazione · {shopName}",
     "viewPortal": "Visualizza il tuo portale: {url}",
     "tel": "Tel: {phone}",
     "euPass": "Nessuna carenza",

+ 5 - 3
messages/it/settings.json

@@ -147,9 +147,11 @@
     "banner": "Hai accesso in sola lettura alle impostazioni. Contatta un amministratore per apportare modifiche."
   },
   "featureLocked": {
-    "requiresPro": "Richiede una licenza Pro",
-    "upgradePlan": "Aggiorna piano",
-    "activateLicense": "Attiva licenza"
+    "requiresPro": "Abbonamento richiesto",
+    "upgradePlan": "Vedi i piani",
+    "activateLicense": "Attiva licenza",
+    "requiresLicense": "Licenza white label richiesta",
+    "previewHint": "Questa è un'anteprima. Tutto ciò che vede in questa pagina si sblocca con un abbonamento."
   },
   "company": {
     "logoTitle": "Logo aziendale",

+ 10 - 0
messages/it/workOrders.json

@@ -43,15 +43,23 @@
   },
   "vehiclePicker": {
     "title": "Seleziona Veicolo per Ordine di Lavoro",
+    "titleMarine": "Seleziona Imbarcazione per Ordine di Lavoro",
     "searchPlaceholder": "Cerca veicoli...",
+    "searchPlaceholderMarine": "Cerca imbarcazioni...",
     "empty": "Nessun veicolo trovato.",
+    "emptyMarine": "Nessuna imbarcazione trovata.",
     "emptySearch": "Nessun veicolo corrisponde alla tua ricerca.",
+    "emptySearchMarine": "Nessuna imbarcazione corrisponde alla tua ricerca.",
     "addNewVehicle": "Aggiungi Nuovo Veicolo",
+    "addNewVehicleMarine": "Aggiungi Nuova Imbarcazione",
     "noPlate": "Nessuna targa",
+    "noPlateMarine": "Nessuna immatricolazione",
     "make": "Marca *",
+    "makeMarine": "Costruttore *",
     "model": "Modello *",
     "year": "Anno *",
     "licensePlate": "Targa",
+    "licensePlateMarine": "Numero di Registrazione",
     "customer": "Cliente",
     "selectCustomer": "Seleziona un cliente (facoltativo)",
     "createNewCustomer": "Crea nuovo cliente",
@@ -66,9 +74,11 @@
     "customerNameRequired": "Il nome del cliente è obbligatorio",
     "failedCreateCustomer": "Impossibile creare il cliente",
     "failedCreateVehicle": "Impossibile creare il veicolo",
+    "failedCreateVehicleMarine": "Impossibile creare l'imbarcazione",
     "somethingWentWrong": "Qualcosa è andato storto",
     "partsSale": "Vendita solo ricambi",
     "partsSaleDescription": "Crea una fattura senza veicolo, per la vendita di ricambi al banco.",
+    "partsSaleDescriptionMarine": "Crea una fattura senza imbarcazione, per la vendita di ricambi al banco.",
     "createSale": "Crea vendita",
     "none": "Nessuno"
   },

+ 44 - 0
messages/lt/auth.json

@@ -6,6 +6,8 @@
     "forgotPassword": "Pamiršote slaptažodį?",
     "noAccount": "Neturite paskyros?",
     "createOne": "Sukurkite",
+    "newHere": "Naujokas „Torqvoice“?",
+    "createFreeAccount": "Sukurkite nemokamą paskyrą",
     "termsAgreement": "Naudodamiesi šia paslauga sutinkate su mūsų",
     "or": "arba",
     "passkey": "Prisijungti su prieigos raktu",
@@ -22,12 +24,16 @@
     "title": "Sukurti paskyrą",
     "descriptionInvite": "Sukurkite paskyrą, kad prisijungtumėte prie komandos",
     "descriptionDefault": "Nustatykite savo dirbtuvės, kad valdytumėte klientų transporto priemones",
+    "titleCloud": "Pradėkite savo nemokamą dirbtuvę",
+    "descriptionCloud": "Paruošta greičiau nei per minutę. Kredito kortelės nereikia.",
     "fullName": "Vardas ir pavardė",
     "fullNamePlaceholder": "Jonas Jonaitis",
     "passwordPlaceholder": "Sukurkite stiprų slaptažodį",
     "agreeToTerms": "Sutinku su",
     "createAccountJoin": "Sukurti paskyrą ir prisijungti prie komandos",
     "createAccount": "Sukurti paskyrą",
+    "createAccountCloud": "Sukurti nemokamą paskyrą",
+    "noCardNote": "Nemokamas planas. Atnaujinkite tik tada, kai jo nebeužteks.",
     "alreadyHaveAccount": "Jau turite paskyrą?",
     "errors": {
       "couldNotCreate": "Nepavyko sukurti paskyros",
@@ -39,6 +45,11 @@
     "passwordHint": "Turi būti bent 8 simboliai",
     "signInInstead": "Vietoj to prisijunkite"
   },
+  "social": {
+    "google": "Tęsti su „Google“",
+    "orEmail": "arba tęskite su el. paštu",
+    "failed": "Prisijungimas per „Google“ nebuvo užbaigtas. Bandykite dar kartą arba naudokite el. paštą ir slaptažodį."
+  },
   "forgotPassword": {
     "title": "Atstatyti slaptažodį",
     "description": "Įveskite savo el. paštą ir mes atsiųsime atstatymo nuorodą",
@@ -88,5 +99,38 @@
     "errors": {
       "invalidCode": "Neteisingas kodas"
     }
+  },
+  "shell": {
+    "language": "Kalba",
+    "about": "Apie „Torqvoice“",
+    "docs": "Dokumentacija",
+    "terms": "Sąlygos"
+  },
+  "pitch": {
+    "badge": "Nepriklausomoms autodirbtuvėms",
+    "headline": "Dirbtuvės valdymas",
+    "headlineHighlight": "be popierizmo",
+    "subheadline": "Pasiūlymai, darbo užsakymai, sąskaitos ir žinutės klientams vienoje vietoje. Kiekvienas darbas įvedamas vieną kartą, ir niekas nepasimeta.",
+    "benefits": {
+      "flow": {
+        "title": "Nuo pasiūlymo iki apmokėtos sąskaitos viename sraute",
+        "description": "Paverskite pasiūlymą darbo užsakymu ir sąskaita nieko neperrašydami."
+      },
+      "history": {
+        "title": "Visa kiekvienos transporto priemonės istorija",
+        "description": "Darbai, dalys, nuotraukos ir rida vienoje laiko juostoje, po ranka, kai skambina klientas."
+      },
+      "pay": {
+        "title": "Klientai moka per nuorodą",
+        "description": "Išsiųskite sąskaitą ir gaukite apmokėjimą internetu per „Stripe“, „Vipps“ ar „PayPal“. Kliento paskyros nereikia."
+      }
+    },
+    "proof": {
+      "free": "Nemokamas planas, be kredito kortelės",
+      "minute": "Paruošta per minutę",
+      "languages": "12 kalbų",
+      "openSource": "Atvirasis kodas"
+    },
+    "screenshotAlt": "„Torqvoice“ prietaisų skydelis su aktyviais darbais, pagrindiniais skaičiais ir pradžios kontroliniu sąrašu"
   }
 }

+ 8 - 0
messages/lt/common.json

@@ -81,6 +81,14 @@
     "enterFullscreen": "Visas ekranas",
     "exitFullscreen": "Išjungti visą ekraną"
   },
+  "upgrade": {
+    "title": "Atnaujinkite planą, kad tęstumėte",
+    "maxCustomers": "Jūsų planas apima iki {limit} klientų, ir šis skaičius pasiektas. Atnaujinkite planą, kad pridėtumėte tiek, kiek reikia.",
+    "maxUsers": "Jūsų planas apima {limit, plural, one {# komandos narį} few {# komandos narius} many {# komandos nario} other {# komandos narių}}. Atnaujinkite planą, kad pakviestumėte daugiau žmonių.",
+    "generic": "Ši funkcija neįtraukta į jūsų dabartinį planą.",
+    "featureNotIncluded": "{feature} neįtraukta į jūsų dabartinį planą.",
+    "notNow": "Ne dabar"
+  },
   "broadcast": {
     "dismiss": "Uždaryti",
     "title": "Pranešimas visiems",

+ 3 - 0
messages/lt/integrations.json

@@ -126,6 +126,9 @@
     "leaveEmpty": "Palikti tuščią",
     "noLimit": "Be ribos",
     "planLocked": "Integracijos neįtrauktos į jūsų planą.",
+    "lockedIntegrations": "Prijunkite kalendorius, vaizdo skambučius ir kitas paslaugas prie savo dirbtuvių.",
+    "lockedPayments": "Leiskite klientams apmokėti sąskaitas internetu, o kiekvienas mokėjimas bus užregistruotas sąskaitoje.",
+    "lockedAi": "Prijunkite DI paslaugų teikėją, kad galėtumėte naudoti DI funkcijas savo dirbtuvėse.",
     "ownAppTitle": "Šis diegimas naudoja jūsų pačių programą pas tiekėją",
     "redirectUri": "Nukreipimo URI, kurį reikia užregistruoti pas tiekėją:",
     "sendTestEmail": "Send test email",

+ 3 - 0
messages/lt/navigation.json

@@ -2,8 +2,11 @@
   "breadcrumbs": {
     "dashboard": "Valdymo skydelis",
     "vehicles": "Transporto priemonės",
+    "vessels": "Laivai",
     "allVehicles": "Visos transporto priemonės",
+    "allVessels": "Visi laivai",
     "vehicleDetails": "Transporto priemonės informacija",
+    "vesselDetails": "Laivo informacija",
     "customers": "Klientai",
     "allCustomers": "Visi klientai",
     "customerDetails": "Kliento informacija",

+ 9 - 13
messages/lt/onboarding.json

@@ -53,24 +53,20 @@
   },
   "checklist": {
     "title": "Pradžia",
-    "description": "Keturi žingsniai, kad dirbtuvės pradėtų veikti",
+    "description": "Trys žingsniai, kad {workshop} pradėtų dirbti",
     "progress": "{done}/{total}",
     "steps": {
-      "customer": {
-        "title": "Pridėkite klientą",
-        "description": "Sukurkite pirmą kliento kortelę"
-      },
-      "vehicle": {
-        "title": "Pridėkite automobilį",
-        "description": "Užregistruokite kliento automobilį"
-      },
       "workOrder": {
-        "title": "Sukurkite darbo užsakymą",
-        "description": "Atidarykite pirmą savo darbą"
+        "title": "Sukurkite pirmą darbo užsakymą",
+        "description": "Klientas, transporto priemonė ir darbas viename lange"
+      },
+      "company": {
+        "title": "Įveskite dirbtuvės duomenis",
+        "description": "Adresas, telefonas ir registracijos numeris sąskaitoms"
       },
       "invoice": {
-        "title": "Išsiųskite arba atsisiųskite sąskaitą",
-        "description": "Pasidalinkite sąskaita su klientu arba atsisiųskite ją PDF formatu"
+        "title": "Išsiųskite arba atsisiųskite pirmą sąskaitą",
+        "description": "Pasidalykite su klientu arba išsaugokite PDF formatu"
       }
     },
     "allDoneTitle": "Viskas paruošta",

+ 9 - 0
messages/lt/pdf.json

@@ -5,12 +5,16 @@
     "billTo": "Gavėjas",
     "customerTaxId": "PVM kodas",
     "vehicle": "Transporto priemonė",
+    "vehicleMarine": "Laivas",
     "vin": "VIN: {vin}",
+    "vinMarine": "HIN: {vin}",
     "plate": "Valst. Nr.: {plate}",
+    "plateMarine": "Reg. Nr.: {plate}",
     "mileage": "Rida: {mileage}",
     "mileageMarine": "Variklio valandos: {mileage}",
     "km": "km",
     "mi": "mi",
+    "mileageUnitMarine": "val.",
     "service": "Paslauga",
     "type": "Tipas: {type}",
     "tech": "Technikas: {tech}",
@@ -118,9 +122,13 @@
   },
   "inspection": {
     "title": "TRANSPORTO PRIEMONĖS APŽIŪRA",
+    "titleMarine": "LAIVO APŽIŪRA",
     "vehicle": "Transporto priemonė",
+    "vehicleMarine": "Laivas",
     "vin": "VIN: {vin}",
+    "vinMarine": "HIN: {vin}",
     "plate": "Valst. Nr.: {plate}",
+    "plateMarine": "Reg. Nr.: {plate}",
     "mileage": "Rida: {mileage}",
     "mileageMarine": "Variklio valandos: {mileage}",
     "customer": "Klientas",
@@ -136,6 +144,7 @@
     "statusColumn": "Būsena",
     "notesColumn": "Pastabos",
     "footerText": "Transporto priemonės apžiūra — {shopName}",
+    "footerTextMarine": "Laivo apžiūra · {shopName}",
     "viewPortal": "Peržiūrėkite savo portalą: {url}",
     "tel": "Tel.: {phone}",
     "euPass": "Trūkumų nėra",

+ 5 - 3
messages/lt/settings.json

@@ -147,9 +147,11 @@
     "banner": "Turite tik peržiūros prieigą prie nustatymų. Susisiekite su administratoriumi, kad atliktumėte pakeitimus."
   },
   "featureLocked": {
-    "requiresPro": "Reikalinga Pro licencija",
-    "upgradePlan": "Atnaujinti planą",
-    "activateLicense": "Aktyvuoti licenciją"
+    "requiresPro": "Reikalinga prenumerata",
+    "upgradePlan": "Peržiūrėti planus",
+    "activateLicense": "Aktyvuoti licenciją",
+    "requiresLicense": "Reikalinga „white label“ licencija",
+    "previewHint": "Tai peržiūra. Viskas šiame puslapyje atrakinama su prenumerata."
   },
   "company": {
     "logoTitle": "Įmonės logotipas",

+ 10 - 0
messages/lt/workOrders.json

@@ -43,15 +43,23 @@
   },
   "vehiclePicker": {
     "title": "Pasirinkite transporto priemonę darbo užsakymui",
+    "titleMarine": "Pasirinkite laivą darbo užsakymui",
     "searchPlaceholder": "Ieškoti transporto priemonių...",
+    "searchPlaceholderMarine": "Ieškoti laivų...",
     "empty": "Transporto priemonių nerasta.",
+    "emptyMarine": "Laivų nerasta.",
     "emptySearch": "Nėra transporto priemonių, atitinkančių paiešką.",
+    "emptySearchMarine": "Nėra laivų, atitinkančių paiešką.",
     "addNewVehicle": "Pridėti naują transporto priemonę",
+    "addNewVehicleMarine": "Pridėti naują laivą",
     "noPlate": "Be numerio",
+    "noPlateMarine": "Be registracijos numerio",
     "make": "Markė *",
+    "makeMarine": "Gamintojas *",
     "model": "Modelis *",
     "year": "Metai *",
     "licensePlate": "Valstybinis numeris",
+    "licensePlateMarine": "Registracijos numeris",
     "customer": "Klientas",
     "selectCustomer": "Pasirinkite klientą (neprivaloma)",
     "createNewCustomer": "Sukurti naują klientą",
@@ -66,9 +74,11 @@
     "customerNameRequired": "Kliento vardas yra privalomas",
     "failedCreateCustomer": "Nepavyko sukurti kliento",
     "failedCreateVehicle": "Nepavyko sukurti transporto priemonės",
+    "failedCreateVehicleMarine": "Nepavyko sukurti laivo",
     "somethingWentWrong": "Kažkas nutiko",
     "partsSale": "Tik dalių pardavimas",
     "partsSaleDescription": "Sukurkite sąskaitą be transporto priemonės, dalių pardavimui prie prekystalio.",
+    "partsSaleDescriptionMarine": "Sukurkite sąskaitą be laivo, dalių pardavimui prie prekystalio.",
     "createSale": "Sukurti pardavimą",
     "none": "Nėra"
   },

+ 44 - 0
messages/nb/auth.json

@@ -6,6 +6,8 @@
     "forgotPassword": "Glemt passord?",
     "noAccount": "Har du ikke en konto?",
     "createOne": "Opprett en",
+    "newHere": "Ny hos Torqvoice?",
+    "createFreeAccount": "Opprett en gratis konto",
     "termsAgreement": "Ved å bruke denne tjenesten godtar du våre",
     "or": "eller",
     "passkey": "Logg inn med Passkey",
@@ -22,12 +24,16 @@
     "title": "Opprett en konto",
     "descriptionInvite": "Opprett kontoen din for å bli med i teamet",
     "descriptionDefault": "Sett opp verkstedet ditt for å administrere kundekjøretøy",
+    "titleCloud": "Start ditt gratis verksted",
+    "descriptionCloud": "Klar på under ett minutt. Ingen kredittkort nødvendig.",
     "fullName": "Fullt navn",
     "fullNamePlaceholder": "Ola Nordmann",
     "passwordPlaceholder": "Opprett et sterkt passord",
     "agreeToTerms": "Jeg godtar",
     "createAccountJoin": "Opprett konto og bli med i teamet",
     "createAccount": "Opprett konto",
+    "createAccountCloud": "Opprett gratis konto",
+    "noCardNote": "Gratis plan. Oppgrader bare hvis du vokser ut av den.",
     "alreadyHaveAccount": "Har du allerede en konto?",
     "errors": {
       "couldNotCreate": "Kunne ikke opprette konto",
@@ -39,6 +45,11 @@
     "passwordHint": "Må være minst 8 tegn",
     "signInInstead": "Logg inn i stedet"
   },
+  "social": {
+    "google": "Fortsett med Google",
+    "orEmail": "eller fortsett med e-post",
+    "failed": "Innloggingen med Google ble ikke fullført. Prøv igjen, eller bruk e-post og passord."
+  },
   "forgotPassword": {
     "title": "Tilbakestill passordet ditt",
     "description": "Skriv inn e-postadressen din, så sender vi deg en tilbakestillingslenke",
@@ -88,5 +99,38 @@
     "errors": {
       "invalidCode": "Ugyldig kode"
     }
+  },
+  "shell": {
+    "language": "Språk",
+    "about": "Om Torqvoice",
+    "docs": "Dokumentasjon",
+    "terms": "Vilkår"
+  },
+  "pitch": {
+    "badge": "For frittstående verksteder",
+    "headline": "Verkstedstyring",
+    "headlineHighlight": "uten papirarbeid",
+    "subheadline": "Tilbud, arbeidsordrer, fakturaer og kundemeldinger på ett sted. Hver jobb registreres én gang, og ingenting glipper.",
+    "benefits": {
+      "flow": {
+        "title": "Fra tilbud til betalt faktura i én flyt",
+        "description": "Gjør et tilbud om til en arbeidsordre og en faktura uten å taste noe på nytt."
+      },
+      "history": {
+        "title": "Hele historikken til hvert kjøretøy",
+        "description": "Service, deler, bilder og kilometerstand på én tidslinje, klar når kunden ringer."
+      },
+      "pay": {
+        "title": "Kundene betaler fra en lenke",
+        "description": "Send fakturaen og få betalt på nett med Stripe, Vipps eller PayPal. Ingen kundekonto nødvendig."
+      }
+    },
+    "proof": {
+      "free": "Gratis plan, ingen kredittkort",
+      "minute": "Klar på ett minutt",
+      "languages": "12 språk",
+      "openSource": "Åpen kildekode"
+    },
+    "screenshotAlt": "Torqvoice-dashbordet med aktive jobber, nøkkeltall og sjekklisten for å komme i gang"
   }
 }

+ 8 - 0
messages/nb/common.json

@@ -81,6 +81,14 @@
     "enterFullscreen": "Fullskjerm",
     "exitFullscreen": "Avslutt fullskjerm"
   },
+  "upgrade": {
+    "title": "Oppgrader for å fortsette",
+    "maxCustomers": "Planen din inkluderer opptil {limit} kunder, og du har nådd det antallet. Oppgrader for å legge til så mange du trenger.",
+    "maxUsers": "Planen din inkluderer {limit, plural, one {ett teammedlem} other {# teammedlemmer}}. Oppgrader for å invitere flere.",
+    "generic": "Denne funksjonen er ikke inkludert i planen din.",
+    "featureNotIncluded": "{feature} er ikke inkludert i planen din.",
+    "notNow": "Ikke nå"
+  },
   "broadcast": {
     "dismiss": "Lukk",
     "title": "Melding til alle",

+ 3 - 0
messages/nb/integrations.json

@@ -126,6 +126,9 @@
     "leaveEmpty": "La stå tomt",
     "noLimit": "Ingen grense",
     "planLocked": "Integrasjoner er ikke inkludert i abonnementet ditt.",
+    "lockedIntegrations": "Koble kalendere, videosamtaler og andre tjenester til verkstedet ditt.",
+    "lockedPayments": "La kundene betale fakturaene sine på nett, med hver betaling ført på fakturaen.",
+    "lockedAi": "Koble til en AI-leverandør for å bruke AI-funksjoner i verkstedet ditt.",
     "ownAppTitle": "Denne installasjonen bruker din egen app hos leverandøren",
     "redirectUri": "Omdirigerings-URI som må registreres hos leverandøren:",
     "sendTestEmail": "Send test email",

+ 3 - 0
messages/nb/navigation.json

@@ -2,8 +2,11 @@
   "breadcrumbs": {
     "dashboard": "Dashbord",
     "vehicles": "Kjøretøy",
+    "vessels": "Fartøy",
     "allVehicles": "Alle kjøretøy",
+    "allVessels": "Alle fartøy",
     "vehicleDetails": "Kjøretøydetaljer",
+    "vesselDetails": "Fartøydetaljer",
     "customers": "Kunder",
     "allCustomers": "Alle kunder",
     "customerDetails": "Kundedetaljer",

+ 9 - 13
messages/nb/onboarding.json

@@ -53,24 +53,20 @@
   },
   "checklist": {
     "title": "Kom i gang",
-    "description": "Fire steg for å få verkstedet i gang",
+    "description": "Tre steg for å få {workshop} i gang",
     "progress": "{done}/{total}",
     "steps": {
-      "customer": {
-        "title": "Legg til en kunde",
-        "description": "Opprett din første kunde"
-      },
-      "vehicle": {
-        "title": "Legg til et kjøretøy",
-        "description": "Registrer et kjøretøy på en kunde"
-      },
       "workOrder": {
-        "title": "Opprett en arbeidsordre",
-        "description": "Åpne din første jobb"
+        "title": "Opprett din første arbeidsordre",
+        "description": "Kunde, kjøretøy og jobb i én dialog"
+      },
+      "company": {
+        "title": "Legg inn verkstedets opplysninger",
+        "description": "Adresse, telefon og organisasjonsnummer til fakturaene dine"
       },
       "invoice": {
-        "title": "Send eller last ned en faktura",
-        "description": "Del en faktura med en kunde eller last den ned som PDF"
+        "title": "Send eller last ned din første faktura",
+        "description": "Del den med kunden eller lagre den som PDF"
       }
     },
     "allDoneTitle": "Alt er klart",

+ 9 - 0
messages/nb/pdf.json

@@ -5,12 +5,16 @@
     "billTo": "Fakturert til",
     "customerTaxId": "Org.nr",
     "vehicle": "Kjøretøy",
+    "vehicleMarine": "Fartøy",
     "vin": "VIN: {vin}",
+    "vinMarine": "HIN: {vin}",
     "plate": "Reg.nr: {plate}",
+    "plateMarine": "Reg.nr: {plate}",
     "mileage": "Kilometerstand: {mileage}",
     "mileageMarine": "Motortimer: {mileage}",
     "km": "km",
     "mi": "mi",
+    "mileageUnitMarine": "t",
     "service": "Tjeneste",
     "type": "Type: {type}",
     "tech": "Tekniker: {tech}",
@@ -118,9 +122,13 @@
   },
   "inspection": {
     "title": "KJØRETØYKONTROLL",
+    "titleMarine": "FARTØYKONTROLL",
     "vehicle": "Kjøretøy",
+    "vehicleMarine": "Fartøy",
     "vin": "VIN: {vin}",
+    "vinMarine": "HIN: {vin}",
     "plate": "Reg.nr: {plate}",
+    "plateMarine": "Reg.nr: {plate}",
     "mileage": "Kilometerstand: {mileage}",
     "mileageMarine": "Motortimer: {mileage}",
     "customer": "Kunde",
@@ -136,6 +144,7 @@
     "statusColumn": "Status",
     "notesColumn": "Notater",
     "footerText": "Kjøretøykontroll — {shopName}",
+    "footerTextMarine": "Fartøykontroll · {shopName}",
     "viewPortal": "Se portalen din: {url}",
     "tel": "Tlf: {phone}",
     "euPass": "Ingen mangel",

+ 5 - 3
messages/nb/settings.json

@@ -147,9 +147,11 @@
     "banner": "Du har kun lesetilgang til innstillingene. Kontakt en administrator for a gjore endringer."
   },
   "featureLocked": {
-    "requiresPro": "Krever en Pro-lisens",
-    "upgradePlan": "Oppgrader plan",
-    "activateLicense": "Aktiver lisens"
+    "requiresPro": "Abonnement kreves",
+    "upgradePlan": "Se planer",
+    "activateLicense": "Aktiver lisens",
+    "requiresLicense": "White label-lisens kreves",
+    "previewHint": "Dette er en forhåndsvisning. Alt på denne siden låses opp med et abonnement."
   },
   "company": {
     "logoTitle": "Bedriftslogo",

+ 10 - 0
messages/nb/workOrders.json

@@ -43,15 +43,23 @@
   },
   "vehiclePicker": {
     "title": "Velg kjøretøy for arbeidsordre",
+    "titleMarine": "Velg fartøy for arbeidsordre",
     "searchPlaceholder": "Søk kjøretøyer...",
+    "searchPlaceholderMarine": "Søk fartøy...",
     "empty": "Ingen kjøretøyer funnet.",
+    "emptyMarine": "Ingen fartøy funnet.",
     "emptySearch": "Ingen kjøretøyer samsvarer med søket ditt.",
+    "emptySearchMarine": "Ingen fartøy samsvarer med søket ditt.",
     "addNewVehicle": "Legg til nytt kjøretøy",
+    "addNewVehicleMarine": "Legg til nytt fartøy",
     "noPlate": "Ingen registreringsskilt",
+    "noPlateMarine": "Ingen registreringsnummer",
     "make": "Merke *",
+    "makeMarine": "Produsent *",
     "model": "Modell *",
     "year": "År *",
     "licensePlate": "Registreringsskilt",
+    "licensePlateMarine": "Registreringsnummer",
     "customer": "Kunde",
     "selectCustomer": "Velg en kunde (valgfritt)",
     "createNewCustomer": "Opprett ny kunde",
@@ -66,9 +74,11 @@
     "customerNameRequired": "Kundenavn er påkrevd",
     "failedCreateCustomer": "Kunne ikke opprette kunde",
     "failedCreateVehicle": "Kunne ikke opprette kjøretøy",
+    "failedCreateVehicleMarine": "Kunne ikke opprette fartøy",
     "somethingWentWrong": "Noe gikk galt",
     "partsSale": "Kun delesalg",
     "partsSaleDescription": "Opprett en faktura uten kjøretøy, for salg av deler over disk.",
+    "partsSaleDescriptionMarine": "Opprett en faktura uten fartøy, for salg av deler over disk.",
     "createSale": "Opprett salg",
     "none": "Ingen"
   },

+ 44 - 0
messages/nl/auth.json

@@ -6,6 +6,8 @@
     "forgotPassword": "Wachtwoord vergeten?",
     "noAccount": "Heeft u nog geen account?",
     "createOne": "Maak er een aan",
+    "newHere": "Nieuw bij Torqvoice?",
+    "createFreeAccount": "Maak een gratis account aan",
     "termsAgreement": "Door gebruik te maken van deze dienst gaat u akkoord met onze",
     "or": "of",
     "passkey": "Inloggen met Passkey",
@@ -22,12 +24,16 @@
     "title": "Account aanmaken",
     "descriptionInvite": "Maak uw account aan om lid te worden van het team",
     "descriptionDefault": "Richt uw werkplaats in om voertuigen van klanten te beheren",
+    "titleCloud": "Start uw gratis werkplaats",
+    "descriptionCloud": "Binnen een minuut klaar. Geen creditcard nodig.",
     "fullName": "Volledige naam",
     "fullNamePlaceholder": "Jan Jansen",
     "passwordPlaceholder": "Maak een sterk wachtwoord aan",
     "agreeToTerms": "Ik ga akkoord met de",
     "createAccountJoin": "Account aanmaken en team toetreden",
     "createAccount": "Account aanmaken",
+    "createAccountCloud": "Gratis account aanmaken",
+    "noCardNote": "Gratis abonnement. Upgrade alleen als u eruit groeit.",
     "alreadyHaveAccount": "Heeft u al een account?",
     "errors": {
       "couldNotCreate": "Kon account niet aanmaken",
@@ -39,6 +45,11 @@
     "passwordHint": "Moet minstens 8 tekens bevatten",
     "signInInstead": "Meld in plaats daarvan aan"
   },
+  "social": {
+    "google": "Doorgaan met Google",
+    "orEmail": "of ga verder met e-mail",
+    "failed": "Inloggen met Google is niet voltooid. Probeer het opnieuw of gebruik uw e-mailadres en wachtwoord."
+  },
   "forgotPassword": {
     "title": "Wachtwoord herstellen",
     "description": "Voer uw e-mailadres in en wij sturen u een herstelkoppeling",
@@ -88,5 +99,38 @@
     "errors": {
       "invalidCode": "Ongeldige code"
     }
+  },
+  "shell": {
+    "language": "Taal",
+    "about": "Over Torqvoice",
+    "docs": "Documentatie",
+    "terms": "Voorwaarden"
+  },
+  "pitch": {
+    "badge": "Voor onafhankelijke garages",
+    "headline": "Werkplaatsbeheer",
+    "headlineHighlight": "zonder papierwerk",
+    "subheadline": "Offertes, werkorders, facturen en klantberichten op één plek. Elke klus wordt één keer ingevoerd en niets glipt erdoorheen.",
+    "benefits": {
+      "flow": {
+        "title": "Van offerte tot betaalde factuur in één flow",
+        "description": "Zet een offerte om in een werkorder en een factuur zonder iets opnieuw in te typen."
+      },
+      "history": {
+        "title": "De volledige historie van elk voertuig",
+        "description": "Onderhoud, onderdelen, foto's en kilometerstand op één tijdlijn, bij de hand als de klant belt."
+      },
+      "pay": {
+        "title": "Klanten betalen via een link",
+        "description": "Verstuur de factuur en ontvang online betaling via Stripe, Vipps of PayPal. Geen klantaccount nodig."
+      }
+    },
+    "proof": {
+      "free": "Gratis abonnement, geen creditcard",
+      "minute": "Binnen een minuut klaar",
+      "languages": "12 talen",
+      "openSource": "Open source"
+    },
+    "screenshotAlt": "Het Torqvoice-dashboard met actieve klussen, kerncijfers en de checklist om te beginnen"
   }
 }

+ 8 - 0
messages/nl/common.json

@@ -81,6 +81,14 @@
     "enterFullscreen": "Volledig scherm",
     "exitFullscreen": "Volledig scherm afsluiten"
   },
+  "upgrade": {
+    "title": "Upgrade om verder te gaan",
+    "maxCustomers": "Uw abonnement omvat maximaal {limit} klanten en dat aantal is bereikt. Upgrade om er zoveel toe te voegen als u nodig heeft.",
+    "maxUsers": "Uw abonnement omvat {limit, plural, one {één teamlid} other {# teamleden}}. Upgrade om meer mensen uit te nodigen.",
+    "generic": "Deze functie is niet inbegrepen in uw huidige abonnement.",
+    "featureNotIncluded": "{feature} is niet inbegrepen in uw huidige abonnement.",
+    "notNow": "Niet nu"
+  },
   "broadcast": {
     "dismiss": "Sluiten",
     "title": "Bericht aan iedereen",

+ 3 - 0
messages/nl/integrations.json

@@ -126,6 +126,9 @@
     "leaveEmpty": "Leeg laten",
     "noLimit": "Geen grens",
     "planLocked": "Integraties zijn niet inbegrepen in uw abonnement.",
+    "lockedIntegrations": "Koppel agenda's, videogesprekken en andere diensten aan uw werkplaats.",
+    "lockedPayments": "Laat klanten hun facturen online betalen, met elke betaling geboekt op de factuur.",
+    "lockedAi": "Koppel een AI-aanbieder om AI-functies in uw werkplaats te gebruiken.",
     "ownAppTitle": "Deze installatie gebruikt uw eigen app bij de provider",
     "redirectUri": "Redirect-URI om bij de provider te registreren:",
     "sendTestEmail": "Send test email",

+ 3 - 0
messages/nl/navigation.json

@@ -2,8 +2,11 @@
   "breadcrumbs": {
     "dashboard": "Dashboard",
     "vehicles": "Voertuigen",
+    "vessels": "Vaartuigen",
     "allVehicles": "Alle voertuigen",
+    "allVessels": "Alle vaartuigen",
     "vehicleDetails": "Voertuiggegevens",
+    "vesselDetails": "Vaartuiggegevens",
     "customers": "Klanten",
     "allCustomers": "Alle klanten",
     "customerDetails": "Klantgegevens",

+ 9 - 13
messages/nl/onboarding.json

@@ -53,24 +53,20 @@
   },
   "checklist": {
     "title": "Aan de slag",
-    "description": "Vier stappen om uw werkplaats op gang te brengen",
+    "description": "Drie stappen om {workshop} op gang te krijgen",
     "progress": "{done}/{total}",
     "steps": {
-      "customer": {
-        "title": "Voeg een klant toe",
-        "description": "Maak uw eerste klantkaart aan"
-      },
-      "vehicle": {
-        "title": "Voeg een voertuig toe",
-        "description": "Registreer een voertuig voor een klant"
-      },
       "workOrder": {
-        "title": "Maak een werkorder aan",
-        "description": "Open uw eerste klus"
+        "title": "Maak uw eerste werkorder aan",
+        "description": "Klant, voertuig en klus in één venster"
+      },
+      "company": {
+        "title": "Vul uw werkplaatsgegevens in",
+        "description": "Adres, telefoon en registratienummer voor uw facturen"
       },
       "invoice": {
-        "title": "Verstuur of download een factuur",
-        "description": "Deel een factuur met een klant of download deze als PDF"
+        "title": "Verstuur of download uw eerste factuur",
+        "description": "Deel hem met de klant of sla hem op als PDF"
       }
     },
     "allDoneTitle": "Alles staat klaar",

+ 9 - 0
messages/nl/pdf.json

@@ -5,12 +5,16 @@
     "billTo": "Factuuradres",
     "customerTaxId": "Btw-nr.",
     "vehicle": "Voertuig",
+    "vehicleMarine": "Vaartuig",
     "vin": "VIN: {vin}",
+    "vinMarine": "HIN: {vin}",
     "plate": "Kenteken: {plate}",
+    "plateMarine": "Registratienummer: {plate}",
     "mileage": "Kilometerstand: {mileage}",
     "mileageMarine": "Motoruren: {mileage}",
     "km": "km",
     "mi": "mi",
+    "mileageUnitMarine": "u",
     "service": "Service",
     "type": "Type: {type}",
     "tech": "Monteur: {tech}",
@@ -118,9 +122,13 @@
   },
   "inspection": {
     "title": "VOERTUIGINSPECTIE",
+    "titleMarine": "VAARTUIGINSPECTIE",
     "vehicle": "Voertuig",
+    "vehicleMarine": "Vaartuig",
     "vin": "VIN: {vin}",
+    "vinMarine": "HIN: {vin}",
     "plate": "Kenteken: {plate}",
+    "plateMarine": "Registratienummer: {plate}",
     "mileage": "Kilometerstand: {mileage}",
     "mileageMarine": "Motoruren: {mileage}",
     "customer": "Klant",
@@ -136,6 +144,7 @@
     "statusColumn": "Status",
     "notesColumn": "Notities",
     "footerText": "Voertuiginspectie — {shopName}",
+    "footerTextMarine": "Vaartuiginspectie · {shopName}",
     "viewPortal": "Bekijk uw portaal: {url}",
     "tel": "Tel: {phone}",
     "euPass": "Geen gebrek",

+ 5 - 3
messages/nl/settings.json

@@ -147,9 +147,11 @@
     "banner": "U heeft alleen-lezen toegang tot de instellingen. Neem contact op met een beheerder om wijzigingen aan te brengen."
   },
   "featureLocked": {
-    "requiresPro": "Vereist een Pro-licentie",
-    "upgradePlan": "Plan upgraden",
-    "activateLicense": "Licentie activeren"
+    "requiresPro": "Abonnement vereist",
+    "upgradePlan": "Abonnementen bekijken",
+    "activateLicense": "Licentie activeren",
+    "requiresLicense": "White-labellicentie vereist",
+    "previewHint": "U kijkt naar een voorbeeld. Alles op deze pagina wordt ontgrendeld met een abonnement."
   },
   "company": {
     "logoTitle": "Bedrijfslogo",

+ 10 - 0
messages/nl/workOrders.json

@@ -43,15 +43,23 @@
   },
   "vehiclePicker": {
     "title": "Voertuig selecteren voor werkorder",
+    "titleMarine": "Vaartuig selecteren voor werkorder",
     "searchPlaceholder": "Voertuigen zoeken...",
+    "searchPlaceholderMarine": "Vaartuigen zoeken...",
     "empty": "Geen voertuigen gevonden.",
+    "emptyMarine": "Geen vaartuigen gevonden.",
     "emptySearch": "Geen voertuigen die overeenkomen met uw zoekopdracht.",
+    "emptySearchMarine": "Geen vaartuigen die overeenkomen met uw zoekopdracht.",
     "addNewVehicle": "Nieuw voertuig toevoegen",
+    "addNewVehicleMarine": "Nieuw vaartuig toevoegen",
     "noPlate": "Geen kenteken",
+    "noPlateMarine": "Geen registratienummer",
     "make": "Merk *",
+    "makeMarine": "Fabrikant *",
     "model": "Model *",
     "year": "Jaar *",
     "licensePlate": "Kenteken",
+    "licensePlateMarine": "Registratienummer",
     "customer": "Klant",
     "selectCustomer": "Selecteer een klant (optioneel)",
     "createNewCustomer": "Nieuwe klant maken",
@@ -66,9 +74,11 @@
     "customerNameRequired": "Klantnaam is verplicht",
     "failedCreateCustomer": "Klant maken mislukt",
     "failedCreateVehicle": "Voertuig maken mislukt",
+    "failedCreateVehicleMarine": "Vaartuig maken mislukt",
     "somethingWentWrong": "Er is iets mis gegaan",
     "partsSale": "Alleen onderdelenverkoop",
     "partsSaleDescription": "Maak een factuur zonder voertuig, voor verkoop van onderdelen aan de balie.",
+    "partsSaleDescriptionMarine": "Maak een factuur zonder vaartuig, voor verkoop van onderdelen aan de balie.",
     "createSale": "Verkoop aanmaken",
     "none": "Geen"
   },

+ 44 - 0
messages/pl/auth.json

@@ -6,6 +6,8 @@
     "forgotPassword": "Nie pamiętasz hasła?",
     "noAccount": "Nie masz konta?",
     "createOne": "Utwórz konto",
+    "newHere": "Nowy w Torqvoice?",
+    "createFreeAccount": "Załóż bezpłatne konto",
     "termsAgreement": "Korzystając z tego serwisu, akceptujesz nasz",
     "or": "lub",
     "passkey": "Zaloguj się za pomocą Passkey",
@@ -22,12 +24,16 @@
     "title": "Utwórz konto",
     "descriptionInvite": "Utwórz konto, aby dołączyć do zespołu",
     "descriptionDefault": "Skonfiguruj swój warsztat, aby zarządzać pojazdami klientów",
+    "titleCloud": "Uruchom swój warsztat za darmo",
+    "descriptionCloud": "Gotowe w mniej niż minutę. Bez karty kredytowej.",
     "fullName": "Imię i nazwisko",
     "fullNamePlaceholder": "Jan Kowalski",
     "passwordPlaceholder": "Utwórz silne hasło",
     "agreeToTerms": "Akceptuję",
     "createAccountJoin": "Utwórz konto i dołącz do zespołu",
     "createAccount": "Utwórz konto",
+    "createAccountCloud": "Załóż bezpłatne konto",
+    "noCardNote": "Plan bezpłatny. Zmień go tylko wtedy, gdy przestanie wystarczać.",
     "alreadyHaveAccount": "Masz już konto?",
     "errors": {
       "couldNotCreate": "Nie udało się utworzyć konta",
@@ -39,6 +45,11 @@
     "passwordHint": "Musi mieć co najmniej 8 znaków",
     "signInInstead": "Zaloguj się zamiast tego"
   },
+  "social": {
+    "google": "Kontynuuj z Google",
+    "orEmail": "lub kontynuuj z e-mailem",
+    "failed": "Logowanie przez Google nie powiodło się. Spróbuj ponownie lub użyj e-maila i hasła."
+  },
   "forgotPassword": {
     "title": "Zresetuj hasło",
     "description": "Podaj swój e-mail, a wyślemy Ci link do resetowania hasła",
@@ -88,5 +99,38 @@
     "errors": {
       "invalidCode": "Nieprawidłowy kod"
     }
+  },
+  "shell": {
+    "language": "Język",
+    "about": "O Torqvoice",
+    "docs": "Dokumentacja",
+    "terms": "Regulamin"
+  },
+  "pitch": {
+    "badge": "Dla niezależnych warsztatów",
+    "headline": "Zarządzanie warsztatem",
+    "headlineHighlight": "bez papierologii",
+    "subheadline": "Wyceny, zlecenia, faktury i wiadomości do klientów w jednym miejscu. Każde zlecenie wpisujesz raz i nic nie umyka.",
+    "benefits": {
+      "flow": {
+        "title": "Od wyceny do opłaconej faktury w jednym ciągu",
+        "description": "Zamień wycenę w zlecenie i fakturę bez przepisywania czegokolwiek."
+      },
+      "history": {
+        "title": "Pełna historia każdego pojazdu",
+        "description": "Naprawy, części, zdjęcia i przebieg na jednej osi czasu, pod ręką, gdy dzwoni klient."
+      },
+      "pay": {
+        "title": "Klienci płacą z linku",
+        "description": "Wyślij fakturę i odbierz płatność online przez Stripe, Vipps lub PayPal. Bez konta klienta."
+      }
+    },
+    "proof": {
+      "free": "Plan bezpłatny, bez karty kredytowej",
+      "minute": "Gotowe w minutę",
+      "languages": "12 języków",
+      "openSource": "Otwarte oprogramowanie"
+    },
+    "screenshotAlt": "Pulpit Torqvoice z aktywnymi zleceniami, kluczowymi liczbami i listą pierwszych kroków"
   }
 }

+ 8 - 0
messages/pl/common.json

@@ -81,6 +81,14 @@
     "enterFullscreen": "Pełny ekran",
     "exitFullscreen": "Zamknij pełny ekran"
   },
+  "upgrade": {
+    "title": "Zmień plan, aby kontynuować",
+    "maxCustomers": "Twój plan obejmuje do {limit} klientów i ta liczba została osiągnięta. Zmień plan, aby dodać tylu, ilu potrzebujesz.",
+    "maxUsers": "Twój plan obejmuje {limit, plural, one {jednego członka zespołu} few {# członków zespołu} many {# członków zespołu} other {# członka zespołu}}. Zmień plan, aby zaprosić więcej osób.",
+    "generic": "Ta funkcja nie jest dostępna w Twoim obecnym planie.",
+    "featureNotIncluded": "{feature} nie jest dostępne w Twoim obecnym planie.",
+    "notNow": "Nie teraz"
+  },
   "broadcast": {
     "dismiss": "Zamknij",
     "title": "Komunikat dla wszystkich",

+ 3 - 0
messages/pl/integrations.json

@@ -126,6 +126,9 @@
     "leaveEmpty": "Zostaw puste",
     "noLimit": "Bez ograniczenia",
     "planLocked": "Integracje nie są objęte Twoim planem.",
+    "lockedIntegrations": "Połącz kalendarze, rozmowy wideo i inne usługi ze swoim warsztatem.",
+    "lockedPayments": "Pozwól klientom opłacać faktury online, a każda płatność zostanie zaksięgowana na fakturze.",
+    "lockedAi": "Połącz dostawcę AI, aby korzystać z funkcji AI w swoim warsztacie.",
     "ownAppTitle": "Ta instalacja używa własnej aplikacji u dostawcy",
     "redirectUri": "Adres przekierowania (redirect URI) do zarejestrowania u dostawcy:",
     "sendTestEmail": "Send test email",

+ 3 - 0
messages/pl/navigation.json

@@ -2,8 +2,11 @@
   "breadcrumbs": {
     "dashboard": "Pulpit",
     "vehicles": "Pojazdy",
+    "vessels": "Jednostki",
     "allVehicles": "Wszystkie pojazdy",
+    "allVessels": "Wszystkie jednostki",
     "vehicleDetails": "Szczegóły pojazdu",
+    "vesselDetails": "Szczegóły jednostki",
     "customers": "Klienci",
     "allCustomers": "Wszyscy klienci",
     "customerDetails": "Szczegóły klienta",

+ 9 - 13
messages/pl/onboarding.json

@@ -53,24 +53,20 @@
   },
   "checklist": {
     "title": "Pierwsze kroki",
-    "description": "Cztery kroki, aby uruchomić swój warsztat",
+    "description": "Trzy kroki, aby uruchomić {workshop}",
     "progress": "{done}/{total}",
     "steps": {
-      "customer": {
-        "title": "Dodaj klienta",
-        "description": "Utwórz pierwszą kartotekę klienta"
-      },
-      "vehicle": {
-        "title": "Dodaj pojazd",
-        "description": "Zarejestruj pojazd dla klienta"
-      },
       "workOrder": {
-        "title": "Utwórz zlecenie",
-        "description": "Otwórz swoje pierwsze zlecenie"
+        "title": "Utwórz pierwsze zlecenie",
+        "description": "Klient, pojazd i zlecenie w jednym oknie"
+      },
+      "company": {
+        "title": "Uzupełnij dane warsztatu",
+        "description": "Adres, telefon i numer rejestrowy na fakturach"
       },
       "invoice": {
-        "title": "Wyślij lub pobierz fakturę",
-        "description": "Udostępnij fakturę klientowi lub pobierz ją jako PDF"
+        "title": "Wyślij lub pobierz pierwszą fakturę",
+        "description": "Udostępnij ją klientowi lub zapisz jako PDF"
       }
     },
     "allDoneTitle": "Wszystko gotowe",

+ 9 - 0
messages/pl/pdf.json

@@ -5,12 +5,16 @@
     "billTo": "Odbiorca",
     "customerTaxId": "NIP",
     "vehicle": "Pojazd",
+    "vehicleMarine": "Jednostka pływająca",
     "vin": "VIN: {vin}",
+    "vinMarine": "HIN: {vin}",
     "plate": "Tablica: {plate}",
+    "plateMarine": "Nr rejestracyjny: {plate}",
     "mileage": "Przebieg: {mileage}",
     "mileageMarine": "Godziny Pracy: {mileage}",
     "km": "km",
     "mi": "mi",
+    "mileageUnitMarine": "mth",
     "service": "Usługa",
     "type": "Typ: {type}",
     "tech": "Technik: {tech}",
@@ -118,9 +122,13 @@
   },
   "inspection": {
     "title": "INSPEKCJA POJAZDU",
+    "titleMarine": "INSPEKCJA JEDNOSTKI PŁYWAJĄCEJ",
     "vehicle": "Pojazd",
+    "vehicleMarine": "Jednostka pływająca",
     "vin": "VIN: {vin}",
+    "vinMarine": "HIN: {vin}",
     "plate": "Tablica: {plate}",
+    "plateMarine": "Nr rejestracyjny: {plate}",
     "mileage": "Przebieg: {mileage}",
     "mileageMarine": "Godziny Pracy: {mileage}",
     "customer": "Klient",
@@ -136,6 +144,7 @@
     "statusColumn": "Status",
     "notesColumn": "Uwagi",
     "footerText": "Inspekcja pojazdu — {shopName}",
+    "footerTextMarine": "Inspekcja jednostki pływającej · {shopName}",
     "viewPortal": "Zobacz swój portal: {url}",
     "tel": "Tel: {phone}",
     "euPass": "Brak usterki",

+ 5 - 3
messages/pl/settings.json

@@ -147,9 +147,11 @@
     "banner": "Masz dostęp tylko do odczytu ustawień. Skontaktuj się z administratorem, aby wprowadzić zmiany."
   },
   "featureLocked": {
-    "requiresPro": "Wymaga licencji Pro",
-    "upgradePlan": "Zaktualizuj plan",
-    "activateLicense": "Aktywuj licencje"
+    "requiresPro": "Wymagana subskrypcja",
+    "upgradePlan": "Zobacz plany",
+    "activateLicense": "Aktywuj licencje",
+    "requiresLicense": "Wymagana licencja white label",
+    "previewHint": "To jest podgląd. Wszystko na tej stronie odblokowuje subskrypcja."
   },
   "company": {
     "logoTitle": "Logo firmy",

+ 10 - 0
messages/pl/workOrders.json

@@ -43,15 +43,23 @@
   },
   "vehiclePicker": {
     "title": "Wybierz Pojazd do Zlecenia Pracy",
+    "titleMarine": "Wybierz Jednostkę do Zlecenia Pracy",
     "searchPlaceholder": "Szukaj pojazdów...",
+    "searchPlaceholderMarine": "Szukaj jednostek...",
     "empty": "Nie znaleziono pojazdów.",
+    "emptyMarine": "Nie znaleziono jednostek.",
     "emptySearch": "Brak pojazdów pasujących do wyszukiwania.",
+    "emptySearchMarine": "Brak jednostek pasujących do wyszukiwania.",
     "addNewVehicle": "Dodaj Nowy Pojazd",
+    "addNewVehicleMarine": "Dodaj Nową Jednostkę",
     "noPlate": "Brak tablicy",
+    "noPlateMarine": "Brak numeru rejestracyjnego",
     "make": "Marka *",
+    "makeMarine": "Producent *",
     "model": "Model *",
     "year": "Rok *",
     "licensePlate": "Tablica Rejestracyjna",
+    "licensePlateMarine": "Numer Rejestracyjny",
     "customer": "Klient",
     "selectCustomer": "Wybierz klienta (opcjonalnie)",
     "createNewCustomer": "Utwórz nowego klienta",
@@ -66,9 +74,11 @@
     "customerNameRequired": "Nazwa klienta jest wymagana",
     "failedCreateCustomer": "Nie udało się utworzyć klienta",
     "failedCreateVehicle": "Nie udało się utworzyć pojazdu",
+    "failedCreateVehicleMarine": "Nie udało się utworzyć jednostki",
     "somethingWentWrong": "Coś poszło nie tak",
     "partsSale": "Sprzedaż samych części",
     "partsSaleDescription": "Utwórz fakturę bez pojazdu, do sprzedaży części przy ladzie.",
+    "partsSaleDescriptionMarine": "Utwórz fakturę bez jednostki, do sprzedaży części przy ladzie.",
     "createSale": "Utwórz sprzedaż",
     "none": "Brak"
   },

+ 44 - 0
messages/pt-BR/auth.json

@@ -6,6 +6,8 @@
     "forgotPassword": "Esqueceu a senha?",
     "noAccount": "Ainda não tem uma conta?",
     "createOne": "Crie uma",
+    "newHere": "Novo no Torqvoice?",
+    "createFreeAccount": "Crie uma conta gratuita",
     "termsAgreement": "Ao utilizar este serviço, você concorda com nossos",
     "or": "ou",
     "passkey": "Entrar com Passkey",
@@ -22,12 +24,16 @@
     "title": "Crie sua conta",
     "descriptionInvite": "Crie sua conta para entrar na equipe",
     "descriptionDefault": "Configure sua oficina para gerenciar os veículos dos clientes",
+    "titleCloud": "Comece sua oficina grátis",
+    "descriptionCloud": "Pronto em menos de um minuto. Sem cartão de crédito.",
     "fullName": "Nome Completo",
     "fullNamePlaceholder": "João da Silva",
     "passwordPlaceholder": "Crie uma senha forte",
     "agreeToTerms": "Eu concordo com os",
     "createAccountJoin": "Criar Conta e Entrar na Equipe",
     "createAccount": "Criar Conta",
+    "createAccountCloud": "Criar conta gratuita",
+    "noCardNote": "Plano gratuito. Faça upgrade só se precisar de mais.",
     "alreadyHaveAccount": "Já tem uma conta?",
     "errors": {
       "couldNotCreate": "Não foi possível criar a conta",
@@ -39,6 +45,11 @@
     "passwordHint": "Deve ter pelo menos 8 caracteres",
     "signInInstead": "Faça login em vez disso"
   },
+  "social": {
+    "google": "Continuar com o Google",
+    "orEmail": "ou continue com e-mail",
+    "failed": "O login com o Google não foi concluído. Tente de novo ou use seu e-mail e senha."
+  },
   "forgotPassword": {
     "title": "Redefinir sua senha",
     "description": "Digite seu e-mail e enviaremos um link de redefinição",
@@ -88,5 +99,38 @@
     "errors": {
       "invalidCode": "Código inválido"
     }
+  },
+  "shell": {
+    "language": "Idioma",
+    "about": "Sobre o Torqvoice",
+    "docs": "Documentação",
+    "terms": "Termos"
+  },
+  "pitch": {
+    "badge": "Para oficinas independentes",
+    "headline": "Gestão de oficina",
+    "headlineHighlight": "sem papelada",
+    "subheadline": "Orçamentos, ordens de serviço, faturas e mensagens para clientes em um só lugar. Cada serviço é registrado uma vez e nada se perde.",
+    "benefits": {
+      "flow": {
+        "title": "Do orçamento à fatura paga em um só fluxo",
+        "description": "Transforme um orçamento em ordem de serviço e fatura sem digitar nada de novo."
+      },
+      "history": {
+        "title": "O histórico completo de cada veículo",
+        "description": "Serviços, peças, fotos e quilometragem em uma única linha do tempo, à mão quando o cliente liga."
+      },
+      "pay": {
+        "title": "Clientes pagam por um link",
+        "description": "Envie a fatura e receba online com Stripe, Vipps ou PayPal. Sem conta de cliente."
+      }
+    },
+    "proof": {
+      "free": "Plano gratuito, sem cartão de crédito",
+      "minute": "Pronto em um minuto",
+      "languages": "12 idiomas",
+      "openSource": "Código aberto"
+    },
+    "screenshotAlt": "O painel do Torqvoice com serviços ativos, números principais e a lista de primeiros passos"
   }
 }

+ 8 - 0
messages/pt-BR/common.json

@@ -81,6 +81,14 @@
     "enterFullscreen": "Tela cheia",
     "exitFullscreen": "Sair da tela cheia"
   },
+  "upgrade": {
+    "title": "Faça upgrade para continuar",
+    "maxCustomers": "Seu plano inclui até {limit} clientes, e você chegou a esse número. Faça upgrade para adicionar quantos precisar.",
+    "maxUsers": "Seu plano inclui {limit, plural, one {um membro na equipe} other {# membros na equipe}}. Faça upgrade para convidar mais pessoas.",
+    "generic": "Este recurso não está incluído no seu plano atual.",
+    "featureNotIncluded": "{feature} não está incluído no seu plano atual.",
+    "notNow": "Agora não"
+  },
   "broadcast": {
     "dismiss": "Fechar",
     "title": "Aviso para todos",

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

@@ -126,6 +126,9 @@
     "leaveEmpty": "Deixar vazio",
     "noLimit": "Sem limite",
     "planLocked": "As integrações não estão incluídas no seu plano.",
+    "lockedIntegrations": "Conecte calendários, videochamadas e outros serviços à sua oficina.",
+    "lockedPayments": "Permita que os clientes paguem suas faturas online, com cada pagamento lançado na fatura.",
+    "lockedAi": "Conecte um provedor de IA para usar recursos de IA na sua oficina.",
     "ownAppTitle": "Esta instalação usa seu próprio aplicativo junto ao provedor",
     "redirectUri": "URI de redirecionamento para registrar no provedor:",
     "sendTestEmail": "Send test email",

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

@@ -2,8 +2,11 @@
   "breadcrumbs": {
     "dashboard": "Painel",
     "vehicles": "Veículos",
+    "vessels": "Embarcações",
     "allVehicles": "Todos os Veículos",
+    "allVessels": "Todas as Embarcações",
     "vehicleDetails": "Detalhes do Veículo",
+    "vesselDetails": "Detalhes da Embarcação",
     "customers": "Clientes",
     "allCustomers": "Todos os Clientes",
     "customerDetails": "Detalhes do Cliente",

+ 9 - 13
messages/pt-BR/onboarding.json

@@ -53,24 +53,20 @@
   },
   "checklist": {
     "title": "Primeiros passos",
-    "description": "Quatro passos para colocar sua oficina em funcionamento",
+    "description": "Três passos para colocar {workshop} para rodar",
     "progress": "{done}/{total}",
     "steps": {
-      "customer": {
-        "title": "Adicionar um cliente",
-        "description": "Crie seu primeiro cadastro de cliente"
-      },
-      "vehicle": {
-        "title": "Adicionar um veículo",
-        "description": "Registre um veículo para um cliente"
-      },
       "workOrder": {
-        "title": "Criar uma ordem de serviço",
-        "description": "Abra seu primeiro serviço"
+        "title": "Crie sua primeira ordem de serviço",
+        "description": "Cliente, veículo e serviço em uma única janela"
+      },
+      "company": {
+        "title": "Adicione os dados da sua oficina",
+        "description": "Endereço, telefone e número de registro para suas faturas"
       },
       "invoice": {
-        "title": "Enviar ou baixar uma fatura",
-        "description": "Compartilhe uma fatura com um cliente ou baixe em PDF"
+        "title": "Envie ou baixe sua primeira fatura",
+        "description": "Compartilhe com o cliente ou salve em PDF"
       }
     },
     "allDoneTitle": "Tudo pronto",

+ 9 - 0
messages/pt-BR/pdf.json

@@ -5,12 +5,16 @@
     "billTo": "Cobrar De",
     "customerTaxId": "CNPJ",
     "vehicle": "Veículo",
+    "vehicleMarine": "Embarcação",
     "vin": "VIN: {vin}",
+    "vinMarine": "HIN: {vin}",
     "plate": "Placa: {plate}",
+    "plateMarine": "Registro: {plate}",
     "mileage": "Quilometragem: {mileage}",
     "mileageMarine": "Horas de Motor: {mileage}",
     "km": "km",
     "mi": "mi",
+    "mileageUnitMarine": "h",
     "service": "Serviço",
     "type": "Tipo: {type}",
     "tech": "Técnico: {tech}",
@@ -118,9 +122,13 @@
   },
   "inspection": {
     "title": "INSPEÇÃO VEICULAR",
+    "titleMarine": "INSPEÇÃO DE EMBARCAÇÃO",
     "vehicle": "Veículo",
+    "vehicleMarine": "Embarcação",
     "vin": "VIN: {vin}",
+    "vinMarine": "HIN: {vin}",
     "plate": "Placa: {plate}",
+    "plateMarine": "Registro: {plate}",
     "mileage": "Quilometragem: {mileage}",
     "mileageMarine": "Horas de Motor: {mileage}",
     "customer": "Cliente",
@@ -136,6 +144,7 @@
     "statusColumn": "Status",
     "notesColumn": "Observações",
     "footerText": "Inspeção Veicular — {shopName}",
+    "footerTextMarine": "Inspeção de Embarcação · {shopName}",
     "viewPortal": "Acesse seu portal: {url}",
     "tel": "Tel: {phone}",
     "euPass": "Sem deficiência",

+ 5 - 3
messages/pt-BR/settings.json

@@ -147,9 +147,11 @@
     "banner": "Você tem acesso somente leitura as configurações. Contate um administrador para fazer alterações."
   },
   "featureLocked": {
-    "requiresPro": "Requer uma licença Pro",
-    "upgradePlan": "Atualizar plano",
-    "activateLicense": "Ativar licença"
+    "requiresPro": "Assinatura necessária",
+    "upgradePlan": "Ver planos",
+    "activateLicense": "Ativar licença",
+    "requiresLicense": "Licença white label necessária",
+    "previewHint": "Você está vendo uma prévia. Tudo nesta página é liberado com uma assinatura."
   },
   "company": {
     "logoTitle": "Logo da empresa",

+ 10 - 0
messages/pt-BR/workOrders.json

@@ -43,15 +43,23 @@
   },
   "vehiclePicker": {
     "title": "Selecionar Veículo para Ordem de Serviço",
+    "titleMarine": "Selecionar Embarcação para Ordem de Serviço",
     "searchPlaceholder": "Pesquisar veículos...",
+    "searchPlaceholderMarine": "Pesquisar embarcações...",
     "empty": "Nenhum veículo encontrado.",
+    "emptyMarine": "Nenhuma embarcação encontrada.",
     "emptySearch": "Nenhum veículo corresponde à sua pesquisa.",
+    "emptySearchMarine": "Nenhuma embarcação corresponde à sua pesquisa.",
     "addNewVehicle": "Adicionar Novo Veículo",
+    "addNewVehicleMarine": "Adicionar Nova Embarcação",
     "noPlate": "Sem placa",
+    "noPlateMarine": "Sem registro",
     "make": "Marca *",
+    "makeMarine": "Fabricante *",
     "model": "Modelo *",
     "year": "Ano *",
     "licensePlate": "Placa",
+    "licensePlateMarine": "Número de Registro",
     "customer": "Cliente",
     "selectCustomer": "Selecionar um cliente (opcional)",
     "createNewCustomer": "Criar novo cliente",
@@ -66,9 +74,11 @@
     "customerNameRequired": "Nome do cliente é obrigatório",
     "failedCreateCustomer": "Falha ao criar cliente",
     "failedCreateVehicle": "Falha ao criar veículo",
+    "failedCreateVehicleMarine": "Falha ao criar embarcação",
     "somethingWentWrong": "Algo deu errado",
     "partsSale": "Venda apenas de peças",
     "partsSaleDescription": "Crie uma fatura sem veículo, para vendas de peças no balcão.",
+    "partsSaleDescriptionMarine": "Crie uma fatura sem embarcação, para vendas de peças no balcão.",
     "createSale": "Criar venda",
     "none": "Nenhum"
   },

+ 44 - 0
messages/ru/auth.json

@@ -6,6 +6,8 @@
     "forgotPassword": "Забыли пароль?",
     "noAccount": "Нет аккаунта?",
     "createOne": "Создать",
+    "newHere": "Впервые в Torqvoice?",
+    "createFreeAccount": "Создать бесплатный аккаунт",
     "termsAgreement": "Используя этот сервис, вы соглашаетесь с нашими",
     "or": "или",
     "passkey": "Войти с помощью ключа доступа",
@@ -22,12 +24,16 @@
     "title": "Создать аккаунт",
     "descriptionInvite": "Создайте аккаунт, чтобы присоединиться к команде",
     "descriptionDefault": "Настройте свою мастерскую для управления транспортными средствами клиентов",
+    "titleCloud": "Запустите свою мастерскую бесплатно",
+    "descriptionCloud": "Готово менее чем за минуту. Банковская карта не нужна.",
     "fullName": "Полное имя",
     "fullNamePlaceholder": "Иван Иванов",
     "passwordPlaceholder": "Придумайте надёжный пароль",
     "agreeToTerms": "Я согласен с",
     "createAccountJoin": "Создать аккаунт и присоединиться к команде",
     "createAccount": "Создать аккаунт",
+    "createAccountCloud": "Создать бесплатный аккаунт",
+    "noCardNote": "Бесплатный тариф. Переходите на платный, только если его станет мало.",
     "alreadyHaveAccount": "Уже есть аккаунт?",
     "errors": {
       "couldNotCreate": "Не удалось создать аккаунт",
@@ -39,6 +45,11 @@
     "passwordHint": "Не менее 8 символов",
     "signInInstead": "Войдите вместо этого"
   },
+  "social": {
+    "google": "Продолжить с Google",
+    "orEmail": "или продолжить по электронной почте",
+    "failed": "Вход через Google не завершился. Попробуйте ещё раз или войдите по электронной почте и паролю."
+  },
   "forgotPassword": {
     "title": "Сброс пароля",
     "description": "Введите адрес эл. почты, и мы отправим вам ссылку для сброса",
@@ -88,5 +99,38 @@
     "errors": {
       "invalidCode": "Неверный код"
     }
+  },
+  "shell": {
+    "language": "Язык",
+    "about": "О Torqvoice",
+    "docs": "Документация",
+    "terms": "Условия"
+  },
+  "pitch": {
+    "badge": "Для независимых автосервисов",
+    "headline": "Управление мастерской",
+    "headlineHighlight": "без бумажной волокиты",
+    "subheadline": "Сметы, заказ-наряды, счета и сообщения клиентам в одном месте. Каждая работа вносится один раз, и ничего не теряется.",
+    "benefits": {
+      "flow": {
+        "title": "От сметы до оплаченного счёта в одном потоке",
+        "description": "Превратите смету в заказ-наряд и счёт, ничего не набирая заново."
+      },
+      "history": {
+        "title": "Полная история каждого автомобиля",
+        "description": "Работы, запчасти, фото и пробег на одной шкале времени, под рукой, когда звонит клиент."
+      },
+      "pay": {
+        "title": "Клиенты платят по ссылке",
+        "description": "Отправьте счёт и получите оплату онлайн через Stripe, Vipps или PayPal. Аккаунт клиента не нужен."
+      }
+    },
+    "proof": {
+      "free": "Бесплатный тариф, без банковской карты",
+      "minute": "Готово за минуту",
+      "languages": "12 языков",
+      "openSource": "Открытый исходный код"
+    },
+    "screenshotAlt": "Панель Torqvoice с активными работами, ключевыми показателями и списком первых шагов"
   }
 }

+ 8 - 0
messages/ru/common.json

@@ -81,6 +81,14 @@
     "enterFullscreen": "Полный экран",
     "exitFullscreen": "Выйти из полного экрана"
   },
+  "upgrade": {
+    "title": "Перейдите на другой тариф, чтобы продолжить",
+    "maxCustomers": "Ваш тариф включает до {limit} клиентов, и это число достигнуто. Перейдите на другой тариф, чтобы добавлять столько, сколько нужно.",
+    "maxUsers": "Ваш тариф включает {limit, plural, one {# участника команды} few {# участника команды} many {# участников команды} other {# участника команды}}. Перейдите на другой тариф, чтобы пригласить больше людей.",
+    "generic": "Эта функция не входит в ваш текущий тариф.",
+    "featureNotIncluded": "{feature} не входит в ваш текущий тариф.",
+    "notNow": "Не сейчас"
+  },
   "broadcast": {
     "dismiss": "Закрыть",
     "title": "Сообщение для всех",

+ 3 - 0
messages/ru/integrations.json

@@ -126,6 +126,9 @@
     "leaveEmpty": "Оставить пустым",
     "noLimit": "Без ограничения",
     "planLocked": "Интеграции не входят в ваш тариф.",
+    "lockedIntegrations": "Подключите календари, видеозвонки и другие сервисы к вашей мастерской.",
+    "lockedPayments": "Позвольте клиентам оплачивать счета онлайн, и каждый платёж будет отражён в счёте.",
+    "lockedAi": "Подключите провайдера ИИ, чтобы использовать функции ИИ в вашей мастерской.",
     "ownAppTitle": "Эта установка использует ваше собственное приложение у провайдера",
     "redirectUri": "URI перенаправления для регистрации у провайдера:",
     "sendTestEmail": "Send test email",

+ 3 - 0
messages/ru/navigation.json

@@ -2,8 +2,11 @@
   "breadcrumbs": {
     "dashboard": "Панель управления",
     "vehicles": "Транспортные средства",
+    "vessels": "Суда",
     "allVehicles": "Все транспортные средства",
+    "allVessels": "Все суда",
     "vehicleDetails": "Детали транспортного средства",
+    "vesselDetails": "Сведения о судне",
     "customers": "Клиенты",
     "allCustomers": "Все клиенты",
     "customerDetails": "Данные клиента",

+ 9 - 13
messages/ru/onboarding.json

@@ -53,24 +53,20 @@
   },
   "checklist": {
     "title": "Первые шаги",
-    "description": "Четыре шага, чтобы запустить вашу мастерскую",
+    "description": "Три шага, чтобы запустить {workshop}",
     "progress": "{done}/{total}",
     "steps": {
-      "customer": {
-        "title": "Добавьте клиента",
-        "description": "Создайте первую карточку клиента"
-      },
-      "vehicle": {
-        "title": "Добавьте автомобиль",
-        "description": "Зарегистрируйте автомобиль клиента"
-      },
       "workOrder": {
-        "title": "Создайте заказ-наряд",
-        "description": "Откройте свой первый заказ"
+        "title": "Создайте первый заказ-наряд",
+        "description": "Клиент, автомобиль и работа в одном окне"
+      },
+      "company": {
+        "title": "Заполните данные мастерской",
+        "description": "Адрес, телефон и регистрационный номер для счетов"
       },
       "invoice": {
-        "title": "Отправьте или скачайте счет",
-        "description": "Поделитесь счетом с клиентом или скачайте его в PDF"
+        "title": "Отправьте или скачайте первый счёт",
+        "description": "Поделитесь с клиентом или сохраните в PDF"
       }
     },
     "allDoneTitle": "Все готово",

Некоторые файлы не были показаны из-за большого количества измененных файлов