mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-08 20:22:42 +01:00
Update language references
As a result of removing confide, the lang name for some text must change.
This commit is contained in:
parent
80392e5902
commit
291242fcb0
@ -85,7 +85,7 @@ class UserController extends BaseController
|
||||
$user->force_pdfjs = true;
|
||||
$user->save();
|
||||
|
||||
Session::flash('message', trans('texts.confide.updated_settings'));
|
||||
Session::flash('message', trans('texts.security.updated_settings'));
|
||||
|
||||
return Redirect::to('/dashboard');
|
||||
}
|
||||
@ -306,7 +306,7 @@ class UserController extends BaseController
|
||||
|
||||
// Check if there was too many login attempts
|
||||
if (Confide::isThrottled($input)) {
|
||||
$err_msg = trans('texts.confide.too_many_attempts');
|
||||
$err_msg = trans('texts.security.too_many_attempts');
|
||||
}
|
||||
/*
|
||||
elseif( $user->checkUserExists( $input ) and ! $user->isConfirmed( $input ) )
|
||||
@ -315,7 +315,7 @@ class UserController extends BaseController
|
||||
}
|
||||
*/
|
||||
else {
|
||||
$err_msg = trans('texts.confide.wrong_credentials');
|
||||
$err_msg = trans('texts.security.wrong_credentials');
|
||||
}
|
||||
|
||||
return Redirect::action('UserController@login')
|
||||
@ -332,7 +332,7 @@ class UserController extends BaseController
|
||||
public function confirm($code)
|
||||
{
|
||||
if (Confide::confirm($code)) {
|
||||
$notice_msg = trans('texts.confide.confirmation');
|
||||
$notice_msg = trans('texts.security.confirmation');
|
||||
|
||||
$user = User::where('confirmation_code', '=', $code)->get()->first();
|
||||
$user->confirmation_code = '';
|
||||
@ -353,7 +353,7 @@ class UserController extends BaseController
|
||||
}
|
||||
}
|
||||
} else {
|
||||
$error_msg = trans('texts.confide.wrong_confirmation');
|
||||
$error_msg = trans('texts.security.wrong_confirmation');
|
||||
|
||||
return Redirect::action('UserController@login')->with('error', $error_msg);
|
||||
}
|
||||
@ -376,7 +376,7 @@ class UserController extends BaseController
|
||||
{
|
||||
Confide::forgotPassword(Input::get('email'));
|
||||
|
||||
$notice_msg = trans('texts.confide.password_forgot');
|
||||
$notice_msg = trans('texts.security.password_forgot');
|
||||
|
||||
return Redirect::action('UserController@login')
|
||||
->with('notice', $notice_msg);
|
||||
@ -429,7 +429,7 @@ class UserController extends BaseController
|
||||
$user->password = Input::get('password');
|
||||
$user->save();
|
||||
|
||||
Session::flash('message', trans('texts.confide.password_reset'));
|
||||
Session::flash('message', trans('texts.security.password_reset'));
|
||||
|
||||
return Redirect::to('/dashboard');
|
||||
} else {
|
||||
@ -441,12 +441,12 @@ class UserController extends BaseController
|
||||
|
||||
// By passing an array with the token, password and confirmation
|
||||
if (Confide::resetPassword($input)) {
|
||||
$notice_msg = trans('texts.confide.password_reset');
|
||||
$notice_msg = trans('texts.security.password_reset');
|
||||
|
||||
return Redirect::action('UserController@login')
|
||||
->with('notice', $notice_msg);
|
||||
} else {
|
||||
$error_msg = trans('texts.confide.wrong_password_reset');
|
||||
$error_msg = trans('texts.security.wrong_password_reset');
|
||||
|
||||
return Redirect::action('UserController@reset_password', array('token' => $input['token']))
|
||||
->withInput()
|
||||
|
@ -282,7 +282,7 @@ return array(
|
||||
'cvv' => 'CVV',
|
||||
|
||||
// Security alerts
|
||||
'confide' => [
|
||||
'security' => [
|
||||
'too_many_attempts' => 'For mange forsøg. Prøv igen om nogen få minutter.',
|
||||
'wrong_credentials' => 'Fejl e-mail eller adgangskode.',
|
||||
'confirmation' => 'Din konto har blevet bekræftet!',
|
||||
|
@ -277,7 +277,7 @@ return array(
|
||||
'cvv' => 'Kartenprüfziffer',
|
||||
|
||||
// Security alerts
|
||||
'confide' => array(
|
||||
'security' => array(
|
||||
'too_many_attempts' => 'Zu viele Versuche. Bitte probiere es in ein paar Minuten erneut.',
|
||||
'wrong_credentials' => 'Falsche E-Mail Adresse oder falsches Passwort.',
|
||||
'confirmation' => 'Dein Konto wurde bestätigt!',
|
||||
|
@ -280,7 +280,7 @@ return array(
|
||||
'cvv' => 'CVV',
|
||||
|
||||
// Security alerts
|
||||
'confide' => [
|
||||
'security' => [
|
||||
'too_many_attempts' => 'Too many attempts. Try again in few minutes.',
|
||||
'wrong_credentials' => 'Incorrect email or password.',
|
||||
'confirmation' => 'Your account has been confirmed!',
|
||||
|
@ -273,7 +273,7 @@ return array(
|
||||
'cvv' => 'CVV',
|
||||
|
||||
// Security alerts
|
||||
'confide' => array(
|
||||
'security' => array(
|
||||
'too_many_attempts' => 'Demasiados intentos fallidos. Inténtalo de nuevo en un par de minutos.',
|
||||
'wrong_credentials' => 'Contraseña o email incorrecto.',
|
||||
'confirmation' => '¡Tu cuenta se ha confirmado!',
|
||||
|
@ -279,7 +279,7 @@ return array(
|
||||
'cvv' => 'CVV',
|
||||
|
||||
// Security alerts
|
||||
'confide' => array(
|
||||
'security' => array(
|
||||
'too_many_attempts' => 'Trop de tentatives. Essayez à nouveau dans quelques minutes.',
|
||||
'wrong_credentials' => 'Courriel ou mot de passe incorrect',
|
||||
'confirmation' => 'Votre compte a été validé !',
|
||||
|
@ -279,7 +279,7 @@ return array(
|
||||
'cvv' => 'CVV',
|
||||
|
||||
// Security alerts
|
||||
'confide' => [
|
||||
'security' => [
|
||||
'too_many_attempts' => 'Troppi tentativi fatti. Riprova tra qualche minuto.',
|
||||
'wrong_credentials' => 'Email o password non corretti.',
|
||||
'confirmation' => 'Il tuo account è stato confermato!',
|
||||
|
@ -280,7 +280,7 @@ return array(
|
||||
'cvv' => 'CVV',
|
||||
|
||||
// Security alerts
|
||||
'confide' => [
|
||||
'security' => [
|
||||
'too_many_attempts' => 'Too many attempts. Try again in few minutes.',
|
||||
'wrong_credentials' => 'Incorrect email or password.',
|
||||
'confirmation' => 'Your account has been confirmed!',
|
||||
|
@ -280,7 +280,7 @@ return array(
|
||||
'cvv' => 'CVV',
|
||||
|
||||
// Security alerts
|
||||
'confide' => [
|
||||
'security' => [
|
||||
'too_many_attempts' => 'For mange forsøk. Prøv igjen om noen få minutter.',
|
||||
'wrong_credentials' => 'Feil e-post eller passord.',
|
||||
'confirmation' => 'Din konto har blitt bekreftet!',
|
||||
|
@ -277,7 +277,7 @@ return array(
|
||||
'cvv' => 'CVV',
|
||||
|
||||
// Security alerts
|
||||
'confide' => [
|
||||
'security' => [
|
||||
'too_many_attempts' => 'Te veel pogingen. Probeer opnieuw binnen enkele minuten.',
|
||||
'wrong_credentials' => 'Verkeerd e-mailadres of paswoord.',
|
||||
'confirmation' => 'Je account is bevestigd!',
|
||||
|
@ -274,6 +274,18 @@ return array(
|
||||
'expiration_year' => 'Ano de expiração',
|
||||
'cvv' => 'CVV',
|
||||
|
||||
// This File was missing the security alerts. I'm not familiar with this language, Can someone translate?
|
||||
// Security alerts
|
||||
/*'security' => [
|
||||
'too_many_attempts' => 'Too many attempts. Try again in few minutes.',
|
||||
'wrong_credentials' => 'Incorrect email or password.',
|
||||
'confirmation' => 'Your account has been confirmed!',
|
||||
'wrong_confirmation' => 'Wrong confirmation code.',
|
||||
'password_forgot' => 'The information regarding password reset was sent to your email.',
|
||||
'password_reset' => 'Your password has been changed successfully.',
|
||||
'wrong_password_reset' => 'Invalid password. Try again',
|
||||
],*/
|
||||
|
||||
// Pro Plan
|
||||
'pro_plan' => [
|
||||
'remove_logo' => ':link para remover a logo do Invoice Ninja contratando o plano profissional',
|
||||
|
Loading…
Reference in New Issue
Block a user