diff --git a/messages/en.json b/messages/en.json index 739326e..d4a4ede 100644 --- a/messages/en.json +++ b/messages/en.json @@ -247,7 +247,10 @@ "contactInfo": "Contact info", "tags": "Tags", "notes": "Notes", - "deals": "Deals" + "deals": "Deals", + "noTags": "No tags", + "noDeals": "No deals", + "addNotePlaceholder": "Add a note..." } }, "Contacts": { @@ -333,7 +336,10 @@ "activity": "Activity", "notes": "Notes", "custom": "Custom Fields", - "deals": "Deals" + "deals": "Deals", + "noTags": "No tags", + "noDeals": "No deals", + "addNotePlaceholder": "Add a note..." }, "actions": { "edit": "Edit", diff --git a/src/components/inbox/contact-sidebar.tsx b/src/components/inbox/contact-sidebar.tsx index 8249839..4db0cfe 100644 --- a/src/components/inbox/contact-sidebar.tsx +++ b/src/components/inbox/contact-sidebar.tsx @@ -189,7 +189,7 @@ export function ContactSidebar({ contact }: ContactSidebarProps) {
{tags.length === 0 ? ( -

No tags

+

{tSidebar("noTags")}

) : ( tags.map((tag) => (
{deals.length === 0 ? ( -

No deals

+

{tSidebar("noDeals")}

) : ( deals.map((deal) => (
setNewNote(e.target.value)} - placeholder="Add a note..." + placeholder={tSidebar("addNotePlaceholder")} rows={2} className="flex-1 resize-none rounded-lg border border-border bg-muted px-3 py-2 text-xs text-foreground placeholder-muted-foreground outline-none focus:border-primary/50" />