Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions src/components/Profile/Import.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,9 @@ class Import extends Component {
return (
<>
<div>
<Typography variant="body1" gutterBottom>
{t('ProfileView.import.label')}
</Typography>
<Buttons
onClick={this.toggleModal}
label={t('ProfileView.import.link')}
Expand Down
4 changes: 4 additions & 0 deletions src/components/export/MoveButton.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import React, { useRef, useState } from 'react'
import flag from 'cozy-flags'
import { useI18n } from 'cozy-ui/transpiled/react/providers/I18n'
import Buttons from 'cozy-ui/transpiled/react/Buttons'
import Typography from 'cozy-ui/transpiled/react/Typography'

import { STACK_DOMAIN } from 'actions'
import {
Expand Down Expand Up @@ -56,6 +57,9 @@ const MoveButton = () => {
className="u-mv-half"
ref={form}
>
<Typography variant="body1" gutterBottom>
{t('ProfileView.move.label')}
</Typography>
<Buttons
label={t('ProfileView.move.button')}
variant="secondary"
Expand Down
6 changes: 4 additions & 2 deletions src/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -190,11 +190,12 @@
"label": "Authorize Cozy Cloud to get anonymously your usage data to improve our product."
},
"move": {
"button": "Move my Cozy"
"button": "Move my Cozy",
"label": "Change your Cozy without losing your data"
},
"export": {
"title": "My data",
"label": "Cozy is committed to provide you all your data that it stores about you:",
"label": "Save all your Cozy data",
"link": "Export my Cozy",
"server_error": "Something went wrong, please try again or contact us.",
"fetch_error": "Something went wrong when fetching your export data. Please try again or contact us.",
Expand All @@ -215,6 +216,7 @@
},
"import": {
"link": "Import a Cozy",
"label": "Import your data coming from another Cozy",
"server_error": "Something went wrong, pleasy try again or contact us.",
"invalid_url": "The link does not seem to correspond to the download link of a Cozy.",
"quota_too_small": "The storage space of your Cozy is insufficient to import all your data. 2 solutions are available: increase the storage space of your Cozy or delete the data not required for import.",
Expand Down
6 changes: 4 additions & 2 deletions src/locales/fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -190,11 +190,12 @@
"label": "Autoriser Cozy à récupérer anonymement vos usages pour améliorer notre produit."
},
"move": {
"button": "Déménager mon Cozy"
"button": "Déménager mon Cozy",
"label": "Changez de Cozy sans perdre vos données"
},
"export": {
"title": "Mes données",
"label": "Cozy s'engage à vous fournir la totalité des informations qu'il stocke sur vous :",
"label": "Sauvegardez toutes les données de votre Cozy",
"link": "Exporter mon Cozy",
"server_error": "Une erreur s'est produite. Veuillez recommencer ou nous contacter.",
"fetch_error": "Une erreur en récupérant vos données. Veuillez recommencer ou nous contacter.",
Expand All @@ -215,6 +216,7 @@
},
"import": {
"link": "Importer un Cozy",
"label": "Importez les données provenant d'un autre Cozy",
"server_error": "Une erreur s'est produite. Veuillez recommencer ou nous contacter.",
"invalid_url": "Le lien ne semble pas correspondre au lien de téléchargement d'un Cozy.",
"quota_too_small": "L'espace de stockage de votre Cozy est insuffisant pour importer l'ensemble de vos données. 2 solutions s'offrent : augmenter l'espace de stockage de votre Cozy ou supprimer les données non nécessaires à l'import.",
Expand Down
Loading