Skip to content

Commit

Permalink
Update pricing phrasing
Browse files Browse the repository at this point in the history
  • Loading branch information
garronej committed Feb 12, 2024
1 parent 1f477a9 commit b0dcc12
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 10 deletions.
3 changes: 1 addition & 2 deletions src/ui/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ export const { i18n } = declareComponentKeys<
| "documentation"
| "contact"
| "pricing"
| { K: "it is libre software dialog body"; P: { licenseUrl: string, inseeUrl: string; etalabUrl: string; }; R: JSX.Element }
| { K: "it is libre software dialog body"; P: { licenseUrl: string, inseeUrl: string; }; R: JSX.Element }
| "it is libre software dialog title"
| "our instance"
| "ok"
Expand Down Expand Up @@ -220,7 +220,6 @@ const { PricingDialog } = (() => {
"licenseUrl":
"https://github.com/InseeFrLab/onyxia-web/blob/main/LICENSE",
"inseeUrl": `https://www.insee.fr/${lang}`,
"etalabUrl": "https://www.etalab.gouv.fr/"
})}
buttons={<Button onClick={onClose}>{t("ok")}</Button>}
onClose={onClose}
Expand Down
16 changes: 8 additions & 8 deletions src/ui/i18n.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,11 @@ export const {
"contact": "Contact us",
"documentation": "Documentation",
"it is libre software dialog title": "It's libre software",
"it is libre software dialog body": ({ licenseUrl, inseeUrl, etalabUrl }) => (
"it is libre software dialog body": ({ licenseUrl, inseeUrl }) => (
<>
Onyxia is a free and open source software{" "}
<MuiLink href={licenseUrl}>released under the MIT license</MuiLink>.<br/>
This software is the result of a collaboration between the <MuiLink href={inseeUrl}>INSEE</MuiLink> and <MuiLink href={etalabUrl}>Etalab</MuiLink>
Onyxia is a free and open-source software <MuiLink href={licenseUrl}>licensed under the MIT License</MuiLink>.<br/>
It is developed by <MuiLink href={inseeUrl}>INSEE</MuiLink> along with other contributors for use in European public services.
You are free to use, modify, or redistribute it. Contributions are also welcome!
</>
),
"pricing": "Pricing",
Expand Down Expand Up @@ -139,11 +139,11 @@ export const {
"contact": "Contacter l'équipe",
"documentation": "Documentation",
"it is libre software dialog title": "C'est un logiciel libre",
"it is libre software dialog body": ({ licenseUrl, inseeUrl, etalabUrl }) => (
"it is libre software dialog body": ({ licenseUrl, inseeUrl }) => (
<>
Onyxia est un logiciel libre et open source{" "}
<MuiLink href={licenseUrl}>sous licence MIT</MuiLink>.<br/>
Ce logiciel est issu d'une collaboration entre l'<MuiLink href={inseeUrl}>INSEE</MuiLink> et <MuiLink href={etalabUrl}>Etalab</MuiLink>
Onyxia est un logiciel libre et open source <MuiLink href={licenseUrl}>sous licence MIT</MuiLink>.<br/>
Il est développé par l'<MuiLink href={inseeUrl}>INSEE</MuiLink> ainsi que par d'autres contributeurs pour une utilisation dans les services publics européens.
Vous êtes libre de l'utiliser, de le modifier ou même de le redistribuer. Les contributions sont également les bienvenues !
</>
),
"pricing": "Tarification",
Expand Down

0 comments on commit b0dcc12

Please sign in to comment.