From 7d6ea3bed349be12fb27f84771e7add198cf206d Mon Sep 17 00:00:00 2001 From: Alexey Zinoviev Date: Wed, 12 Jun 2024 17:29:38 +0400 Subject: [PATCH] ezqms-981: adjust doc library wording Signed-off-by: Alexey Zinoviev --- models/controlled-documents/src/index.ts | 4 ++-- plugins/controlled-documents-assets/lang/en.json | 3 ++- plugins/controlled-documents-assets/lang/ru.json | 3 ++- plugins/controlled-documents/src/plugin.ts | 3 ++- 4 files changed, 8 insertions(+), 5 deletions(-) diff --git a/models/controlled-documents/src/index.ts b/models/controlled-documents/src/index.ts index 2213219cc5d..78395b2a3da 100644 --- a/models/controlled-documents/src/index.ts +++ b/models/controlled-documents/src/index.ts @@ -210,7 +210,7 @@ export function createModel (builder: Builder): void { spaces: [ { id: 'orgspaces', - label: documents.string.Organisation, + label: documents.string.GeneralDocumentation, spaceClass: documents.class.OrgSpace, addSpaceLabel: documents.string.CreateOrgSpace, createComponent: documents.component.CreateDocumentsSpace, @@ -225,7 +225,7 @@ export function createModel (builder: Builder): void { }, { id: 'projectspaces', - label: documents.string.Projects, + label: documents.string.TechnicalDocumentation, spaceClass: documents.class.ExternalSpace, specials: [ { diff --git a/plugins/controlled-documents-assets/lang/en.json b/plugins/controlled-documents-assets/lang/en.json index b893d9d65c5..5144a9ef41d 100644 --- a/plugins/controlled-documents-assets/lang/en.json +++ b/plugins/controlled-documents-assets/lang/en.json @@ -201,7 +201,8 @@ "FieldIsEmpty": "{field} is empty", "ValidatingCredentials": "Validating credentials...", - "Organisation": "Organisation", + "GeneralDocumentation": "General documentation", + "TechnicalDocumentation": "Technical documentation", "UnsortedTemplates": "Unsorted templates", "Project": "Project", "Projects": "Projects", diff --git a/plugins/controlled-documents-assets/lang/ru.json b/plugins/controlled-documents-assets/lang/ru.json index 6cc7f1819f5..78d3a15dcf3 100644 --- a/plugins/controlled-documents-assets/lang/ru.json +++ b/plugins/controlled-documents-assets/lang/ru.json @@ -201,7 +201,8 @@ "FieldIsEmpty": "{field} не задан", "ValidatingCredentials": "Проверка информации...", - "Organisation": "Организация", + "GeneralDocumentation": "Общая документация", + "TechnicalDocumentation": "Техническая документация", "UnsortedTemplates": "Несортированные шаблоны", "Project": "Проект", "Projects": "Проекты", diff --git a/plugins/controlled-documents/src/plugin.ts b/plugins/controlled-documents/src/plugin.ts index 10ff524de96..582117768d4 100644 --- a/plugins/controlled-documents/src/plugin.ts +++ b/plugins/controlled-documents/src/plugin.ts @@ -238,7 +238,8 @@ export const documentsPlugin = plugin(documentsId, { SectionKey: '' as IntlString, CommentsSequence: '' as IntlString, Index: '' as IntlString, - Organisation: '' as IntlString, + GeneralDocumentation: '' as IntlString, + TechnicalDocumentation: '' as IntlString, UnsortedTemplates: '' as IntlString, Project: '' as IntlString, Projects: '' as IntlString,