mirror of
https://github.com/Luchexx/wacrm.git
synced 2026-11-02 09:19:51 +00:00
feat(i18n): localize Inbox components and update english translations
This commit is contained in:
parent
801969a361
commit
de75715cff
@ -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",
|
||||
|
||||
@ -189,7 +189,7 @@ export function ContactSidebar({ contact }: ContactSidebarProps) {
|
||||
</div>
|
||||
<div className="mt-2 flex flex-wrap gap-1">
|
||||
{tags.length === 0 ? (
|
||||
<p className="px-1 text-xs text-muted-foreground">No tags</p>
|
||||
<p className="px-1 text-xs text-muted-foreground">{tSidebar("noTags")}</p>
|
||||
) : (
|
||||
tags.map((tag) => (
|
||||
<span
|
||||
@ -218,7 +218,7 @@ export function ContactSidebar({ contact }: ContactSidebarProps) {
|
||||
</div>
|
||||
<div className="mt-2 space-y-2">
|
||||
{deals.length === 0 ? (
|
||||
<p className="px-1 text-xs text-muted-foreground">No deals</p>
|
||||
<p className="px-1 text-xs text-muted-foreground">{tSidebar("noDeals")}</p>
|
||||
) : (
|
||||
deals.map((deal) => (
|
||||
<div
|
||||
@ -265,7 +265,7 @@ export function ContactSidebar({ contact }: ContactSidebarProps) {
|
||||
<textarea
|
||||
value={newNote}
|
||||
onChange={(e) => 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"
|
||||
/>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user