From 42b38173488fee64ae23e179e9fb2045fe0dc295 Mon Sep 17 00:00:00 2001 From: Lera24 Date: Mon, 18 Dec 2023 17:25:01 +0200 Subject: [PATCH] fix: change name variables on attributes[WTEL-4047] --- src/app/locale/en/en.js | 1 + src/app/locale/ru/ru.js | 1 + src/app/locale/ua/ua.js | 1 + src/modules/contacts/components/opened-contact-tabs.vue | 2 +- .../contacts/modules/filters/components/filter-search.vue | 2 +- .../contacts/modules/variables/components/variable-popup.vue | 2 +- 6 files changed, 6 insertions(+), 3 deletions(-) diff --git a/src/app/locale/en/en.js b/src/app/locale/en/en.js index 4d0e7809..7d17caa0 100644 --- a/src/app/locale/en/en.js +++ b/src/app/locale/en/en.js @@ -22,6 +22,7 @@ export default { dummy: 'There are no phone numbers yet', }, }, + attributes: 'Attribute | Attributes', }, permissions: { read: 'Read', diff --git a/src/app/locale/ru/ru.js b/src/app/locale/ru/ru.js index 20d1881a..2714e8cc 100644 --- a/src/app/locale/ru/ru.js +++ b/src/app/locale/ru/ru.js @@ -22,6 +22,7 @@ export default { dummy: 'Телефонные номера еще не добавлены', }, }, + attributes: 'Атрибут | Атрибуты', }, permissions: { read: 'Читать', diff --git a/src/app/locale/ua/ua.js b/src/app/locale/ua/ua.js index fa433f32..f6a1787a 100644 --- a/src/app/locale/ua/ua.js +++ b/src/app/locale/ua/ua.js @@ -22,6 +22,7 @@ export default { dummy: 'Телефонні номери ще не додано', }, }, + attributes: 'Атрибут | Атрибути', }, permissions: { read: 'Читати', diff --git a/src/modules/contacts/components/opened-contact-tabs.vue b/src/modules/contacts/components/opened-contact-tabs.vue index 7233f5d9..4dcaf54d 100644 --- a/src/modules/contacts/components/opened-contact-tabs.vue +++ b/src/modules/contacts/components/opened-contact-tabs.vue @@ -40,7 +40,7 @@ const tabs = computed(() => [ pathName: `${CrmSections.CONTACTS}-communications`, }, { - text: t('vocabulary.variables', 2), + text: t('contacts.attributes', 2), value: 'variables', pathName: `${CrmSections.CONTACTS}-variables`, }, diff --git a/src/modules/contacts/modules/filters/components/filter-search.vue b/src/modules/contacts/modules/filters/components/filter-search.vue index 9419f526..64feb0c9 100644 --- a/src/modules/contacts/modules/filters/components/filter-search.vue +++ b/src/modules/contacts/modules/filters/components/filter-search.vue @@ -80,7 +80,7 @@ const searchModeOptions = computed(() => [ }, { value: SearchMode.VARIABLES, - text: t('vocabulary.variables', 1), + text: t('contacts.attributes', 1), }, { value: SearchMode.DESTINATION, diff --git a/src/modules/contacts/modules/variables/components/variable-popup.vue b/src/modules/contacts/modules/variables/components/variable-popup.vue index 71beb57a..7ac829c4 100644 --- a/src/modules/contacts/modules/variables/components/variable-popup.vue +++ b/src/modules/contacts/modules/variables/components/variable-popup.vue @@ -6,7 +6,7 @@ >