Web: Files: fixed Payments translations

This commit is contained in:
Nikita Gopienko 2022-10-25 12:48:58 +03:00
parent 2be023e29e
commit f0ce5a9552
4 changed files with 13 additions and 19 deletions

View File

@ -16,7 +16,8 @@
"DowngradeNow": "Downgrade now",
"FreeStartupPlan": "Free {{planName}} plan",
"GracePeriodActivated": "Grace period activated",
"GracePeriodActivatedDescription": "Grace period is effective from <1>{{fromDate}}</1> to <2>{{byDate}}</2> ({{delayDaysCount}}). <6>During the grace period, admins cannot create new rooms and add new users. After the due date of the grace period, DocSpace will become unavailable until the payment is made.</6>",
"GracePeriodActivatedInfo": "Grace period is effective from <1>{{fromDate}}</1> <2>to</2> <3>{{byDate}}</3> ({{delayDaysCount}}).",
"GracePeriodActivatedDescription": "During the grace period, admins cannot create new rooms and add new users. After the due date of the grace period, DocSpace will become unavailable until the payment is made.",
"InvalidEmail": "Invalid email",
"LatePayment": "Late payment",
"ManagerTypesDescription": "Admin account types and their privileges",

View File

@ -15,7 +15,8 @@
"DowngradeNow": "Понизить прямо сейчас",
"FreeStartupPlan": "Бесплатный {{planName}} план",
"GracePeriodActivated": "Активирован льготный период",
"GracePeriodActivatedDescription": "Льготный период действует с <1>{{fromDate}}</1> по <2>{{byDate}}</2> ({{delayDaysCount}}). <6>В течение льготного периода администраторы не могут создавать новые комнаты и добавлять новых пользователей. По истечении срока действия льготного периода DocSpace станет недоступным до тех пор, пока не будет произведен платеж.</6>",
"GracePeriodActivatedInfo": "Льготный период действует с <1>{{fromDate}}</1> <2>по</2> <3>{{byDate}}</3> ({{delayDaysCount}}).",
"GracePeriodActivatedDescription": "В течение льготного периода администраторы не могут создавать новые комнаты и добавлять новых пользователей. По истечении срока действия льготного периода DocSpace станет недоступным до тех пор, пока не будет произведен платеж.",
"InvalidEmail": "Неверный email",
"LatePayment": "Просрочка платежа",
"ManagerTypesDescription": "Типы учетных записей администратора и их привилегии",

View File

@ -74,20 +74,14 @@ const InviteUsersWarningDialog = (props) => {
</Text>
<br />
<Text noSelect as="div">
<Trans
t={t}
i18nKey="GracePeriodActivatedDescription"
ns="Payments"
>
<Trans t={t} i18nKey="GracePeriodActivatedInfo" ns="Payments">
Grace period activated from <strong>{{ fromDate }}</strong>
<strong>to</strong>
<strong>{{ byDate }}</strong>({{ delayDaysCount }})
<p style={{ margin: "1rem 0" }}>
During the grace period, admins cannot create new rooms and
add new users. After the due date of the grace period,
DocSpace will become unavailable until the payment is made.
</p>
</Trans>
</Text>
<br />
<Text>{t("GracePeriodActivatedDescription")}</Text>
</>
) : (
<>

View File

@ -333,14 +333,12 @@ const PaymentsPage = ({
{isGracePeriod && (
<Text noSelect fontSize={"14px"} lineHeight={"16px"}>
<Trans
t={t}
i18nKey="GracePeriodActivatedDescription"
ns="Payments"
>
<Trans t={t} i18nKey="GracePeriodActivatedInfo" ns="Payments">
Grace period activated from <strong>{{ fromDate }}</strong>
<strong>{{ byDate }}</strong> ({{ delayDaysCount }})
</Trans>
<strong>to</strong>
<strong>{{ byDate }}</strong>({{ delayDaysCount }})
</Trans>{" "}
<>{t("GracePeriodActivatedDescription")}</>
</Text>
)}