Fix translation MessageEmailActivationInstuctionsSentOnEmail key

This commit is contained in:
Alexey Safronov 2023-11-16 12:41:15 +04:00
parent ec8d56951b
commit b185b5a7cc
3 changed files with 8 additions and 6 deletions

View File

@ -1,6 +1,5 @@
{
"LblInviteAgain": "ادعوه مرة أخرى",
"MessageEmailActivationInstuctionsSentOnEmail": "The email activation instructions have been sent to the <strong>{{email}}</strong> email address.",
"NotFoundUsers": "لم يتم العثور على مستخدمين",
"UserStatus": "الحالة"
}

View File

@ -1,6 +1,6 @@
{
"LblInviteAgain": "Invite again",
"MessageEmailActivationInstuctionsSentOnEmail": "The email activation instructions have been sent to the <strong>{{email}}</strong> email address.",
"MessageEmailActivationInstuctionsSentOnEmail": "The email activation instructions have been sent to the <1>{{email}}</1> email address.",
"NotFoundUsers": "No users found",
"NotFoundUsersDescription": "No users match your search. Please adjust your search parameters or clear the search field to view the full list of users.",
"UserStatus": "Status"

View File

@ -156,9 +156,12 @@ export function toEmployeeWrapper(profile) {
export const showEmailActivationToast = (email) => {
//console.log("showEmailActivationToast", { email });
toastr.success(
<Trans i18nKey="MessageEmailActivationInstuctionsSentOnEmail" ns="People">
The email activation instructions have been sent to the{" "}
<strong>{{ email }}</strong> email address
</Trans>
<Trans
i18nKey="MessageEmailActivationInstuctionsSentOnEmail"
ns="People"
defaults="The email activation instructions have been sent to the <strong>{{email}}</strong> email address"
values={{ email }}
components={{ 1: <strong /> }}
/>
);
};