Skip to content

Commit

Permalink
EPMRPP-87015 || Update description for delete integration modal (#3623)
Browse files Browse the repository at this point in the history
  • Loading branch information
AmsterGet authored Oct 30, 2023
1 parent 9f17313 commit 637369f
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 17 deletions.
3 changes: 1 addition & 2 deletions app/localization/translated/be.json
Original file line number Diff line number Diff line change
Expand Up @@ -1057,8 +1057,7 @@
"IntegrationsDescription.noGlobalIntegrationsDescription": "Інтэграцыі не настроены. Вы можаце ўручную наладзіць інтэграцыю для гэтага праекту.",
"IntegrationsDescription.noGlobalIntegrationsMessage": "Ніякіх Iнтэграцый",
"IntegrationsDescription.projectIntegrationCreate": "Стварыць інтэграцыю праекта",
"IntegrationsDescription.projectIntegrationDelete": "Выдаліць",
"IntegrationsDescription.projectIntegrationDeleteDescription": "Вы ўпэўненыя, што жадаеце выдаліць Інтэграцыю праекту",
"ConnectionSection.deleteIntegrationDescription": "Вы ўпэўненыя, што жадаеце выдаліць Інтэграцыю",
"IntegrationsDescription.projectIntegrationReset": "Скід да глабальных інтэграцый",
"IntegrationsDescription.projectIntegrationResetDescription": "Вы ўпэўненыя, што хочаце скінуць наладкі да Глабальных Інтэграцый? Усе вашыя прэктныя інтэграцыі будуць выдаленыя без магчымасці аднаўлення.",
"IntegrationsDescription.projectIntegrationText": "Інтэграцыі праекта ствараюцца для кожнага праекта",
Expand Down
3 changes: 1 addition & 2 deletions app/localization/translated/ru.json
Original file line number Diff line number Diff line change
Expand Up @@ -1054,8 +1054,7 @@
"IntegrationsDescription.noGlobalIntegrationsDescription": "Интеграции не настроены. Вы можете вручную настроить интеграцию для этого проекта.",
"IntegrationsDescription.noGlobalIntegrationsMessage": "Нет Интеграций",
"IntegrationsDescription.projectIntegrationCreate": "Создать интеграцию проекта",
"IntegrationsDescription.projectIntegrationDelete": "Удалить",
"IntegrationsDescription.projectIntegrationDeleteDescription": "Вы уверены, что хотите удалить Интеграцию проекта",
"ConnectionSection.deleteIntegrationDescription": "Вы уверены, что хотите удалить Интеграцию",
"IntegrationsDescription.projectIntegrationReset": "Сброс к глобальным интеграциям",
"IntegrationsDescription.projectIntegrationResetDescription": "Вы уверены, что хотите сбросить настройки к Глобальным Интеграциям? Все ваши пректные интеграции будут удалены без возможности восстановления.",
"IntegrationsDescription.projectIntegrationText": "Интеграции проекта создаются для каждого проекта",
Expand Down
3 changes: 1 addition & 2 deletions app/localization/translated/uk.json
Original file line number Diff line number Diff line change
Expand Up @@ -1055,8 +1055,7 @@
"IntegrationsDescription.noGlobalIntegrationsDescription": "Інтеграції не налаштовані. Ви можете вручну настроїти інтеграцію для цього проекту.",
"IntegrationsDescription.noGlobalIntegrationsMessage": "Ніяких Iнтеграцій",
"IntegrationsDescription.projectIntegrationCreate": "Створити інтеграцію проекту",
"IntegrationsDescription.projectIntegrationDelete": "Вилучити",
"IntegrationsDescription.projectIntegrationDeleteDescription": "Ви впевнені, що хочете видалити Інтеграцію проекту",
"ConnectionSection.deleteIntegrationDescription": "Ви впевнені, що хочете видалити Інтеграцію",
"IntegrationsDescription.projectIntegrationReset": "Скидання до глобальних інтеграцій",
"IntegrationsDescription.projectIntegrationResetDescription": "Ви впевнені, що хочете скинути налаштування до Глобальних Інтеграцій? Всі ваші проектні інтеграції будуть видалені без можливості відновлення.",
"IntegrationsDescription.projectIntegrationText": "Інтеграції проекту створюються для кожного проекту",
Expand Down
3 changes: 1 addition & 2 deletions app/localization/translated/zh.json
Original file line number Diff line number Diff line change
Expand Up @@ -1050,8 +1050,7 @@
"IntegrationsDescription.noGlobalIntegrationsDescription": "未配置任何集成。您可以手动为此项目设置集成。",
"IntegrationsDescription.noGlobalIntegrationsMessage": "无集成",
"IntegrationsDescription.projectIntegrationCreate": "创建项目集成",
"IntegrationsDescription.projectIntegrationDelete": "删除",
"IntegrationsDescription.projectIntegrationDeleteDescription": "您确定要删除项目集成吗",
"ConnectionSection.deleteIntegrationDescription": "您确定要删除项目集成吗",
"IntegrationsDescription.projectIntegrationReset": "重置为全局集成",
"IntegrationsDescription.projectIntegrationResetDescription": "您确定要重置为全球集成吗?您的所有项目集成都将被永久删除。",
"IntegrationsDescription.projectIntegrationText": "项目集成已基于项目创建",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ import PropTypes from 'prop-types';
import classNames from 'classnames/bind';
import { connect } from 'react-redux';
import { injectIntl, defineMessages } from 'react-intl';
import { COMMON_LOCALE_KEYS } from 'common/constants/localization';
import track from 'react-tracking';
import moment from 'moment';
import Parser from 'html-react-parser';
Expand Down Expand Up @@ -64,13 +65,9 @@ const messages = defineMessages({
id: 'ConnectionSection.warningMessageDescription',
defaultMessage: 'Global Integrations are inactive as you have configured Project Integration',
},
projectIntegrationDelete: {
id: 'IntegrationsDescription.projectIntegrationDelete',
defaultMessage: 'Delete',
},
projectIntegrationDeleteDescription: {
id: 'IntegrationsDescription.projectIntegrationDeleteDescription',
defaultMessage: 'Are you sure you want to delete Project Integration',
deleteIntegrationDescription: {
id: 'ConnectionSection.deleteIntegrationDescription',
defaultMessage: 'Are you sure you want to delete Integration',
},
});

Expand Down Expand Up @@ -140,8 +137,8 @@ export class ConnectionSection extends Component {
id: 'deleteProjectIntegrationModal',
data: {
onConfirm: this.props.onRemoveIntegration,
modalTitle: `${formatMessage(messages.projectIntegrationDelete)} ${data.name}`,
description: `${formatMessage(messages.projectIntegrationDeleteDescription)} ${data.name}?`,
modalTitle: `${formatMessage(COMMON_LOCALE_KEYS.DELETE)} ${data.name}`,
description: `${formatMessage(messages.deleteIntegrationDescription)} ${data.name}?`,
},
});
};
Expand Down

0 comments on commit 637369f

Please sign in to comment.