Skip to content

Commit

Permalink
fix(web): Fix typo that indicates when tokens expires in the translat…
Browse files Browse the repository at this point in the history
…ion files
  • Loading branch information
slyobard committed Mar 7, 2025
1 parent affd561 commit df49960
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 16 deletions.
12 changes: 6 additions & 6 deletions web/src/ui/i18n/resources/en.tsx
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import MuiLink from "@mui/material/Link";
import { Markdown } from "ui/shared/Markdown";
import type { Translations } from "../types";
import { Icon } from "onyxia-ui/Icon";
import { getIconUrlByName } from "lazy-icons";
import { Icon } from "onyxia-ui/Icon";
import { capitalize } from "tsafe/capitalize";
import { Markdown } from "ui/shared/Markdown";
import { MaybeLink } from "ui/shared/MaybeLink";
import type { Translations } from "../types";

export const translations: Translations<"en"> = {
Account: {
Expand Down Expand Up @@ -71,7 +71,7 @@ export const translations: Translations<"en"> = {
"init script section title": "To access your storage outside of datalab services",
"init script section helper":
"Download or copy the init script in the programming language of your choice.",
"expires in": ({ howMuchTime }) => `Expires in ${howMuchTime}`
"expires in": ({ howMuchTime }) => `Expires ${howMuchTime}`
},
AccountKubernetesTab: {
"credentials section title": "Connect to the Kubernetes cluster",
Expand All @@ -93,7 +93,7 @@ export const translations: Translations<"en"> = {
</>
),
"expires in": ({ howMuchTime }) =>
`Theses credentials are valid for the next ${howMuchTime}`
`These credentials are valid for the next ${howMuchTime}`
},
AccountVaultTab: {
"credentials section title": "Vault credentials",
Expand All @@ -115,7 +115,7 @@ export const translations: Translations<"en"> = {
</MuiLink>
</>
),
"expires in": ({ howMuchTime }) => `The token expires in ${howMuchTime}`
"expires in": ({ howMuchTime }) => `The token expires ${howMuchTime}`
},
ProjectSettings: {
"page header title": "Project Settings",
Expand Down
10 changes: 5 additions & 5 deletions web/src/ui/i18n/resources/es.tsx
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import MuiLink from "@mui/material/Link";
import { Markdown } from "ui/shared/Markdown";
import type { Translations } from "../types";
import { Icon } from "onyxia-ui/Icon";
import { getIconUrlByName } from "lazy-icons";
import { Icon } from "onyxia-ui/Icon";
import { capitalize } from "tsafe/capitalize";
import { Markdown } from "ui/shared/Markdown";
import { MaybeLink } from "ui/shared/MaybeLink";
import type { Translations } from "../types";

export const translations: Translations<"en"> = {
/* spell-checker: disable */
Expand Down Expand Up @@ -73,7 +73,7 @@ export const translations: Translations<"en"> = {
"Para acceder a tu almacenamiento fuera de los servicios de datalab",
"init script section helper":
"Descarga o copia el script de inicialización en el lenguaje de programación de tu elección.",
"expires in": ({ howMuchTime }) => `Expira en ${howMuchTime}`
"expires in": ({ howMuchTime }) => `Expira ${howMuchTime}`
},
AccountKubernetesTab: {
"credentials section title": "Conéctate al clúster de Kubernetes",
Expand Down Expand Up @@ -117,7 +117,7 @@ export const translations: Translations<"en"> = {
</MuiLink>
</>
),
"expires in": ({ howMuchTime }) => `El token expira en ${howMuchTime}`
"expires in": ({ howMuchTime }) => `El token expira ${howMuchTime}`
},
ProjectSettings: {
"page header title": "Configuración del Proyecto",
Expand Down
10 changes: 5 additions & 5 deletions web/src/ui/i18n/resources/fr.tsx
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import type { Translations } from "../types";
import MuiLink from "@mui/material/Link";
import { Markdown } from "ui/shared/Markdown";
import { Icon } from "onyxia-ui/Icon";
import { getIconUrlByName } from "lazy-icons";
import { Icon } from "onyxia-ui/Icon";
import { capitalize } from "tsafe/capitalize";
import { Markdown } from "ui/shared/Markdown";
import { MaybeLink } from "ui/shared/MaybeLink";
import type { Translations } from "../types";

export const translations: Translations<"fr"> = {
/* spell-checker: disable */
Expand Down Expand Up @@ -73,7 +73,7 @@ export const translations: Translations<"fr"> = {
"Pour accéder au stockage en dehors des services du datalab",
"init script section helper":
"Téléchargez ou copiez le script d'initialisation dans le langage de programmation de votre choix.",
"expires in": ({ howMuchTime }) => `Expire dans ${howMuchTime}`
"expires in": ({ howMuchTime }) => `Expire ${howMuchTime}`
},
AccountKubernetesTab: {
"credentials section title": "Connection au cluster Kubernetes",
Expand Down Expand Up @@ -120,7 +120,7 @@ export const translations: Translations<"fr"> = {
local.
</>
),
"expires in": ({ howMuchTime }) => `Le token expire dans ${howMuchTime}`
"expires in": ({ howMuchTime }) => `Le token expire ${howMuchTime}`
},
ProjectSettings: {
"page header title": "Paramètres du projet",
Expand Down

0 comments on commit df49960

Please sign in to comment.