Add more translations (#9707)

As per title
This commit is contained in:
Félix Malfait
2025-01-17 12:50:28 +01:00
committed by GitHub
parent 55feeaeef1
commit f38a25412e
43 changed files with 2895 additions and 651 deletions

View File

@ -1,4 +1,4 @@
import { useLingui } from '@lingui/react/macro';
import { Trans, useLingui } from '@lingui/react/macro';
import { useState } from 'react';
import { useRecoilValue, useSetRecoilState } from 'recoil';
import {
@ -129,10 +129,10 @@ export const SettingsBilling = () => {
title={t`Billing`}
links={[
{
children: t`Workspace`,
children: <Trans>Workspace</Trans>,
href: getSettingsPagePath(SettingsPath.Workspace),
},
{ children: t`Billing` },
{ children: <Trans>Billing</Trans> },
]}
>
<SettingsPageContainer>
@ -186,7 +186,10 @@ export const SettingsBilling = () => {
isOpen={isSwitchingIntervalModalOpen}
setIsOpen={setIsSwitchingIntervalModalOpen}
title={t`Switch billing ${to}`}
subtitle={t`Are you sure that you want to change your billing interval? ${impact}`}
subtitle={
t`Are you sure that you want to change your billing interval?` +
` ${impact}`
}
onConfirmClick={switchInterval}
deleteButtonText={t`Change ${to}`}
confirmButtonAccent={'blue'}