diff --git a/plugins/contact-resources/src/components/EmployeePresenter.svelte b/plugins/contact-resources/src/components/EmployeePresenter.svelte index 5531ecb12e..0620c5f07b 100644 --- a/plugins/contact-resources/src/components/EmployeePresenter.svelte +++ b/plugins/contact-resources/src/components/EmployeePresenter.svelte @@ -5,8 +5,10 @@ import { showPopup } from '@anticrm/ui' import EmployeePreviewPopup from './EmployeePreviewPopup.svelte' import { WithLookup } from '@anticrm/core' + import { IntlString } from '@anticrm/platform' export let value: WithLookup<Employee> | null | undefined + export let tooltipLabels: { personLabel: IntlString; placeholderLabel?: IntlString } | undefined = undefined export let shouldShowAvatar: boolean = true export let shouldShowName: boolean = true export let onEmployeeEdit: ((event: MouseEvent) => void) | undefined = undefined @@ -32,6 +34,7 @@ <div class="over-underline" class:pr-2={shouldShowName}> <PersonPresenter {value} + {tooltipLabels} onEdit={handlePersonEdit} {shouldShowAvatar} {shouldShowName} diff --git a/plugins/tracker-assets/lang/ru.json b/plugins/tracker-assets/lang/ru.json index 7016b01da3..9d3e8698c5 100644 --- a/plugins/tracker-assets/lang/ru.json +++ b/plugins/tracker-assets/lang/ru.json @@ -47,7 +47,7 @@ "SubIssuesList": "Подзадачи ({subIssues})", "OpenSubIssues": "Открыть подзадачи", "AddSubIssues": "{subIssues, plural, =1 {Добавить подзадачу} other {+ Добавить подзадачи}}", - + "AssignedTo": "Назначен на {value}", "Title": "Заголовок", "Description": "Описание", "Status": "Статус", diff --git a/plugins/tracker-resources/src/components/issues/AssigneePresenter.svelte b/plugins/tracker-resources/src/components/issues/AssigneePresenter.svelte index a0698f79d6..935efe7e9e 100644 --- a/plugins/tracker-resources/src/components/issues/AssigneePresenter.svelte +++ b/plugins/tracker-resources/src/components/issues/AssigneePresenter.svelte @@ -100,6 +100,6 @@ shouldShowPlaceholder={true} shouldShowName={shouldShowLabel} onEmployeeEdit={handleAssigneeEditorOpened} - tooltipLabels={{ personLabel: tracker.string.AssignedTo, placeholderLabel: tracker.string.AssignTo }} + tooltipLabels={{ personLabel: tracker.string.AssignedTo, placeholderLabel: tracker.string.Unassigned }} /> {/if}