Skip to content

Commit

Permalink
EPMRPP-87464 || Update confirmation messages for Posting issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Vadim73i committed Jul 4, 2024
1 parent 468ca40 commit 248b582
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion app/localization/translated/be.json
Original file line number Diff line number Diff line change
Expand Up @@ -1633,7 +1633,7 @@
"PostIssueModal.postIssue": "Паведаміць аб праблеме",
"PostIssueModal.postIssueFailed": "Не атрымалася адправіць праблему",
"PostIssueModal.postIssueForTheTest": "Паведаміць аб праблеме для тэсту {launchNumber}",
"PostIssueModal.postIssueSuccess": "Картка была створана",
"PostIssueModal.postIssueSuccess": "Картка была паспяхова створана",
"PostIssueModal.systemUrlInfo": "Праблема будзе адправлена на {systemUrl}",
"ProductStatus.filterNameColumn": "Імя фільтра",
"ProductStatus.nameColumn": "Імя",
Expand Down
2 changes: 1 addition & 1 deletion app/localization/translated/es.json
Original file line number Diff line number Diff line change
Expand Up @@ -2220,4 +2220,4 @@
"usersGrid.roleNonAdmin": "No Admin",
"usersGrid.type": "Tipo",
"usersGrid.user": "Usuario"
}
}
2 changes: 1 addition & 1 deletion app/localization/translated/ru.json
Original file line number Diff line number Diff line change
Expand Up @@ -1633,7 +1633,7 @@
"PostIssueModal.postIssue": "Отправить проблему",
"PostIssueModal.postIssueFailed": "Неудалось отправить ошибку",
"PostIssueModal.postIssueForTheTest": "Отправить проблему для теста {launchNumber}",
"PostIssueModal.postIssueSuccess": "Карточка была создана",
"PostIssueModal.postIssueSuccess": "Карточка была успешно создана",
"PostIssueModal.systemUrlInfo": "Проблема будет отправлена на {systemUrl}",
"ProductStatus.filterNameColumn": "Имя фильтра",
"ProductStatus.nameColumn": "Имя",
Expand Down
2 changes: 1 addition & 1 deletion app/localization/translated/uk.json
Original file line number Diff line number Diff line change
Expand Up @@ -1633,7 +1633,7 @@
"PostIssueModal.postIssue": "Відправити проблему",
"PostIssueModal.postIssueFailed": "Не вдалося надіслати помилку",
"PostIssueModal.postIssueForTheTest": "Відправити проблему для тесту {launchNumber}",
"PostIssueModal.postIssueSuccess": "Картка була створена",
"PostIssueModal.postIssueSuccess": "Картка була успішно створена",
"PostIssueModal.systemUrlInfo": "Проблема будет отправлена на {systemUrl}",
"ProductStatus.filterNameColumn": "Ім’я фільтра",
"ProductStatus.nameColumn": "Ім’я",
Expand Down
2 changes: 1 addition & 1 deletion app/localization/translated/zh.json
Original file line number Diff line number Diff line change
Expand Up @@ -2220,4 +2220,4 @@
"usersGrid.roleNonAdmin": "非管理",
"usersGrid.type": "类型",
"usersGrid.user": "登录"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ const messages = defineMessages({
},
postIssueSuccess: {
id: 'PostIssueModal.postIssueSuccess',
defaultMessage: 'Ticket has been created.',
defaultMessage: 'Ticket has been created successfully',
},
postIssueForTheTest: {
id: 'PostIssueModal.postIssueForTheTest',
Expand Down Expand Up @@ -381,10 +381,10 @@ export class PostIssueModal extends Component {
type: NOTIFICATION_TYPES.SUCCESS,
});
})
.catch(() => {
.catch((err) => {
this.props.hideScreenLockAction();
this.props.showNotification({
message: formatMessage(messages.postIssueFailed),
message: `${formatMessage(messages.postIssueFailed)}. ${err.message}`,
type: NOTIFICATION_TYPES.ERROR,
});
});
Expand Down

0 comments on commit 248b582

Please sign in to comment.