From 11640e211c81d9a264a82f4b9cc4c1841dddf9b3 Mon Sep 17 00:00:00 2001 From: Ilya Oleshko Date: Wed, 2 Jun 2021 11:33:26 +0300 Subject: [PATCH] Web: Confirm : Added usage for translation key "ConfirmOwnerPortalSuccessMessage" --- web/ASC.Web.Client/public/locales/de/Confirm.json | 4 ++-- web/ASC.Web.Client/public/locales/en/Confirm.json | 4 ++-- web/ASC.Web.Client/public/locales/fr/Confirm.json | 4 ++-- web/ASC.Web.Client/public/locales/it/Confirm.json | 4 ++-- web/ASC.Web.Client/public/locales/lo/Confirm.json | 4 ++-- web/ASC.Web.Client/public/locales/pt-BR/Confirm.json | 4 ++-- web/ASC.Web.Client/public/locales/ro/Confirm.json | 4 ++-- web/ASC.Web.Client/public/locales/ru/Confirm.json | 4 ++-- .../components/pages/Confirm/sub-components/changeOwner.js | 2 +- 9 files changed, 17 insertions(+), 17 deletions(-) diff --git a/web/ASC.Web.Client/public/locales/de/Confirm.json b/web/ASC.Web.Client/public/locales/de/Confirm.json index 3cf86c7510..c34e941b13 100644 --- a/web/ASC.Web.Client/public/locales/de/Confirm.json +++ b/web/ASC.Web.Client/public/locales/de/Confirm.json @@ -1,6 +1,6 @@ { "ChangePasswordSuccess": "Passwort wurde erfolgreich geändert", - "ConfirmOwnerPortalSuccessMessage": "Der Portalbesitzer wurde erfolgreich geändert. {0} In 10 Sekunden werden Sie {1} hier {2} umgeleitet werden", + "ConfirmOwnerPortalSuccessMessage": "Der Portalbesitzer wurde erfolgreich geändert. In 10 Sekunden werden umgeleitet werden.", "ConfirmOwnerPortalTitle": "Bitte bestätigen Sie, dass {{newOwner}} Portalbesitzer werden soll", "DeleteProfileBtn": "Mein Konto löschen", "DeleteProfileConfirmation": "Achtung! Dies wird Ihr Konto löschen.", @@ -13,4 +13,4 @@ "LoginRegistryButton": "Beitreten", "LoginWithAccount": "oder melden Sie sich ein:", "PassworResetTitle": "Jetzt können Sie ein neues Kennwort erstellen." -} \ No newline at end of file +} diff --git a/web/ASC.Web.Client/public/locales/en/Confirm.json b/web/ASC.Web.Client/public/locales/en/Confirm.json index 235104ab18..89b474bb74 100644 --- a/web/ASC.Web.Client/public/locales/en/Confirm.json +++ b/web/ASC.Web.Client/public/locales/en/Confirm.json @@ -1,6 +1,6 @@ { "ChangePasswordSuccess": "Password has been successfully changed", - "ConfirmOwnerPortalSuccessMessage": "Portal owner has been successfully changed. {0}In 10 seconds you will be redirected {1}here{2}", + "ConfirmOwnerPortalSuccessMessage": "Portal owner has been successfully changed. In 10 seconds you will be redirected", "ConfirmOwnerPortalTitle": "Please confirm that you want to change portal owner to {{newOwner}}", "DeleteProfileBtn": "Delete my account", "DeleteProfileConfirmation": "Attention! You are about to delete your account.", @@ -13,4 +13,4 @@ "LoginRegistryButton": "Join", "LoginWithAccount": "or log in with:", "PassworResetTitle": "Now you can create a new password." -} \ No newline at end of file +} diff --git a/web/ASC.Web.Client/public/locales/fr/Confirm.json b/web/ASC.Web.Client/public/locales/fr/Confirm.json index ba13a1c85a..51251abf30 100644 --- a/web/ASC.Web.Client/public/locales/fr/Confirm.json +++ b/web/ASC.Web.Client/public/locales/fr/Confirm.json @@ -1,6 +1,6 @@ { "ChangePasswordSuccess": "Le mot de passe a bien été modifié", - "ConfirmOwnerPortalSuccessMessage": "Le propriétaire du portail a été changé avec succès. {0} Dans 10 secondes, vous serez redirigé {1} ici {2}", + "ConfirmOwnerPortalSuccessMessage": "Le propriétaire du portail a été changé avec succès. Dans 10 secondes, vous serez redirigé.", "ConfirmOwnerPortalTitle": "Veuillez confirmer le changement de propriétaire. Nouveau propriétaire : {{newOwner}}", "DeleteProfileBtn": "Supprimer mon compte", "DeleteProfileConfirmation": "Attention ! Vous êtes sur le point de supprimer ce compte.", @@ -13,4 +13,4 @@ "LoginRegistryButton": "S'inscrire", "LoginWithAccount": "ou connectez-vous avec :", "PassworResetTitle": "Maintenant, vous pouvez créer un nouveau mot de passe." -} \ No newline at end of file +} diff --git a/web/ASC.Web.Client/public/locales/it/Confirm.json b/web/ASC.Web.Client/public/locales/it/Confirm.json index 7ab85f0310..fb68c35aff 100644 --- a/web/ASC.Web.Client/public/locales/it/Confirm.json +++ b/web/ASC.Web.Client/public/locales/it/Confirm.json @@ -1,6 +1,6 @@ { "ChangePasswordSuccess": "La password è stata cambiata con successo", - "ConfirmOwnerPortalSuccessMessage": "Il proprietario del portale è stato cambiato con successo. {0}Tra 10 secondi verrai reindirizzato{1}qui{2}", + "ConfirmOwnerPortalSuccessMessage": "Il proprietario del portale è stato cambiato con successo. Tra 10 secondi verrai reindirizzato.", "ConfirmOwnerPortalTitle": "Conferma di voler cambiare il proprietario del portale in {{newOwner}}", "DeleteProfileBtn": "Cancella il mio account", "DeleteProfileConfirmation": "Attenzione! Stai per eliminare il tuo account.", @@ -13,4 +13,4 @@ "LoginRegistryButton": "Registrati", "LoginWithAccount": "oppure accedi con:", "PassworResetTitle": "Ora puoi creare una nuova password." -} \ No newline at end of file +} diff --git a/web/ASC.Web.Client/public/locales/lo/Confirm.json b/web/ASC.Web.Client/public/locales/lo/Confirm.json index 2f16cc85ed..3213c506e1 100644 --- a/web/ASC.Web.Client/public/locales/lo/Confirm.json +++ b/web/ASC.Web.Client/public/locales/lo/Confirm.json @@ -1,6 +1,6 @@ { "ChangePasswordSuccess": "ລະຫັດຜ່ານໄດ້ຖືກປ່ຽນແລ້ວ", - "ConfirmOwnerPortalSuccessMessage": "ປ່ຽນເຈົ້າຂອງ Portal ສຳເລັດ. {0} ໃນ 10 ວິນາທີທ່ານຈະໄດ້ຮັບການປ່ຽນເສັ້ນທາງ {1}ທີ່ນີ້{2}", + "ConfirmOwnerPortalSuccessMessage": "ປ່ຽນເຈົ້າຂອງ Portal ສຳເລັດ. ໃນ 10 ວິນາທີທ່ານຈະໄດ້ຮັບການປ່ຽນເສັ້ນທາງ.", "ConfirmOwnerPortalTitle": "ກະລຸນາຢືນຢັນວ່າທ່ານຕ້ອງການທີ່ຈະປ່ຽນຜູ້ໃຊ້ເກົ່າ portal owner ເປັນ {{ຜູ້ໃຊ້ໃຫມ່}}", "DeleteProfileBtn": "ລຶບບັນຊີຂອງຂ້ອຍ", "DeleteProfileConfirmation": "ຮຽນທ່ານ!ກ່ຽວກັບການລຶບບັນຊີຂອງທ່ານ", @@ -13,4 +13,4 @@ "LoginRegistryButton": "ເຂົ້າຮ່ວມ", "LoginWithAccount": "ຫຼື ເຂົ້າລະບົບດ້ວຍ:", "PassworResetTitle": "ຕອນນີ້ທ່ານສາມາດສ້າງລະຫັດຜ່ານໃຫມ່ໄດ້." -} \ No newline at end of file +} diff --git a/web/ASC.Web.Client/public/locales/pt-BR/Confirm.json b/web/ASC.Web.Client/public/locales/pt-BR/Confirm.json index fc5f5ed340..b7814224a5 100644 --- a/web/ASC.Web.Client/public/locales/pt-BR/Confirm.json +++ b/web/ASC.Web.Client/public/locales/pt-BR/Confirm.json @@ -1,6 +1,6 @@ { "ChangePasswordSuccess": "A senha foi alterada com sucesso", - "ConfirmOwnerPortalSuccessMessage": "Proprietário portal foi alterado com sucesso. {0}Em 10 segundos você será redirecionado {1}aqui{2}", + "ConfirmOwnerPortalSuccessMessage": "Proprietário portal foi alterado com sucesso. Em 10 segundos você será redirecionado.", "ConfirmOwnerPortalTitle": "Por favor, confirme que você deseja mudar o proprietário do portal para {{newOwner}}", "DeleteProfileBtn": "Apagar minha conta", "DeleteProfileConfirmation": "Atenção! Você está prestes a apagar sua conta.", @@ -13,4 +13,4 @@ "LoginRegistryButton": "Aderir", "LoginWithAccount": "ou fazer login com:", "PassworResetTitle": "Agora você pode criar uma nova senha." -} \ No newline at end of file +} diff --git a/web/ASC.Web.Client/public/locales/ro/Confirm.json b/web/ASC.Web.Client/public/locales/ro/Confirm.json index d7bd20d6f1..44d726f524 100644 --- a/web/ASC.Web.Client/public/locales/ro/Confirm.json +++ b/web/ASC.Web.Client/public/locales/ro/Confirm.json @@ -1,6 +1,6 @@ { "ChangePasswordSuccess": "Parola a fost schimbată cu succes", - "ConfirmOwnerPortalSuccessMessage": "Proprietarul portalului a fost schimbat cu succes. {0}Veţi fi redirecţionaţi automat după 10 secunde {1}aici{2}", + "ConfirmOwnerPortalSuccessMessage": "Proprietarul portalului a fost schimbat cu succes. Veţi fi redirecţionaţi automat după 10 secunde.", "ConfirmOwnerPortalTitle": "Confirmați dacă doriți să schimbați proprietarul portalului în {{newOwner}}", "DeleteProfileBtn": "Șterge contul meu", "DeleteProfileConfirmation": "Atenție! Dumneavoastră sunteți pe cale de a șterge contul dvs.", @@ -13,4 +13,4 @@ "LoginRegistryButton": "Înregistrați-vă", "LoginWithAccount": "sau conectați-vă prin:", "PassworResetTitle": "Acum puteți crea o parolă nouă" -} \ No newline at end of file +} diff --git a/web/ASC.Web.Client/public/locales/ru/Confirm.json b/web/ASC.Web.Client/public/locales/ru/Confirm.json index 35081d9a4f..7181e21f37 100644 --- a/web/ASC.Web.Client/public/locales/ru/Confirm.json +++ b/web/ASC.Web.Client/public/locales/ru/Confirm.json @@ -1,6 +1,6 @@ { "ChangePasswordSuccess": "Пароль был успешно изменен", - "ConfirmOwnerPortalSuccessMessage": "Portal owner has been successfully changed. {0}In 10 seconds you will be redirected {1}here{2}", + "ConfirmOwnerPortalSuccessMessage": "Владелец портала успешно изменен. Через 10 секунд Вы будете перенаправлены.", "ConfirmOwnerPortalTitle": "Пожалуйста, подтвердите, что Вы хотите изменить владельца портала на {{newOwner}}", "DeleteProfileBtn": "Удалить мой аккаунт", "DeleteProfileConfirmation": "Внимание! Вы собираетесь удалить свою учетную запись.", @@ -13,4 +13,4 @@ "LoginRegistryButton": "Присоединиться", "LoginWithAccount": "или войдите с:", "PassworResetTitle": "Теперь вы можете создать новый пароль." -} \ No newline at end of file +} diff --git a/web/ASC.Web.Client/src/components/pages/Confirm/sub-components/changeOwner.js b/web/ASC.Web.Client/src/components/pages/Confirm/sub-components/changeOwner.js index 461325f708..5147be8eee 100644 --- a/web/ASC.Web.Client/src/components/pages/Confirm/sub-components/changeOwner.js +++ b/web/ASC.Web.Client/src/components/pages/Confirm/sub-components/changeOwner.js @@ -56,7 +56,7 @@ class Form extends React.PureComponent { onAcceptClick = () => { this.setState({ showButtons: false }); - toastr.success("Accept click"); + toastr.success(t("ConfirmOwnerPortalSuccessMessage")); setTimeout(this.onRedirect, 10000); };