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
46 changes: 23 additions & 23 deletions src/components/DeleteMemberSurvey.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,29 @@ export const DeleteMemberSurvey = (props) => {
const tokens = useTokens()
const styles = getStyles(tokens)

const DELETE_REASONS = {
NO_LONGER_USE_ACCOUNT: __("I no longer use this account or it's not mine"),
DONT_WANT_SHARE_DATA: __("I don't want to share my data"),
ACCOUNT_INFORMATION_OLD: __('The account information is old or inaccurate'),
UNABLE_CONNECT_ACCOUNT: __('I am unable to connect this account here'),
DONT_WANT_TO_USE_APP: __("I don't want to use this app"),
DONT_WANT_ACCOUNT_CONNECTED: __("I don't want this account connected here"),
OTHER_REASON: __('Other'),
}

const CONNECTED_REASONS = [
DELETE_REASONS.NO_LONGER_USE_ACCOUNT,
DELETE_REASONS.DONT_WANT_SHARE_DATA,
DELETE_REASONS.DONT_WANT_TO_USE_APP,
DELETE_REASONS.OTHER_REASON,
]
const NON_CONECTED_REASONS = [
DELETE_REASONS.UNABLE_CONNECT_ACCOUNT,
DELETE_REASONS.ACCOUNT_INFORMATION_OLD,
DELETE_REASONS.DONT_WANT_ACCOUNT_CONNECTED,
DELETE_REASONS.OTHER_REASON,
]

useEffect(() => {
if (deleteMemberState.loading === false) return () => {}

Expand Down Expand Up @@ -231,26 +254,3 @@ DeleteMemberSurvey.propTypes = {
onCancel: PropTypes.func.isRequired,
onDeleteSuccess: PropTypes.func.isRequired,
}

const DELETE_REASONS = {
NO_LONGER_USE_ACCOUNT: __('I no longer use this account or it’s not mine'),
DONT_WANT_SHARE_DATA: __('I don’t want to share my data'),
ACCOUNT_INFORMATION_OLD: __('The account information is old or inaccurate'),
UNABLE_CONNECT_ACCOUNT: __('I am unable to connect this account here'),
DONT_WANT_TO_USE_APP: __('I don’t want to use this app'),
DONT_WANT_ACCOUNT_CONNECTED: __('I don’t want this account connected here'),
OTHER_REASON: __('Other'),
}

const CONNECTED_REASONS = [
DELETE_REASONS.NO_LONGER_USE_ACCOUNT,
DELETE_REASONS.DONT_WANT_SHARE_DATA,
DELETE_REASONS.DONT_WANT_TO_USE_APP,
DELETE_REASONS.OTHER_REASON,
]
const NON_CONECTED_REASONS = [
DELETE_REASONS.UNABLE_CONNECT_ACCOUNT,
DELETE_REASONS.ACCOUNT_INFORMATION_OLD,
DELETE_REASONS.DONT_WANT_ACCOUNT_CONNECTED,
DELETE_REASONS.OTHER_REASON,
]
3 changes: 2 additions & 1 deletion src/components/PoweredByFooter.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import React from 'react'
import { Text } from '@mxenabled/mxui'
import { __ } from 'src/utilities/Intl'

interface PoweredByFooterProps {
aggregator?: string
Expand All @@ -11,7 +12,7 @@ export const PoweredByFooter = ({ aggregator = 'MX' }: PoweredByFooterProps) =>
return (
<div style={styles.container}>
<Text color="text.secondary" variant="body2">
powered by{' '}
{__('powered by ')}
<Text component="span" fontWeight="semibold" variant="body2">
{aggregator}
</Text>
Expand Down
13 changes: 7 additions & 6 deletions src/const/language/es.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,8 @@
"Oops! We weren't able to disconnect this institution. Please try again later.": "¡Oh, no! No pudimos desconectar esta institución. Inténtelo de nuevo más tarde.",
"Ok": "OK",
"Disconnect": "Desconectar",
"I no longer use this account or it’s not mine": "Ya no uso esta cuenta o no es mía",
"I don’t want to share my data": "No quiero compartir mis datos",
"The account information is old or inaccurate": "La información de la cuenta es antigua o inexacta",
"I am unable to connect this account here": "No puedo conectar esta cuenta aquí",
"I don’t want to use this app": "No quiero usar esta aplicación",
"I don’t want this account connected here": "No quiero que esta cuenta esté conectada aquí",
"Other": "Otro",
"Add account with %1": "Agregar cuenta con %1",
"You are leaving": "Está saliendo",
Expand Down Expand Up @@ -205,8 +201,6 @@
"%1 added": "%1 añadido",
"Your account has been saved manually. You can edit or delete it later.": "Su cuenta ha sido salvada manualmente. Puede editarla o borrarla más tarde.",
"Oops! Verification must be enabled to use this feature.": "¡Oh, no! La verificación debe estar habilitada para usar esta función.",
"We’re working on it. Stick around!": "Estamos trabajando en ello. ¡Quedarse!",
"We’re getting closer. Hang tight!": "Nos estamos acercando. ¡Aguanta!",
"Still working. Stay with us!": "Aún trabajando. ¡Quédate con nosotros!",
"Syncing your information.": "Aún trabajando. ¡Quédate con nosotros!",
"Getting verification data.": "Obtener datos de verificación.",
Expand Down Expand Up @@ -417,6 +411,13 @@
"Connection not supported by %1": "Conexión no compatible con %1",
"%1 currently limits how your data can be shared. We'll enable this connection once %1 opens access.": "%1 actualmente limita cómo se pueden compartir sus datos. Habilitaremos esta conexión una vez que %1 abra el acceso.",
"UNAVAILABLE": "INDISPONIBLE",
"powered by ": "desarrollado por ",
"I no longer use this account or it's not mine": "Ya no uso esta cuenta o no es mía",
"I don't want to share my data": "No quiero compartir mis datos",
"I don't want to use this app": "No quiero usar esta aplicación",
"I don't want this account connected here": "No quiero esta cuenta conectada aquí",
"We're working on it. Stick around!": "Estamos trabajando en ello. ¡Quedarse!",
"We're getting closer. Hang tight!": "Nos estamos acercando. ¡Aguanta!",
"connect/disclosure/button\u0004Continue": "Continuar",
"connect/disclosure/policy/text\u0004By clicking Continue, you agree to the ": "Al hacer clic en Continuar, tu aceptas la ",
"connect/disclosure/policy/link\u0004MX Privacy Policy.": "Política de privacidad de Money Experience.",
Expand Down
52 changes: 28 additions & 24 deletions src/const/language/es.po
Original file line number Diff line number Diff line change
Expand Up @@ -143,14 +143,6 @@ msgstr "OK"
msgid "Disconnect"
msgstr "Desconectar"

#: src/components/DeleteMemberSurvey.js
msgid "I no longer use this account or it’s not mine"
msgstr "Ya no uso esta cuenta o no es mía"

#: src/components/DeleteMemberSurvey.js
msgid "I don’t want to share my data"
msgstr "No quiero compartir mis datos"

#: src/components/DeleteMemberSurvey.js
msgid "The account information is old or inaccurate"
msgstr "La información de la cuenta es antigua o inexacta"
Expand All @@ -159,14 +151,6 @@ msgstr "La información de la cuenta es antigua o inexacta"
msgid "I am unable to connect this account here"
msgstr "No puedo conectar esta cuenta aquí"

#: src/components/DeleteMemberSurvey.js
msgid "I don’t want to use this app"
msgstr "No quiero usar esta aplicación"

#: src/components/DeleteMemberSurvey.js
msgid "I don’t want this account connected here"
msgstr "No quiero que esta cuenta esté conectada aquí"

#: src/components/DeleteMemberSurvey.js src/views/manualAccount/constants.js
msgid "Other"
msgstr "Otro"
Expand Down Expand Up @@ -1022,14 +1006,6 @@ msgstr ""
msgid "Oops! Verification must be enabled to use this feature."
msgstr "¡Oh, no! La verificación debe estar habilitada para usar esta función."

#: src/views/connecting/progress/ProgressMessage.js
msgid "We’re working on it. Stick around!"
msgstr "Estamos trabajando en ello. ¡Quedarse!"

#: src/views/connecting/progress/ProgressMessage.js
msgid "We’re getting closer. Hang tight!"
msgstr "Nos estamos acercando. ¡Aguanta!"

#: src/views/connecting/progress/ProgressMessage.js
msgid "Still working. Stay with us!"
msgstr "Aún trabajando. ¡Quédate con nosotros!"
Expand Down Expand Up @@ -2086,3 +2062,31 @@ msgstr ""
#: src/components/InstitutionTile.js
msgid "UNAVAILABLE"
msgstr "INDISPONIBLE"

#: src/components/PoweredByFooter.tsx
msgid "powered by "
msgstr "desarrollado por "

#: src/components/DeleteMemberSurvey.js
msgid "I no longer use this account or it's not mine"
msgstr "Ya no uso esta cuenta o no es mía"

#: src/components/DeleteMemberSurvey.js
msgid "I don't want to share my data"
msgstr "No quiero compartir mis datos"

#: src/components/DeleteMemberSurvey.js
msgid "I don't want to use this app"
msgstr "No quiero usar esta aplicación"

#: src/components/DeleteMemberSurvey.js
msgid "I don't want this account connected here"
msgstr "No quiero esta cuenta conectada aquí"

#: src/views/connecting/progress/ProgressMessage.js
msgid "We're working on it. Stick around!"
msgstr "Estamos trabajando en ello. ¡Quedarse!"

#: src/views/connecting/progress/ProgressMessage.js
msgid "We're getting closer. Hang tight!"
msgstr "Nos estamos acercando. ¡Aguanta!"
13 changes: 7 additions & 6 deletions src/const/language/frCa.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,8 @@
"Oops! We weren't able to disconnect this institution. Please try again later.": "Oops! Nous n'avons pas pu déconnecter cette institution. Veuillez réessayer plus tard.",
"Ok": "Ok",
"Disconnect": "Déconnecter",
"I no longer use this account or it’s not mine": "Je n’utilise plus ce compte ou il ne m’appartient pas",
"I don’t want to share my data": "Je ne veux pas partager mes données",
"The account information is old or inaccurate": "Les informations de compte sont anciennes ou erronées",
"I am unable to connect this account here": "Je n’arrive pas à connecter ce compte",
"I don’t want to use this app": "Je ne veux pas utiliser cette application",
"I don’t want this account connected here": "Je ne veux pas que mon compte soit connecté ici",
"Other": "Autre",
"Oops! There was an error trying to connect your account. Please try again.": "Oups! Une erreur est survenue lors de la connexion de votre compte. Veuillez réessayer.",
"Loading ...": "Chargement ...",
Expand Down Expand Up @@ -208,8 +204,6 @@
"%1 added": "%1 ajouté",
"Your account has been saved manually. You can edit or delete it later.": "Votre compte a été enregistré manuellement. Vous pouvez le modifier ou le supprimer ultérieurement.",
"Oops! Verification must be enabled to use this feature.": "Oops! La vérification doit être activée pour utiliser cette fonctionnalité.",
"We’re working on it. Stick around!": "Nous y travaillons. Rester dans les parages!",
"We’re getting closer. Hang tight!": "Nous nous rapprochons. Tenir fermement!",
"Still working. Stay with us!": "Nous nous rapprochons. Tenir fermement!",
"Syncing your information.": "Synchronisation de vos informations.",
"Getting verification data.": "Obtenir des données de vérification.",
Expand Down Expand Up @@ -418,6 +412,13 @@
"Connection not supported by %1": "Connexion non prise en charge par %1",
"%1 currently limits how your data can be shared. We'll enable this connection once %1 opens access.": "%1 limite actuellement la manière dont vos données peuvent être partagées. Nous activerons cette connexion une fois que %1 ouvrira l'accès.",
"UNAVAILABLE": "INDISPONIBLE",
"powered by ": "alimenté par ",
"I no longer use this account or it's not mine": "Je n'utilise plus ce compte ou ce n'est pas le mien",
"I don't want to share my data": "Je ne veux pas partager mes données",
"I don't want to use this app": "Je ne veux pas utiliser cette application",
"I don't want this account connected here": "Je ne veux pas ce compte connecté ici",
"We're working on it. Stick around!": "Nous y travaillons. Rester dans les parages!",
"We're getting closer. Hang tight!": "Nous nous rapprochons. Tenir fermement!",
"connect/disclosure/policy/text\u0004By clicking Continue, you agree to the ": "En cliquant sur Continuer, vous acceptez la ",
"connect/disclosure/policy/link\u0004MX Privacy Policy.": "Politique de confidentialité de MX.",
"connect/disclosure/policy/link\u0004MX Privacy Policy": "Politique de confidentialité de MX.",
Expand Down
52 changes: 28 additions & 24 deletions src/const/language/frCa.po
Original file line number Diff line number Diff line change
Expand Up @@ -180,14 +180,6 @@ msgstr "Ok"
msgid "Disconnect"
msgstr "Déconnecter"

#: src/components/DeleteMemberSurvey.js
msgid "I no longer use this account or it’s not mine"
msgstr "Je n’utilise plus ce compte ou il ne m’appartient pas"

#: src/components/DeleteMemberSurvey.js
msgid "I don’t want to share my data"
msgstr "Je ne veux pas partager mes données"

#: src/components/DeleteMemberSurvey.js
msgid "The account information is old or inaccurate"
msgstr "Les informations de compte sont anciennes ou erronées"
Expand All @@ -196,14 +188,6 @@ msgstr "Les informations de compte sont anciennes ou erronées"
msgid "I am unable to connect this account here"
msgstr "Je n’arrive pas à connecter ce compte"

#: src/components/DeleteMemberSurvey.js
msgid "I don’t want to use this app"
msgstr "Je ne veux pas utiliser cette application"

#: src/components/DeleteMemberSurvey.js
msgid "I don’t want this account connected here"
msgstr "Je ne veux pas que mon compte soit connecté ici"

#: src/components/DeleteMemberSurvey.js src/views/manualAccount/constants.js
msgid "Other"
msgstr "Autre"
Expand Down Expand Up @@ -1109,14 +1093,6 @@ msgid "Oops! Verification must be enabled to use this feature."
msgstr ""
"Oops! La vérification doit être activée pour utiliser cette fonctionnalité."

#: src/views/connecting/progress/ProgressMessage.js
msgid "We’re working on it. Stick around!"
msgstr "Nous y travaillons. Rester dans les parages!"

#: src/views/connecting/progress/ProgressMessage.js
msgid "We’re getting closer. Hang tight!"
msgstr "Nous nous rapprochons. Tenir fermement!"

#: src/views/connecting/progress/ProgressMessage.js
msgid "Still working. Stay with us!"
msgstr "Nous nous rapprochons. Tenir fermement!"
Expand Down Expand Up @@ -2164,3 +2140,31 @@ msgstr ""
#: src/components/InstitutionTile.js
msgid "UNAVAILABLE"
msgstr "INDISPONIBLE"

#: src/components/PoweredByFooter.tsx
msgid "powered by "
msgstr "alimenté par "

#: src/components/DeleteMemberSurvey.js
msgid "I no longer use this account or it's not mine"
msgstr "Je n'utilise plus ce compte ou ce n'est pas le mien"

#: src/components/DeleteMemberSurvey.js
msgid "I don't want to share my data"
msgstr "Je ne veux pas partager mes données"

#: src/components/DeleteMemberSurvey.js
msgid "I don't want to use this app"
msgstr "Je ne veux pas utiliser cette application"

#: src/components/DeleteMemberSurvey.js
msgid "I don't want this account connected here"
msgstr "Je ne veux pas ce compte connecté ici"

#: src/views/connecting/progress/ProgressMessage.js
msgid "We're working on it. Stick around!"
msgstr "Nous y travaillons. Rester dans les parages!"

#: src/views/connecting/progress/ProgressMessage.js
msgid "We're getting closer. Hang tight!"
msgstr "Nous nous rapprochons. Tenir fermement!"
12 changes: 6 additions & 6 deletions src/views/connecting/progress/ProgressMessage.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,6 @@ import { JOB_TYPES } from 'src/const/consts'

import { __ } from 'src/utilities/Intl'

const subMessages = [
__('We’re working on it. Stick around!'),
__('We’re getting closer. Hang tight!'),
__('Still working. Stay with us!'),
]

export const ProgressMessage = ({ allDone, jobType }) => {
const tokens = useTokens()
const styles = {
Expand All @@ -27,6 +21,12 @@ export const ProgressMessage = ({ allDone, jobType }) => {
}
const [subTitle, setSubTitle] = useState('')

const subMessages = [
__("We're working on it. Stick around!"),
__("We're getting closer. Hang tight!"),
__('Still working. Stay with us!'),
]

useEffect(() => {
const messageCycle$ = from(subMessages)
// space the messages out by 10 seconds
Expand Down
Loading