Web: added new translation key "ChangePhoneInstructionSent" for ChangePhoneDialog
This commit is contained in:
parent
d3e30eeb6c
commit
883130c002
@ -1,4 +1,5 @@
|
||||
{
|
||||
"MobilePhoneChangeTitle": "Change mobile phone",
|
||||
"MobilePhoneEraseDescription": "The instructions on how to change the user mobile number will be sent to the user email address"
|
||||
"MobilePhoneEraseDescription": "The instructions on how to change the user mobile number will be sent to the user email address",
|
||||
"ChangePhoneInstructionSent": "The phone change instructions have been successfully sent"
|
||||
}
|
@ -1,4 +1,5 @@
|
||||
{
|
||||
"MobilePhoneChangeTitle": "Изменение номера телефона",
|
||||
"MobilePhoneEraseDescription": "Инструкция по смене номера мобильного телефона будет отправлена на Вашу почту"
|
||||
"MobilePhoneEraseDescription": "Инструкция по смене номера мобильного телефона будет отправлена на Вашу почту",
|
||||
"ChangePhoneInstructionSent": "Инструкции по смене номера мобильного телефона были успешно отправлены"
|
||||
}
|
@ -17,9 +17,9 @@ class ChangePhoneDialogComponent extends React.Component {
|
||||
|
||||
// TODO: add real api request for executing change phone
|
||||
onChangePhone = () => {
|
||||
const { onClose } = this.props;
|
||||
const { onClose, t } = this.props;
|
||||
this.setState({ isRequestRunning: true }, () => {
|
||||
toastr.success("Context action: Change phone");
|
||||
toastr.success(t("ChangePhoneInstructionSent"));
|
||||
this.setState({ isRequestRunning: false }, () => onClose());
|
||||
});
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user