diff --git a/src/components/DeleteMemberSurvey.js b/src/components/DeleteMemberSurvey.js index 72000ca115..9d8565541f 100644 --- a/src/components/DeleteMemberSurvey.js +++ b/src/components/DeleteMemberSurvey.js @@ -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 () => {} @@ -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, -] diff --git a/src/components/PoweredByFooter.tsx b/src/components/PoweredByFooter.tsx index ae4f7c393f..0aeb7a5eec 100644 --- a/src/components/PoweredByFooter.tsx +++ b/src/components/PoweredByFooter.tsx @@ -1,5 +1,6 @@ import React from 'react' import { Text } from '@mxenabled/mxui' +import { __ } from 'src/utilities/Intl' interface PoweredByFooterProps { aggregator?: string @@ -11,7 +12,7 @@ export const PoweredByFooter = ({ aggregator = 'MX' }: PoweredByFooterProps) => return (
- powered by{' '} + {__('powered by ')} {aggregator} diff --git a/src/const/language/es.json b/src/const/language/es.json index d481f89c6f..fc6fdb7e76 100644 --- a/src/const/language/es.json +++ b/src/const/language/es.json @@ -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", @@ -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.", @@ -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.", diff --git a/src/const/language/es.po b/src/const/language/es.po index 728bdbc963..10b2f2c313 100644 --- a/src/const/language/es.po +++ b/src/const/language/es.po @@ -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" @@ -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" @@ -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!" @@ -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!" diff --git a/src/const/language/frCa.json b/src/const/language/frCa.json index ef29b41724..8d139c608f 100644 --- a/src/const/language/frCa.json +++ b/src/const/language/frCa.json @@ -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 ...", @@ -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.", @@ -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.", diff --git a/src/const/language/frCa.po b/src/const/language/frCa.po index f0f49f4120..4b47ac77e1 100644 --- a/src/const/language/frCa.po +++ b/src/const/language/frCa.po @@ -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" @@ -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" @@ -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!" @@ -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!" diff --git a/src/views/connecting/progress/ProgressMessage.js b/src/views/connecting/progress/ProgressMessage.js index c4fa71bf42..55d5a9b78b 100644 --- a/src/views/connecting/progress/ProgressMessage.js +++ b/src/views/connecting/progress/ProgressMessage.js @@ -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 = { @@ -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