diff --git a/changelog.md b/changelog.md index 2a64f4d51a..9f6f8cd6c3 100644 --- a/changelog.md +++ b/changelog.md @@ -2,6 +2,9 @@ ## 0.6.25 (upcoming) +HR: +- Rename Candidate to Talent + ## 0.6.24 Platform: diff --git a/models/recruit/src/index.ts b/models/recruit/src/index.ts index e76ac8cf2e..86a96a039e 100644 --- a/models/recruit/src/index.ts +++ b/models/recruit/src/index.ts @@ -72,11 +72,11 @@ export class TVacancy extends TSpaceWithStates implements Vacancy { } @Model(recruit.class.Candidates, core.class.Space) -@UX(recruit.string.CandidatePools, recruit.icon.RecruitApplication) +@UX(recruit.string.TalentPools, recruit.icon.RecruitApplication) export class TCandidates extends TSpace implements Candidates {} @Mixin(recruit.mixin.Candidate, contact.class.Person) -@UX(recruit.string.Candidate, recruit.icon.RecruitApplication, undefined, 'name') +@UX(recruit.string.Talent, recruit.icon.RecruitApplication, undefined, 'name') export class TCandidate extends TPerson implements Candidate { @Prop(TypeString(), recruit.string.Title) @Index(IndexKind.FullText) @@ -106,7 +106,7 @@ export class TCandidate extends TPerson implements Candidate { @UX(recruit.string.Application, recruit.icon.Application, recruit.string.ApplicationShort, 'number') export class TApplicant extends TTask implements Applicant { // We need to declare, to provide property with label - @Prop(TypeRef(recruit.mixin.Candidate), recruit.string.Candidate) + @Prop(TypeRef(recruit.mixin.Candidate), recruit.string.Talent) declare attachedTo: Ref // We need to declare, to provide property with label @@ -147,9 +147,9 @@ export function createModel (builder: Builder): void { builder.mixin(recruit.class.Vacancy, core.class.Class, setting.mixin.Editable, {}) const vacanciesId = 'vacancies' - const candidatesId = 'candidates' + const talentsId = 'talents' const skillsId = 'skills' - const applicantsId = 'applicants' + const candidatesId = 'candidates' const archiveId = 'archive' const assignedId = 'assigned' @@ -172,7 +172,7 @@ export function createModel (builder: Builder): void { position: 'vacancy' }, { - id: applicantsId, + id: candidatesId, component: workbench.component.SpecialView, icon: recruit.icon.Application, label: recruit.string.Applications, @@ -190,15 +190,15 @@ export function createModel (builder: Builder): void { position: 'vacancy' }, { - id: candidatesId, + id: talentsId, component: workbench.component.SpecialView, icon: contact.icon.Person, - label: recruit.string.Candidates, + label: recruit.string.Talents, componentProps: { _class: recruit.mixin.Candidate, icon: contact.icon.Person, - label: recruit.string.Candidates, - createLabel: recruit.string.CandidateCreateLabel, + label: recruit.string.Talents, + createLabel: recruit.string.TalentCreateLabel, createComponent: recruit.component.CreateCandidate }, position: 'vacancy' @@ -270,7 +270,7 @@ export function createModel (builder: Builder): void { { // key: '$lookup.skills', // Required, since presenter require list of tag references or '' and TagsPopupPresenter key: '', - presenter: tags.component.TagsPresenter, // tags.component.TagsPresenter, + presenter: tags.component.TagsPresenter, label: recruit.string.SkillsLabel, sortingKey: 'skills', props: { @@ -413,7 +413,7 @@ export function createModel (builder: Builder): void { component: recruit.component.CreateCandidate, element: 'top' }, - label: recruit.string.CreateCandidate, + label: recruit.string.CreateTalent, icon: recruit.icon.Create, keyBinding: ['c'], input: 'none', @@ -551,18 +551,18 @@ export function createModel (builder: Builder): void { }) } - createGotoSpecialAction(builder, candidatesId, 'g->e', recruit.string.GotoCandidates) + createGotoSpecialAction(builder, talentsId, 'g->e', recruit.string.GotoTalents) createGotoSpecialAction(builder, vacanciesId, 'g->v', recruit.string.GotoVacancies) createGotoSpecialAction(builder, skillsId, 'g->s', recruit.string.GotoSkills) createGotoSpecialAction(builder, assignedId, 'g->h', recruit.string.GotoAssigned) - createGotoSpecialAction(builder, applicantsId, 'g->a', recruit.string.GotoApplicants) + createGotoSpecialAction(builder, candidatesId, 'g->a', recruit.string.GotoApplicants) createAction(builder, { action: workbench.actionImpl.Navigate, actionProps: { mode: 'app', application: recruit.app.Recruit as Ref, - special: candidatesId + special: talentsId }, label: recruit.string.GotoRecruitApplication, icon: view.icon.ArrowRight, diff --git a/models/recruit/src/plugin.ts b/models/recruit/src/plugin.ts index 747a168e0e..d3ad93dee7 100644 --- a/models/recruit/src/plugin.ts +++ b/models/recruit/src/plugin.ts @@ -38,7 +38,7 @@ export default mergeIds(recruitId, recruit, { ApplicationShort: '' as IntlString, ApplicationsShort: '' as IntlString, RecruitApplication: '' as IntlString, - CandidatePools: '' as IntlString, + TalentPools: '' as IntlString, SearchApplication: '' as IntlString, Application: '' as IntlString, AssignedRecruiter: '' as IntlString, @@ -47,7 +47,7 @@ export default mergeIds(recruitId, recruit, { Source: '' as IntlString, ManageVacancyStatuses: '' as IntlString, EditVacancy: '' as IntlString, - GotoCandidates: '' as IntlString, + GotoTalents: '' as IntlString, GotoVacancies: '' as IntlString, GotoSkills: '' as IntlString, GotoAssigned: '' as IntlString, diff --git a/models/recruit/src/review-model.ts b/models/recruit/src/review-model.ts index 671b559aed..544fb918d3 100644 --- a/models/recruit/src/review-model.ts +++ b/models/recruit/src/review-model.ts @@ -14,7 +14,7 @@ import recruit from './plugin' @UX(recruit.string.Review, recruit.icon.Review, recruit.string.ReviewShortLabel, 'number') export class TReview extends TEvent implements Review { // We need to declare, to provide property with label - @Prop(TypeRef(recruit.mixin.Candidate), recruit.string.Candidate) + @Prop(TypeRef(recruit.mixin.Candidate), recruit.string.Talent) declare attachedTo: Ref @Prop(TypeString(), recruit.string.Review) diff --git a/plugins/recruit-assets/lang/en.json b/plugins/recruit-assets/lang/en.json index 0687b8a3cb..535d108fa7 100644 --- a/plugins/recruit-assets/lang/en.json +++ b/plugins/recruit-assets/lang/en.json @@ -2,8 +2,8 @@ "string": { "RecruitApplication": "Recruiting", "Vacancies": "Vacancies", - "CandidatePools": "Candidate’s pool", - "Candidates": "Candidates", + "TalentPools": "Talent’s pool", + "Talents": "Talents", "VacancyName": "Vacancy Name *", "VacancyDescription": "Vacancy Description", "CreateVacancy": "Create Vacancy", @@ -13,13 +13,13 @@ "VacancyPlaceholder": "Software Engineer", "MakePrivateDescription": "Only members can see it", "CreateAnApplication": "New Application", - "NoApplicationsForCandidate": "There are no applications for this candidate.", + "NoApplicationsForTalent": "There are no applications for this talent.", "CreateApplication": "New Application", "ApplicationCreateLabel": "Application", "SelectVacancy": "Select vacancy", - "Candidate": "Candidate", - "CandidateCreateLabel": "Candidate", - "CreateCandidate": "New Candidate", + "Talent": "Talent", + "TalentCreateLabel": "Talent", + "CreateTalent": "New Talent", "AssignRecruiter": "Assign recruiter", "UnAssignRecruiter": "Unassign recruiter", "UnAssignCompany": "Unassign Company", @@ -79,7 +79,7 @@ "ReviewCategoryTitle":"Category", "Verdict": "Verdict", "OpinionSave": "Save", - "CandidateReviews": "All Candidate Reviews", + "TalentReviews": "All Talent Reviews", "NoReviewForCandidate": "No reviews", "CreateAnReview": "Create review", "CreateOpinion": "Create opinion", @@ -89,7 +89,7 @@ "PersonsLabel": "{name}", "AddDescription": "Add description", "NumberSkills": "{count, plural, =0 {no skills} =1 {1 skill} other {# skills}}", - "GotoCandidates": "Go to Candidates", + "GotoTalents": "Go to Talents", "GotoVacancies": "Go to Vacancies", "GotoSkills": "Go to Skills", "GotoAssigned": "Go to my Assigned", @@ -98,7 +98,7 @@ "AddDropHere": "Add or drop resume" }, "status": { - "CandidateRequired": "Please select candidate", + "TalentRequired": "Please select talent", "VacancyRequired": "Please select vacancy", "ReviewCategoryRequired": "Please select review category" } diff --git a/plugins/recruit-assets/lang/ru.json b/plugins/recruit-assets/lang/ru.json index d0aad2ddd5..18932985aa 100644 --- a/plugins/recruit-assets/lang/ru.json +++ b/plugins/recruit-assets/lang/ru.json @@ -2,8 +2,8 @@ "string": { "RecruitApplication": "Рекрутинг", "Vacancies": "Вакансии", - "CandidatePools": "Пул кандидатов", - "Candidates": "Кандидаты", + "TalentPools": "Пул талантов", + "Talents": "Таланты", "VacancyName": "Название вакансии *", "VacancyDescription": "Описание вакансии", "CreateVacancy": "Создать вакансию", @@ -12,19 +12,19 @@ "VacancyPlaceholder": "Разработчик", "MakePrivate": "Сделать личным", "MakePrivateDescription": "Только пользователи могут видеть это", - "CreateAnApplication": "Новый Претендент", - "NoApplicationsForCandidate": "Нет претендентов для данного кандидата.", - "CreateApplication": "Новый Претендент", + "CreateAnApplication": "Новый Кандидат", + "NoApplicationsForTalent": "Нет кандидатов для данного таланта.", + "CreateApplication": "Новый Кандидат", "SelectVacancy": "Выбрать вакансию", - "Candidate": "Кандидат", - "CandidateCreateLabel": "Кандидата", - "CreateCandidate": "Новый Кандидат", + "Talent": "Талант", + "TalentCreateLabel": "Таланта", + "CreateTalent": "Новый Талант", "AssignRecruiter": "Назначить рекрутера", "UnAssignRecruiter": "Отменить назначение рекрутера", "UnAssignCompany": "Отменить назначение компании", "Recruiters": "Рекрутеры", "Create": "Создать", - "Applications": "Претенденты", + "Applications": "Кандидаты", "ThisVacancyIsPrivate": "Эта вакансия личная", "Description": "Описание", "Company": "Компания", @@ -33,9 +33,9 @@ "WorkLocationPreferences": "Предпочтения по местоположению работы", "Onsite": "Onsite", "Remote": "Удаленно", - "SearchApplication": "Поиск претендента...", - "Application": "Претендент", - "ApplicationCreateLabel": "Претендента", + "SearchApplication": "Поиск кандидата...", + "Application": "Кандидат", + "ApplicationCreateLabel": "Кандидата", "AssignedRecruiter": "Назначенные рекрутер", "SkillLabel": "Навык", "SkillsLabel": "Навыки", @@ -80,7 +80,7 @@ "ReviewCategoryTitle":"Категория", "Verdict": "Вердикт", "OpinionSave": "Сохранить", - "CandidateReviews": "Ревью кандидата", + "TalentReviews": "Ревью таланта", "NoReviewForCandidate": "Нет ревью", "CreateAnReview": "Добавить Ревью", "CreateOpinion": "Добавить мнение", @@ -91,17 +91,17 @@ "AddDescription": "Add description", "NumberSkills": "{count, plural, =0 {нет навыков} =1 {1 навык} =2 {2 навыка} other {# навыков}}", - "GotoCandidates": "Перейте к кандидатам", + "GotoTalents": "Перейте к талантам", "GotoVacancies": "Перейти к вакансиям", "GotoSkills": "Перейти к навыкам", "GotoAssigned": "Перейти к моим назначениям", - "GotoApplicants": "Перейти к претендентам", + "GotoApplicants": "Перейти к кандидатам", "GotoRecruitApplication": "Перейти к Приложению Рекрутинг", "AddDropHere": "Добавить или перетянуть резюме" }, "status": { - "CandidateRequired": "Пожалуйста выберите кандидата", + "TalentRequired": "Пожалуйста выберите таланта", "VacancyRequired": "Пожалуйста выберите вакансию", - "ReviewCategoryRequired": "Пожалуйста выберети кадегорию" + "ReviewCategoryRequired": "Пожалуйста выберети категорию" } } \ No newline at end of file diff --git a/plugins/recruit-resources/src/components/Applications.svelte b/plugins/recruit-resources/src/components/Applications.svelte index 799a80d757..9612fe58d8 100644 --- a/plugins/recruit-resources/src/components/Applications.svelte +++ b/plugins/recruit-resources/src/components/Applications.svelte @@ -56,7 +56,7 @@
-
diff --git a/plugins/recruit-resources/src/components/CandidateCard.svelte b/plugins/recruit-resources/src/components/CandidateCard.svelte index a008e8f300..1d2025ebaa 100644 --- a/plugins/recruit-resources/src/components/CandidateCard.svelte +++ b/plugins/recruit-resources/src/components/CandidateCard.svelte @@ -40,7 +40,7 @@
-
+
{#if candidate}
{/if} 0 && lastName.length > 0 && matches.length === 0} on:close={() => { diff --git a/plugins/recruit-resources/src/components/EditApplication.svelte b/plugins/recruit-resources/src/components/EditApplication.svelte index 8223e59873..c58f7adba1 100644 --- a/plugins/recruit-resources/src/components/EditApplication.svelte +++ b/plugins/recruit-resources/src/components/EditApplication.svelte @@ -57,7 +57,7 @@
- +
{/if} diff --git a/plugins/recruit-resources/src/components/NewCandidateHeader.svelte b/plugins/recruit-resources/src/components/NewCandidateHeader.svelte index 5a50f09355..9d1cdb59ed 100644 --- a/plugins/recruit-resources/src/components/NewCandidateHeader.svelte +++ b/plugins/recruit-resources/src/components/NewCandidateHeader.svelte @@ -26,7 +26,7 @@