Skip to content

Commit

Permalink
Merge pull request #835 from Vizzuality/add-missing-translations-to-fe
Browse files Browse the repository at this point in the history
N/A [FE] Add missing translations to ToS
  • Loading branch information
SARodrigues authored Jan 30, 2024
2 parents 1e7922c + 0149d2a commit a9ffb4f
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
1 change: 1 addition & 0 deletions frontend/lang/compiled/zu.json
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,7 @@
"6b2CRH": "User menu",
"6cU2pG": "The project gallery will be the first thing other users will see on your page, it will help you to showcase your project.",
"6dk02D": "Tell us what’s the impact that you expect with this open call. This information will be <n>public</n>.",
"6e0pcn": "PLATFORM ADMINISTRATOR",
"6hS0se": "Are you sure you want to delete the account?",
"6ukMW9": "Basque Centre for Climate Change",
"6vrfSY": "Displays the Key Biodiversity Areas containing 95% or more of the remaining population of one or more species listed as Endangered or Critically Endangered on the International Union for Conservation of Nature (IUCN) Red List of Threatened Species.",
Expand Down
3 changes: 3 additions & 0 deletions frontend/lang/transifex/zu.json
Original file line number Diff line number Diff line change
Expand Up @@ -473,6 +473,9 @@
"6dk02D": {
"string": "Tell us what’s the impact that you expect with this open call. This information will be <n>public</n>."
},
"6e0pcn": {
"string": "PLATFORM ADMINISTRATOR"
},
"6hS0se": {
"string": "Are you sure you want to delete the account?"
},
Expand Down
6 changes: 3 additions & 3 deletions frontend/pages/terms-conditions.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@ import { FormattedMessage, useIntl } from 'react-intl';

import { withLocalizedRequests } from 'hoc/locale';

import { StaticPageLayoutProps } from 'layouts/static-page';
import { InferGetStaticPropsType } from 'next';
import { PageComponent } from 'types';

import { loadI18nMessages } from 'helpers/i18n';

import Head from 'components/head';
import LayoutContainer from 'components/layout-container';
import { StaticPageLayoutProps } from 'layouts/static-page';
import { PageComponent } from 'types';

export const getStaticProps = withLocalizedRequests(async ({ locale }) => {
return {
Expand Down Expand Up @@ -123,7 +123,7 @@ const TermsConditions: PageComponent<TermsConditionsProps, StaticPageLayoutProps
<li className="list-decimal">
<a href="#platform_administrator">
<h2 id="platform_administrator" className="font-semibold underline my-4">
PLATFORM ADMINISTRATOR
<FormattedMessage defaultMessage="PLATFORM ADMINISTRATOR" id="6e0pcn" />
</h2>
</a>
<p>
Expand Down

0 comments on commit a9ffb4f

Please sign in to comment.