diff --git a/models/lead/src/index.ts b/models/lead/src/index.ts index fef472114e..0c9a49d0f0 100644 --- a/models/lead/src/index.ts +++ b/models/lead/src/index.ts @@ -70,7 +70,8 @@ export function createModel (builder: Builder): void { builder.mixin(lead.class.Funnel, core.class.Class, workbench.mixin.SpaceView, { view: { class: lead.class.Lead, - createItemDialog: lead.component.CreateLead + createItemDialog: lead.component.CreateLead, + createItemLabel: lead.string.LeadCreateLabel } }) diff --git a/models/recruit/src/index.ts b/models/recruit/src/index.ts index f8cbb24099..08f20ea67a 100644 --- a/models/recruit/src/index.ts +++ b/models/recruit/src/index.ts @@ -122,7 +122,8 @@ export function createModel (builder: Builder): void { builder.mixin(recruit.class.Vacancy, core.class.Class, workbench.mixin.SpaceView, { view: { class: recruit.class.Applicant, - createItemDialog: recruit.component.CreateApplication + createItemDialog: recruit.component.CreateApplication, + createItemLabel: recruit.string.ApplicationCreateLabel } }) @@ -157,6 +158,7 @@ export function createModel (builder: Builder): void { component: recruit.component.Vacancies, icon: recruit.icon.Vacancy, label: recruit.string.Vacancies, + createItemLabel: recruit.string.VacancyCreateLabel, position: 'bottom' }, { @@ -164,6 +166,7 @@ export function createModel (builder: Builder): void { component: recruit.component.Candidates, icon: contact.icon.Person, label: recruit.string.Candidates, + createItemLabel: recruit.string.CandidateCreateLabel, position: 'bottom' }, { @@ -180,6 +183,7 @@ export function createModel (builder: Builder): void { component: recruit.component.SkillsView, icon: tags.icon.Tags, label: recruit.string.SkillsLabel, + createItemLabel: recruit.string.SkillCreateLabel, position: 'bottom' } ] diff --git a/models/recruit/src/review.ts b/models/recruit/src/review.ts index 6681eff9ee..e575ff12f7 100644 --- a/models/recruit/src/review.ts +++ b/models/recruit/src/review.ts @@ -13,7 +13,8 @@ export function createReviewModel (builder: Builder): void { builder.mixin(recruit.class.ReviewCategory, core.class.Class, workbench.mixin.SpaceView, { view: { class: recruit.class.Review, - createItemDialog: recruit.component.CreateReview + createItemDialog: recruit.component.CreateReview, + createItemLabel: recruit.string.ReviewCreateLabel } }) diff --git a/models/task/src/index.ts b/models/task/src/index.ts index d597875638..32c99afeff 100644 --- a/models/task/src/index.ts +++ b/models/task/src/index.ts @@ -248,7 +248,8 @@ export function createModel (builder: Builder): void { builder.mixin(task.class.Project, core.class.Class, workbench.mixin.SpaceView, { view: { class: task.class.Issue, - createItemDialog: task.component.CreateTask + createItemDialog: task.component.CreateTask, + createItemLabel: task.string.TaskCreateLabel } }) diff --git a/plugins/contact-assets/lang/en.json b/plugins/contact-assets/lang/en.json index e2bb35aeed..52f7be3840 100644 --- a/plugins/contact-assets/lang/en.json +++ b/plugins/contact-assets/lang/en.json @@ -20,7 +20,7 @@ "PersonsFolder": "Persons folder", "MakePrivate": "Make private", "MakePrivateDescription": "Only members can see it", - "Create": "Contact", + "ContactCreateLabel": "Contact", "SearchEmployee": "Search for employee...", "SearchPerson": "Search for person...", "SearchOrganization": "Search for organization...", diff --git a/plugins/contact-assets/lang/ru.json b/plugins/contact-assets/lang/ru.json index 208952ff55..d7ea9f2666 100644 --- a/plugins/contact-assets/lang/ru.json +++ b/plugins/contact-assets/lang/ru.json @@ -20,7 +20,7 @@ "PersonsFolder": "Папка с людьми", "MakePrivate": "Сделать личным", "MakePrivateDescription": "Только пользователи могут видеть это", - "Create": "Контакт", + "ContactCreateLabel": "Контакт", "SearchEmployee": "Поиск сотрудника...", "SearchPerson": "Поиск персоны...", "SearchOrganization": "Поиск организации...", diff --git a/plugins/contact-resources/src/components/Contacts.svelte b/plugins/contact-resources/src/components/Contacts.svelte index fbe5834ee6..b14c0e9bed 100644 --- a/plugins/contact-resources/src/components/Contacts.svelte +++ b/plugins/contact-resources/src/components/Contacts.svelte @@ -49,7 +49,7 @@ { updateResultQuery(search) }}/> -