From a3a8426bee821b2ac8ea259c2322867e973c3f8e Mon Sep 17 00:00:00 2001 From: LucasBrazi06 Date: Tue, 18 Jan 2022 18:05:14 +0100 Subject: [PATCH] Renamed Technical user to API user --- src/I18n/languages/cs.json | 2 +- src/I18n/languages/de.json | 2 +- src/I18n/languages/en.json | 2 +- src/I18n/languages/es.json | 2 +- src/I18n/languages/fr.json | 2 +- src/I18n/languages/it.json | 2 +- src/I18n/languages/pt.json | 2 +- src/screens/auth/login/Login.tsx | 3 ++- 8 files changed, 9 insertions(+), 8 deletions(-) diff --git a/src/I18n/languages/cs.json b/src/I18n/languages/cs.json index e11289033..bd919b6df 100644 --- a/src/I18n/languages/cs.json +++ b/src/I18n/languages/cs.json @@ -120,7 +120,7 @@ "registerUnexpectedError": "Nelze vytvořit účet", "accountLocked": "Váš účet je zablokován", "accountNotActive": "Váš účet není aktivní", - "technicalUserCannotLoginToUI": "Technical user and cannot login using the application", + "technicalUserCannotLoginToUI": "API user and cannot login using the application", "accountAlreadyActive": "Váš účet je již aktivní", "accountVerifiedSuccess": "Váš účet byl úspěšně aktivován!", "accountPending": "Váš účet čeká na vyřízení! Zkontrolujte svůj e-mail", diff --git a/src/I18n/languages/de.json b/src/I18n/languages/de.json index 81bd61b47..389ae6822 100644 --- a/src/I18n/languages/de.json +++ b/src/I18n/languages/de.json @@ -120,7 +120,7 @@ "registerUnexpectedError": "Neuen Account erstellen", "emailAlreadyExists": "Email existiert bereits", "accountNotActive": "Ihr Konto ist nicht aktiv", - "technicalUserCannotLoginToUI": "Technical user and cannot login using the application", + "technicalUserCannotLoginToUI": "API user and cannot login using the application", "accountAlreadyActive": "Ihr Account ist bereits aktiviert", "accountVerifiedSuccess": "Ihr Account wurde erfolgreich aktiviert!", "accountPending": "Ihr Konto wurde noch nicht aktiviert, überprüfen Sie Ihre E-Mails!", diff --git a/src/I18n/languages/en.json b/src/I18n/languages/en.json index 28619c6ab..0911f9d75 100644 --- a/src/I18n/languages/en.json +++ b/src/I18n/languages/en.json @@ -120,7 +120,7 @@ "registerUnexpectedError": "Cannot create account", "accountLocked": "Your account is locked", "accountNotActive": "Your account is not active", - "technicalUserCannotLoginToUI": "Technical user and cannot login using the application", + "technicalUserCannotLoginToUI": "API user and cannot login using the application", "accountAlreadyActive": "Your account is already active", "accountVerifiedSuccess": "Your account has been activated with success!", "accountPending": "Your account is pending! Check your e-mail", diff --git a/src/I18n/languages/es.json b/src/I18n/languages/es.json index 990d87863..835b8df19 100644 --- a/src/I18n/languages/es.json +++ b/src/I18n/languages/es.json @@ -120,7 +120,7 @@ "registerUnexpectedError": "No se ha podido crear la cuenta", "accountLocked": "Su cuenta ha sido bloqueada", "accountNotActive": "Su cuenta no ha sido activada", - "technicalUserCannotLoginToUI": "Technical user and cannot login using the application", + "technicalUserCannotLoginToUI": "API user and cannot login using the application", "accountAlreadyActive": "Su cuenta ya ha sido activada", "accountVerifiedSuccess": "¡Su cuenta ha sido activada exitosamente!", "accountPending": "¡Su cuenta está pendiente! Revise su correo electrónico", diff --git a/src/I18n/languages/fr.json b/src/I18n/languages/fr.json index 05ab84c94..d84fb71bf 100644 --- a/src/I18n/languages/fr.json +++ b/src/I18n/languages/fr.json @@ -120,7 +120,7 @@ "registerUnexpectedError": "Impossible de créer le compte", "accountLocked": "Votre compte est bloqué", "accountNotActive": "Votre compte est inactif", - "technicalUserCannotLoginToUI": "Un utilisateur technique ne peut pas se connecter en utilisant l'application", + "technicalUserCannotLoginToUI": "Un utilisateur API ne peut pas se connecter en utilisant l'application", "accountAlreadyActive": "Votre compte a déjà été activé", "accountVerifiedSuccess": "Votre compte a été activé avec succès!", "accountPending": "Votre compte n'est pas activé! Vérifiez vos e-mails", diff --git a/src/I18n/languages/it.json b/src/I18n/languages/it.json index f3ed3a469..abeaa340a 100644 --- a/src/I18n/languages/it.json +++ b/src/I18n/languages/it.json @@ -120,7 +120,7 @@ "registerUnexpectedError": "Non posso creare un'account", "accountLocked": "Il tuo account è bloccato", "accountNotActive": "Il tuo account non è attivo", - "technicalUserCannotLoginToUI": "Technical user and cannot login using the application", + "technicalUserCannotLoginToUI": "API user and cannot login using the application", "accountAlreadyActive": "Il tuo account è già attivo", "accountVerifiedSuccess": "Il tuo account è stato attivato con successo!", "accountPending": "Il tuo account è in sospeso! Controlla la tua email", diff --git a/src/I18n/languages/pt.json b/src/I18n/languages/pt.json index b5ae470cd..42f5220a3 100644 --- a/src/I18n/languages/pt.json +++ b/src/I18n/languages/pt.json @@ -120,7 +120,7 @@ "registerUnexpectedError": "A conta não pode ser criada", "accountLocked": "A sua conta está bloqueada", "accountNotActive": "A sua conta não está ativa", - "technicalUserCannotLoginToUI": "Technical user and cannot login using the application", + "technicalUserCannotLoginToUI": "API user and cannot login using the application", "accountAlreadyActive": "A sua conta já está ativa", "accountVerifiedSuccess": "A sua conta foi ativada com sucesso!", "accountPending": "A sua conta está pendendte! Por favor Verifique o seu email", diff --git a/src/screens/auth/login/Login.tsx b/src/screens/auth/login/Login.tsx index 1cbd64316..77294c6df 100644 --- a/src/screens/auth/login/Login.tsx +++ b/src/screens/auth/login/Login.tsx @@ -2,6 +2,7 @@ import I18n from 'i18n-js'; import { Button, CheckBox, Form, Icon, Item, Spinner, Text, View } from 'native-base'; import React from 'react'; import { BackHandler, Keyboard, KeyboardAvoidingView, ScrollView, TextInput, TouchableOpacity } from 'react-native'; + import DialogModal from '../../../components/modal/DialogModal'; import ExitAppDialog from '../../../components/modal/exit-app/ExitAppDialog'; import computeModalCommonStyle from '../../../components/modal/ModalCommonStyle'; @@ -244,7 +245,7 @@ export default class Login extends BaseScreen { case HTTPError.USER_ACCOUNT_INACTIVE_ERROR: Message.showError(I18n.t('authentication.accountNotActive')); break; - // Technical User + // API User case HTTPError.TECHNICAL_USER_CANNOT_LOG_TO_UI_ERROR: Message.showError(I18n.t('authentication.technicalUserCannotLoginToUI')); break;