Move some strings to plugin (#5786)

Signed-off-by: Kristina Fefelova <kristin.fefelova@gmail.com>
This commit is contained in:
Kristina 2024-06-12 14:40:01 +04:00 committed by GitHub
parent 0c38c1b9ff
commit 363cca4559
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
9 changed files with 11 additions and 12 deletions

View File

@ -62,7 +62,6 @@ export default mergeIds(recruitId, recruit, {
}, },
string: { string: {
ApplicationsShort: '' as IntlString, ApplicationsShort: '' as IntlString,
RecruitApplication: '' as IntlString,
TalentPools: '' as IntlString, TalentPools: '' as IntlString,
SearchApplication: '' as IntlString, SearchApplication: '' as IntlString,
SearchVacancy: '' as IntlString, SearchVacancy: '' as IntlString,

View File

@ -28,7 +28,6 @@ import { type Application } from '@hcengineering/workbench'
export default mergeIds(trackerId, tracker, { export default mergeIds(trackerId, tracker, {
string: { string: {
TrackerApplication: '' as IntlString,
Projects: '' as IntlString, Projects: '' as IntlString,
GotoIssues: '' as IntlString, GotoIssues: '' as IntlString,
GotoActive: '' as IntlString, GotoActive: '' as IntlString,

View File

@ -23,7 +23,6 @@ import { type FilterFunction, type SortFunc } from '@hcengineering/view'
export default mergeIds(contactId, contact, { export default mergeIds(contactId, contact, {
string: { string: {
Apply: '' as IntlString, Apply: '' as IntlString,
Contacts: '' as IntlString,
CreatePerson: '' as IntlString, CreatePerson: '' as IntlString,
OrganizationNamePlaceholder: '' as IntlString, OrganizationNamePlaceholder: '' as IntlString,
OrganizationsNamePlaceholder: '' as IntlString, OrganizationsNamePlaceholder: '' as IntlString,

View File

@ -291,7 +291,8 @@ export const contactPlugin = plugin(contactId, {
For: '' as IntlString, For: '' as IntlString,
SelectUsers: '' as IntlString, SelectUsers: '' as IntlString,
AddGuest: '' as IntlString, AddGuest: '' as IntlString,
Members: '' as IntlString Members: '' as IntlString,
Contacts: '' as IntlString
}, },
viewlet: { viewlet: {
TableMember: '' as Ref<Viewlet>, TableMember: '' as Ref<Viewlet>,

View File

@ -35,7 +35,6 @@ export default mergeIds(documentId, document, {
DocumentNamePlaceholder: '' as IntlString, DocumentNamePlaceholder: '' as IntlString,
Name: '' as IntlString, Name: '' as IntlString,
Cancel: '' as IntlString, Cancel: '' as IntlString,
Documents: '' as IntlString,
Document: '' as IntlString, Document: '' as IntlString,
SearchDocument: '' as IntlString, SearchDocument: '' as IntlString,
Version: '' as IntlString, Version: '' as IntlString,

View File

@ -68,7 +68,8 @@ export const documentPlugin = plugin(documentId, {
}, },
string: { string: {
ConfigLabel: '' as IntlString, ConfigLabel: '' as IntlString,
CreateDocument: '' as IntlString CreateDocument: '' as IntlString,
Documents: '' as IntlString
}, },
ids: { ids: {
NoParent: '' as Ref<Document>, NoParent: '' as Ref<Document>,

View File

@ -47,11 +47,9 @@ export default mergeIds(recruitId, recruit, {
Talents: '' as IntlString, Talents: '' as IntlString,
CreateApplication: '' as IntlString, CreateApplication: '' as IntlString,
ApplicationCreateLabel: '' as IntlString, ApplicationCreateLabel: '' as IntlString,
Vacancy: '' as IntlString,
VacancyCreateLabel: '' as IntlString, VacancyCreateLabel: '' as IntlString,
CompanyCreateLabel: '' as IntlString, CompanyCreateLabel: '' as IntlString,
SelectVacancy: '' as IntlString, SelectVacancy: '' as IntlString,
Talent: '' as IntlString,
TalentCreateLabel: '' as IntlString, TalentCreateLabel: '' as IntlString,
CreateTalent: '' as IntlString, CreateTalent: '' as IntlString,
CreateTalentDialogClose: '' as IntlString, CreateTalentDialogClose: '' as IntlString,
@ -89,8 +87,6 @@ export default mergeIds(recruitId, recruit, {
CopyLink: '' as IntlString, CopyLink: '' as IntlString,
CopyId: '' as IntlString, CopyId: '' as IntlString,
Review: '' as IntlString,
ReviewCreateLabel: '' as IntlString, ReviewCreateLabel: '' as IntlString,
NewReview: '' as IntlString, NewReview: '' as IntlString,
CreateReview: '' as IntlString, CreateReview: '' as IntlString,
@ -124,7 +120,6 @@ export default mergeIds(recruitId, recruit, {
Match: '' as IntlString, Match: '' as IntlString,
PerformMatch: '' as IntlString, PerformMatch: '' as IntlString,
MoveApplication: '' as IntlString, MoveApplication: '' as IntlString,
Application: '' as IntlString,
MyApplications: '' as IntlString, MyApplications: '' as IntlString,
TemplateReplace: '' as IntlString, TemplateReplace: '' as IntlString,

View File

@ -57,7 +57,12 @@ const recruit = plugin(recruitId, {
EditVacancy: '' as AnyComponent EditVacancy: '' as AnyComponent
}, },
string: { string: {
ConfigLabel: '' as IntlString ConfigLabel: '' as IntlString,
RecruitApplication: '' as IntlString,
Application: '' as IntlString,
Vacancy: '' as IntlString,
Review: '' as IntlString,
Talent: '' as IntlString
}, },
icon: { icon: {
RecruitApplication: '' as Asset, RecruitApplication: '' as Asset,

View File

@ -520,6 +520,7 @@ const pluginState = plugin(trackerId, {
Location: '' as Resource<(loc: Location) => Promise<ResolvedLocation | undefined>> Location: '' as Resource<(loc: Location) => Promise<ResolvedLocation | undefined>>
}, },
string: { string: {
TrackerApplication: '' as IntlString,
ConfigLabel: '' as IntlString, ConfigLabel: '' as IntlString,
NewRelatedIssue: '' as IntlString, NewRelatedIssue: '' as IntlString,
IssueNotificationTitle: '' as IntlString, IssueNotificationTitle: '' as IntlString,