Web: moved translationKeys "Enable", "ProviderLoginError", "ProviderNotConnected"
This commit is contained in:
parent
5e6a7a8a20
commit
49bf2618d2
@ -8,7 +8,6 @@
|
|||||||
"ClearButton": "Filter zurücksetzen",
|
"ClearButton": "Filter zurücksetzen",
|
||||||
"DisableUserButton": "Deaktivieren",
|
"DisableUserButton": "Deaktivieren",
|
||||||
"EmptyGroupDescription": "Sie können neue Teammitglieder manuell oder über den Link einladen.",
|
"EmptyGroupDescription": "Sie können neue Teammitglieder manuell oder über den Link einladen.",
|
||||||
"EnableUserButton": "Aktivieren",
|
|
||||||
"LblActive": "Aktiv",
|
"LblActive": "Aktiv",
|
||||||
"LblInviteAgain": "Erneut einladen",
|
"LblInviteAgain": "Erneut einladen",
|
||||||
"LblInvited": "Eingeladen",
|
"LblInvited": "Eingeladen",
|
||||||
|
@ -8,7 +8,6 @@
|
|||||||
"EditPhoto": "Bild bearbeiten",
|
"EditPhoto": "Bild bearbeiten",
|
||||||
"EditSubscriptionsBtn": "Abonnements bearbeiten",
|
"EditSubscriptionsBtn": "Abonnements bearbeiten",
|
||||||
"EditUserDialogTitle": "Profil bearbeiten",
|
"EditUserDialogTitle": "Profil bearbeiten",
|
||||||
"EnableUserButton": "Aktivieren",
|
|
||||||
"Error": "Fehler",
|
"Error": "Fehler",
|
||||||
"ErrorUnknownFileImageType": "Unbekannter Bilddateityp",
|
"ErrorUnknownFileImageType": "Unbekannter Bilddateityp",
|
||||||
"FemaleSexStatus": "Weiblich",
|
"FemaleSexStatus": "Weiblich",
|
||||||
|
@ -13,5 +13,6 @@
|
|||||||
"NotBeUndone": "Dies kann nicht rückgängig gemacht werden.",
|
"NotBeUndone": "Dies kann nicht rückgängig gemacht werden.",
|
||||||
"ReassignData": "Daten erneut zuweisen",
|
"ReassignData": "Daten erneut zuweisen",
|
||||||
"SuccessChangeUserStatus": "Der Benutzerstatus war erfolgreich geändert",
|
"SuccessChangeUserStatus": "Der Benutzerstatus war erfolgreich geändert",
|
||||||
"SendInviteAgain": "Einladung erneut senden"
|
"SendInviteAgain": "Einladung erneut senden",
|
||||||
|
"EnableUserButton": "Aktivieren"
|
||||||
}
|
}
|
||||||
|
@ -2,7 +2,6 @@
|
|||||||
"LblSendEmail": "Send email",
|
"LblSendEmail": "Send email",
|
||||||
"LblSendMessage": "Send message",
|
"LblSendMessage": "Send message",
|
||||||
"DisableUserButton": "Disable",
|
"DisableUserButton": "Disable",
|
||||||
"EnableUserButton": "Enable",
|
|
||||||
"NotFoundDescription": "Try a different filter or clear it to view all people in the section.",
|
"NotFoundDescription": "Try a different filter or clear it to view all people in the section.",
|
||||||
"NotFoundTitle": "No teammates found",
|
"NotFoundTitle": "No teammates found",
|
||||||
"ClearButton": "Clear filter",
|
"ClearButton": "Clear filter",
|
||||||
|
@ -10,7 +10,6 @@
|
|||||||
"EditPhoto": "Edit photo",
|
"EditPhoto": "Edit photo",
|
||||||
"EditSubscriptionsBtn": "Edit subscriptions",
|
"EditSubscriptionsBtn": "Edit subscriptions",
|
||||||
"EditUserDialogTitle": "Edit profile",
|
"EditUserDialogTitle": "Edit profile",
|
||||||
"EnableUserButton": "Enable",
|
|
||||||
"Error": "Error",
|
"Error": "Error",
|
||||||
"ErrorUnknownFileImageType": "Unknown image file type",
|
"ErrorUnknownFileImageType": "Unknown image file type",
|
||||||
"FemaleSexStatus": "Female",
|
"FemaleSexStatus": "Female",
|
||||||
|
@ -13,5 +13,6 @@
|
|||||||
"NotBeUndone": "Note: this action can\u0027t be undone.",
|
"NotBeUndone": "Note: this action can\u0027t be undone.",
|
||||||
"ReassignData": "Reassign data",
|
"ReassignData": "Reassign data",
|
||||||
"SuccessChangeUserStatus": "The user status was successfully changed",
|
"SuccessChangeUserStatus": "The user status was successfully changed",
|
||||||
"SendInviteAgain": "Send invitation once again"
|
"SendInviteAgain": "Send invitation once again",
|
||||||
|
"EnableUserButton": "Enable"
|
||||||
}
|
}
|
||||||
|
@ -2,7 +2,6 @@
|
|||||||
"LblSendEmail": "Отправить email",
|
"LblSendEmail": "Отправить email",
|
||||||
"LblSendMessage": "Отправить сообщение",
|
"LblSendMessage": "Отправить сообщение",
|
||||||
"DisableUserButton": "Заблокировать",
|
"DisableUserButton": "Заблокировать",
|
||||||
"EnableUserButton": "Разблокировать",
|
|
||||||
"NotFoundDescription": "Попробуйте изменить или очистить настройки фильтра, чтобы увидеть всех людей в разделе.",
|
"NotFoundDescription": "Попробуйте изменить или очистить настройки фильтра, чтобы увидеть всех людей в разделе.",
|
||||||
"NotFoundTitle": "Сотрудников не найдено",
|
"NotFoundTitle": "Сотрудников не найдено",
|
||||||
"ClearButton": "Очистить фильтр",
|
"ClearButton": "Очистить фильтр",
|
||||||
|
@ -10,7 +10,6 @@
|
|||||||
"EditPhoto": "Изменить фотографию",
|
"EditPhoto": "Изменить фотографию",
|
||||||
"EditSubscriptionsBtn": "Изменить подписки",
|
"EditSubscriptionsBtn": "Изменить подписки",
|
||||||
"EditUserDialogTitle": "Редактировать",
|
"EditUserDialogTitle": "Редактировать",
|
||||||
"EnableUserButton": "Разблокировать",
|
|
||||||
"Error": "Ошибка",
|
"Error": "Ошибка",
|
||||||
"ErrorUnknownFileImageType": "Неизвестный тип файла изображения",
|
"ErrorUnknownFileImageType": "Неизвестный тип файла изображения",
|
||||||
"FemaleSexStatus": "Женский",
|
"FemaleSexStatus": "Женский",
|
||||||
|
@ -13,5 +13,6 @@
|
|||||||
"NotBeUndone": "Внимание: это действие необратимо.",
|
"NotBeUndone": "Внимание: это действие необратимо.",
|
||||||
"ReassignData": "Передать данные",
|
"ReassignData": "Передать данные",
|
||||||
"SuccessChangeUserStatus": "Статус пользователя успешно изменен",
|
"SuccessChangeUserStatus": "Статус пользователя успешно изменен",
|
||||||
"SendInviteAgain": "Отправить приглашение ещё раз"
|
"SendInviteAgain": "Отправить приглашение ещё раз",
|
||||||
|
"EnableUserButton": "Разблокировать"
|
||||||
}
|
}
|
||||||
|
@ -207,7 +207,7 @@ const SimpleUserRow = ({
|
|||||||
case "enable":
|
case "enable":
|
||||||
return {
|
return {
|
||||||
key: option,
|
key: option,
|
||||||
label: t("EnableUserButton"),
|
label: t("Translations:EnableUserButton"),
|
||||||
"data-id": id,
|
"data-id": id,
|
||||||
onClick: onEnableClick,
|
onClick: onEnableClick,
|
||||||
};
|
};
|
||||||
|
@ -346,7 +346,7 @@ class SectionHeaderContent extends React.PureComponent {
|
|||||||
return [
|
return [
|
||||||
{
|
{
|
||||||
key: "enable",
|
key: "enable",
|
||||||
label: t("EnableUserButton"),
|
label: t("Translations:EnableUserButton"),
|
||||||
onClick: this.onEnableClick,
|
onClick: this.onEnableClick,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -386,7 +386,7 @@ class SectionHeaderContent extends React.PureComponent {
|
|||||||
}
|
}
|
||||||
: {
|
: {
|
||||||
key: "enable",
|
key: "enable",
|
||||||
label: t("EnableUserButton"),
|
label: t("Translations:EnableUserButton"),
|
||||||
onClick: this.onEnableClick,
|
onClick: this.onEnableClick,
|
||||||
}),
|
}),
|
||||||
isMe && {
|
isMe && {
|
||||||
|
@ -56,5 +56,6 @@
|
|||||||
"Delete": "Löschen",
|
"Delete": "Löschen",
|
||||||
"Enable": "Aktivieren",
|
"Enable": "Aktivieren",
|
||||||
"SelectAll": "Alle auswählen",
|
"SelectAll": "Alle auswählen",
|
||||||
"Download": "Herunterladen"
|
"Download": "Herunterladen",
|
||||||
}
|
"ProviderLoginError": "Authorization error"
|
||||||
|
}
|
||||||
|
@ -56,5 +56,7 @@
|
|||||||
"Delete": "Delete",
|
"Delete": "Delete",
|
||||||
"Enable": "Enable",
|
"Enable": "Enable",
|
||||||
"SelectAll": "Select all",
|
"SelectAll": "Select all",
|
||||||
"Download": "Download"
|
"Download": "Download",
|
||||||
}
|
"ProviderLoginError": "Authorization error",
|
||||||
|
"ProviderNotConnected": "Provider is not connected to your account"
|
||||||
|
}
|
||||||
|
@ -56,5 +56,7 @@
|
|||||||
"Delete": "Удалить",
|
"Delete": "Удалить",
|
||||||
"Enable": "Включить",
|
"Enable": "Включить",
|
||||||
"SelectAll": "Выбрать все",
|
"SelectAll": "Выбрать все",
|
||||||
"Download": "Скачать"
|
"Download": "Скачать",
|
||||||
}
|
"ProviderLoginError": "Ошибка авторизации",
|
||||||
|
"ProviderNotConnected": "Провайдер не подключен к вашему аккаунту"
|
||||||
|
}
|
||||||
|
@ -14,7 +14,5 @@
|
|||||||
"LastName": "Last Name",
|
"LastName": "Last Name",
|
||||||
"LoginRegistryButton": "Join",
|
"LoginRegistryButton": "Join",
|
||||||
"LoginWithAccount": "or log in with:",
|
"LoginWithAccount": "or log in with:",
|
||||||
"PassworResetTitle": "Now you can create a new password.",
|
"PassworResetTitle": "Now you can create a new password."
|
||||||
"ProviderLoginError": "Authorization error",
|
|
||||||
"ProviderNotConnected": "Provider is not connected to your account"
|
|
||||||
}
|
}
|
||||||
|
@ -9,7 +9,5 @@
|
|||||||
"LastName": "Фамилия",
|
"LastName": "Фамилия",
|
||||||
"LoginRegistryButton": "Присоединиться",
|
"LoginRegistryButton": "Присоединиться",
|
||||||
"LoginWithAccount": "или войдите с:",
|
"LoginWithAccount": "или войдите с:",
|
||||||
"PassworResetTitle": "Теперь вы можете создать новый пароль.",
|
"PassworResetTitle": "Теперь вы можете создать новый пароль."
|
||||||
"ProviderLoginError": "Ошибка авторизации",
|
|
||||||
"ProviderNotConnected": "Провайдер не подключен к вашему аккаунту"
|
|
||||||
}
|
}
|
||||||
|
@ -9,8 +9,6 @@
|
|||||||
"Or": "OR",
|
"Or": "OR",
|
||||||
"PasswordRecoveryPlaceholder": "Your registration email",
|
"PasswordRecoveryPlaceholder": "Your registration email",
|
||||||
"PasswordRecoveryTitle": "Password recovery",
|
"PasswordRecoveryTitle": "Password recovery",
|
||||||
"ProviderLoginError": "Authorization error",
|
|
||||||
"ProviderNotConnected": "Provider is not connected to your account",
|
|
||||||
"Register": "Register",
|
"Register": "Register",
|
||||||
"RegisterPlaceholder": "Your registration email",
|
"RegisterPlaceholder": "Your registration email",
|
||||||
"RegisterSendButton": "Send request",
|
"RegisterSendButton": "Send request",
|
||||||
|
@ -9,8 +9,6 @@
|
|||||||
"Or": "ИЛИ",
|
"Or": "ИЛИ",
|
||||||
"PasswordRecoveryPlaceholder": "Ваш регистрационный email",
|
"PasswordRecoveryPlaceholder": "Ваш регистрационный email",
|
||||||
"PasswordRecoveryTitle": "Восстановление пароля",
|
"PasswordRecoveryTitle": "Восстановление пароля",
|
||||||
"ProviderLoginError": "Ошибка авторизации",
|
|
||||||
"ProviderNotConnected": "Провайдер не подключен к вашему аккаунту",
|
|
||||||
"Register": "Регистрация",
|
"Register": "Регистрация",
|
||||||
"RegisterPlaceholder": "Ваш регистрационный email",
|
"RegisterPlaceholder": "Ваш регистрационный email",
|
||||||
"RegisterSendButton": "Отправить запрос",
|
"RegisterSendButton": "Отправить запрос",
|
||||||
|
@ -212,7 +212,10 @@ const Form = (props) => {
|
|||||||
history.push(defaultPage);
|
history.push(defaultPage);
|
||||||
})
|
})
|
||||||
.catch(() => {
|
.catch(() => {
|
||||||
toastr.error(t("ProviderNotConnected"), t("ProviderLoginError"));
|
toastr.error(
|
||||||
|
t("Common:ProviderNotConnected"),
|
||||||
|
t("Common:ProviderLoginError")
|
||||||
|
);
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user