Web: Changed translation.

This commit is contained in:
Tatiana Lopaeva 2022-11-07 10:43:32 +03:00
parent dbd34303f1
commit 7073fc2fce
3 changed files with 28 additions and 22 deletions

View File

@ -38,7 +38,7 @@
"SendRequest": "Send request", "SendRequest": "Send request",
"TotalPricePerMonth": "<1>{{currencySymbol}}</1><2>{{price}}</2><3>/month</3>", "TotalPricePerMonth": "<1>{{currencySymbol}}</1><2>{{price}}</2><3>/month</3>",
"UpgradeNow": "Upgrade now", "UpgradeNow": "Upgrade now",
"UserNotFound": "User <1>«{{email}}»</1> is not found", "UserNotFound": "User <1>{{email}}</1> is not found",
"YourPrice": "Your price", "YourPrice": "Your price",
"PaymentOverdue": "Cannot add new users.", "PaymentOverdue": "Cannot add new users.",
"BusinessPlanPaymentOverdue": "Cannot add new users. Business plan payment overdue", "BusinessPlanPaymentOverdue": "Cannot add new users. Business plan payment overdue",

View File

@ -37,6 +37,6 @@
"SendRequest": "Отправить запрос", "SendRequest": "Отправить запрос",
"TotalPricePerMonth": "<1>{{currencySymbol}}</1><2>{{price}}</2><3>/месяц</3>", "TotalPricePerMonth": "<1>{{currencySymbol}}</1><2>{{price}}</2><3>/месяц</3>",
"UpgradeNow": "Обновить прямо сейчас", "UpgradeNow": "Обновить прямо сейчас",
"UserNotFound": "Пользователь <1>«{{email}}»</1> не найден", "UserNotFound": "Пользователь <1>{{email}}</1> не найден",
"YourPrice": "Ваша стоимость" "YourPrice": "Ваша стоимость"
} }

View File

@ -130,7 +130,12 @@ const PayerInformationContainer = ({
</> </>
); );
const payerName = ( const payerName = () => {
let emailUnfoundedUser = email;
if (email) emailUnfoundedUser = "«" + emailUnfoundedUser + "»";
return (
<Text as="span" fontWeight={600} noSelect fontSize={"14px"}> <Text as="span" fontWeight={600} noSelect fontSize={"14px"}>
{payerInfo ? ( {payerInfo ? (
payerInfo.displayName payerInfo.displayName
@ -142,13 +147,14 @@ const PayerInformationContainer = ({
color={theme.client.settings.payment.warningColor} color={theme.client.settings.payment.warningColor}
fontWeight={600} fontWeight={600}
> >
{{ email }} {{ email: emailUnfoundedUser }}
</Text> </Text>
is not found is not found
</Trans> </Trans>
)} )}
</Text> </Text>
); );
};
const avatarUrl = payerInfo ? { source: payerInfo.avatar } : {}; const avatarUrl = payerInfo ? { source: payerInfo.avatar } : {};
@ -165,7 +171,7 @@ const PayerInformationContainer = ({
<div className="payer-info_wrapper"> <div className="payer-info_wrapper">
<div className="payer-info_description"> <div className="payer-info_description">
{payerName} {payerName()}
<Text as="span" className="payer-info"> <Text as="span" className="payer-info">
{" (" + t("Payer") + ") "} {" (" + t("Payer") + ") "}