Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EPMRPP-87464 || Update confirmation messages for Posting issue #3903

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading