Skip to content

The open-source AI receptionist for businesses. Answers every call, books the appointment and hands over to a person when needed. You own the code and the data.

Onboarding phone and forwarding said once: known values as rows, guide as one card, check results as Notes (PR 1944)

Janikb22ad6e15a07
diff --git a/apps/web/src/onboarding/BusinessStep.tsx b/apps/web/src/onboarding/BusinessStep.tsx
index e52271c3..11a6f668 100644
--- a/apps/web/src/onboarding/BusinessStep.tsx
+++ b/apps/web/src/onboarding/BusinessStep.tsx
@@ -343,10 +343,11 @@ function FindBusiness({
<ProblemNote problem={providerProblem({ provider: 'llm', reason: 'config' }, 'search')} admin />
)}
{canSearch && (
- <p className="ob2-row ob-tight">
- <Button size="lg" variant="ghost" onClick={() => setPhase({ kind: 'find' })}>
+ // The same quiet link as "Enter your details yourself" on the search side.
+ <p className="ob-biz-manual">
+ <LinkButton onClick={() => setPhase({ kind: 'find' })}>
{t('onboarding.business.manual.searchGoogle')}
- </Button>
+ </LinkButton>
</p>
)}
</>
diff --git a/apps/web/src/onboarding/ForwardingCheck.tsx b/apps/web/src/onboarding/ForwardingCheck.tsx
index b28fc028..3b81ec54 100644
--- a/apps/web/src/onboarding/ForwardingCheck.tsx
+++ b/apps/web/src/onboarding/ForwardingCheck.tsx
@@ -6,9 +6,10 @@ import {
forwardingGuideById,
type LineLookupData,
onCallNumberProblem,
+ phoneChecklist,
} from '@linedesk/actions'
import type { PhoneNumber } from '@linedesk/db/types'
-import { useT } from '@linedesk/i18n/react'
+import { T, useT } from '@linedesk/i18n/react'
import { i18n } from '../i18n/index.tsx'
import { type ReactNode, useEffect, useRef, useState } from 'react'
import { callAction, readAction, useWriteAction } from '../settings/settings-api.ts'
@@ -16,7 +17,10 @@ import { refreshGoLiveChecklist } from '../inbox/GoLiveChecklist.tsx'
import { codeOf, rejectionText } from '../shell/rejections.ts'
import { useAssistantName, useRun } from '../store.tsx'
import { LinkButton } from '../ui/AppLink.tsx'
-import { Button, cx, Icon, Note } from '../ui/kit.tsx'
+import { ListLine } from '../ui/FeatureLine.tsx'
+import { HelpTip } from '../ui/HelpTip.tsx'
+import { Button, Note } from '../ui/kit.tsx'
+import { SettingRow, SettingRows } from '../ui/SettingRow.tsx'
import { PhoneInput } from '../ui/PhoneInput.tsx'
import {
checkResultText,
@@ -25,12 +29,13 @@ import {
lookupGuide,
noCheckText,
simulatedMark,
+ simulatedNothingDialed,
} from './forwarding-check.ts'
import { formatNumber, outboundE164 } from './flow.ts'
import { useClientWord } from './clientWords.tsx'
import { useOutboundCountries } from './outbound-number.ts'
import { useDefaultPhoneCountry } from '../phoneCountry.ts'
-import { FormField } from '../ui/form.tsx'
+import { Card, FormField } from '../ui/form.tsx'
const POLL_MS = 2000
/** Reads that fail in a row before the check says so and offers to try again; until then it backs off. */
@@ -57,6 +62,15 @@ type Props = {
lookupOnOpen?: boolean
/** Owners and admins only (settings:write); others see the last result. */
canCheck?: boolean
+ /**
+ * The phone step: a known business number and the assistant's number as two rows of one card, with Change opening
+ * the number field and `pickers` in place (said once, not asked again). No number known yet: the field as before.
+ */
+ rows?: boolean
+ /** The carrier and phone system pickers: in the Change area of `rows`, or under the field. */
+ pickers?: ReactNode
+ /** The name of the guide picked (Verizon): the number row says it when the lookup found no carrier. */
+ carrierName?: string | null
}
export function ForwardingCheck({
@@ -67,6 +81,9 @@ export function ForwardingCheck({
pickedByOwner = null,
lookupOnOpen = false,
canCheck = true,
+ rows = false,
+ pickers,
+ carrierName = null,
}: Props) {
const t = useT()
const word = useClientWord()
@@ -78,6 +95,11 @@ export function ForwardingCheck({
return known ? formatNumber(known) : ''
})
const [edited, setEdited] = useState(false)
+ // `rows`: the number row's Change area is open; or the owner typed a first number in the plain field (it stays).
+ const [changing, setChanging] = useState(false)
+ const [typedPlain, setTypedPlain] = useState(false)
+ // A carrier lookup is on its way: the pickers wait for it instead of showing and then going away.
+ const [looking, setLooking] = useState(false)
const [check, setCheck] = useState<ForwardingCheckView | null>(null)
// Whether this server can run a check (null until known): when it cannot, no button, only how to test by hand.
const [available, setAvailable] = useState<boolean | null>(null)
@@ -166,10 +188,12 @@ export function ForwardingCheck({
setLookupNote(null)
let found = lookedUp.get(e164)
if (!found) {
+ setLooking(true)
try {
found = await callAction<LineLookupData>('phoneNumber.lookupLine', { number: e164 })
} catch (e) {
if (looked.current !== e164) return
+ setLooking(false)
// Nothing from a failed lookup: no line, no carrier picked. The owner picks it from the list.
setLine(null)
setFound(null)
@@ -178,6 +202,7 @@ export function ForwardingCheck({
}
}
if (looked.current !== e164) return
+ setLooking(false)
lookedUp.set(e164, found)
const text = lineText(found)
setLine(text ? { text, simulated: found.simulated } : null)
@@ -220,54 +245,109 @@ export function ForwardingCheck({
const suggest = onCarrier ? lookupGuide(found, pickedByOwner) : null
const suggested = suggest && 'suggest' in suggest ? forwardingGuideById(suggest.suggest) : undefined
const fieldId = `fc-number-${number.id}`
+ // The phone step with a number known (step 1, a check, or typed in the Change area): rows instead of the field.
+ const asRows = rows && canCheck && !typedPlain && (changing || Boolean(typed))
+ const numberField = canCheck && (
+ <FormField
+ id={fieldId}
+ label={t(word('onboarding.forwardingCheck.numberLabel'))}
+ help={asRows ? undefined : t(word('onboarding.forwardingCheck.numberTip'))}
+ >
+ <PhoneInput
+ id={fieldId}
+ value={typed}
+ defaultCountry={phoneCountry}
+ invalid={!!policyProblem}
+ autoComplete="off"
+ onChange={value => {
+ setTyped(value)
+ setEdited(true)
+ if (!asRows) setTypedPlain(true)
+ setProblem(null)
+ }}
+ onKeyDown={e => {
+ if (e.key !== 'Enter' || e.nativeEvent.isComposing) return
+ // Enter here looks the number up at once; it does not also go on to the next step.
+ e.preventDefault()
+ if (businessNumber) void lookUp(businessNumber)
+ }}
+ />
+ </FormField>
+ )
+ const policyNote = canCheck && policyProblem && <Note tone="danger">{policyProblem}</Note>
+ const lookupLine = lookupNote && <p className="help">{lookupNote}</p>
+ const suggestion = suggested && (
+ <p className="help fc-suggest">
+ {t('onboarding.forwardingCheck.suggestCarrier', { carrier: suggested.name })}{' '}
+ <LinkButton onClick={() => onCarrier?.(suggested.id, 'owner')}>
+ {t('onboarding.forwardingCheck.switchGuide')}
+ </LinkButton>
+ </p>
+ )
+ // "(503) 555-0177 · Verizon Wireless · mobile · Simulated": the number with what the lookup (or the pick) says.
+ const detail = line?.text ?? carrierName
+ const numberLine = (
+ <>
+ {businessNumber ? formatNumber(businessNumber) : typed}
+ {detail && ` · ${detail}`}
+ {line?.simulated && <span className="k-value"> · {simulatedMark()}</span>}
+ </>
+ )
+ const simulatedText = check?.simulated
+ ? check.status === 'works'
+ ? simulatedNothingDialed()
+ : simulatedMark()
+ : null
return (
<div className="fc">
- {canCheck && (
- <FormField
- id={fieldId}
- label={t(word('onboarding.forwardingCheck.numberLabel'))}
- help={t(word('onboarding.forwardingCheck.numberTip'))}
- >
- <PhoneInput
- id={fieldId}
- value={typed}
- defaultCountry={phoneCountry}
- invalid={!!policyProblem}
- autoComplete="off"
- onChange={value => {
- setTyped(value)
- setEdited(true)
- setProblem(null)
- }}
- onKeyDown={e => {
- if (e.key !== 'Enter' || e.nativeEvent.isComposing) return
- // Enter here looks the number up at once; it does not also go on to the next step.
- e.preventDefault()
- if (businessNumber) void lookUp(businessNumber)
- }}
- />
- </FormField>
- )}
- {canCheck && policyProblem && <Note tone="danger">{policyProblem}</Note>}
- {line && (
- <p className="ob2-note">
- {line.text}
- {line.simulated && <span className="fc-sim">{simulatedMark()}</span>}
- </p>
- )}
- {lookupNote && <p className="ob2-note">{lookupNote}</p>}
- {suggested && (
- <p className="ob2-note fc-suggest">
- {t('onboarding.forwardingCheck.suggestCarrier', { carrier: suggested.name })}{' '}
- <LinkButton onClick={() => onCarrier?.(suggested.id, 'owner')}>
- {t('onboarding.forwardingCheck.switchGuide')}
- </LinkButton>
- </p>
+ {asRows ? (
+ <>
+ <Card className="fc-known">
+ <SettingRows>
+ <ListLine
+ title={t(word('onboarding.forwardingCheck.numberLabel'))}
+ description={numberLine}
+ open={changing}
+ onToggle={() => setChanging(open => !open)}
+ >
+ <div className="fc-change">
+ {numberField}
+ {policyNote}
+ {lookupLine}
+ {suggestion}
+ {pickers}
+ </div>
+ </ListLine>
+ <SettingRow
+ title={t('onboarding.forwardingCheck.assistantNumber', { name })}
+ description={formatNumber(number.e164)}
+ />
+ </SettingRows>
+ </Card>
+ {!changing && policyNote}
+ {!changing && lookupLine}
+ {/* No carrier picked yet (none found, or the lookup failed): the pickers under the card, once it is done. */}
+ {!changing && !carrierName && !looking && pickers}
+ </>
+ ) : (
+ <>
+ {numberField}
+ {policyNote}
+ {line && (
+ <p className="help">
+ {line.text}
+ {line.simulated && <span className="k-value"> · {simulatedMark()}</span>}
+ </p>
+ )}
+ {lookupLine}
+ {suggestion}
+ {pickers}
+ </>
)}
{children}
- {canCheck && available === false && !dialing && <p className="ob2-note">{noCheckText(name)}</p>}
+ {canCheck && available === false && !dialing && <p className="help">{noCheckText(name)}</p>}
{canCheck && available && (
- <div className="ob2-row">
+ <div className="ob2-row fc-check">
<Button
size="lg"
busy={starting || dialing}
@@ -278,6 +358,10 @@ export function ForwardingCheck({
>
{t('onboarding.forwardingCheck.check')}
</Button>
+ <span className="help fc-screening">
+ {t('onboarding.forwardingCheck.screeningFirst')}
+ <HelpTip text={t('onboarding.forwarding.checklist', { checklist: phoneChecklist.join(' ') })} />
+ </span>
</div>
)}
{problem && <Note tone="danger">{problem}</Note>}
@@ -295,28 +379,37 @@ export function ForwardingCheck({
</Note>
)}
{result && (
- <div className={cx('fc-result', result.ok && 'ok')} role="status" aria-live="polite">
- {result.ok && <Icon name="check" size={16} />}
- <span>
- <b>{result.title}</b>
- {result.next && <span className="fc-next">{result.next}</span>}
- {check.simulated && <span className="fc-sim">{simulatedMark()}</span>}
- {result.fixes && canCheck && (
- <span className="ob2-row fc-fixes">
- {result.fixes.includes('forward_all') && (
- <Button size="lg" variant="secondary" onClick={() => switchTo('forward_all')}>
- {t('onboarding.forwardingCheck.forwardAllInstead')}
- </Button>
- )}
- {result.fixes.includes('new') && (
- <Button size="lg" variant="ghost" onClick={() => switchTo('new')}>
- {t('onboarding.forwardingCheck.giveOutInstead', { number: formatNumber(number.e164) })}
- </Button>
- )}
- </span>
- )}
- </span>
- </div>
+ <Note
+ tone={result.tone}
+ role="status"
+ className="fc-result"
+ // A real success: "Forwarding works" over what reaches the assistant. A problem: what happened over what to do.
+ title={
+ result.tone === 'success' ? t('onboarding.forwardingCheck.works') : result.next ? result.title : undefined
+ }
+ action={
+ result.fixes?.includes('forward_all') && canCheck ? (
+ <Button size="sm" variant="secondary" onClick={() => switchTo('forward_all')}>
+ {t('onboarding.forwardingCheck.forwardAllInstead')}
+ </Button>
+ ) : undefined
+ }
+ >
+ {result.fixes?.includes('new') && canCheck ? (
+ <T
+ k="onboarding.forwardingCheck.rangThroughTryLink"
+ values={{
+ assistant: name,
+ link: chunks => <LinkButton onClick={() => switchTo('new')}>{chunks}</LinkButton>,
+ }}
+ />
+ ) : result.tone === 'success' || !result.next ? (
+ result.title
+ ) : (
+ result.next
+ )}
+ {simulatedText && <span className="k-value"> {simulatedText}</span>}
+ </Note>
)}
</div>
)
diff --git a/apps/web/src/onboarding/ForwardingGuide.tsx b/apps/web/src/onboarding/ForwardingGuide.tsx
index 74be5774..d46d42da 100644
--- a/apps/web/src/onboarding/ForwardingGuide.tsx
+++ b/apps/web/src/onboarding/ForwardingGuide.tsx
@@ -17,7 +17,6 @@ import {
guidesForCountry,
hasForwardingCountry,
OTHER_COUNTRY,
- phoneChecklist,
phoneCountryName,
preselectForwardingCountry,
type ResolvedCode,
@@ -33,7 +32,9 @@ import { ExternalLink } from '../ui/AppLink.tsx'
import { optionGroups } from '../ui/controls.tsx'
import { FoldOut } from '../ui/FoldOut.tsx'
import { useActiveOptionInView, useAnchoredList } from '../ui/floating.ts'
+import { Card } from '../ui/form.tsx'
import { cx, Icon } from '../ui/kit.tsx'
+import { SettingRow, SettingRows } from '../ui/SettingRow.tsx'
import { encodeQr, qrPath } from '../ui/qr.ts'
import { useMediaQuery } from '../ui/useMediaQuery.ts'
import { CopyButton } from './Frame.tsx'
@@ -455,8 +456,9 @@ export function QrCode({ text, size = 148, label }: { text: string; size?: numbe
const codesText = (codes: readonly ResolvedCode[]) => codes.map(c => c.code).join(', ')
/**
- * The instruction for `guide` to forward to `e164` in `mode`. `compact` (Settings) leaves out the phone checklist
- * and shows the extras folded.
+ * The instruction for `guide` to forward to `e164` in `mode`, as one card: the code as a row with Copy (and Dial on
+ * Android), how to turn it off said once, one help line; the QR code and "Good to know" folded away. `compact`
+ * (Settings) also folds a phone system's steps.
*/
export function ForwardingSteps({
guide,
@@ -479,25 +481,19 @@ export function ForwardingSteps({
const steps = forwardingInstructions(guide, mode, e164, country, i18n())
// The way that works on every phone is typing the code in the Phone app: an iPhone blocks links that turn on call
// forwarding (Apple's call forwarding guide), so a tel: link (Dial, the QR code) is only an extra for Android. A
- // laptop shows a QR code that opens the dialer on an Android phone.
+ // laptop shows a QR code (folded away) that opens the dialer on an Android phone.
const coarse = useMediaQuery('(pointer: coarse)')
const path = dialPath(navigator.userAgent, navigator.maxTouchPoints ?? 0, coarse)
- const touch = path !== 'qr'
- // Which code the QR code dials; back to the first for another carrier or mode.
- const qrKey = `${guide.id}:${mode}`
- const [qr, setQr] = useState({ key: qrKey, index: 0 })
- const qrIndex = qr.key === qrKey ? qr.index : 0
- const setQrIndex = (index: number) => setQr({ key: qrKey, index })
const system = guide.kind === 'phone_system'
if (!steps) {
// A phone system that forwards only the other kind of call: say which one fits, so the owner can switch the mode.
const other = guideModes(guide)[0]
return (
- <div className="fg-card">
+ <Card className="fg-guide">
<p className="fg-none">{guide.note ?? t('onboarding.forwarding.noSteps', { carrier: guide.name })}</p>
{system && other && (
- <p className="fg-meta">
+ <p className="help">
{t('onboarding.forwarding.systemOtherMode', {
system: guide.name,
mode: other === 'forward_all' ? 'all' : 'missed',
@@ -505,120 +501,134 @@ export function ForwardingSteps({
</p>
)}
<Sources guide={guide} />
- </div>
+ </Card>
)
}
const mobile = guide.kind === 'mobile'
- const qrCode = steps.how === 'dial' ? (steps.on[qrIndex] ?? steps.on[0]) : undefined
- return (
- <div className="fg-card">
- {steps.how === 'dial' ? (
- <>
- <p className="fg-lead">
- {mobile
- ? t('onboarding.forwarding.leadMobile', { count: steps.on.length })
- : t('onboarding.forwarding.leadDesk', { count: steps.on.length })}
- </p>
- <div className={cx('fg-dial', mobile && !touch && 'with-qr')}>
- <ol className="fg-codes">
- {steps.on.map((c, i) => (
- <li key={c.code} className={cx(mobile && !touch && i === qrIndex && steps.on.length > 1 && 'on')}>
- <span className="fg-code">
- <b>{c.code}</b>
- {c.when && <span className="help">{c.when}</span>}
- </span>
- <span className="fg-acts">
- <CopyButton text={c.code} label={t('common.copy.copy')} />
- {mobile && path === 'dial' && (
- <a
- className="k-btn k-btn-ghost k-btn-sm"
- href={c.href}
- title={t('onboarding.forwarding.dialTitle')}
- >
- <Icon name="phone" size={14} />
- <span>{t('onboarding.forwarding.dial')}</span>
- </a>
- )}
- {mobile && !touch && steps.on.length > 1 && (
- <button
- type="button"
- className="k-btn k-btn-ghost k-btn-sm"
- aria-pressed={i === qrIndex}
- title={t('onboarding.forwarding.showQrTitle')}
- onClick={() => setQrIndex(i)}
- >
- <span>{t('onboarding.forwarding.showQr')}</span>
- </button>
- )}
- </span>
- </li>
- ))}
- </ol>
- {mobile && !touch && qrCode && (
- <figure className="fg-qr-box">
- <QrCode text={qrCode.href} label={t('onboarding.forwarding.qrLabel', { code: qrCode.code })} />
- <figcaption>{t('onboarding.forwarding.qrCaption', { code: qrCode.code })}</figcaption>
- </figure>
- )}
- </div>
- <p className="fg-meta">
- <T
- k={
- steps.off.length > 0
- ? steps.check.length > 0
- ? 'onboarding.forwarding.offCodesCheck'
- : 'onboarding.forwarding.offCodes'
- : steps.check.length > 0
- ? 'onboarding.forwarding.offAskCheck'
- : 'onboarding.forwarding.offAsk'
- }
- values={{
- off: codesText(steps.off),
- check: codesText(steps.check),
- carrier: guide.name,
- code: chunks => <code>{chunks}</code>,
- }}
- />
- </p>
- </>
- ) : (
- <>
- <p className="fg-lead">{t('onboarding.forwarding.leadSettings', { where: steps.where })}</p>
- {steps.portal ? (
- <SystemSteps
- guide={guide}
- portal={steps.portal}
- steps={steps.on}
- mainNumber={steps.mainNumber}
- open={!compact}
- />
- ) : (
- <StepList steps={steps.on} />
- )}
- {system && testable && <p className="fg-then">{t('onboarding.forwarding.thenTest')}</p>}
- <p className="fg-meta">
- {steps.check
- ? t('onboarding.forwarding.settingsOffCheck', { steps: steps.off.join(' '), where: steps.check })
- : t('onboarding.forwarding.settingsOff', { steps: steps.off.join(' ') })}
- </p>
- </>
- )}
- {guide.note && <p className="fg-meta">{guide.note}</p>}
- {(guide.pitfalls.length > 0 || (mobile && !compact)) && (
- <FoldOut className="fg-more" defaultOpen={!compact} summary={t('onboarding.forwarding.goodToKnow')}>
- <ul>
- {guide.pitfalls.map(p => (
- <li key={p}>{p}</li>
- ))}
- {mobile && !compact && (
- <li>{t('onboarding.forwarding.checklist', { checklist: phoneChecklist.join(' ') })}</li>
- )}
- </ul>
- </FoldOut>
+ const extras = (guide.pitfalls.length > 0 || guide.sources.length > 0) && (
+ // Good to know: closed, with the sources inside (help on demand, rule 16).
+ <FoldOut className="fg-more" summary={t('onboarding.forwarding.goodToKnow')}>
+ {guide.pitfalls.length > 0 && (
+ <ul>
+ {guide.pitfalls.map(p => (
+ <li key={p}>{p}</li>
+ ))}
+ </ul>
)}
<Sources guide={guide} />
- </div>
+ </FoldOut>
+ )
+ if (steps.how !== 'dial')
+ return (
+ <Card className="fg-guide" title={t('onboarding.forwarding.titleSettings', { where: steps.where })}>
+ {steps.portal ? (
+ <SystemSteps
+ guide={guide}
+ portal={steps.portal}
+ steps={steps.on}
+ mainNumber={steps.mainNumber}
+ open={!compact}
+ />
+ ) : (
+ <StepList steps={steps.on} />
+ )}
+ {system && testable && <p className="fg-then">{t('onboarding.forwarding.thenTest')}</p>}
+ <p className="help">
+ {steps.check
+ ? t('onboarding.forwarding.settingsOffCheck', { steps: steps.off.join(' '), where: steps.check })
+ : t('onboarding.forwarding.settingsOff', { steps: steps.off.join(' ') })}
+ </p>
+ {guide.note && <p className="help">{guide.note}</p>}
+ <div className="fg-folds">{extras}</div>
+ </Card>
+ )
+
+ // How to turn it off (and check it): said once, under the only code, or under the list of codes.
+ const off = (
+ <T
+ k={
+ steps.off.length > 0
+ ? steps.check.length > 0
+ ? 'onboarding.forwarding.offCodesCheck'
+ : 'onboarding.forwarding.offCodes'
+ : steps.check.length > 0
+ ? 'onboarding.forwarding.offAskCheck'
+ : 'onboarding.forwarding.offAsk'
+ }
+ values={{
+ off: codesText(steps.off),
+ check: codesText(steps.check),
+ carrier: guide.name,
+ code: chunks => <code>{chunks}</code>,
+ }}
+ />
+ )
+ const single = steps.on.length === 1
+ const qr = mobile && path === 'qr'
+ return (
+ <Card
+ className="fg-guide"
+ title={
+ mobile
+ ? t('onboarding.forwarding.titleMobile', { count: steps.on.length })
+ : t('onboarding.forwarding.titleDesk', { count: steps.on.length })
+ }
+ >
+ <SettingRows className="fg-codes">
+ {steps.on.map(c => (
+ <SettingRow
+ key={c.code}
+ title={<span className="fg-code">{c.code}</span>}
+ description={
+ single ? (
+ <>
+ {c.when && `${t('onboarding.forwarding.whenSentence', { when: c.when })} `}
+ {off}
+ </>
+ ) : (
+ c.when
+ )
+ }
+ control={
+ <>
+ {mobile && path === 'dial' && (
+ <a
+ className="k-btn k-btn-secondary k-btn-sm"
+ href={c.href}
+ title={t('onboarding.forwarding.dialTitle')}
+ >
+ <Icon name="phone" size={14} />
+ <span>{t('onboarding.forwarding.dial')}</span>
+ </a>
+ )}
+ <CopyButton text={c.code} label={t('common.copy.copy')} />
+ </>
+ }
+ />
+ ))}
+ </SettingRows>
+ {!single && <p className="help">{off}</p>}
+ <p className="help">
+ {mobile && path === 'copy' ? t('onboarding.forwarding.typeHelp') : t('onboarding.forwarding.dialHelp')}
+ </p>
+ {guide.note && <p className="help">{guide.note}</p>}
+ <div className="fg-folds">
+ {qr && (
+ <FoldOut className="fg-scan" summary={t('onboarding.forwarding.scanToDial')}>
+ <div className="fg-qrs">
+ {steps.on.map(c => (
+ <figure key={c.code} className="fg-qr-box">
+ <QrCode text={c.href} size={120} label={t('onboarding.forwarding.qrLabel', { code: c.code })} />
+ {!single && <figcaption>{c.code}</figcaption>}
+ </figure>
+ ))}
+ </div>
+ </FoldOut>
+ )}
+ {extras}
+ </div>
+ </Card>
)
}
@@ -667,9 +677,9 @@ function SystemSteps({
</a>
<FoldOut className="fg-stepwise" defaultOpen={open} summary={t('settings.keyConnect.stepByStep')}>
<StepList steps={steps} />
- {mainNumber && <p className="fg-meta">{mainNumber}</p>}
+ {mainNumber && <p className="help">{mainNumber}</p>}
{help && (
- <p className="fg-meta">
+ <p className="help">
<T
k="onboarding.forwarding.officialHelp"
values={{
@@ -685,6 +695,7 @@ function SystemSteps({
}
function Sources({ guide }: { guide: ForwardingGuide }) {
+ if (guide.sources.length === 0) return null
const links = (
<>
{guide.sources.map((s, i) => (
diff --git a/apps/web/src/onboarding/PhoneStep.tsx b/apps/web/src/onboarding/PhoneStep.tsx
index b7a35cfb..0174a190 100644
--- a/apps/web/src/onboarding/PhoneStep.tsx
+++ b/apps/web/src/onboarding/PhoneStep.tsx
@@ -222,26 +222,18 @@ function Choose({
return (
<>
<div className="ob-body">
- <h1>
- {forwarding === 'forward_all'
- ? t(word('onboarding.phone.choose.titleAll'))
- : t(word('onboarding.phone.choose.titleMissed'))}
- </h1>
- <p className="ob-lede">
- {forwarding === 'forward_all'
- ? t('onboarding.phone.choose.ledeAll', { name })
- : t(word('onboarding.phone.choose.ledeMissed'), { name })}
- </p>
+ <h1>{t('onboarding.phone.choose.title', { name })}</h1>
+ <p className="ob-lede">{t('onboarding.phone.choose.lede')}</p>
{nothingToConnect ? (
// Nothing this member can connect here: only why (numbers are being set up, or where they can be bought)
// and "Connect later"; no carrier name, no button that cannot do anything.
- <p className="ob2-note" role="status">
+ <p className="help" role="status">
{settingUp ? beingSetUpText() : buyUnavailableText(carrier, canAttach, offers)}
</p>
) : option === 'existing' ? (
<div className="ob-existing">
<b>{existing.title}</b>
- <span className="ob2-note">
+ <span className="help">
{buyable
? existing.description
: settingUp
@@ -258,18 +250,18 @@ function Choose({
name="ob-mode"
checked={option === o}
onPick={() => pick(o)}
- {...phoneOptionText(o, name, carrier, word)}
+ {...phoneOptionText(o, name, carrier, word, forwarding)}
/>
))}
</div>
{canAttach && (
- <p className="ob2-note">
+ <p className="help">
<LinkButton onClick={() => pick('existing')}>{existingLinkText(carrier)}</LinkButton>
</p>
)}
</>
)}
- {dev && option === 'existing' && <p className="ob2-note">{t('onboarding.phone.choose.dev')}</p>}
+ {dev && option === 'existing' && <p className="help">{t('onboarding.phone.choose.dev')}</p>}
{nothingToConnect ? null : option === 'existing' ? (
<>
<FormField
@@ -288,7 +280,7 @@ function Choose({
/>
</FormField>
{buyable && (
- <p className="ob2-note">
+ <p className="help">
<LinkButton onClick={toChoices} title={t('onboarding.phone.choose.backToChoicesTip', { key: 'Esc' })}>
{t('onboarding.phone.choose.backToChoices')}
</LinkButton>
@@ -320,7 +312,7 @@ function Choose({
</FormField>
)}
{!partnerManaged && (
- <p className="ob2-note">
+ <p className="help">
{/* The same note as Settings › Phone numbers: on a bill the first number is in the plan. */}
{billedNumberNote(extraNumberCents, status.provider, boughtNumbers) ??
priceNote(status.provider, priceCountry(areaCode, country))}
@@ -424,9 +416,12 @@ function Connected({
? t(word('onboarding.phone.connected.titleMissed'))
: t(word('onboarding.phone.connected.titleReady'))}
</h1>
- <Note tone="success">
- {t('onboarding.phone.connected.answers', { name, number: formatNumber(number.e164) })}
- </Note>
+ {/* Forwarding shows the assistant's number as a row of the number card (ForwardingCheck); said once. */}
+ {!forwards && (
+ <Note tone="success">
+ {t('onboarding.phone.connected.answers', { name, number: formatNumber(number.e164) })}
+ </Note>
+ )}
{offer && (
<>
<p className="ob-lede">
@@ -455,22 +450,27 @@ function Connected({
onCarrier={setCarrierId}
pickedByOwner={pickedByOwner}
lookupOnOpen
+ rows
+ carrierName={carrier?.name ?? null}
+ pickers={
+ <div className="field">
+ <label htmlFor="ob-carrier" className="ob-label">
+ {t(word('onboarding.phone.connected.carrier'))}
+ </label>
+ <GuidePickers
+ id="ob-carrier"
+ country={country}
+ onCountry={setCountry}
+ guideId={carrierId}
+ onGuide={setCarrierId}
+ />
+ </div>
+ }
>
- <div className="field">
- <label htmlFor="ob-carrier" className="ob-label">
- {t(word('onboarding.phone.connected.carrier'))}
- </label>
- <GuidePickers
- id="ob-carrier"
- country={country}
- onCountry={setCountry}
- guideId={carrierId}
- onGuide={setCarrierId}
- />
- </div>
+ {/* Outside the Change area: a carrier that can't forward abroad must be read by everyone. */}
<AbroadWarning e164={number.e164} country={country} guide={carrier} />
{oldOff && (
- <p className="ob2-note" role="status">
+ <p className="help" role="status">
{oldOff}
</p>
)}
@@ -482,7 +482,7 @@ function Connected({
country={country}
/>
) : (
- <p className="ob2-note">{t(word('onboarding.phone.connected.pickCarrier'))}</p>
+ <p className="help">{t(word('onboarding.phone.connected.pickCarrier'))}</p>
)}
</ForwardingCheck>
</>
diff --git a/apps/web/src/onboarding/clientWords.tsx b/apps/web/src/onboarding/clientWords.tsx
index d30c346a..8aa8f98d 100644
--- a/apps/web/src/onboarding/clientWords.tsx
+++ b/apps/web/src/onboarding/clientWords.tsx
@@ -28,10 +28,9 @@ export const CLIENT_WORDS: ReadonlyMap<MessageKey, MessageKey> = new Map([
[msg('onboarding.notify.transfer.title'), msg('onboarding.notify.transfer.titleClient')],
[msg('onboarding.notify.transfer.description'), msg('onboarding.notify.transfer.descriptionClient')],
[msg('onboarding.notify.mobile.label'), msg('onboarding.notify.mobile.labelClient')],
- [msg('onboarding.flow.option.forward.title'), msg('onboarding.flow.option.forward.titleClient')],
- [msg('onboarding.flow.option.forward.description'), msg('onboarding.flow.option.forward.descriptionClient')],
- [msg('onboarding.flow.option.new.title'), msg('onboarding.flow.option.new.titleClient')],
- [msg('onboarding.flow.option.new.description'), msg('onboarding.flow.option.new.descriptionClient')],
+ [msg('onboarding.flow.option.keep.title'), msg('onboarding.flow.option.keep.titleClient')],
+ [msg('onboarding.flow.option.keep.description'), msg('onboarding.flow.option.keep.descriptionClient')],
+ [msg('onboarding.flow.option.newNumber.description'), msg('onboarding.flow.option.newNumber.descriptionClient')],
[msg('onboarding.flow.option.existing.description'), msg('onboarding.flow.option.existing.descriptionClient')],
[msg('onboarding.phone.connected.keepAll'), msg('onboarding.phone.connected.keepAllClient')],
[msg('onboarding.phone.connected.keepMissed'), msg('onboarding.phone.connected.keepMissedClient')],
@@ -45,9 +44,6 @@ export const CLIENT_WORDS: ReadonlyMap<MessageKey, MessageKey> = new Map([
[msg('onboarding.forwardingCheck.enterNumber'), msg('onboarding.forwardingCheck.enterNumberClient')],
[msg('onboarding.flow.done.answersOnceConnected'), msg('onboarding.flow.done.answersOnceConnectedClient')],
[msg('onboarding.flow.done.connectNumber'), msg('onboarding.flow.done.connectNumberClient')],
- [msg('onboarding.phone.choose.titleAll'), msg('onboarding.phone.choose.titleAllClient')],
- [msg('onboarding.phone.choose.titleMissed'), msg('onboarding.phone.choose.titleMissedClient')],
- [msg('onboarding.phone.choose.ledeMissed'), msg('onboarding.phone.choose.ledeMissedClient')],
[msg('onboarding.phone.connected.titleAll'), msg('onboarding.phone.connected.titleAllClient')],
[msg('onboarding.phone.connected.titleMissed'), msg('onboarding.phone.connected.titleMissedClient')],
[msg('onboarding.phone.connected.titleReady'), msg('onboarding.phone.connected.titleReadyClient')],
diff --git a/apps/web/src/onboarding/flow.test.ts b/apps/web/src/onboarding/flow.test.ts
index 564e22ce..ce271592 100644
--- a/apps/web/src/onboarding/flow.test.ts
+++ b/apps/web/src/onboarding/flow.test.ts
@@ -224,8 +224,8 @@ test('a bought number the business forwards to is bought with that forwarding, n
test('the phone step leads with keeping the business number; a new number to give out comes last', () => {
// Two cards for everyone; a number already in the carrier account is a link (admins only), not a card.
expect(phoneOptions).toEqual(['forward', 'new'])
- expect(existingLinkText('Telnyx')).toBe('Already have a number in Telnyx? Use it')
- expect(existingLinkText(null)).toBe('Already have a number? Use it')
+ expect(existingLinkText('Telnyx')).toBe('Use a number you already have in Telnyx')
+ expect(existingLinkText(null)).toBe('Use a number you already have')
const fields = { number: '(503) 555-0142', areaCode: '503', confirmed: true }
// Every pick-up choice: keeping the number buys a number to forward to, with the forwarding the choice needs.
for (const pickup of ['no_answer', 'after_hours', 'always'] as const) {
@@ -541,22 +541,23 @@ test("a partner's team reads the client's words on the last step and in the phon
left: [{ label: "Connect the client's number" }],
})
expect(phoneOptionText('forward', 'Maya', null, forClient)).toEqual({
- title: 'Keep their number, forward calls to Linedesk',
- description:
- "The client's customers keep calling the number they know. Linedesk gets Maya its own number, and the client forwards their calls to it once with a short code.",
+ title: "Keep the client's number",
+ description: 'Calls the client misses forward to Maya with a short code.',
})
expect(phoneOptionText('new', 'Maya', null, forClient)).toEqual({
- title: "Get a new number from Linedesk for the client's customers",
- description:
- 'The client gives this number to their customers, and Maya answers it. Their current number rings as it does today.',
+ title: 'Get a new number',
+ description: 'The client gives it to their customers. Their current number rings as it does today.',
})
})
test('the phone options read the same in onboarding and Settings › Phone numbers', () => {
- expect(phoneOptionText('forward', 'Maya', 'Telnyx').title).toBe('Keep my number, forward calls to Linedesk')
- expect(phoneOptionText('new', 'Maya', null).title).toBe('Get a new number from Linedesk for my customers')
+ expect(phoneOptionText('forward', 'Maya', 'Telnyx').title).toBe('Keep your number')
+ expect(phoneOptionText('forward', 'Maya', null, undefined, 'forward_all').description).toBe(
+ 'Every call forwards to Maya with a short code.',
+ )
+ expect(phoneOptionText('new', 'Maya', null).title).toBe('Get a new number')
expect(phoneOptionText('existing', 'Maya', 'Twilio').title).toBe('Use a number you have in Twilio')
- expect(existingLinkText(null)).toBe('Already have a number? Use it')
+ expect(existingLinkText(null)).toBe('Use a number you already have')
})
test('carrier names come from the provider registry', () => {
diff --git a/apps/web/src/onboarding/flow.ts b/apps/web/src/onboarding/flow.ts
index 2f94775d..ab1d96dc 100644
--- a/apps/web/src/onboarding/flow.ts
+++ b/apps/web/src/onboarding/flow.ts
@@ -479,12 +479,17 @@ export function phoneOptionText(
carrier: string | null,
/** A partner setting up a client's workspace reads the client's words (clientWords.tsx); else the keys as they are. */
word: Words = same,
+ /** How the business's number forwards (the pick-up choice): every call, or the ones nobody answers. */
+ forwarding: 'forward_conditional' | 'forward_all' = 'forward_conditional',
): { title: string; description: string } {
const { t } = i18n()
if (option === 'forward')
return {
- title: t(word(msg('onboarding.flow.option.forward.title')), { brand: brandName() }),
- description: t(word(msg('onboarding.flow.option.forward.description')), { name, brand: brandName() }),
+ title: t(word(msg('onboarding.flow.option.keep.title'))),
+ description: t(word(msg('onboarding.flow.option.keep.description')), {
+ name,
+ mode: forwarding === 'forward_all' ? 'all' : 'missed',
+ }),
}
if (option === 'existing')
return {
@@ -494,8 +499,8 @@ export function phoneOptionText(
description: t(word(msg('onboarding.flow.option.existing.description')), { name }),
}
return {
- title: t(word(msg('onboarding.flow.option.new.title')), { brand: brandName() }),
- description: t(word(msg('onboarding.flow.option.new.description')), { name }),
+ title: t('onboarding.flow.option.newNumber.title'),
+ description: t(word(msg('onboarding.flow.option.newNumber.description')), { name }),
}
}
diff --git a/apps/web/src/onboarding/forwarding-check.test.ts b/apps/web/src/onboarding/forwarding-check.test.ts
index edffc2ea..d35d031d 100644
--- a/apps/web/src/onboarding/forwarding-check.test.ts
+++ b/apps/web/src/onboarding/forwarding-check.test.ts
@@ -4,9 +4,10 @@ import { checkResultText, forwardingUnverified, lineText, lookupGuide, ownerPick
describe('forwarding check results', () => {
test('works says how long it rang, and has nothing more to do', () => {
expect(checkResultText({ status: 'works', ringSeconds: 18, detail: null }, 'Maya')).toEqual({
- title: 'Verified: calls you don’t answer reach Maya after about 18 seconds.',
+ title: 'Calls you don’t answer reach Maya after about 18 seconds.',
next: null,
ok: true,
+ tone: 'success',
})
})
@@ -22,6 +23,7 @@ describe('forwarding check results', () => {
] as const) {
const text = checkResultText({ status, ringSeconds: null, detail: null }, 'Maya')
expect(text.ok).toBe(false)
+ expect(text.tone).not.toBe('success')
expect(text.next).toBeTruthy()
}
expect(
@@ -34,13 +36,17 @@ describe('forwarding check results', () => {
test('a simulated check (development carrier) never reads as verified', () => {
expect(checkResultText({ status: 'works', ringSeconds: 3, detail: null, simulated: true }, 'Maya')).toEqual({
- title: 'Simulated: calls you don’t answer would reach Maya.',
+ title: 'Calls you don’t answer would reach Maya.',
next: null,
ok: false,
+ tone: 'neutral',
})
})
test('a line that does not forward missed calls offers forward-all and the assistant’s own number', () => {
+ expect(checkResultText({ status: 'rang_through', ringSeconds: null, detail: null }, 'Maya').next).toMatch(
+ /give out Maya’s number\.$/,
+ )
expect(checkResultText({ status: 'rang_through', ringSeconds: null, detail: null }, 'Maya').fixes).toEqual([
'forward_all',
'new',
@@ -52,7 +58,7 @@ describe('forwarding check results', () => {
test('forward-all speaks of every call, not the unanswered ones', () => {
expect(checkResultText({ status: 'works', ringSeconds: null, detail: null }, 'Maya', true).title).toBe(
- 'Verified: calls to your number reach Maya.',
+ 'Calls to your number reach Maya.',
)
expect(checkResultText({ status: 'rang_through', ringSeconds: null, detail: null }, 'Maya', true).next).toMatch(
/forward-all code/,
diff --git a/apps/web/src/onboarding/forwarding-check.ts b/apps/web/src/onboarding/forwarding-check.ts
index 755ecfbd..a198f68d 100644
--- a/apps/web/src/onboarding/forwarding-check.ts
+++ b/apps/web/src/onboarding/forwarding-check.ts
@@ -8,9 +8,17 @@ import { i18n } from '../i18n/index.tsx'
/**
* `fixes`: what the owner can switch to in one click when forwarding the missed calls doesn't work on their line:
- * forward every call (forward_all), or give out the Linedesk number itself (new).
+ * forward every call (forward_all), or give out the Linedesk number itself (new). `tone`: the Note it shows as
+ * (success only for a real check that worked; warning for a problem on the line; neutral while it rings, for a
+ * simulated result and when it could not be checked).
*/
-export type CheckResultText = { title: string; next: string | null; ok: boolean; fixes?: ('forward_all' | 'new')[] }
+export type CheckResultText = {
+ title: string
+ next: string | null
+ ok: boolean
+ tone: 'success' | 'warning' | 'neutral'
+ fixes?: ('forward_all' | 'new')[]
+}
/**
* `forwardsAll`: the number is set up to forward every call (forward_all), not only the ones nobody answers, so the
@@ -26,25 +34,32 @@ export function checkResultText(
const calls = forwardsAll ? 'all' : 'missed'
switch (check.status) {
case 'dialing':
- return { title: t('onboarding.forwardingCheck.dialing'), next: null, ok: false }
+ return { title: t('onboarding.forwardingCheck.dialing'), next: null, ok: false, tone: 'neutral' }
case 'works':
// Nothing was dialled (development carrier): never "verified", never the green of a real result.
if (check.simulated)
- return { title: t('onboarding.forwardingCheck.simulated', { calls, assistant }), next: null, ok: false }
+ return {
+ title: t('onboarding.forwardingCheck.simulated', { calls, assistant }),
+ next: null,
+ ok: false,
+ tone: 'neutral',
+ }
return {
title: check.ringSeconds
? t('onboarding.forwardingCheck.verifiedAfter', { calls, assistant, seconds: check.ringSeconds })
: t('onboarding.forwardingCheck.verified', { calls, assistant }),
next: null,
ok: true,
+ tone: 'success',
}
case 'rang_through':
return {
title: t('onboarding.forwardingCheck.rangThrough'),
next: forwardsAll
? t('onboarding.forwardingCheck.rangThroughNextAll')
- : t('onboarding.forwardingCheck.rangThroughNext'),
+ : t('onboarding.forwardingCheck.rangThroughTry', { assistant }),
ok: false,
+ tone: 'warning',
fixes: forwardsAll ? undefined : ['forward_all', 'new'],
}
case 'answered':
@@ -52,9 +67,15 @@ export function checkResultText(
title: t('onboarding.forwardingCheck.answered'),
next: t('onboarding.forwardingCheck.answeredNext'),
ok: false,
+ tone: 'warning',
}
case 'busy':
- return { title: t('onboarding.forwardingCheck.busy'), next: t('onboarding.forwardingCheck.busyNext'), ok: false }
+ return {
+ title: t('onboarding.forwardingCheck.busy'),
+ next: t('onboarding.forwardingCheck.busyNext'),
+ ok: false,
+ tone: 'warning',
+ }
case 'forwards_elsewhere':
return {
title: t('onboarding.forwardingCheck.forwardsElsewhere'),
@@ -62,18 +83,21 @@ export function checkResultText(
? t('onboarding.forwardingCheck.forwardsElsewhereNextDetail', { detail: check.detail })
: t('onboarding.forwardingCheck.forwardsElsewhereNext'),
ok: false,
+ tone: 'warning',
}
case 'no_assistant':
return {
title: t('onboarding.forwardingCheck.noAssistant', { assistant }),
next: t('onboarding.forwardingCheck.noAssistantNext', { brand: brandName() }),
ok: false,
+ tone: 'warning',
}
case 'unreachable':
return {
title: t('onboarding.forwardingCheck.unreachable'),
next: t('onboarding.forwardingCheck.unreachableNext'),
ok: false,
+ tone: 'warning',
}
default:
return {
@@ -82,6 +106,7 @@ export function checkResultText(
? t('onboarding.forwardingCheck.notCheckedNextDetail', { detail: check.detail, assistant })
: t('onboarding.forwardingCheck.notCheckedNext', { assistant }),
ok: false,
+ tone: 'neutral',
}
}
}
@@ -89,9 +114,12 @@ export function checkResultText(
/** What the owner sees instead of "Check forwarding" when this server cannot run a check. */
export const noCheckText = (assistant: string) => i18n().t('onboarding.forwardingCheck.noCheck', { assistant })
-/** The quiet marker next to a carrier lookup or a check result made up by the development carrier. */
+/** The quiet grey word next to a carrier lookup or a check result made up by the development carrier. */
export const simulatedMark = () => i18n().t('onboarding.forwardingCheck.simulatedMark')
+/** The same after a simulated check that "worked": nothing was dialled. */
+export const simulatedNothingDialed = () => i18n().t('onboarding.forwardingCheck.simulatedNothingDialed')
+
const lineTypeText: Record<LineLookupData['lineType'], MessageKey | null> = {
mobile: msg('onboarding.forwardingCheck.lineType.mobile'),
landline: msg('onboarding.forwardingCheck.lineType.landline'),
diff --git a/apps/web/src/onboarding/forwarding-guide.css b/apps/web/src/onboarding/forwarding-guide.css
index 2349db61..07a44f0b 100644
--- a/apps/web/src/onboarding/forwarding-guide.css
+++ b/apps/web/src/onboarding/forwarding-guide.css
@@ -47,92 +47,58 @@
font-size: 12.5px;
color: var(--ink-muted);
}
-.fg-card {
- display: grid;
- gap: 10px;
- padding: 16px;
- background: var(--surface);
- border-radius: var(--radius-lg);
- box-shadow: var(--shadow-card);
- font-size: 13px;
-}
-.st-codes .fg-card {
+.fg-guide p {
+ margin: 0;
+}
+/* Settings › Phone numbers: the guide sits inside the number's grey codes box, not as a card of its own. */
+.st-codes .fg-guide {
box-shadow: none;
padding: 12px 0 0;
background: transparent;
}
-.fg-card p {
- margin: 0;
-}
-.fg-lead {
- font-size: 12.5px;
- color: var(--ink-muted);
-}
-.fg-dial {
- display: grid;
- gap: 12px;
-}
-.fg-dial.with-qr {
- grid-template-columns: minmax(0, 1fr) auto;
- align-items: start;
-}
-.fg-codes {
- display: grid;
- gap: 6px;
- margin: 0;
- padding: 0;
- list-style: none;
- counter-reset: fg;
-}
-.fg-codes li {
- display: flex;
- flex-wrap: wrap;
- align-items: center;
- justify-content: space-between;
- gap: 6px 12px;
- padding: 8px 10px;
- border-radius: var(--radius-sm);
- background: var(--surface-hover);
-}
-.fg-codes li.on {
- box-shadow: inset 0 0 0 1px var(--line-control);
-}
+/* The code is the row's title, as typed on the phone. */
.fg-code {
- display: grid;
- gap: 1px;
- min-width: 0;
-}
-.fg-code b {
font-family: var(--font-mono);
font-size: 18px;
line-height: 24px;
- font-weight: 500;
+ font-weight: 600;
letter-spacing: 0.02em;
overflow-wrap: anywhere;
user-select: all;
}
-.fg-acts {
+.fg-codes .k-setrow-end a.k-btn {
+ text-decoration: none;
+}
+/* The fold-outs (Scan to dial, Good to know) side by side while closed. */
+.fg-folds {
display: flex;
- gap: 6px;
- flex: none;
+ flex-wrap: wrap;
+ align-items: flex-start;
+ gap: 4px 20px;
}
-.fg-acts a.k-btn {
- text-decoration: none;
+.fg-folds:empty {
+ display: none;
+}
+.fg-folds .k-fold[open] {
+ flex-basis: 100%;
+}
+.fg-qrs {
+ display: flex;
+ flex-wrap: wrap;
+ gap: 16px;
}
.fg-qr-box {
display: grid;
justify-items: center;
gap: 6px;
margin: 0;
- max-width: 160px;
- text-align: center;
}
.fg-qr {
display: block;
border-radius: var(--radius-sm);
}
.fg-qr-box figcaption {
- overflow-wrap: anywhere;
+ font-family: var(--font-mono);
font-size: 11.5px;
color: var(--ink-muted);
}
@@ -159,15 +125,10 @@
.fg-then {
font-weight: 500;
}
-.fg-meta,
.fg-none {
font-size: 12.5px;
- color: var(--ink-muted);
-}
-.fg-none {
- color: var(--ink);
}
-.fg-meta code {
+.fg-guide .help code {
font-family: var(--font-mono);
color: var(--ink);
}
@@ -175,6 +136,10 @@
font-size: 12.5px;
color: var(--ink-muted);
}
+.fg-more .k-fold-body {
+ display: grid;
+ gap: 8px;
+}
.fg-more ul {
display: grid;
gap: 4px;
@@ -188,11 +153,3 @@
.fg-src a {
color: inherit;
}
-@media (max-width: 520px) {
- .fg-dial.with-qr {
- grid-template-columns: minmax(0, 1fr);
- }
- .fg-qr-box {
- justify-self: center;
- }
-}
diff --git a/apps/web/src/settings/NumberCard.tsx b/apps/web/src/settings/NumberCard.tsx
index b23c3f59..894c605d 100644
--- a/apps/web/src/settings/NumberCard.tsx
+++ b/apps/web/src/settings/NumberCard.tsx
@@ -8,7 +8,12 @@ import type { Assistant, PhoneNumber } from '@linedesk/db/types'
import { useT } from '@linedesk/i18n/react'
import { useEffect, useRef, useState } from 'react'
import { refreshGoLiveChecklist } from '../inbox/GoLiveChecklist.tsx'
-import { checkResultText, type ForwardedCall, noCheckText } from '../onboarding/forwarding-check.ts'
+import {
+ checkResultText,
+ type ForwardedCall,
+ noCheckText,
+ simulatedNothingDialed,
+} from '../onboarding/forwarding-check.ts'
import { formatNumber, outboundE164 } from '../onboarding/flow.ts'
import { useDefaultPhoneCountry } from '../phoneCountry.ts'
import { codeOf, rejectionText } from '../shell/rejections.ts'
@@ -278,13 +283,18 @@ function ForwardingRow({
t('settings.phone.card.forwarding.testingLine', { seconds: FORWARDING_RING_SECONDS })
) : state.kind === 'failed' ? (
<>
- {[result?.title, result?.next].filter(Boolean).join(' ')}{' '}
+ {result?.next
+ ? t('settings.phone.card.forwarding.failedLine', { title: result.title, next: result.next })
+ : result?.title}{' '}
<LinkButton onClick={onManage} title={t('settings.phone.card.forwarding.codesTip')}>
{t('settings.phone.card.forwarding.forwardingCodes')}
</LinkButton>
</>
) : simulated ? (
- checkResultText(test.check!, assistant, number.mode === 'forward_all').title
+ <>
+ {checkResultText(test.check!, assistant, number.mode === 'forward_all').title}{' '}
+ <span className="k-value">{simulatedNothingDialed()}</span>
+ </>
) : canEdit && test.available === false && state.kind !== 'works' ? (
noCheckText(assistant)
) : undefined
diff --git a/apps/web/src/settings/addNumber.test.tsx b/apps/web/src/settings/addNumber.test.tsx
index 5d1f461c..f291c75c 100644
--- a/apps/web/src/settings/addNumber.test.tsx
+++ b/apps/web/src/settings/addNumber.test.tsx
@@ -90,12 +90,12 @@ describe('step 1: a new number', () => {
})
test('the link to a number already in the carrier account only where the server allows it (canAttach)', () => {
- expect(render({ canAttach: true })).toContain('Already have a number in Telnyx? Use it')
- expect(render({ canAttach: false })).not.toContain('Already have a number in Telnyx? Use it')
- expect(render({ canAttach: false, extraNumberCents: 300 })).not.toContain('Use it')
+ expect(render({ canAttach: true })).toContain('Use a number you already have in Telnyx')
+ expect(render({ canAttach: false })).not.toContain('Use a number you already have in Telnyx')
+ expect(render({ canAttach: false, extraNumberCents: 300 })).not.toContain('already have')
// Any install carrier: the link names it, and is hidden the same way for whoever is not an instance admin.
- expect(render({ provider: 'twilio', canAttach: true })).toContain('Already have a number in Twilio? Use it')
- expect(render({ provider: 'twilio', canAttach: false })).not.toContain('Use it')
+ expect(render({ provider: 'twilio', canAttach: true })).toContain('Use a number you already have in Twilio')
+ expect(render({ provider: 'twilio', canAttach: false })).not.toContain('already have')
})
})
diff --git a/apps/web/src/styles.css b/apps/web/src/styles.css
index cbc87afd..d516560d 100644
--- a/apps/web/src/styles.css
+++ b/apps/web/src/styles.css
@@ -100,7 +100,9 @@ body { margin: 0; font-family: var(--font-sans); background: var(--bg); color: v
.k-note-text a:not(.k-btn), .k-note-text .k-link { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
/* A note with actions: the icon, the text's first line and the buttons share one centre line; when the text needs the
room, the buttons move below it, at the right. */
-.k-note-action { flex: none; margin-left: auto; display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2); }
+.k-note-action { flex: 0 1 auto; min-width: 0; max-width: 100%; margin-left: auto; display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: var(--space-2); }
+/* Narrow: the actions get a line of their own under the text (at the right), and wrap there instead of overflowing. */
+@media (max-width: 560px) { .k-note-action { flex-basis: 100%; } }
.k-note-info { background: var(--info-soft); }
.k-note-info .k-note-icon { color: var(--info); }
.k-note-success .k-note-icon { color: var(--ink); }
@@ -1579,16 +1581,11 @@ dd.copy:hover { text-decoration: underline; text-underline-offset: 2px; }
/* Forwarding check (onboarding phone step and Settings, Phone numbers) */
.fc { display: grid; gap: 8px; }
-.fc-result { display: flex; gap: 8px; align-items: center; padding: 12px 14px; border-radius: var(--radius-md); background: var(--surface-hover); font-size: 13px; line-height: 19px; }
-.fc-result.ok { background: var(--highlight); color: var(--highlight-ink); }
-.fc-result > span { display: grid; gap: 2px; }
-.fc-result b { font-weight: 500; }
-.fc-next { color: var(--ink-muted); }
-/* A failed check's fixes (forward every call, give out the assistant's number): buttons under its advice. */
-.fc-fixes { margin-top: 6px; flex-wrap: wrap; }
-/* Development carrier: a quiet marker, never alarming, so a made-up result is never read as a real one. */
-.fc-sim { display: inline-block; margin-left: 8px; padding: 0 6px; border: 1px solid var(--line); border-radius: var(--radius-xs); color: var(--ink-muted); font-size: 11px; line-height: 18px; font-weight: 400; }
-.fc-result .fc-sim { margin-left: 0; justify-self: start; }
+/* The number card's Change area (ForwardingCheck, rows): the field, the lookup's words and the carrier pickers. */
+.fc-change { display: grid; gap: 8px; }
+/* Check forwarding, then the one thing to do first, with its "?" (the phone checklist). */
+.fc-check { flex-wrap: wrap; gap: 8px 12px; }
+.fc-screening { display: inline-flex; align-items: center; gap: 4px; }
/* Buttons that open an AI client (ui/ClientLink.tsx): side by side, wrapping on a phone. */
.client-links {
diff --git a/packages/i18n/locales/de/onboarding.json b/packages/i18n/locales/de/onboarding.json
index 84cded27..effd3a18 100644
--- a/packages/i18n/locales/de/onboarding.json
+++ b/packages/i18n/locales/de/onboarding.json
@@ -335,14 +335,6 @@
"flow.option.existing.descriptionClient": "{name} nimmt Anrufe auf dieser Nummer an; das Geschäftstelefon des Kunden leitet dorthin um.",
"flow.option.existing.title": "Eine vorhandene Nummer verwenden",
"flow.option.existing.titleIn": "Eine vorhandene Nummer bei {carrier} verwenden",
- "flow.option.forward.description": "Deine Kunden rufen weiter die Nummer an, die sie kennen. {brand} besorgt {name} eine eigene Nummer, und du leitest deine Anrufe einmalig mit einem kurzen Code dorthin um.",
- "flow.option.forward.descriptionClient": "Die Kunden des Kunden rufen weiter die Nummer an, die sie kennen. {brand} besorgt {name} eine eigene Nummer, und der Kunde leitet seine Anrufe einmalig mit einem kurzen Code dorthin um.",
- "flow.option.forward.title": "Meine Nummer behalten, Anrufe an {brand} umleiten",
- "flow.option.forward.titleClient": "Seine Nummer behalten, Anrufe an {brand} umleiten",
- "flow.option.new.description": "Du gibst diese Nummer an deine Kunden weiter, und {name} nimmt dort ab. Deine jetzige Nummer klingelt wie bisher.",
- "flow.option.new.descriptionClient": "Der Kunde gibt diese Nummer an seine Kunden weiter, und {name} nimmt dort ab. Seine jetzige Nummer klingelt wie bisher.",
- "flow.option.new.title": "Eine neue Nummer von {brand} für meine Kunden holen",
- "flow.option.new.titleClient": "Eine neue Nummer von {brand} für die Kunden des Kunden holen",
"flow.phoneCarrier": "Der Telefonanbieter",
"flow.price.carrier": "Etwa {price} im Monat plus Gesprächsminuten, abgerechnet von {carrier}.",
"flow.price.carrierUnknown": "Eine monatliche Gebühr plus Gesprächsminuten, abgerechnet von {carrier}.",
@@ -384,9 +376,6 @@
"forwarding.dialTitle": "Android: öffnet die Telefon-App mit diesem Code (Enter). Auf dem iPhone tippst du ihn stattdessen ein.",
"forwarding.goodToKnow": "Gut zu wissen",
"forwarding.guideNetwork": "{kind} · {network}-Netz",
- "forwarding.leadDesk": "{count, plural, one {Wähle von deinem Geschäftsanschluss (dem Tischtelefon):} other {Wähle von deinem Geschäftsanschluss (dem Tischtelefon) nacheinander:}}",
- "forwarding.leadMobile": "{count, plural, one {Tipp diesen Code in die Telefon-App deines geschäftlichen Handys und drück auf Anrufen:} other {Tipp diese Codes nacheinander in die Telefon-App deines geschäftlichen Handys und drück jeweils auf Anrufen:}}",
- "forwarding.leadSettings": "In {where}:",
"forwarding.noSteps": "Für {carrier} ist kein Weg dafür dokumentiert.",
"forwarding.offAsk": "Frag {carrier}, wie du sie ausschaltest.",
"forwarding.offAskCheck": "Frag {carrier}, wie du sie ausschaltest. Prüfen mit <code>{check}</code>.",
@@ -394,12 +383,9 @@
"forwarding.offCodesCheck": "Ausschalten mit <code>{off}</code>. Prüfen mit <code>{check}</code>.",
"forwarding.otherCountry": "Anderes Land",
"forwarding.otherCountryDescription": "Standardcodes und Telefoneinstellungen",
- "forwarding.qrCaption": "Android: mit der Kamera scannen, um {code} zu wählen. Das iPhone sperrt Umleitungslinks: Tipp den Code in die Telefon-App.",
"forwarding.qrLabel": "QR-Code, der {code} wählt",
"forwarding.settingsOff": "Zum Ausschalten: {steps}",
"forwarding.settingsOffCheck": "Zum Ausschalten: {steps} Prüfen unter {where}.",
- "forwarding.showQr": "QR anzeigen",
- "forwarding.showQrTitle": "Diesen Code als QR-Code anzeigen (Enter)",
"forwarding.source": "Quelle: {links}",
"forwardingCheck.answered": "Der Anruf wurde angenommen, bevor er umgeleitet wurde.",
"forwardingCheck.answeredNext": "Wahrscheinlich deine Mailbox. Schalte Live-Voicemail und Anruffilter auf deinem Handy aus oder stell eine kürzere Klingeldauer ein, dann prüf noch einmal. Nimm den Testanruf nicht an.",
@@ -415,7 +401,6 @@
"forwardingCheck.forwardsElsewhere": "Dein Telefon leitet an eine andere Nummer um.",
"forwardingCheck.forwardsElsewhereNext": "Wähl den hier gezeigten Code noch einmal von deinem Geschäftstelefon und prüf dann noch einmal.",
"forwardingCheck.forwardsElsewhereNextDetail": "{detail} Wähl den hier gezeigten Code noch einmal von deinem Geschäftstelefon und prüf dann noch einmal.",
- "forwardingCheck.giveOutInstead": "Stattdessen {number} herausgeben",
"forwardingCheck.lineType.landline": "Festnetz",
"forwardingCheck.lineType.mobile": "Mobilfunk",
"forwardingCheck.lineType.tollFree": "gebührenfreie Nummer",
@@ -433,7 +418,6 @@
"forwardingCheck.numberTip": "Die Nummer, die deine Anrufer heute wählen. Wir schlagen ihren Anbieter nach, um die richtigen Codes zu finden.",
"forwardingCheck.numberTipClient": "Die Nummer, die die Anrufer des Kunden heute wählen. Wir schlagen ihren Anbieter nach, um die richtigen Codes zu finden.",
"forwardingCheck.rangThrough": "Es hat auf deinem Telefon geklingelt, wurde aber nie umgeleitet.",
- "forwardingCheck.rangThroughNext": "Wähl den Code noch einmal und warte auf den Bestätigungston, dann prüf noch einmal. Klingelt es immer noch durch, leitet deine Leitung verpasste Anrufe vielleicht nicht um: Leite stattdessen alle Anrufe um oder gib die Nummer deines Assistenten heraus.",
"forwardingCheck.rangThroughNextAll": "Wähl den Code für „alle Anrufe umleiten“ noch einmal und warte auf den Bestätigungston, dann prüf noch einmal.",
"forwardingCheck.simulated": "{calls, select, all {Simuliert: Anrufe auf deine Geschäftsnummer würden {assistant} erreichen.} other {Simuliert: Anrufe, die du nicht annimmst, würden {assistant} erreichen.}}",
"forwardingCheck.simulatedMark": "Entwicklungsmodus: simuliert",
@@ -546,15 +530,8 @@
"phone.choose.connectNumber": "Nummer verbinden",
"phone.choose.dev": "Entwicklungsmodus: Jede Nummer funktioniert, es wird niemand angerufen.",
"phone.choose.label": "Telefonnummer",
- "phone.choose.ledeAll": "Anrufer wählen weiter die Nummer, die sie kennen, und jeder Anruf erreicht {name}.",
- "phone.choose.ledeMissed": "Anrufer wählen weiter die Nummer, die sie kennen, und die Anrufe, die du verpasst, erreichen {name}.",
- "phone.choose.ledeMissedClient": "Anrufer wählen weiter die Nummer, die sie kennen, und die Anrufe, die der Kunde verpasst, erreichen {name}.",
"phone.choose.number": "Nummer",
"phone.choose.numberIn": "Nummer bei {carrier}",
- "phone.choose.titleAll": "Behalte deine Nummer, leite deine Anrufe um",
- "phone.choose.titleAllClient": "Behalte die Nummer des Kunden, leite seine Anrufe um",
- "phone.choose.titleMissed": "Behalte deine Nummer, leite verpasste Anrufe um",
- "phone.choose.titleMissedClient": "Behalte die Nummer des Kunden, leite seine verpassten Anrufe um",
"phone.connected.answers": "{name} nimmt Anrufe auf {number} an.",
"phone.connected.carrier": "Dein Anbieter oder deine Telefonanlage",
"phone.connected.carrierClient": "Anbieter oder Telefonanlage des Kunden",
diff --git a/packages/i18n/locales/en/onboarding.json b/packages/i18n/locales/en/onboarding.json
index 8ca27d1b..cacd911f 100644
--- a/packages/i18n/locales/en/onboarding.json
+++ b/packages/i18n/locales/en/onboarding.json
@@ -325,8 +325,8 @@
"flow.done.voiceAdmin": "Get the voice service working in Server admin › Providers",
"flow.done.voiceMember": "The voice service isn't working yet: ask whoever runs this server",
"flow.emergencyNote": "Emergencies (danger to people, fire, a gas smell): {name} tells the caller to hang up and call {emergency}.",
- "flow.existingLink": "Already have a number? Use it",
- "flow.existingLinkIn": "Already have a number in {carrier}? Use it",
+ "flow.existingLink": "Use a number you already have",
+ "flow.existingLinkIn": "Use a number you already have in {carrier}",
"flow.mobileError.confirmEmail": "Confirm your email address above first: then urgent calls can ring that number.",
"flow.mobileError.forwards": "That number forwards its calls to {brand}. Enter another number.",
"flow.mobileError.ownNumber": "That is a {brand} number. Enter another number.",
@@ -335,14 +335,13 @@
"flow.option.existing.descriptionClient": "{name} answers that number; the client's business phone forwards to it.",
"flow.option.existing.title": "Use a number you have",
"flow.option.existing.titleIn": "Use a number you have in {carrier}",
- "flow.option.forward.description": "Your customers keep calling the number they know. {brand} gets {name} its own number, and you forward your calls to it once with a short code.",
- "flow.option.forward.descriptionClient": "The client's customers keep calling the number they know. {brand} gets {name} its own number, and the client forwards their calls to it once with a short code.",
- "flow.option.forward.title": "Keep my number, forward calls to {brand}",
- "flow.option.forward.titleClient": "Keep their number, forward calls to {brand}",
- "flow.option.new.description": "You give this number to your customers, and {name} answers it. Your current number rings as it does today.",
- "flow.option.new.descriptionClient": "The client gives this number to their customers, and {name} answers it. Their current number rings as it does today.",
- "flow.option.new.title": "Get a new number from {brand} for my customers",
- "flow.option.new.titleClient": "Get a new number from {brand} for the client's customers",
+ "flow.option.keep.description": "{mode, select, all {Every call forwards to {name} with a short code.} other {Calls you miss forward to {name} with a short code.}}",
+ "flow.option.keep.descriptionClient": "{mode, select, all {Every call to the client forwards to {name} with a short code.} other {Calls the client misses forward to {name} with a short code.}}",
+ "flow.option.keep.title": "Keep your number",
+ "flow.option.keep.titleClient": "Keep the client's number",
+ "flow.option.newNumber.description": "Give it to your customers. Your current number rings as it does today.",
+ "flow.option.newNumber.descriptionClient": "The client gives it to their customers. Their current number rings as it does today.",
+ "flow.option.newNumber.title": "Get a new number",
"flow.phoneCarrier": "The phone carrier",
"flow.price.carrier": "About {price} a month plus call minutes, billed by {carrier}.",
"flow.price.carrierUnknown": "A monthly fee plus call minutes, billed by {carrier}.",
@@ -381,14 +380,12 @@
"forwarding.country": "Country",
"forwarding.countryEmpty": "No match. Pick “{other}”.",
"forwarding.dial": "Dial",
+ "forwarding.dialHelp": "Dial it from the phone itself. The confirmation tone can sound busy: that’s normal, hang up after it.",
"forwarding.dialTitle": "Android: open the phone’s dialer with this code (Enter). On an iPhone, type it instead.",
"forwarding.goodToKnow": "Good to know",
"forwarding.groupCarriers": "Carriers",
"forwarding.groupSystems": "Phone systems",
"forwarding.guideNetwork": "{kind} · {network} network",
- "forwarding.leadDesk": "{count, plural, one {From the desk phone on your number, dial:} other {From the desk phone on your number, dial these one after the other:}}",
- "forwarding.leadMobile": "{count, plural, one {Type this code in your business cell phone’s Phone app and press call:} other {Type these codes, one after the other, in your business cell phone’s Phone app and press call:}}",
- "forwarding.leadSettings": "In {where}:",
"forwarding.noSteps": "{carrier} has no documented way to do this.",
"forwarding.offAsk": "Ask {carrier} how to turn it off.",
"forwarding.offAskCheck": "Ask {carrier} how to turn it off. Check it with <code>{check}</code>.",
@@ -398,19 +395,23 @@
"forwarding.openPortal": "Open {portal}",
"forwarding.otherCountry": "Other country",
"forwarding.otherCountryDescription": "Standard codes and phone settings",
- "forwarding.qrCaption": "Android: scan with the phone’s camera to dial {code}. iPhone blocks forwarding links: type the code in the Phone app.",
"forwarding.qrLabel": "QR code that dials {code}",
+ "forwarding.scanToDial": "Scan to dial (Android)",
"forwarding.settingsOff": "To turn it off: {steps}",
"forwarding.settingsOffCheck": "To turn it off: {steps} Check it in {where}.",
- "forwarding.showQr": "Show QR",
- "forwarding.showQrTitle": "Show this code as the QR code (Enter)",
"forwarding.source": "Source: {links}",
"forwarding.systemModes": "{modes, select, both {Missed calls or every call} all {Every call only} other {Missed calls only}}",
"forwarding.systemOtherMode": "{system} can forward {mode, select, all {every call, but not only the calls you miss} other {the calls you miss, but not every call}}. To use it, set your number to forward {mode, select, all {every call} other {calls you miss}}.",
"forwarding.thenTest": "Then test forwarding: “Check forwarding” calls your number and watches for the forwarded call, the same as with a cell phone.",
- "forwardingCheck.answered": "The call was picked up before it was forwarded.",
+ "forwarding.titleDesk": "{count, plural, one {Dial this on the desk phone on your number} other {Dial these on the desk phone on your number, one after the other}}",
+ "forwarding.titleMobile": "{count, plural, one {Dial this on your business cell phone} other {Dial these on your business cell phone, one after the other}}",
+ "forwarding.titleSettings": "Set it up in {where}",
+ "forwarding.typeHelp": "Type it in the Phone app and press call: iPhone doesn’t open forwarding codes from a link. The confirmation tone can sound busy: that’s normal, hang up after it.",
+ "forwarding.whenSentence": "{when}.",
+ "forwardingCheck.answered": "The call was picked up before it was forwarded",
"forwardingCheck.answeredNext": "Probably your voicemail. Turn off Live Voicemail and call screening on your phone, or set a shorter ring time, then check again. Don’t answer the test call.",
- "forwardingCheck.busy": "Your line was busy.",
+ "forwardingCheck.assistantNumber": "{name}'s number",
+ "forwardingCheck.busy": "Your line was busy",
"forwardingCheck.busyNext": "Hang up any call on that line and check again. Busy calls forward only after you dial the busy code too.",
"forwardingCheck.check": "Check forwarding",
"forwardingCheck.checkAgain": "Check again",
@@ -419,37 +420,40 @@
"forwardingCheck.enterNumber": "Enter your number, the one your customers call.",
"forwardingCheck.enterNumberClient": "Enter the client's number, the one their customers call.",
"forwardingCheck.forwardAllInstead": "Forward every call instead",
- "forwardingCheck.forwardsElsewhere": "Your phone forwards to a different number.",
+ "forwardingCheck.forwardsElsewhere": "Your phone forwards to a different number",
"forwardingCheck.forwardsElsewhereNext": "Dial the code shown here again from your business phone, then check again.",
"forwardingCheck.forwardsElsewhereNextDetail": "{detail} Dial the code shown here again from your business phone, then check again.",
- "forwardingCheck.giveOutInstead": "Give out {number} instead",
"forwardingCheck.lineType.landline": "landline",
"forwardingCheck.lineType.mobile": "mobile",
"forwardingCheck.lineType.tollFree": "toll-free number",
"forwardingCheck.lineType.voip": "phone system or app",
"forwardingCheck.lostLast": "The last check could not be loaded. Check your connection.",
"forwardingCheck.lostResult": "The check’s result could not be read. Check your connection.",
- "forwardingCheck.noAssistant": "Forwarding works, but {assistant} did not pick up.",
+ "forwardingCheck.noAssistant": "Forwarding works, but {assistant} did not pick up",
"forwardingCheck.noAssistantNext": "The call reached {brand}, but the assistant is not running right now. Whoever runs this server can check the voice agent; then check again.",
"forwardingCheck.noCheck": "Automatic checks are not available on this server. To test forwarding, call your number from another phone and let it ring: {assistant} should answer.",
- "forwardingCheck.notChecked": "We could not check it this time.",
+ "forwardingCheck.notChecked": "We could not check it this time",
"forwardingCheck.notCheckedNext": "Call your number from another phone and let it ring: {assistant} should answer.",
"forwardingCheck.notCheckedNextDetail": "{detail} Call your number from another phone and let it ring: {assistant} should answer.",
"forwardingCheck.numberLabel": "Your number",
"forwardingCheck.numberLabelClient": "The client's number",
"forwardingCheck.numberTip": "The number your customers call today.",
"forwardingCheck.numberTipClient": "The number the client's customers call today.",
- "forwardingCheck.rangThrough": "It rang on your phone but was never forwarded.",
- "forwardingCheck.rangThroughNext": "Dial the code again and wait for the confirmation tone, then check again. If it still rings through, your line may not forward missed calls: forward every call instead, or give out your assistant’s number.",
+ "forwardingCheck.rangThrough": "It rang on your phone but wasn’t forwarded",
"forwardingCheck.rangThroughNextAll": "Dial the forward-all code again and wait for the confirmation tone, then check again.",
- "forwardingCheck.simulated": "{calls, select, all {Simulated: calls to your number would reach {assistant}.} other {Simulated: calls you don’t answer would reach {assistant}.}}",
- "forwardingCheck.simulatedMark": "Development mode: simulated",
+ "forwardingCheck.rangThroughTry": "Dial the code again, wait for the confirmation tone, then check again. If it still rings through, your line can’t forward missed calls: forward every call, or give out {assistant}’s number.",
+ "forwardingCheck.rangThroughTryLink": "Dial the code again, wait for the confirmation tone, then check again. If it still rings through, your line can’t forward missed calls: forward every call, or <link>give out {assistant}’s number</link>.",
+ "forwardingCheck.screeningFirst": "Turn off call screening on your phone first.",
+ "forwardingCheck.simulated": "{calls, select, all {Calls to your number would reach {assistant}.} other {Calls you don’t answer would reach {assistant}.}}",
+ "forwardingCheck.simulatedMark": "Simulated",
+ "forwardingCheck.simulatedNothingDialed": "Simulated, nothing was dialed",
"forwardingCheck.suggestCarrier": "Your carrier looks like {carrier}.",
"forwardingCheck.switchGuide": "Switch guide",
- "forwardingCheck.unreachable": "Your number could not be reached.",
+ "forwardingCheck.unreachable": "Your number could not be reached",
"forwardingCheck.unreachableNext": "Check the number you entered and that the phone has a signal, then check again.",
- "forwardingCheck.verified": "{calls, select, all {Verified: calls to your number reach {assistant}.} other {Verified: calls you don’t answer reach {assistant}.}}",
- "forwardingCheck.verifiedAfter": "{calls, select, all {Verified: calls to your number reach {assistant} after about {seconds, plural, one {# second} other {# seconds}}.} other {Verified: calls you don’t answer reach {assistant} after about {seconds, plural, one {# second} other {# seconds}}.}}",
+ "forwardingCheck.verified": "{calls, select, all {Calls to your number reach {assistant}.} other {Calls you don’t answer reach {assistant}.}}",
+ "forwardingCheck.verifiedAfter": "{calls, select, all {Calls to your number reach {assistant} after about {seconds, plural, one {# second} other {# seconds}}.} other {Calls you don’t answer reach {assistant} after about {seconds, plural, one {# second} other {# seconds}}.}}",
+ "forwardingCheck.works": "Forwarding works",
"frame.agent": "Set up with AI",
"frame.agentBack": "Back to AI setup",
"frame.agentTitle": "Back to the AI agent setup: what you saved here stays",
@@ -559,15 +563,10 @@
"phone.choose.connectNumber": "Connect number",
"phone.choose.dev": "Development mode: any number works, nothing is called.",
"phone.choose.label": "Phone number",
- "phone.choose.ledeAll": "Callers keep dialing the number they know, and every call reaches {name}.",
- "phone.choose.ledeMissed": "Callers keep dialing the number they know, and the calls you miss reach {name}.",
- "phone.choose.ledeMissedClient": "Callers keep dialing the number they know, and the calls the client misses reach {name}.",
+ "phone.choose.lede": "You can change this later.",
"phone.choose.number": "Number",
"phone.choose.numberIn": "Number in {carrier}",
- "phone.choose.titleAll": "Keep your number, forward your calls",
- "phone.choose.titleAllClient": "Keep the client's number, forward their calls",
- "phone.choose.titleMissed": "Keep your number, forward the calls you miss",
- "phone.choose.titleMissedClient": "Keep the client's number, forward the calls they miss",
+ "phone.choose.title": "How will callers reach {name}?",
"phone.connected.answers": "{name} answers {number}.",
"phone.connected.carrier": "Your carrier or phone system",
"phone.connected.carrierClient": "The client's carrier or phone system",
diff --git a/packages/i18n/locales/en/settings.json b/packages/i18n/locales/en/settings.json
index 86a84133..9b7f41f9 100644
--- a/packages/i18n/locales/en/settings.json
+++ b/packages/i18n/locales/en/settings.json
@@ -1546,6 +1546,7 @@
"phone.card.forwarding.checked": "Works · checked {date}",
"phone.card.forwarding.codesTip": "The code to dial on your business phone, and the check step by step",
"phone.card.forwarding.failed": "Last test didn't work",
+ "phone.card.forwarding.failedLine": "{title}. {next}",
"phone.card.forwarding.forwardingCodes": "Forwarding codes",
"phone.card.forwarding.test": "Test forwarding",
"phone.card.forwarding.testAgain": "Test again",
diff --git a/packages/i18n/locales/es/onboarding.json b/packages/i18n/locales/es/onboarding.json
index 22c1b03b..a9b819e0 100644
--- a/packages/i18n/locales/es/onboarding.json
+++ b/packages/i18n/locales/es/onboarding.json
@@ -335,14 +335,6 @@
"flow.option.existing.descriptionClient": "{name} contesta ese número; el teléfono del negocio del cliente lo desvía allí.",
"flow.option.existing.title": "Usar un número que tienes",
"flow.option.existing.titleIn": "Usar un número que tienes en {carrier}",
- "flow.option.forward.description": "Tus clientes siguen llamando al número que ya conocen. {brand} le da a {name} su propio número, y tú desvías tus llamadas a él una sola vez con un código corto.",
- "flow.option.forward.descriptionClient": "Los clientes del cliente siguen llamando al número que ya conocen. {brand} le da a {name} su propio número, y el cliente desvía sus llamadas a él una sola vez con un código corto.",
- "flow.option.forward.title": "Conservar mi número y desviar las llamadas a {brand}",
- "flow.option.forward.titleClient": "Conservar su número y desviar las llamadas a {brand}",
- "flow.option.new.description": "Les das este número a tus clientes y {name} lo contesta. Tu número actual sigue sonando como hoy.",
- "flow.option.new.descriptionClient": "El cliente les da este número a sus clientes y {name} lo contesta. Su número actual sigue sonando como hoy.",
- "flow.option.new.title": "Obtener un número nuevo de {brand} para mis clientes",
- "flow.option.new.titleClient": "Obtener un número nuevo de {brand} para los clientes del cliente",
"flow.phoneCarrier": "El operador telefónico",
"flow.price.carrier": "Unos {price} al mes más los minutos de llamada, cobrados por {carrier}.",
"flow.price.carrierUnknown": "Una cuota mensual más los minutos de llamada, cobrados por {carrier}.",
@@ -384,9 +376,6 @@
"forwarding.dialTitle": "Android: abre el marcador del teléfono con este código (Enter). En un iPhone, escríbelo.",
"forwarding.goodToKnow": "Bueno saberlo",
"forwarding.guideNetwork": "{kind} · red de {network}",
- "forwarding.leadDesk": "{count, plural, one {Desde la línea de tu negocio (el teléfono fijo), marca:} many {Desde la línea de tu negocio (el teléfono fijo), marca estos uno tras otro:} other {Desde la línea de tu negocio (el teléfono fijo), marca estos uno tras otro:}}",
- "forwarding.leadMobile": "{count, plural, one {Escribe este código en la app Teléfono del celular de tu negocio y presiona llamar:} many {Escribe estos códigos, uno tras otro, en la app Teléfono del celular de tu negocio y presiona llamar:} other {Escribe estos códigos, uno tras otro, en la app Teléfono del celular de tu negocio y presiona llamar:}}",
- "forwarding.leadSettings": "En {where}:",
"forwarding.noSteps": "{carrier} no tiene una forma documentada de hacerlo.",
"forwarding.offAsk": "Pregúntale a {carrier} cómo desactivarlo.",
"forwarding.offAskCheck": "Pregúntale a {carrier} cómo desactivarlo. Compruébalo con <code>{check}</code>.",
@@ -394,12 +383,9 @@
"forwarding.offCodesCheck": "Desactívalo con <code>{off}</code>. Compruébalo con <code>{check}</code>.",
"forwarding.otherCountry": "Otro país",
"forwarding.otherCountryDescription": "Códigos estándar y configuración del teléfono",
- "forwarding.qrCaption": "Android: escanea con la cámara del teléfono para marcar {code}. El iPhone bloquea los enlaces de desvío: escribe el código en la app Teléfono.",
"forwarding.qrLabel": "Código QR que marca {code}",
"forwarding.settingsOff": "Para desactivarlo: {steps}",
"forwarding.settingsOffCheck": "Para desactivarlo: {steps} Compruébalo en {where}.",
- "forwarding.showQr": "Mostrar QR",
- "forwarding.showQrTitle": "Mostrar este código como código QR (Enter)",
"forwarding.source": "Fuente: {links}",
"forwardingCheck.answered": "Contestaron la llamada antes de que se desviara.",
"forwardingCheck.answeredNext": "Probablemente tu buzón de voz. Desactiva el buzón de voz en vivo y el filtro de llamadas en tu teléfono, o define un tiempo de timbre más corto, y vuelve a comprobar. No contestes la llamada de prueba.",
@@ -415,7 +401,6 @@
"forwardingCheck.forwardsElsewhere": "Tu teléfono desvía a otro número.",
"forwardingCheck.forwardsElsewhereNext": "Vuelve a marcar el código que aparece aquí desde el teléfono de tu negocio y luego vuelve a comprobar.",
"forwardingCheck.forwardsElsewhereNextDetail": "{detail} Vuelve a marcar el código que aparece aquí desde el teléfono de tu negocio y luego vuelve a comprobar.",
- "forwardingCheck.giveOutInstead": "Mejor dar el {number}",
"forwardingCheck.lineType.landline": "fijo",
"forwardingCheck.lineType.mobile": "celular",
"forwardingCheck.lineType.tollFree": "número gratuito",
@@ -433,7 +418,6 @@
"forwardingCheck.numberTip": "El número que marcan hoy quienes te llaman. Buscamos su operador para darte los códigos correctos.",
"forwardingCheck.numberTipClient": "El número que marcan hoy quienes llaman al cliente. Buscamos su operador para darte los códigos correctos.",
"forwardingCheck.rangThrough": "Sonó en tu teléfono, pero nunca se desvió.",
- "forwardingCheck.rangThroughNext": "Vuelve a marcar el código, espera el tono de confirmación y vuelve a comprobar. Si sigue sonando, puede que tu línea no desvíe las llamadas perdidas: mejor desvía todas las llamadas o da el número de tu asistente.",
"forwardingCheck.rangThroughNextAll": "Vuelve a marcar el código para desviar todas las llamadas, espera el tono de confirmación y vuelve a comprobar.",
"forwardingCheck.simulated": "{calls, select, all {Simulado: las llamadas al número de tu negocio llegarían a {assistant}.} other {Simulado: las llamadas que no contestes llegarían a {assistant}.}}",
"forwardingCheck.simulatedMark": "Modo de desarrollo: simulado",
@@ -546,15 +530,8 @@
"phone.choose.connectNumber": "Conectar número",
"phone.choose.dev": "Modo de desarrollo: cualquier número funciona, no se llama a nadie.",
"phone.choose.label": "Número de teléfono",
- "phone.choose.ledeAll": "Quienes llaman siguen marcando el número que conocen, y todas las llamadas llegan a {name}.",
- "phone.choose.ledeMissed": "Quienes llaman siguen marcando el número que conocen, y las llamadas que pierdes llegan a {name}.",
- "phone.choose.ledeMissedClient": "Quienes llaman siguen marcando el número que conocen, y las llamadas que pierde el cliente llegan a {name}.",
"phone.choose.number": "Número",
"phone.choose.numberIn": "Número en {carrier}",
- "phone.choose.titleAll": "Conserva tu número, desvía tus llamadas",
- "phone.choose.titleAllClient": "Conserva el número del cliente, desvía sus llamadas",
- "phone.choose.titleMissed": "Conserva tu número, desvía las llamadas que pierdes",
- "phone.choose.titleMissedClient": "Conserva el número del cliente, desvía las llamadas que pierde",
"phone.connected.answers": "{name} contesta el {number}.",
"phone.connected.carrier": "Tu operador o sistema telefónico",
"phone.connected.carrierClient": "Operador o sistema telefónico del cliente",
diff --git a/packages/i18n/locales/fr/onboarding.json b/packages/i18n/locales/fr/onboarding.json
index f8be71c2..6237e930 100644
--- a/packages/i18n/locales/fr/onboarding.json
+++ b/packages/i18n/locales/fr/onboarding.json
@@ -335,14 +335,6 @@
"flow.option.existing.descriptionClient": "{name} répond à ce numéro ; le téléphone de l'entreprise du client y renvoie les appels.",
"flow.option.existing.title": "Utiliser un numéro que vous avez",
"flow.option.existing.titleIn": "Utiliser un numéro que vous avez chez {carrier}",
- "flow.option.forward.description": "Vos clients continuent d'appeler le numéro qu'ils connaissent. {brand} attribue à {name} son propre numéro, et vous y renvoyez vos appels une fois pour toutes avec un code court.",
- "flow.option.forward.descriptionClient": "Les clients du client continuent d'appeler le numéro qu'ils connaissent. {brand} attribue à {name} son propre numéro, et le client y renvoie ses appels une fois pour toutes avec un code court.",
- "flow.option.forward.title": "Garder mon numéro, renvoyer les appels vers {brand}",
- "flow.option.forward.titleClient": "Garder son numéro, renvoyer les appels vers {brand}",
- "flow.option.new.description": "Vous communiquez ce numéro à vos clients, et {name} y répond. Votre numéro actuel sonne comme aujourd'hui.",
- "flow.option.new.descriptionClient": "Le client communique ce numéro à ses clients, et {name} y répond. Son numéro actuel sonne comme aujourd'hui.",
- "flow.option.new.title": "Obtenir un nouveau numéro {brand} pour mes clients",
- "flow.option.new.titleClient": "Obtenir un nouveau numéro {brand} pour les clients du client",
"flow.phoneCarrier": "L'opérateur téléphonique",
"flow.price.carrier": "Environ {price} par mois plus les minutes d'appel, facturés par {carrier}.",
"flow.price.carrierUnknown": "Un abonnement mensuel plus les minutes d'appel, facturés par {carrier}.",
@@ -384,9 +376,6 @@
"forwarding.dialTitle": "Android : ouvre le clavier du téléphone avec ce code (Entrée). Sur un iPhone, saisissez-le plutôt.",
"forwarding.goodToKnow": "Bon à savoir",
"forwarding.guideNetwork": "{kind} · réseau {network}",
- "forwarding.leadDesk": "{count, plural, one {Depuis la ligne de votre entreprise (le téléphone fixe), composez :} many {Depuis la ligne de votre entreprise (le téléphone fixe), composez l'un après l'autre :} other {Depuis la ligne de votre entreprise (le téléphone fixe), composez l'un après l'autre :}}",
- "forwarding.leadMobile": "{count, plural, one {Saisissez ce code dans l'application Téléphone du portable de votre entreprise et appuyez sur appeler :} many {Saisissez ces codes, l'un après l'autre, dans l'application Téléphone du portable de votre entreprise et appuyez sur appeler :} other {Saisissez ces codes, l'un après l'autre, dans l'application Téléphone du portable de votre entreprise et appuyez sur appeler :}}",
- "forwarding.leadSettings": "Dans {where} :",
"forwarding.noSteps": "{carrier} n'a pas de méthode documentée pour cela.",
"forwarding.offAsk": "Demandez à {carrier} comment le désactiver.",
"forwarding.offAskCheck": "Demandez à {carrier} comment le désactiver. Vérifiez avec <code>{check}</code>.",
@@ -394,12 +383,9 @@
"forwarding.offCodesCheck": "Désactivez-le avec <code>{off}</code>. Vérifiez avec <code>{check}</code>.",
"forwarding.otherCountry": "Autre pays",
"forwarding.otherCountryDescription": "Codes standard et réglages du téléphone",
- "forwarding.qrCaption": "Android : scannez avec l'appareil photo du téléphone pour composer {code}. L'iPhone bloque les liens de renvoi : saisissez le code dans l'application Téléphone.",
"forwarding.qrLabel": "Code QR qui compose {code}",
"forwarding.settingsOff": "Pour le désactiver : {steps}",
"forwarding.settingsOffCheck": "Pour le désactiver : {steps} Vérifiez dans {where}.",
- "forwarding.showQr": "Afficher le QR",
- "forwarding.showQrTitle": "Afficher ce code sous forme de code QR (Entrée)",
"forwarding.source": "Source : {links}",
"forwardingCheck.answered": "L'appel a été décroché avant d'être renvoyé.",
"forwardingCheck.answeredNext": "Sans doute votre messagerie vocale. Désactivez la messagerie en direct et le filtrage des appels sur votre téléphone, ou réglez une durée de sonnerie plus courte, puis vérifiez à nouveau. Ne répondez pas à l'appel de test.",
@@ -415,7 +401,6 @@
"forwardingCheck.forwardsElsewhere": "Votre téléphone renvoie vers un autre numéro.",
"forwardingCheck.forwardsElsewhereNext": "Composez à nouveau le code affiché ici depuis le téléphone de votre entreprise, puis vérifiez à nouveau.",
"forwardingCheck.forwardsElsewhereNextDetail": "{detail} Composez à nouveau le code affiché ici depuis le téléphone de votre entreprise, puis vérifiez à nouveau.",
- "forwardingCheck.giveOutInstead": "Communiquer plutôt le {number}",
"forwardingCheck.lineType.landline": "fixe",
"forwardingCheck.lineType.mobile": "mobile",
"forwardingCheck.lineType.tollFree": "numéro gratuit",
@@ -433,7 +418,6 @@
"forwardingCheck.numberTip": "Le numéro que vos appelants composent aujourd'hui. Nous recherchons son opérateur pour trouver les bons codes.",
"forwardingCheck.numberTipClient": "Le numéro que les appelants du client composent aujourd'hui. Nous recherchons son opérateur pour trouver les bons codes.",
"forwardingCheck.rangThrough": "Ça a sonné sur votre téléphone, mais l'appel n'a jamais été renvoyé.",
- "forwardingCheck.rangThroughNext": "Composez à nouveau le code et attendez la tonalité de confirmation, puis vérifiez à nouveau. Si ça sonne toujours chez vous, votre ligne ne renvoie peut-être pas les appels manqués : renvoyez plutôt tous les appels, ou communiquez le numéro de votre assistant.",
"forwardingCheck.rangThroughNextAll": "Composez à nouveau le code de renvoi de tous les appels et attendez la tonalité de confirmation, puis vérifiez à nouveau.",
"forwardingCheck.simulated": "{calls, select, all {Simulé : les appels vers le numéro de votre entreprise parviendraient à {assistant}.} other {Simulé : les appels auxquels vous ne répondez pas parviendraient à {assistant}.}}",
"forwardingCheck.simulatedMark": "Mode développement : simulé",
@@ -546,15 +530,8 @@
"phone.choose.connectNumber": "Connecter le numéro",
"phone.choose.dev": "Mode développement : tout numéro fonctionne, personne n'est appelé.",
"phone.choose.label": "Numéro de téléphone",
- "phone.choose.ledeAll": "Les appelants continuent de composer le numéro qu'ils connaissent, et chaque appel parvient à {name}.",
- "phone.choose.ledeMissed": "Les appelants continuent de composer le numéro qu'ils connaissent, et les appels que vous manquez parviennent à {name}.",
- "phone.choose.ledeMissedClient": "Les appelants continuent de composer le numéro qu'ils connaissent, et les appels que le client manque parviennent à {name}.",
"phone.choose.number": "Numéro",
"phone.choose.numberIn": "Numéro chez {carrier}",
- "phone.choose.titleAll": "Gardez votre numéro, renvoyez vos appels",
- "phone.choose.titleAllClient": "Gardez le numéro du client, renvoyez ses appels",
- "phone.choose.titleMissed": "Gardez votre numéro, renvoyez les appels manqués",
- "phone.choose.titleMissedClient": "Gardez le numéro du client, renvoyez les appels qu'il manque",
"phone.connected.answers": "{name} répond au {number}.",
"phone.connected.carrier": "Votre opérateur ou système téléphonique",
"phone.connected.carrierClient": "Opérateur ou système téléphonique du client",
diff --git a/packages/i18n/locales/ja/onboarding.json b/packages/i18n/locales/ja/onboarding.json
index ec6eb92e..15b6432e 100644
--- a/packages/i18n/locales/ja/onboarding.json
+++ b/packages/i18n/locales/ja/onboarding.json
@@ -335,14 +335,6 @@
"flow.option.existing.descriptionClient": "{name}がその番号に応答し、クライアントのビジネスの電話からその番号に転送します。",
"flow.option.existing.title": "持っている番号を使う",
"flow.option.existing.titleIn": "{carrier}の番号を使う",
- "flow.option.forward.description": "お客様はいつもの番号にそのまま電話をかけます。{brand}が{name}専用の番号を用意し、あなたは短いコードで一度だけ、通話をその番号に転送する設定をします。",
- "flow.option.forward.descriptionClient": "クライアントのお客様はいつもの番号にそのまま電話をかけます。{brand}が{name}専用の番号を用意し、クライアントは短いコードで一度だけ、通話をその番号に転送する設定をします。",
- "flow.option.forward.title": "今の番号のまま、通話を{brand}に転送する",
- "flow.option.forward.titleClient": "クライアントの番号のまま、通話を{brand}に転送する",
- "flow.option.new.description": "この番号をお客様に伝えると、{name}が応答します。今の番号はこれまでどおり鳴ります。",
- "flow.option.new.descriptionClient": "クライアントがこの番号をお客様に伝えると、{name}が応答します。クライアントの今の番号はこれまでどおり鳴ります。",
- "flow.option.new.title": "お客様用に{brand}から新しい番号を取得する",
- "flow.option.new.titleClient": "クライアントのお客様用に{brand}から新しい番号を取得する",
"flow.phoneCarrier": "電話キャリア",
"flow.price.carrier": "月額約{price}+通話料。{carrier}から請求されます。",
"flow.price.carrierUnknown": "月額料金+通話料。{carrier}から請求されます。",
@@ -384,9 +376,6 @@
"forwarding.dialTitle": "Android:このコードで電話のダイヤル画面を開きます(Enter)。iPhone では手入力してください。",
"forwarding.goodToKnow": "知っておくと便利なこと",
"forwarding.guideNetwork": "{kind} · {network}回線",
- "forwarding.leadDesk": "{count, plural, other {ビジネス回線(固定電話)から、次の順にダイヤルしてください:}}",
- "forwarding.leadMobile": "{count, plural, other {ビジネス用携帯電話の電話アプリで次のコードを順に入力し、発信を押してください:}}",
- "forwarding.leadSettings": "{where}で:",
"forwarding.noSteps": "{carrier}にはこの操作の公式な手順がありません。",
"forwarding.offAsk": "オフにする方法は{carrier}に問い合わせてください。",
"forwarding.offAskCheck": "オフにする方法は{carrier}に問い合わせてください。<code>{check}</code>で確認できます。",
@@ -394,12 +383,9 @@
"forwarding.offCodesCheck": "<code>{off}</code>でオフにできます。<code>{check}</code>で確認できます。",
"forwarding.otherCountry": "その他の国",
"forwarding.otherCountryDescription": "標準のコードと電話の設定",
- "forwarding.qrCaption": "Android:電話のカメラでスキャンすると{code}をダイヤルします。iPhone は転送リンクをブロックするため、電話アプリでコードを入力してください。",
"forwarding.qrLabel": "{code}をダイヤルする QR コード",
"forwarding.settingsOff": "オフにするには:{steps}",
"forwarding.settingsOffCheck": "オフにするには:{steps}{where}で確認できます。",
- "forwarding.showQr": "QR を表示",
- "forwarding.showQrTitle": "このコードを QR コードで表示(Enter)",
"forwarding.source": "出典:{links}",
"forwardingCheck.answered": "転送される前に電話に応答されました。",
"forwardingCheck.answeredNext": "おそらく留守番電話です。電話のライブ留守番電話と通話スクリーニングをオフにするか、呼び出し時間を短くしてから、もう一度確認してください。テスト通話には出ないでください。",
@@ -415,7 +401,6 @@
"forwardingCheck.forwardsElsewhere": "電話が別の番号に転送されています。",
"forwardingCheck.forwardsElsewhereNext": "ここに表示されたコードをビジネスの電話からもう一度ダイヤルしてから、もう一度確認してください。",
"forwardingCheck.forwardsElsewhereNextDetail": "{detail}ここに表示されたコードをビジネスの電話からもう一度ダイヤルしてから、もう一度確認してください。",
- "forwardingCheck.giveOutInstead": "代わりに{number}を伝える",
"forwardingCheck.lineType.landline": "固定電話",
"forwardingCheck.lineType.mobile": "携帯電話",
"forwardingCheck.lineType.tollFree": "フリーダイヤル",
@@ -433,7 +418,6 @@
"forwardingCheck.numberTip": "現在、発信者がかけている番号です。正しいコードを表示するため、通信事業者を調べます。",
"forwardingCheck.numberTipClient": "現在、クライアントの発信者がかけている番号です。正しいコードを表示するため、通信事業者を調べます。",
"forwardingCheck.rangThrough": "電話は鳴りましたが、転送されませんでした。",
- "forwardingCheck.rangThroughNext": "もう一度コードをダイヤルし、確認音を待ってから、もう一度確認してください。それでも鳴り続ける場合、回線が不在時の転送に対応していない可能性があります。代わりにすべての電話を転送するか、アシスタントの番号を伝えてください。",
"forwardingCheck.rangThroughNextAll": "すべての電話を転送するコードをもう一度ダイヤルし、確認音を待ってから、もう一度確認してください。",
"forwardingCheck.simulated": "{calls, select, all {シミュレーション:ビジネスの番号への電話は{assistant}に届きます。} other {シミュレーション:出られなかった電話は{assistant}に届きます。}}",
"forwardingCheck.simulatedMark": "開発モード:シミュレーション",
@@ -546,15 +530,8 @@
"phone.choose.connectNumber": "番号を接続",
"phone.choose.dev": "開発モード:どの番号でも動作し、実際の発信は行われません。",
"phone.choose.label": "電話番号",
- "phone.choose.ledeAll": "発信者はいつもの番号にかけるだけで、すべての電話が{name}に届きます。",
- "phone.choose.ledeMissed": "発信者はいつもの番号にかけるだけで、出られなかった電話が{name}に届きます。",
- "phone.choose.ledeMissedClient": "発信者はいつもの番号にかけるだけで、クライアントが出られなかった電話が{name}に届きます。",
"phone.choose.number": "番号",
"phone.choose.numberIn": "{carrier}の番号",
- "phone.choose.titleAll": "番号はそのまま、電話を転送",
- "phone.choose.titleAllClient": "クライアントの番号はそのまま、電話を転送",
- "phone.choose.titleMissed": "番号はそのまま、出られなかった電話を転送",
- "phone.choose.titleMissedClient": "クライアントの番号はそのまま、出られなかった電話を転送",
"phone.connected.answers": "{name}が{number}への電話に応答します。",
"phone.connected.carrier": "通信事業者または電話システム",
"phone.connected.carrierClient": "クライアントの通信事業者または電話システム",
diff --git a/packages/i18n/locales/pt-BR/onboarding.json b/packages/i18n/locales/pt-BR/onboarding.json
index 3f8875aa..d6667861 100644
--- a/packages/i18n/locales/pt-BR/onboarding.json
+++ b/packages/i18n/locales/pt-BR/onboarding.json
@@ -335,14 +335,6 @@
"flow.option.existing.descriptionClient": "{name} atende esse número; o telefone da empresa do cliente encaminha para ele.",
"flow.option.existing.title": "Usar um número que você tem",
"flow.option.existing.titleIn": "Usar um número que você tem na {carrier}",
- "flow.option.forward.description": "Seus clientes continuam ligando para o número que já conhecem. O {brand} consegue um número próprio para {name}, e você encaminha suas chamadas para ele uma única vez com um código curto.",
- "flow.option.forward.descriptionClient": "Os clientes do cliente continuam ligando para o número que já conhecem. O {brand} consegue um número próprio para {name}, e o cliente encaminha as chamadas dele para esse número uma única vez com um código curto.",
- "flow.option.forward.title": "Manter meu número e encaminhar as chamadas para o {brand}",
- "flow.option.forward.titleClient": "Manter o número do cliente e encaminhar as chamadas para o {brand}",
- "flow.option.new.description": "Você passa este número para seus clientes, e {name} atende. Seu número atual continua tocando como hoje.",
- "flow.option.new.descriptionClient": "O cliente passa este número para os clientes dele, e {name} atende. O número atual dele continua tocando como hoje.",
- "flow.option.new.title": "Pegar um número novo do {brand} para meus clientes",
- "flow.option.new.titleClient": "Pegar um número novo do {brand} para os clientes do cliente",
"flow.phoneCarrier": "A operadora de telefonia",
"flow.price.carrier": "Cerca de {price} por mês mais os minutos de chamada, cobrados pela {carrier}.",
"flow.price.carrierUnknown": "Uma mensalidade mais os minutos de chamada, cobrados pela {carrier}.",
@@ -384,9 +376,6 @@
"forwarding.dialTitle": "Android: abre o discador do telefone com este código (Enter). No iPhone, digite-o.",
"forwarding.goodToKnow": "Bom saber",
"forwarding.guideNetwork": "{kind} · rede {network}",
- "forwarding.leadDesk": "{count, plural, one {Da linha da sua empresa (o telefone fixo), disque:} many {Da linha da sua empresa (o telefone fixo), disque um após o outro:} other {Da linha da sua empresa (o telefone fixo), disque um após o outro:}}",
- "forwarding.leadMobile": "{count, plural, one {Digite este código no app Telefone do celular da sua empresa e toque em ligar:} many {Digite estes códigos, um após o outro, no app Telefone do celular da sua empresa e toque em ligar:} other {Digite estes códigos, um após o outro, no app Telefone do celular da sua empresa e toque em ligar:}}",
- "forwarding.leadSettings": "Em {where}:",
"forwarding.noSteps": "A {carrier} não tem uma forma documentada de fazer isso.",
"forwarding.offAsk": "Pergunte à {carrier} como desativar.",
"forwarding.offAskCheck": "Pergunte à {carrier} como desativar. Confira com <code>{check}</code>.",
@@ -394,12 +383,9 @@
"forwarding.offCodesCheck": "Desative com <code>{off}</code>. Confira com <code>{check}</code>.",
"forwarding.otherCountry": "Outro país",
"forwarding.otherCountryDescription": "Códigos padrão e configurações do telefone",
- "forwarding.qrCaption": "Android: escaneie com a câmera do telefone para discar {code}. O iPhone bloqueia links de encaminhamento: digite o código no app Telefone.",
"forwarding.qrLabel": "QR code que disca {code}",
"forwarding.settingsOff": "Para desativar: {steps}",
"forwarding.settingsOffCheck": "Para desativar: {steps} Confira em {where}.",
- "forwarding.showQr": "Mostrar QR",
- "forwarding.showQrTitle": "Mostrar este código como QR code (Enter)",
"forwarding.source": "Fonte: {links}",
"forwardingCheck.answered": "A chamada foi atendida antes de ser encaminhada.",
"forwardingCheck.answeredNext": "Provavelmente seu correio de voz. Desative o correio de voz ao vivo e a triagem de chamadas no seu telefone, ou defina um tempo de toque menor, e confira de novo. Não atenda a chamada de teste.",
@@ -415,7 +401,6 @@
"forwardingCheck.forwardsElsewhere": "Seu telefone encaminha para outro número.",
"forwardingCheck.forwardsElsewhereNext": "Disque de novo o código mostrado aqui no telefone da sua empresa e confira de novo.",
"forwardingCheck.forwardsElsewhereNextDetail": "{detail} Disque de novo o código mostrado aqui no telefone da sua empresa e confira de novo.",
- "forwardingCheck.giveOutInstead": "Divulgar o {number}",
"forwardingCheck.lineType.landline": "fixo",
"forwardingCheck.lineType.mobile": "celular",
"forwardingCheck.lineType.tollFree": "número gratuito",
@@ -433,7 +418,6 @@
"forwardingCheck.numberTip": "O número que seus clientes discam hoje. Buscamos a operadora dele para mostrar os códigos certos.",
"forwardingCheck.numberTipClient": "O número que os clientes dele discam hoje. Buscamos a operadora dele para mostrar os códigos certos.",
"forwardingCheck.rangThrough": "Tocou no seu telefone, mas nunca foi encaminhada.",
- "forwardingCheck.rangThroughNext": "Disque o código de novo e espere o tom de confirmação, depois confira de novo. Se continuar tocando, talvez sua linha não encaminhe chamadas perdidas: encaminhe todas as chamadas ou divulgue o número do seu assistente.",
"forwardingCheck.rangThroughNextAll": "Disque de novo o código para encaminhar todas as chamadas e espere o tom de confirmação, depois confira de novo.",
"forwardingCheck.simulated": "{calls, select, all {Simulado: as chamadas para o número da sua empresa chegariam a {assistant}.} other {Simulado: as chamadas que você não atende chegariam a {assistant}.}}",
"forwardingCheck.simulatedMark": "Modo de desenvolvimento: simulado",
@@ -546,15 +530,8 @@
"phone.choose.connectNumber": "Conectar número",
"phone.choose.dev": "Modo de desenvolvimento: qualquer número funciona, ninguém recebe ligação.",
"phone.choose.label": "Número de telefone",
- "phone.choose.ledeAll": "Quem liga continua discando o número que conhece, e todas as chamadas chegam a {name}.",
- "phone.choose.ledeMissed": "Quem liga continua discando o número que conhece, e as chamadas que você perde chegam a {name}.",
- "phone.choose.ledeMissedClient": "Quem liga continua discando o número que conhece, e as chamadas que o cliente perde chegam a {name}.",
"phone.choose.number": "Número",
"phone.choose.numberIn": "Número na {carrier}",
- "phone.choose.titleAll": "Mantenha seu número, encaminhe suas chamadas",
- "phone.choose.titleAllClient": "Mantenha o número do cliente, encaminhe as chamadas dele",
- "phone.choose.titleMissed": "Mantenha seu número, encaminhe as chamadas que você perde",
- "phone.choose.titleMissedClient": "Mantenha o número do cliente, encaminhe as chamadas que ele perde",
"phone.connected.answers": "{name} atende o {number}.",
"phone.connected.carrier": "Sua operadora ou sistema de telefonia",
"phone.connected.carrierClient": "Operadora ou sistema de telefonia do cliente",