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: {
ApplicationsShort: '' as IntlString,
RecruitApplication: '' as IntlString,
TalentPools: '' as IntlString,
SearchApplication: '' as IntlString,
SearchVacancy: '' as IntlString,

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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