A full-featured CRM built with React, shadcn/ui, and Supabase.
Use feature-specific interpolated copy
Anibal Svarcas7225d308a889
diff --git a/src/components/atomic-crm/activity/ActivityLogDealNoteCreated.tsx b/src/components/atomic-crm/activity/ActivityLogDealNoteCreated.tsxindex 658ad3b0..96b6eb50 100644--- a/src/components/atomic-crm/activity/ActivityLogDealNoteCreated.tsx+++ b/src/components/atomic-crm/activity/ActivityLogDealNoteCreated.tsx@@ -60,7 +60,7 @@ export function ActivityLogDealNoteCreated({{context !== "company" && (<>{" "}- {translate("crm.common.at")}{" "}+ {translate("crm.activity.at_company")}{" "}<ReferenceFieldsource="deal_id"reference="deals"diff --git a/src/components/atomic-crm/contacts/ContactListContent.tsx b/src/components/atomic-crm/contacts/ContactListContent.tsxindex 95968819..f0dca135 100644--- a/src/components/atomic-crm/contacts/ContactListContent.tsx+++ b/src/components/atomic-crm/contacts/ContactListContent.tsx@@ -130,10 +130,11 @@ const ContactItemContent = ({</div>{contact.title || contact.company_id != null || contact.nb_tasks ? (<div className="text-sm text-muted-foreground">- {contact.title}- {contact.title &&- contact.company_id != null &&- ` ${translate("crm.common.at")} `}+ {contact.title && contact.company_id != null+ ? `${translate("resources.contacts.position_at", {+ title: contact.title,+ })} `+ : contact.title}{contact.company_id != null && (<ReferenceFieldsource="company_id"@@ -261,10 +262,11 @@ const ContactItemContentMobile = ({ contact }: { contact: Contact }) => {<div className="text-sm text-muted-foreground"><div className="flex flex-col gap-1"><span>- {contact.title}- {contact.title &&- contact.company_id != null &&- ` ${translate("crm.common.at")} `}+ {contact.title && contact.company_id != null+ ? `${translate("resources.contacts.position_at", {+ title: contact.title,+ })} `+ : contact.title}{contact.company_id != null && (<ReferenceFieldsource="company_id"diff --git a/src/components/atomic-crm/contacts/ContactShow.tsx b/src/components/atomic-crm/contacts/ContactShow.tsxindex 69bb6995..c7c20845 100644--- a/src/components/atomic-crm/contacts/ContactShow.tsx+++ b/src/components/atomic-crm/contacts/ContactShow.tsx@@ -102,10 +102,11 @@ const ContactShowContentMobile = () => {<RecordRepresentation /></h2><div className="text-sm text-muted-foreground">- {record.title}- {record.title &&- record.company_id != null &&- ` ${translate("crm.common.at")} `}+ {record.title && record.company_id != null+ ? `${translate("resources.contacts.position_at", {+ title: record.title,+ })} `+ : record.title}{record.company_id != null && (<ReferenceFieldsource="company_id"@@ -244,10 +245,11 @@ const ContactShowContent = () => {<RecordRepresentation /></h5><div className="inline-flex text-sm text-muted-foreground">- {record.title}- {record.title &&- record.company_id != null &&- ` ${translate("crm.common.at")} `}+ {record.title && record.company_id != null+ ? `${translate("resources.contacts.position_at", {+ title: record.title,+ })} `+ : record.title}{record.company_id != null && (<ReferenceFieldsource="company_id"diff --git a/src/components/atomic-crm/dashboard/HotContacts.tsx b/src/components/atomic-crm/dashboard/HotContacts.tsxindex adb31950..1124e5ae 100644--- a/src/components/atomic-crm/dashboard/HotContacts.tsx+++ b/src/components/atomic-crm/dashboard/HotContacts.tsx@@ -75,8 +75,12 @@ export const HotContacts = () => {}secondaryText={(contact) => (<>- {contact.title} {translate("crm.common.at")}{" "}- {contact.company_name}+ {contact.title && contact.company_name+ ? translate("resources.contacts.position_at_company", {+ title: contact.title,+ company: contact.company_name,+ })+ : contact.title || contact.company_name}</>)}leftAvatar={(contact) => <Avatar record={contact} />}diff --git a/src/components/atomic-crm/dashboard/LatestNotes.tsx b/src/components/atomic-crm/dashboard/LatestNotes.tsxindex d1993b92..ba787f63 100644--- a/src/components/atomic-crm/dashboard/LatestNotes.tsx+++ b/src/components/atomic-crm/dashboard/LatestNotes.tsx@@ -66,16 +66,16 @@ export const LatestNotes = () => {className="mb-8"><div className="text-sm text-muted-foreground">- {translate("crm.common.on")}{" "}{note.type === "dealNote" ? (<Deal note={note} />) : (<Contact note={note} />)}{", "}- {translate("crm.common.added")}{" "}- {formatDistance(note.date, new Date(), {- addSuffix: true,+ {translate("crm.dashboard.latest_notes_added_ago", {+ timeAgo: formatDistance(note.date, new Date(), {+ addSuffix: true,+ }),})}</div><div>diff --git a/src/components/atomic-crm/deals/ContactList.tsx b/src/components/atomic-crm/deals/ContactList.tsxindex be994a6a..a21be209 100644--- a/src/components/atomic-crm/deals/ContactList.tsx+++ b/src/components/atomic-crm/deals/ContactList.tsx@@ -20,11 +20,12 @@ export const ContactList = () => {{contact.first_name} {contact.last_name}</RouterLink><span className="text-xs text-muted-foreground">- {contact.title}- {contact.title &&- contact.company_name &&- ` ${translate("crm.common.at")} `}- {contact.company_name}+ {contact.title && contact.company_name+ ? translate("resources.contacts.position_at_company", {+ title: contact.title,+ company: contact.company_name,+ })+ : contact.title || contact.company_name}</span></div></div>diff --git a/src/components/atomic-crm/misc/ContactOption.tsx b/src/components/atomic-crm/misc/ContactOption.tsxindex 38f2a3d8..86005d2c 100644--- a/src/components/atomic-crm/misc/ContactOption.tsx+++ b/src/components/atomic-crm/misc/ContactOption.tsx@@ -16,11 +16,12 @@ const ContactOptionRender = () => {{record.first_name} {record.last_name}</span><span className="text-xs text-muted-foreground">- {record.title}- {record.title &&- record.company_name &&- ` ${translate("crm.common.at")} `}- {record.company_name}+ {record.title && record.company_name+ ? translate("resources.contacts.position_at_company", {+ title: record.title,+ company: record.company_name,+ })+ : record.title || record.company_name}</span></div></div>diff --git a/src/components/atomic-crm/settings/ProfilePage.tsx b/src/components/atomic-crm/settings/ProfilePage.tsxindex 1234df70..c045a314 100644--- a/src/components/atomic-crm/settings/ProfilePage.tsx+++ b/src/components/atomic-crm/settings/ProfilePage.tsx@@ -238,12 +238,9 @@ const ProfileForm = ({{translate("crm.profile.inbound.title")}</h2><p className="text-sm text-muted-foreground">- {translate("crm.profile.inbound.description_prefix", {- _: "You can start sending emails to your server's inbound email address, e.g. by adding it to the",- })}{" "}- <b> Cc: </b>{" "}- {translate("crm.profile.inbound.description_suffix", {- _: "field. Atomic CRM will process the emails and add notes to the corresponding contacts.",+ {translate("crm.profile.inbound.description", {+ _: "You can start sending emails to your server's inbound email address, e.g. by adding it to the Cc: field. Atomic CRM will process the emails and add notes to the corresponding contacts.",+ field: "Cc:",})}</p><CopyPaste />