Web: Changed translation.
This commit is contained in:
parent
dbd34303f1
commit
7073fc2fce
@ -38,7 +38,7 @@
|
||||
"SendRequest": "Send request",
|
||||
"TotalPricePerMonth": "<1>{{currencySymbol}}</1><2>{{price}}</2><3>/month</3>",
|
||||
"UpgradeNow": "Upgrade now",
|
||||
"UserNotFound": "User <1>«{{email}}»</1> is not found",
|
||||
"UserNotFound": "User <1>{{email}}</1> is not found",
|
||||
"YourPrice": "Your price",
|
||||
"PaymentOverdue": "Cannot add new users.",
|
||||
"BusinessPlanPaymentOverdue": "Cannot add new users. Business plan payment overdue",
|
||||
|
@ -37,6 +37,6 @@
|
||||
"SendRequest": "Отправить запрос",
|
||||
"TotalPricePerMonth": "<1>{{currencySymbol}}</1><2>{{price}}</2><3>/месяц</3>",
|
||||
"UpgradeNow": "Обновить прямо сейчас",
|
||||
"UserNotFound": "Пользователь <1>«{{email}}»</1> не найден",
|
||||
"UserNotFound": "Пользователь <1>{{email}}</1> не найден",
|
||||
"YourPrice": "Ваша стоимость"
|
||||
}
|
||||
|
@ -130,25 +130,31 @@ const PayerInformationContainer = ({
|
||||
</>
|
||||
);
|
||||
|
||||
const payerName = (
|
||||
<Text as="span" fontWeight={600} noSelect fontSize={"14px"}>
|
||||
{payerInfo ? (
|
||||
payerInfo.displayName
|
||||
) : (
|
||||
<Trans t={t} i18nKey="UserNotFound" ns="Payments">
|
||||
User
|
||||
<Text
|
||||
as="span"
|
||||
color={theme.client.settings.payment.warningColor}
|
||||
fontWeight={600}
|
||||
>
|
||||
{{ email }}
|
||||
</Text>
|
||||
is not found
|
||||
</Trans>
|
||||
)}
|
||||
</Text>
|
||||
);
|
||||
const payerName = () => {
|
||||
let emailUnfoundedUser = email;
|
||||
|
||||
if (email) emailUnfoundedUser = "«" + emailUnfoundedUser + "»";
|
||||
|
||||
return (
|
||||
<Text as="span" fontWeight={600} noSelect fontSize={"14px"}>
|
||||
{payerInfo ? (
|
||||
payerInfo.displayName
|
||||
) : (
|
||||
<Trans t={t} i18nKey="UserNotFound" ns="Payments">
|
||||
User
|
||||
<Text
|
||||
as="span"
|
||||
color={theme.client.settings.payment.warningColor}
|
||||
fontWeight={600}
|
||||
>
|
||||
{{ email: emailUnfoundedUser }}
|
||||
</Text>
|
||||
is not found
|
||||
</Trans>
|
||||
)}
|
||||
</Text>
|
||||
);
|
||||
};
|
||||
|
||||
const avatarUrl = payerInfo ? { source: payerInfo.avatar } : {};
|
||||
|
||||
@ -165,7 +171,7 @@ const PayerInformationContainer = ({
|
||||
|
||||
<div className="payer-info_wrapper">
|
||||
<div className="payer-info_description">
|
||||
{payerName}
|
||||
{payerName()}
|
||||
|
||||
<Text as="span" className="payer-info">
|
||||
{" (" + t("Payer") + ") "}
|
||||
|
Loading…
Reference in New Issue
Block a user