Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
ddecrulle committed Nov 25, 2024
1 parent 5eb2796 commit 2783167
Show file tree
Hide file tree
Showing 15 changed files with 335 additions and 325 deletions.
31 changes: 12 additions & 19 deletions web/src/ui/i18n/resources/de.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -318,26 +318,19 @@ export const translations: Translations<"de"> = {
title: "Ihre Daten teilen",
close: "Schließen",
"create and copy link": "Link erstellen und kopieren",
"paragraph current policy": ({ policy }) => {
switch (policy) {
case "public":
return "Ihre Datei ist öffentlich, jeder mit dem Link kann sie herunterladen.";
case "private":
return "Ihre Datei ist derzeit privat.";
}
},
"paragraph change policy": ({ policy }) => {
switch (policy) {
case "public":
return "Um den Zugriff einzuschränken, ändern Sie den Freigabestatus Ihrer Datei.";
case "private":
return "Um Ihre Datei freizugeben und Zugriff zu gewähren, ändern Sie den Freigabestatus oder erstellen Sie einen temporären Zugriffslink.";
}
},
"paragraph current policy": ({ isPublic }) =>
isPublic
? "Ihre Datei ist öffentlich, jeder mit dem Link kann sie herunterladen."
: "Ihre Datei ist derzeit privat.",
"paragraph change policy": ({ isPublic }) =>
isPublic
? "Um den Zugriff einzuschränken, ändern Sie den Freigabestatus Ihrer Datei."
: "Um Ihre Datei freizugeben und Zugriff zu gewähren, ändern Sie den Freigabestatus oder erstellen Sie einen temporären Zugriffslink.",

"hint link access": params =>
params.policy === "private"
? `Dieser Link gewährt für ${params.expiration} Zugriff auf Ihre Daten.`
: "Ihr Link ist verfügbar, solange die Datei öffentlich ist",
params.isPublic
? "Ihr Link ist verfügbar, solange die Datei öffentlich ist"
: `Dieser Link gewährt für ${params.expiration} Zugriff auf Ihre Daten.`,
"label input link": "Zugriffslink"
},
MySecrets: {
Expand Down
34 changes: 14 additions & 20 deletions web/src/ui/i18n/resources/en.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -307,26 +307,20 @@ export const translations: Translations<"en"> = {
title: "Share your data",
close: "Close",
"create and copy link": "Create and copy link",
"paragraph current policy": ({ policy }) => {
switch (policy) {
case "public":
return "Your file is public, anyone with the link can download it.";
case "private":
return "Your file is currently private.";
}
},
"paragraph change policy": ({ policy }) => {
switch (policy) {
case "public":
return "To restrict its access, change your file's sharing status.";
case "private":
return "To share and provide access to your file, change the sharing status or create a temporary access link.";
}
},
"hint link access": params =>
params.policy === "private"
? `This link will grant access to your data for ${params.expiration}.`
: "Your link is available as long as the file is public",
"paragraph current policy": ({ isPublic }) =>
isPublic
? "Your file is public, anyone with the link can download it."
: "Your file is currently private.",

"paragraph change policy": ({ isPublic }) =>
isPublic
? "To restrict its access, change your file's sharing status."
: "To share and provide access to your file, change the sharing status or create a temporary access link.",

"hint link access": ({ isPublic, expiration }) =>
isPublic
? "Your link is available as long as the file is public."
: `This link will grant access to your data for ${expiration}.`,
"label input link": "Access link"
},
MySecrets: {
Expand Down
34 changes: 14 additions & 20 deletions web/src/ui/i18n/resources/es.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -319,26 +319,20 @@ export const translations: Translations<"en"> = {
title: "Compartir tus datos",
close: "Cerrar",
"create and copy link": "Crear y copiar enlace",
"paragraph current policy": ({ policy }) => {
switch (policy) {
case "public":
return "Tu archivo es público, cualquier persona con el enlace puede descargarlo.";
case "private":
return "Tu archivo está actualmente privado.";
}
},
"paragraph change policy": ({ policy }) => {
switch (policy) {
case "public":
return "Para restringir su acceso, cambia el estado de difusión de tu archivo.";
case "private":
return "Para compartir y dar acceso a tu archivo, cambia el estado de difusión o crea un enlace de acceso temporal.";
}
},
"hint link access": params =>
params.policy === "private"
? `Este enlace otorgará acceso a tus datos durante ${params.expiration}.`
: "Tu enlace está disponible mientras el archivo sea público",
"paragraph current policy": ({ isPublic }) =>
isPublic
? "Tu archivo es público, cualquier persona con el enlace puede descargarlo."
: "Tu archivo está actualmente privado.",

"paragraph change policy": ({ isPublic }) =>
isPublic
? "Para restringir su acceso, cambia el estado de difusión de tu archivo."
: "Para compartir y dar acceso a tu archivo, cambia el estado de difusión o crea un enlace de acceso temporal.",

"hint link access": ({ isPublic, expiration }) =>
isPublic
? "Tu enlace está disponible mientras el archivo sea público."
: `Este enlace otorgará acceso a tus datos durante ${expiration}.`,
"label input link": "Enlace de acceso"
},
MySecrets: {
Expand Down
34 changes: 14 additions & 20 deletions web/src/ui/i18n/resources/fi.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -315,26 +315,20 @@ export const translations: Translations<"fi"> = {
title: "Jaa tietosi",
close: "Sulje",
"create and copy link": "Luo ja kopioi linkki",
"paragraph current policy": ({ policy }) => {
switch (policy) {
case "public":
return "Tiedostosi on julkinen, kuka tahansa linkin omistava voi ladata sen.";
case "private":
return "Tiedostosi on tällä hetkellä yksityinen.";
}
},
"paragraph change policy": ({ policy }) => {
switch (policy) {
case "public":
return "Rajoittaaksesi pääsyä muuta tiedostosi jakamisen tilaa.";
case "private":
return "Jaa tiedosto ja anna pääsy muuttamalla jakamisen tilaa tai luomalla väliaikainen linkki.";
}
},
"hint link access": params =>
params.policy === "private"
? `Tämä linkki antaa pääsyn tietoihisi ${params.expiration} ajaksi.`
: "Linkkisi on käytettävissä niin kauan kuin tiedosto on julkinen",
"paragraph current policy": ({ isPublic }) =>
isPublic
? "Tiedostosi on julkinen, kuka tahansa linkin omistava voi ladata sen."
: "Tiedostosi on tällä hetkellä yksityinen.",

"paragraph change policy": ({ isPublic }) =>
isPublic
? "Rajoittaaksesi pääsyä muuta tiedostosi jakamisen tilaa."
: "Jaa tiedosto ja anna pääsy muuttamalla jakamisen tilaa tai luomalla väliaikainen linkki.",

"hint link access": ({ isPublic, expiration }) =>
isPublic
? "Linkkisi on käytettävissä niin kauan kuin tiedosto on julkinen."
: `Tämä linkki antaa pääsyn tietoihisi ${expiration} ajaksi.`,
"label input link": "Pääsylinkki"
},
MySecrets: {
Expand Down
35 changes: 14 additions & 21 deletions web/src/ui/i18n/resources/fr.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -321,27 +321,20 @@ export const translations: Translations<"fr"> = {
title: "Partager vos données",
close: "Fermer",
"create and copy link": "Créer et copier le lien",
"paragraph current policy": ({ policy }) => {
switch (policy) {
case "public":
return `Votre fichier est public, toute personne ayant le lien peut télécharger votre fichier.`;
case "private":
return "Votre fichier est actuellement privé.";
}
},
"paragraph change policy": ({ policy }) => {
switch (policy) {
case "public":
return `Pour restreindre son accès, changez le statut de diffusion de
votre fichier.`;
case "private":
return `Pour partager et donner accès à votre fichier, changez le statut de diffusion ou créez un lien d’accès temporaire.`;
}
},
"hint link access": params =>
params.policy === "private"
? `Ce lien donnera un accès à vos données pendant ${params.expiration}.`
: "Votre lien est disponible tant que le fichier est publique",
"paragraph current policy": ({ isPublic }) =>
isPublic
? "Votre fichier est public, toute personne ayant le lien peut télécharger votre fichier."
: "Votre fichier est actuellement privé.",

"paragraph change policy": ({ isPublic }) =>
isPublic
? "Pour restreindre son accès, changez le statut de diffusion de votre fichier."
: "Pour partager et donner accès à votre fichier, changez le statut de diffusion ou créez un lien d’accès temporaire.",

"hint link access": ({ isPublic, expiration }) =>
isPublic
? "Votre lien est disponible tant que le fichier est public."
: `Ce lien donnera un accès à vos données pendant ${expiration}.`,
"label input link": "Lien d'accès"
},
MySecrets: {
Expand Down
34 changes: 14 additions & 20 deletions web/src/ui/i18n/resources/it.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -316,26 +316,20 @@ export const translations: Translations<"it"> = {
title: "Condividi i tuoi dati",
close: "Chiudi",
"create and copy link": "Crea e copia il link",
"paragraph current policy": ({ policy }) => {
switch (policy) {
case "public":
return "Il tuo file è pubblico, chiunque abbia il link può scaricarlo.";
case "private":
return "Il tuo file è attualmente privato.";
}
},
"paragraph change policy": ({ policy }) => {
switch (policy) {
case "public":
return "Per limitare l'accesso, modifica lo stato di condivisione del tuo file.";
case "private":
return "Per condividere e dare accesso al tuo file, modifica lo stato di condivisione o crea un link di accesso temporaneo.";
}
},
"hint link access": params =>
params.policy === "private"
? `Questo link garantirà l'accesso ai tuoi dati per ${params.expiration}.`
: "Il tuo link è disponibile finché il file è pubblico",
"paragraph current policy": ({ isPublic }) =>
isPublic
? "Il tuo file è pubblico, chiunque abbia il link può scaricarlo."
: "Il tuo file è attualmente privato.",

"paragraph change policy": ({ isPublic }) =>
isPublic
? "Per limitare l'accesso, modifica lo stato di condivisione del tuo file."
: "Per condividere e dare accesso al tuo file, modifica lo stato di condivisione o crea un link di accesso temporaneo.",

"hint link access": ({ isPublic, expiration }) =>
isPublic
? "Il tuo link è disponibile finché il file è pubblico."
: `Questo link garantirà l'accesso ai tuoi dati per ${expiration}.`,
"label input link": "Link di accesso"
},
MySecrets: {
Expand Down
34 changes: 14 additions & 20 deletions web/src/ui/i18n/resources/nl.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -318,26 +318,20 @@ export const translations: Translations<"nl"> = {
title: "Deel je gegevens",
close: "Sluiten",
"create and copy link": "Link maken en kopiëren",
"paragraph current policy": ({ policy }) => {
switch (policy) {
case "public":
return "Je bestand is openbaar, iedereen met de link kan het downloaden.";
case "private":
return "Je bestand is momenteel privé.";
}
},
"paragraph change policy": ({ policy }) => {
switch (policy) {
case "public":
return "Om toegang te beperken, verander de deelstatus van je bestand.";
case "private":
return "Om toegang te geven tot je bestand, verander de deelstatus of maak een tijdelijke toegangslink.";
}
},
"hint link access": params =>
params.policy === "private"
? `Deze link geeft toegang tot je gegevens gedurende ${params.expiration}.`
: "Je link is beschikbaar zolang het bestand openbaar is",
"paragraph current policy": ({ isPublic }) =>
isPublic
? "Je bestand is openbaar, iedereen met de link kan het downloaden."
: "Je bestand is momenteel privé.",

"paragraph change policy": ({ isPublic }) =>
isPublic
? "Om toegang te beperken, verander de deelstatus van je bestand."
: "Om toegang te geven tot je bestand, verander de deelstatus of maak een tijdelijke toegangslink.",

"hint link access": ({ isPublic, expiration }) =>
isPublic
? "Je link is beschikbaar zolang het bestand openbaar is."
: `Deze link geeft toegang tot je gegevens gedurende ${expiration}.`,
"label input link": "Toegangslink"
},
MySecrets: {
Expand Down
34 changes: 14 additions & 20 deletions web/src/ui/i18n/resources/no.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -314,26 +314,20 @@ export const translations: Translations<"no"> = {
title: "Del dataene dine",
close: "Lukk",
"create and copy link": "Opprett og kopier lenke",
"paragraph current policy": ({ policy }) => {
switch (policy) {
case "public":
return "Filen din er offentlig, alle med lenken kan laste den ned.";
case "private":
return "Filen din er for øyeblikket privat.";
}
},
"paragraph change policy": ({ policy }) => {
switch (policy) {
case "public":
return "For å begrense tilgangen, endre delingsstatusen til filen din.";
case "private":
return "For å dele og gi tilgang til filen din, endre delingsstatusen eller opprett en midlertidig tilgangslenke.";
}
},
"hint link access": params =>
params.policy === "private"
? `Denne lenken gir tilgang til dataene dine i ${params.expiration}.`
: "Lenken din er tilgjengelig så lenge filen er offentlig",
"paragraph current policy": ({ isPublic }) =>
isPublic
? "Filen din er offentlig, alle med lenken kan laste den ned."
: "Filen din er for øyeblikket privat.",

"paragraph change policy": ({ isPublic }) =>
isPublic
? "For å begrense tilgangen, endre delingsstatusen til filen din."
: "For å dele og gi tilgang til filen din, endre delingsstatusen eller opprett en midlertidig tilgangslenke.",

"hint link access": ({ isPublic, expiration }) =>
isPublic
? "Lenken din er tilgjengelig så lenge filen er offentlig."
: `Denne lenken gir tilgang til dataene dine i ${expiration}.`,
"label input link": "Tilgangslenke"
},
MySecrets: {
Expand Down
34 changes: 14 additions & 20 deletions web/src/ui/i18n/resources/zh-CN.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -285,26 +285,20 @@ export const translations: Translations<"zh-CN"> = {
title: "分享您的数据",
close: "关闭",
"create and copy link": "创建并复制链接",
"paragraph current policy": ({ policy }) => {
switch (policy) {
case "public":
return "您的文件是公开的,任何拥有链接的人都可以下载。";
case "private":
return "您的文件当前是私密的。";
}
},
"paragraph change policy": ({ policy }) => {
switch (policy) {
case "public":
return "要限制访问,请更改文件的共享状态。";
case "private":
return "要分享并提供对文件的访问,请更改共享状态或创建一个临时访问链接。";
}
},
"hint link access": params =>
params.policy === "private"
? `此链接将在 ${params.expiration} 内提供对您的数据的访问权限。`
: "只要文件是公开的,您的链接就可用",
"paragraph current policy": ({ isPublic }) =>
isPublic
? "您的文件是公开的,任何拥有链接的人都可以下载。"
: "您的文件当前是私密的。",

"paragraph change policy": ({ isPublic }) =>
isPublic
? "要限制访问,请更改文件的共享状态。"
: "要分享并提供对文件的访问,请更改共享状态或创建一个临时访问链接。",

"hint link access": ({ isPublic, expiration }) =>
isPublic
? "只要文件是公开的,您的链接就可用。"
: `此链接将在 ${expiration} 内提供对您的数据的访问权限。`,
"label input link": "访问链接"
},
MySecrets: {
Expand Down
Loading

0 comments on commit 2783167

Please sign in to comment.