Web: Changed translation.
This commit is contained in:
parent
dbd34303f1
commit
7073fc2fce
@ -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",
|
||||||
|
@ -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": "Ваша стоимость"
|
||||||
}
|
}
|
||||||
|
@ -130,25 +130,31 @@ const PayerInformationContainer = ({
|
|||||||
</>
|
</>
|
||||||
);
|
);
|
||||||
|
|
||||||
const payerName = (
|
const payerName = () => {
|
||||||
<Text as="span" fontWeight={600} noSelect fontSize={"14px"}>
|
let emailUnfoundedUser = email;
|
||||||
{payerInfo ? (
|
|
||||||
payerInfo.displayName
|
if (email) emailUnfoundedUser = "«" + emailUnfoundedUser + "»";
|
||||||
) : (
|
|
||||||
<Trans t={t} i18nKey="UserNotFound" ns="Payments">
|
return (
|
||||||
User
|
<Text as="span" fontWeight={600} noSelect fontSize={"14px"}>
|
||||||
<Text
|
{payerInfo ? (
|
||||||
as="span"
|
payerInfo.displayName
|
||||||
color={theme.client.settings.payment.warningColor}
|
) : (
|
||||||
fontWeight={600}
|
<Trans t={t} i18nKey="UserNotFound" ns="Payments">
|
||||||
>
|
User
|
||||||
{{ email }}
|
<Text
|
||||||
</Text>
|
as="span"
|
||||||
is not found
|
color={theme.client.settings.payment.warningColor}
|
||||||
</Trans>
|
fontWeight={600}
|
||||||
)}
|
>
|
||||||
</Text>
|
{{ email: emailUnfoundedUser }}
|
||||||
);
|
</Text>
|
||||||
|
is not found
|
||||||
|
</Trans>
|
||||||
|
)}
|
||||||
|
</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") + ") "}
|
||||||
|
Loading…
Reference in New Issue
Block a user