Web: moved translationKeys "Enable", "ProviderLoginError", "ProviderNotConnected"

This commit is contained in:
Nikita Gopienko 2021-05-26 13:35:11 +03:00
parent 5e6a7a8a20
commit 49bf2618d2
19 changed files with 26 additions and 29 deletions

View File

@ -8,7 +8,6 @@
"ClearButton": "Filter zurücksetzen",
"DisableUserButton": "Deaktivieren",
"EmptyGroupDescription": "Sie können neue Teammitglieder manuell oder über den Link einladen.",
"EnableUserButton": "Aktivieren",
"LblActive": "Aktiv",
"LblInviteAgain": "Erneut einladen",
"LblInvited": "Eingeladen",

View File

@ -8,7 +8,6 @@
"EditPhoto": "Bild bearbeiten",
"EditSubscriptionsBtn": "Abonnements bearbeiten",
"EditUserDialogTitle": "Profil bearbeiten",
"EnableUserButton": "Aktivieren",
"Error": "Fehler",
"ErrorUnknownFileImageType": "Unbekannter Bilddateityp",
"FemaleSexStatus": "Weiblich",

View File

@ -13,5 +13,6 @@
"NotBeUndone": "Dies kann nicht rückgängig gemacht werden.",
"ReassignData": "Daten erneut zuweisen",
"SuccessChangeUserStatus": "Der Benutzerstatus war erfolgreich geändert",
"SendInviteAgain": "Einladung erneut senden"
"SendInviteAgain": "Einladung erneut senden",
"EnableUserButton": "Aktivieren"
}

View File

@ -2,7 +2,6 @@
"LblSendEmail": "Send email",
"LblSendMessage": "Send message",
"DisableUserButton": "Disable",
"EnableUserButton": "Enable",
"NotFoundDescription": "Try a different filter or clear it to view all people in the section.",
"NotFoundTitle": "No teammates found",
"ClearButton": "Clear filter",

View File

@ -10,7 +10,6 @@
"EditPhoto": "Edit photo",
"EditSubscriptionsBtn": "Edit subscriptions",
"EditUserDialogTitle": "Edit profile",
"EnableUserButton": "Enable",
"Error": "Error",
"ErrorUnknownFileImageType": "Unknown image file type",
"FemaleSexStatus": "Female",

View File

@ -13,5 +13,6 @@
"NotBeUndone": "Note: this action can\u0027t be undone.",
"ReassignData": "Reassign data",
"SuccessChangeUserStatus": "The user status was successfully changed",
"SendInviteAgain": "Send invitation once again"
"SendInviteAgain": "Send invitation once again",
"EnableUserButton": "Enable"
}

View File

@ -2,7 +2,6 @@
"LblSendEmail": "Отправить email",
"LblSendMessage": "Отправить сообщение",
"DisableUserButton": "Заблокировать",
"EnableUserButton": "Разблокировать",
"NotFoundDescription": "Попробуйте изменить или очистить настройки фильтра, чтобы увидеть всех людей в разделе.",
"NotFoundTitle": "Сотрудников не найдено",
"ClearButton": "Очистить фильтр",

View File

@ -10,7 +10,6 @@
"EditPhoto": "Изменить фотографию",
"EditSubscriptionsBtn": "Изменить подписки",
"EditUserDialogTitle": "Редактировать",
"EnableUserButton": "Разблокировать",
"Error": "Ошибка",
"ErrorUnknownFileImageType": "Неизвестный тип файла изображения",
"FemaleSexStatus": "Женский",

View File

@ -13,5 +13,6 @@
"NotBeUndone": "Внимание: это действие необратимо.",
"ReassignData": "Передать данные",
"SuccessChangeUserStatus": "Статус пользователя успешно изменен",
"SendInviteAgain": "Отправить приглашение ещё раз"
"SendInviteAgain": "Отправить приглашение ещё раз",
"EnableUserButton": "Разблокировать"
}

View File

@ -207,7 +207,7 @@ const SimpleUserRow = ({
case "enable":
return {
key: option,
label: t("EnableUserButton"),
label: t("Translations:EnableUserButton"),
"data-id": id,
onClick: onEnableClick,
};

View File

@ -346,7 +346,7 @@ class SectionHeaderContent extends React.PureComponent {
return [
{
key: "enable",
label: t("EnableUserButton"),
label: t("Translations:EnableUserButton"),
onClick: this.onEnableClick,
},
{
@ -386,7 +386,7 @@ class SectionHeaderContent extends React.PureComponent {
}
: {
key: "enable",
label: t("EnableUserButton"),
label: t("Translations:EnableUserButton"),
onClick: this.onEnableClick,
}),
isMe && {

View File

@ -56,5 +56,6 @@
"Delete": "Löschen",
"Enable": "Aktivieren",
"SelectAll": "Alle auswählen",
"Download": "Herunterladen"
}
"Download": "Herunterladen",
"ProviderLoginError": "Authorization error"
}

View File

@ -56,5 +56,7 @@
"Delete": "Delete",
"Enable": "Enable",
"SelectAll": "Select all",
"Download": "Download"
}
"Download": "Download",
"ProviderLoginError": "Authorization error",
"ProviderNotConnected": "Provider is not connected to your account"
}

View File

@ -56,5 +56,7 @@
"Delete": "Удалить",
"Enable": "Включить",
"SelectAll": "Выбрать все",
"Download": "Скачать"
}
"Download": "Скачать",
"ProviderLoginError": "Ошибка авторизации",
"ProviderNotConnected": "Провайдер не подключен к вашему аккаунту"
}

View File

@ -14,7 +14,5 @@
"LastName": "Last Name",
"LoginRegistryButton": "Join",
"LoginWithAccount": "or log in with:",
"PassworResetTitle": "Now you can create a new password.",
"ProviderLoginError": "Authorization error",
"ProviderNotConnected": "Provider is not connected to your account"
"PassworResetTitle": "Now you can create a new password."
}

View File

@ -9,7 +9,5 @@
"LastName": "Фамилия",
"LoginRegistryButton": "Присоединиться",
"LoginWithAccount": "или войдите с:",
"PassworResetTitle": "Теперь вы можете создать новый пароль.",
"ProviderLoginError": "Ошибка авторизации",
"ProviderNotConnected": "Провайдер не подключен к вашему аккаунту"
"PassworResetTitle": "Теперь вы можете создать новый пароль."
}

View File

@ -9,8 +9,6 @@
"Or": "OR",
"PasswordRecoveryPlaceholder": "Your registration email",
"PasswordRecoveryTitle": "Password recovery",
"ProviderLoginError": "Authorization error",
"ProviderNotConnected": "Provider is not connected to your account",
"Register": "Register",
"RegisterPlaceholder": "Your registration email",
"RegisterSendButton": "Send request",

View File

@ -9,8 +9,6 @@
"Or": "ИЛИ",
"PasswordRecoveryPlaceholder": "Ваш регистрационный email",
"PasswordRecoveryTitle": "Восстановление пароля",
"ProviderLoginError": "Ошибка авторизации",
"ProviderNotConnected": "Провайдер не подключен к вашему аккаунту",
"Register": "Регистрация",
"RegisterPlaceholder": "Ваш регистрационный email",
"RegisterSendButton": "Отправить запрос",

View File

@ -212,7 +212,10 @@ const Form = (props) => {
history.push(defaultPage);
})
.catch(() => {
toastr.error(t("ProviderNotConnected"), t("ProviderLoginError"));
toastr.error(
t("Common:ProviderNotConnected"),
t("Common:ProviderLoginError")
);
});
};