Merge pull request #447 from opastorello/fix/contact-name-label

fix(i18n): label the contact name field with its own key
This commit is contained in:
Arnas Donauskas 2026-07-29 20:43:38 +03:00 committed by GitHub
commit a495cf785e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 4 additions and 2 deletions

View File

@ -371,6 +371,7 @@
"contactInfo": "Contact Information", "contactInfo": "Contact Information",
"unnamed": "Unknown", "unnamed": "Unknown",
"contactDetailsDesc": "Contact details", "contactDetailsDesc": "Contact details",
"name": "Name",
"phone": "Phone", "phone": "Phone",
"email": "Email", "email": "Email",
"company": "Company", "company": "Company",

View File

@ -371,6 +371,7 @@
"contactInfo": "연락처 정보", "contactInfo": "연락처 정보",
"unnamed": "알 수 없음", "unnamed": "알 수 없음",
"contactDetailsDesc": "연락처 정보", "contactDetailsDesc": "연락처 정보",
"name": "이름",
"phone": "전화번호", "phone": "전화번호",
"email": "이메일", "email": "이메일",
"company": "회사", "company": "회사",

View File

@ -462,7 +462,7 @@ export function ContactDetailView({
value="tags" value="tags"
className="data-active:bg-muted data-active:text-primary text-muted-foreground" className="data-active:bg-muted data-active:text-primary text-muted-foreground"
> >
{t('tabs.tags', { fallback: 'Tags' })} {t('tabs.tags')}
</TabsTrigger> </TabsTrigger>
<TabsTrigger <TabsTrigger
value="notes" value="notes"
@ -488,7 +488,7 @@ export function ContactDetailView({
<TabsContent value="details" className="flex-1 overflow-y-auto px-4 py-3"> <TabsContent value="details" className="flex-1 overflow-y-auto px-4 py-3">
<div className="space-y-3"> <div className="space-y-3">
<div className="space-y-1.5"> <div className="space-y-1.5">
<Label className="text-muted-foreground text-xs">{t('company', { fallback: 'Name' })}</Label> <Label className="text-muted-foreground text-xs">{t('name')}</Label>
<Input <Input
value={editName} value={editName}
onChange={(e) => setEditName(e.target.value)} onChange={(e) => setEditName(e.target.value)}