mirror of
https://gitlab.linphone.org/BC/public/flexisip-account-manager.git
synced 2026-01-17 01:58:07 +00:00
Fix FLEXIAPI-276 Complete the translations
This commit is contained in:
parent
11a9f87f1d
commit
1d3c3b8c13
40 changed files with 105 additions and 130 deletions
|
|
@ -63,7 +63,7 @@ class AuthenticateController extends Controller
|
|||
}
|
||||
|
||||
if (!$account) {
|
||||
return redirect()->back()->withErrors(['authentication' => 'Wrong username or password']);
|
||||
return redirect()->back()->withErrors(['authentication' => __('Wrong username or password')]);
|
||||
}
|
||||
|
||||
// Try out the passwords
|
||||
|
|
@ -77,7 +77,7 @@ class AuthenticateController extends Controller
|
|||
}
|
||||
}
|
||||
|
||||
return redirect()->back()->withErrors(['authentication' => 'Wrong username or password']);
|
||||
return redirect()->back()->withErrors(['authentication' => __('Wrong username or password')]);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -60,7 +60,7 @@ class EmailController extends Controller
|
|||
}
|
||||
|
||||
return redirect()->route('account.email.change')->withErrors([
|
||||
'code' => 'The code entered was not valid'
|
||||
'code' => __('The code is not valid')
|
||||
]);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -60,7 +60,7 @@ class PhoneController extends Controller
|
|||
}
|
||||
|
||||
return redirect()->route('account.phone.change')->withErrors([
|
||||
'code' => 'The code entered was not valid'
|
||||
'code' => __('The code is not valid')
|
||||
]);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -86,11 +86,11 @@ class RecoveryController extends Controller
|
|||
}
|
||||
|
||||
if (!$account) {
|
||||
return redirect()->back()->withErrors(['identifier' => 'The account doesn\'t exists']);
|
||||
return redirect()->back()->withErrors(['identifier' => __("The account doesn't exists")]);
|
||||
}
|
||||
|
||||
if ($account->failedRecentRecovery()) {
|
||||
return redirect()->back()->withErrors(['code' => 'Account recovered recently, try again later']);
|
||||
return redirect()->back()->withErrors(['code' => __('Account recovered recently, try again later')]);
|
||||
}
|
||||
|
||||
if ($request->get('email')) {
|
||||
|
|
@ -124,7 +124,7 @@ class RecoveryController extends Controller
|
|||
return redirect()->route($request->get('method') == 'phone'
|
||||
? 'account.recovery.show.phone'
|
||||
: 'account.recovery.show.email')->withErrors([
|
||||
'code' => 'The code is expired'
|
||||
'code' => __('The code has expired')
|
||||
]);
|
||||
}
|
||||
|
||||
|
|
@ -132,7 +132,7 @@ class RecoveryController extends Controller
|
|||
return redirect()->route($request->get('method') == 'phone'
|
||||
? 'account.recovery.show.phone'
|
||||
: 'account.recovery.show.email')->withErrors([
|
||||
'code' => 'The code entered was not valid, try again later'
|
||||
'code' => 'The code is not valid'
|
||||
]);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -47,7 +47,7 @@ class AccountContactController extends Controller
|
|||
|
||||
if (!$contact) {
|
||||
return redirect()->back()->withErrors([
|
||||
'sip' => 'The contact SIP address doesn\'t exists'
|
||||
'sip' => __("The contact doesn't exists")
|
||||
]);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -111,7 +111,7 @@ class AccountController extends Controller
|
|||
|
||||
return view('admin.account.create_edit', [
|
||||
'account' => $account,
|
||||
'protocols' => [null => 'None'] + Account::$dtmfProtocols,
|
||||
'protocols' => [null => __('Empty')] + Account::$dtmfProtocols,
|
||||
'domains' => $request->user()?->superAdmin
|
||||
? Space::all()
|
||||
: Space::where('domain', $account->domain)->get(),
|
||||
|
|
|
|||
|
|
@ -1,6 +1,7 @@
|
|||
{
|
||||
"About": "À Propos",
|
||||
"Account creation": "Création de compte",
|
||||
"Account recovered recently, try again later": "Tentative de récupération de compte récente, retentez ultérieurement",
|
||||
"Account recovery": "Récupération de compte",
|
||||
"Account settings": "Paramètres de compte",
|
||||
"Accounts": "Comptes",
|
||||
|
|
@ -14,19 +15,26 @@
|
|||
"Add": "Ajouter",
|
||||
"Admin": "Administrateur",
|
||||
"Administration": "Administration",
|
||||
"All the admins in will be super admins": "Tous les administrateurs seront super-administrateurs",
|
||||
"All the admins will be super admins": "Tous les administrateurs seront super-administrateurs",
|
||||
"Allow a custom CSS theme": "Autoriser un thème CSS personnalisé",
|
||||
"Allow client settings to be overwritten by the provisioning ones": "Écraser la configuration client avec celle du provisionnement",
|
||||
"An email will be sent to this email when someone join the newsletter": "Un email sera envoyé à cette addresse quand quelqu'un rejoint la liste de diffusion",
|
||||
"An email will be sent to :email with a unique link allowing the user to reset its password.": "Un email sera envoyé à :email avec un lien unique l'invitant à réinitialiser son mot de passe",
|
||||
"App Configuration": "Configuration de l'App",
|
||||
"A verification code was sent by SMS to :phone.": "Un code de vérification a été envoyé par SMS au :phone",
|
||||
"A verification code was sent by email to :email.": "Un code de vérification a été envoyé par email à :email",
|
||||
"Assistant": "Assistant",
|
||||
"Blocked": "Bloqué",
|
||||
"Calls logs": "Journaux d'appel",
|
||||
"Cancel": "Annuler",
|
||||
"Cannot be changed once created.": "Ne peut être changé par la suite.",
|
||||
"Chat": "Chat",
|
||||
"Change your phone number": "Changer votre numéro de téléphone",
|
||||
"Change your email": "Changer votre email",
|
||||
"Check the README.md documentation": "Voir la documentation dans README.md",
|
||||
"Clear to never expire": "Laisser vide pour ne jamais expirer",
|
||||
"Code": "Code",
|
||||
"Connection": "Connexion",
|
||||
"Conference": "Conférence",
|
||||
"Configuration": "Configuration",
|
||||
"Confirm email": "Confirmation de l'email",
|
||||
|
|
@ -56,23 +64,30 @@
|
|||
"Empty": "Vide",
|
||||
"Enable the web interface": "Activer l'interface web",
|
||||
"Enabled": "Activé",
|
||||
"Enter the pin code bellow:": "Entrez le code pin ci-dessous:",
|
||||
"Errors": "Erreurs",
|
||||
"Expiration": "Expiration",
|
||||
"Export": "Exporter",
|
||||
"Expired": "Expiré",
|
||||
"Features": "Fonctionnalités",
|
||||
"From": "Depuis",
|
||||
"General settings": "Paramètres généraux",
|
||||
"Host": "Hôte",
|
||||
"I accept the Terms and Conditions": "J'accepte les Conditions Générales",
|
||||
"I accept the Privacy Policy": "J'accepte la Politique de Confidentialité",
|
||||
"I would like to subscribe to the newsletter": "Je voudrais m'inscrire à la newsletter",
|
||||
"I'm not a robot": "Je ne suis pas un robot",
|
||||
"Identifier": "Identifiant",
|
||||
"Import": "Importer",
|
||||
"In :days days": "Dans :days jours",
|
||||
"In ini format, will complete the other settings": "Au format ini, complètera les autres paramètres",
|
||||
"In lowercase letters": "En minuscules",
|
||||
"Information": "Informations",
|
||||
"Intercom features": "Fonctionnalités d'interphonie",
|
||||
"It might actually disable this page, be careful": "Cette page pourrait être désactivée, faites attention",
|
||||
"Key": "Clef",
|
||||
"Leave empty to create a root Space.": "Laisser vide si vous souhaitez créer un Espace à la racine",
|
||||
"Login using a QRCode": "S'authentifier avec un QRCode",
|
||||
"Login": "Authentification",
|
||||
"Manage": "Gérer",
|
||||
"Markdown text": "Texte Markdown",
|
||||
|
|
@ -84,6 +99,7 @@
|
|||
"Name": "Nom",
|
||||
"Never expire": "N'expire jamais",
|
||||
"New Admin": "Nouvel Admin",
|
||||
"Newsletter registration email address": "Addresse email d'inscription à la liste de diffusion",
|
||||
"Next": "Suivant",
|
||||
"No account yet?": "Pas encore de compte ?",
|
||||
"No email yet": "Pas d'email pour le moment",
|
||||
|
|
@ -96,15 +112,21 @@
|
|||
"Phone registration": "Inscription via mobile",
|
||||
"Provisioning tokens": "Jetons de provisionnement",
|
||||
"Provisioning": "Provisionnement",
|
||||
"Please enter the new phone number that you would like to link to your account.": "Veuillez entrer le numéro de téléphone que vous souhaitez lier à votre compte.",
|
||||
"Please enter the new email that you would like to link to your account.": "Veuillez entre l'adresse email que vous souhaitez lier à votre compte.",
|
||||
"Public registration": "Inscription publiques",
|
||||
"QR Code scanning": "Scan de QR Code",
|
||||
"Record calls": "Enregistrements des appels",
|
||||
"Recover your account using your email": "Récupérer votre compte avec votre email",
|
||||
"Recover your account using your phone number": "Récupérer votre compte avec votre numéro de téléphone",
|
||||
"Register": "Inscription",
|
||||
"Registration introduction": "Présentation lors de l'inscription",
|
||||
"Remove": "Remove",
|
||||
"Renew": "Renouveller",
|
||||
"Requests": "Requêtes",
|
||||
"Resend": "Ré-envoyer",
|
||||
"Reset password": "Réinitialiser le mot de passe",
|
||||
"Reset password emails": "Email de réinitialisation de mot de passe",
|
||||
"Reset": "Réinitialiser",
|
||||
"Role": "Rôle",
|
||||
"Search": "Rechercher",
|
||||
|
|
@ -112,21 +134,30 @@
|
|||
"Select a domain": "Sélectionner un domaine",
|
||||
"Select a file": "Choisir un fichier",
|
||||
"Send": "Envoyer",
|
||||
"Send an email to the user to reset the password": "Envoyer un email à l'utilisateur pour réinitialiser son mot de passe",
|
||||
"Sip Adress": "Adresse SIP",
|
||||
"SIP Domain": "Domaine SIP",
|
||||
"Space": "Espace",
|
||||
"Spaces": "Espaces",
|
||||
"Statistics": "Statistiques",
|
||||
"Scan the following QR Code using an authenticated device and wait a few seconds.": "Scanner le QR Code avec un appareil authentifié et attendez quelques secondes",
|
||||
"Subdomain": "Sous-domaine",
|
||||
"Super Admin": "Super Admin",
|
||||
"Super Space": "Super Espace",
|
||||
"The :attribute should not be a phone number": "Le champ :attribute ne peut pas être un numéro de téléphone",
|
||||
"The account doesn't exists": "Le compte n'existe pas",
|
||||
"The code has expired": "Le code a expiré",
|
||||
"The code is not valid": "Le code n'est pas valide",
|
||||
"The code will be available :minutes minutes.": "Le code sera disponible pendant :minutes minutes.",
|
||||
"The contact doesn't exists": "Le contact n'existe pas",
|
||||
"The file must be in CSV following this template": "Le fichier doit être au format CSV et respecter le modèle suivant",
|
||||
"The first line contains the labels": "La premières ligne contient les étiquettes",
|
||||
"The link can only be visited once": "Le lien ne peut être utilisé qu'une fois",
|
||||
"Third party SIP": "Adresse SIP tierce",
|
||||
"This link will be available for :hours hours.": "Ce lien restera disponible pour :hours heures.",
|
||||
"This link is not available anymore.": "Ce lien n'est plus disponible.",
|
||||
"To": "À",
|
||||
"Thanks for the validation": "Nous vous remercions pour la validation",
|
||||
"Transport": "Transport",
|
||||
"Types": "Types",
|
||||
"Unlimited if set to 0": "Illimité si à 0",
|
||||
|
|
@ -140,9 +171,13 @@
|
|||
"Value": "Valeur",
|
||||
"Verify": "Vérifier",
|
||||
"Week": "Semaine",
|
||||
"Welcome on :app_name": "Bienvenu sur :app_name",
|
||||
"Welcome on :app_name": "Bienvenue sur :app_name",
|
||||
"Wrong username or password": "Mauvais identifiant ou mot de passe",
|
||||
"Year": "Année",
|
||||
"You didn't receive the code?": "Vous n'avez pas reçu le code ?",
|
||||
"You already have an account?": "Vous avez déjà un compte ?",
|
||||
"You are going to permanently delete the following element. Please confirm your action.": "Vous allez supprimer l'élément suivant. Veuillez confirmer votre action.",
|
||||
"You can now continue your registration process in the application": "Vous pouvez maintenant continuer le processus d'inscription dans l'application",
|
||||
"You are going to permanently delete your account. Please enter your complete SIP address to confirm.": "Vous allez détruire défitivement votre compte. Veuillez entrer votre addresse SIP complète pour confirmer.",
|
||||
"Your password was updated properly.": "Votre mot de passe a été mis à jour."
|
||||
}
|
||||
6
flexiapi/public/css/style.css
vendored
6
flexiapi/public/css/style.css
vendored
|
|
@ -532,7 +532,9 @@ h3 {
|
|||
font-size: 1.75rem;
|
||||
color: var(--second-6);
|
||||
padding: 0.5rem 0;
|
||||
padding-bottom: 1rem;
|
||||
font-weight: bold;
|
||||
border-bottom: 1px solid var(--grey-2);
|
||||
}
|
||||
|
||||
h3 i {
|
||||
|
|
@ -619,7 +621,7 @@ table {
|
|||
}
|
||||
|
||||
table tr td a {
|
||||
display: block;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
table tr td,
|
||||
|
|
@ -653,7 +655,7 @@ table tr th a i {
|
|||
}
|
||||
|
||||
table thead {
|
||||
border-bottom: 1px solid var(--second-4);
|
||||
border-bottom: 1px solid var(--grey-2);
|
||||
}
|
||||
|
||||
table tr:nth-child(2n) {
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
@section('content')
|
||||
<section>
|
||||
<p>Scan the following QR Code using an authenticated device and wait a few seconds.</p><br />
|
||||
<p>{{ __('Scan the following QR Code using an authenticated device and wait a few seconds.') }}</p><br />
|
||||
<p><img src="{{ route('auth_tokens.qrcode', ['token' => $authToken->token]) }}"></p>
|
||||
<script type="text/javascript">
|
||||
setTimeout(function () { location.reload(1); }, 5000);
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
@extends('layouts.main', ['welcome' => true])
|
||||
|
||||
@section('content')
|
||||
<h3 class="text-center mt-5">Thanks for the validation</h3>
|
||||
<p class="text-center">You can now continue your registration process in the application</p>
|
||||
<h3 class="text-center mt-5">{{ __('Thanks for the validation') }}</h3>
|
||||
<p class="text-center">{{ __('You can now continue your registration process in the application') }}</p>
|
||||
@endsection
|
||||
|
|
@ -73,7 +73,7 @@
|
|||
<p><i class="ph">globe-hemisphere-west</i> {{ __('Domain') }}: {{ $account->domain }}</p>
|
||||
|
||||
@if (!empty(space()?->account_proxy_registrar_address))
|
||||
<p><i class="ph">lan</i> Proxy/registrar address: sip:{{ space()?->account_proxy_registrar_address }}
|
||||
<p><i class="ph">hard-drive</i> Proxy/registrar address: sip:{{ space()?->account_proxy_registrar_address }}
|
||||
</p>
|
||||
@endif
|
||||
@if (!empty(config('app.transport_protocol_text')))
|
||||
|
|
|
|||
|
|
@ -17,8 +17,8 @@
|
|||
@method('delete')
|
||||
|
||||
<div class="large">
|
||||
<p>You are going to permanently delete your account.</p>
|
||||
<p>Please enter your complete SIP address to confirm: <b>{{ $account->identifier }}</b>.</p>
|
||||
<p>{{ __('You are going to permanently delete your account. Please enter your complete SIP address to confirm.') }}</p>
|
||||
<p><b>{{ $account->identifier }}</b></p>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
|
|
|
|||
|
|
@ -11,10 +11,8 @@
|
|||
<h2>{{ __('Delete') }}</h2>
|
||||
|
||||
<div>
|
||||
<p>Are you sure you want to delete the following device?</p>
|
||||
<p>
|
||||
<b>User Agent:</b> {{ $device->user_agent }}
|
||||
</p>
|
||||
<p>{{ __('You are going to permanently delete the following element. Please confirm your action.') }}</p>
|
||||
<p><b>{{ $device->user_agent }}</b> </p>
|
||||
</div>
|
||||
|
||||
<form method="POST" action="{{ route('account.device.destroy') }}" accept-charset="UTF-8">
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
@section('content')
|
||||
|
||||
<h2>Change my account email address</h2>
|
||||
<h2>{{ __('Change your email') }}</h2>
|
||||
|
||||
@if (!empty($account->email))
|
||||
<p>Currently: {{ $account->email }}</p>
|
||||
|
|
|
|||
|
|
@ -4,30 +4,21 @@
|
|||
<section>
|
||||
<h1>
|
||||
<i class="ph">envelope</i>
|
||||
@if ($account->email)
|
||||
Change your email
|
||||
@else
|
||||
Set your email
|
||||
@endif
|
||||
{{ __('Change your email') }}
|
||||
</h1>
|
||||
|
||||
<form method="POST" action="{{ route('account.email.request_change') }}" accept-charset="UTF-8">
|
||||
@csrf
|
||||
|
||||
<div class="large">
|
||||
@if ($account->email)
|
||||
<p>Please enter the new email address that you would like to link to your account.</p>
|
||||
@else
|
||||
<p>The verification code is invalid.</p>
|
||||
<p>Please enter again your email address to receive a new code.</p>
|
||||
@endif
|
||||
<p>{{ __('Please enter the new email that you would like to link to your account.') }}</p>
|
||||
|
||||
@include('parts.errors', ['name' => 'code'])
|
||||
</div>
|
||||
|
||||
<div class="large">
|
||||
<input type="email" name="email" value="" placeholder="email@server.tld" required>
|
||||
<label for="email">Email</label>
|
||||
<label for="email">{{ __('Email') }}</label>
|
||||
@include('parts.errors', ['name' => 'email'])
|
||||
</div>
|
||||
|
||||
|
|
|
|||
|
|
@ -2,14 +2,14 @@
|
|||
|
||||
@section('content')
|
||||
<section>
|
||||
<h1 style="margin-bottom: 4rem;"><i class="ph">user-circle</i> Validate your email</h1>
|
||||
<h1 style="margin-bottom: 4rem;"><i class="ph">user-circle</i> {{ __('Change your phone email') }}</h1>
|
||||
|
||||
<form method="POST" action="{{ route('account.email.update') }}" accept-charset="UTF-8">
|
||||
@csrf
|
||||
|
||||
<div class="large">
|
||||
<p>A verification code was sent by email on <b>{{ $emailChangeCode->email }}</b>.</p>
|
||||
<p>Please enter the verification code below:</p>
|
||||
<p>{{ __('A verification code was sent by email to :email.', ['email' => $emailChangeCode->email]) }}</p>
|
||||
<p>{{ __('Enter the pin code bellow:') }}</p>
|
||||
</div>
|
||||
|
||||
<div class="large">
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@
|
|||
</header>
|
||||
|
||||
@if ($token->offed())
|
||||
<p>This link is not available anymore.</p>
|
||||
<p>{{ __('This link is not available anymore.') }}</p>
|
||||
@else
|
||||
<form id="password_update" method="POST" action="{{ route('account.reset_password_email.reset') }}" accept-charset="UTF-8">
|
||||
@csrf
|
||||
|
|
|
|||
|
|
@ -4,23 +4,14 @@
|
|||
<section>
|
||||
<h1>
|
||||
<i class="ph">phone</i>
|
||||
@if ($account->phone)
|
||||
Change your phone number
|
||||
@else
|
||||
Set your phone number
|
||||
@endif
|
||||
{{ __('Change your phone number') }}
|
||||
</h1>
|
||||
|
||||
<form method="POST" action="{{ route('account.phone.request_change') }}" accept-charset="UTF-8">
|
||||
@csrf
|
||||
|
||||
<div class="large">
|
||||
@if ($account->phone)
|
||||
<p>Please enter the new phone number that you would like to link to your account.</p>
|
||||
@else
|
||||
<p>The verification code is invalid or you didn't receive it.</p>
|
||||
<p>Please enter your phone number again to receive a new code.</p>
|
||||
@endif
|
||||
<p>{{ __('Please enter the new phone number that you would like to link to your account.') }}</p>
|
||||
|
||||
@include('parts.errors', ['name' => 'code'])
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -2,14 +2,14 @@
|
|||
|
||||
@section('content')
|
||||
<section>
|
||||
<h1><i class="ph">user-circle</i> Validate your phone number</h1>
|
||||
<h1><i class="ph">user-circle</i> {{ __('Change your phone number') }}</h1>
|
||||
|
||||
<form method="POST" action="{{ route('account.phone.update') }}" accept-charset="UTF-8">
|
||||
@csrf
|
||||
@csrf
|
||||
|
||||
<div class="large">
|
||||
<p>A verification code was sent by SMS on <b>{{ $phoneChangeCode->phone }}</b>.</p>
|
||||
<p>Please enter the verification code below:</p>
|
||||
<p>{{ __('A verification code was sent by SMS to :phone.', ['phone' => $phoneChangeCode->phone]) }}</p>
|
||||
<p>{{ __('Enter the pin code bellow:') }}</p>
|
||||
</div>
|
||||
|
||||
<div class="large">
|
||||
|
|
@ -28,8 +28,8 @@
|
|||
|
||||
<div class="large" style="margin-top: 2rem;">
|
||||
<p>
|
||||
You didn't receive the code?
|
||||
<a class="btn btn-secondary" href="{{ route('account.phone.change') }}">Resend a code</a>
|
||||
{{ __("You didn't receive the code?"") }}
|
||||
<a class="btn btn-secondary" href="{{ route('account.phone.change') }}">{{ __('Resend') }}</a>
|
||||
</p>
|
||||
</div>
|
||||
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@
|
|||
<form method="POST" action="{{ route('account.recovery.confirm') }}" accept-charset="UTF-8">
|
||||
@csrf
|
||||
|
||||
<p class="large">Enter the pin code you received to recover your account.</p>
|
||||
<p class="large">{{ __('Enter the pin code bellow:') }}</p>
|
||||
<div class="large">
|
||||
<input oninput="digitFilled(this)" onfocus="this.value = ''" autofocus class="digit" name="number_1" type="number" min="0" max="9">
|
||||
<input oninput="digitFilled(this)" onfocus="this.value = ''" class="digit" name="number_2" type="number" min="0" max="9">
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@
|
|||
<div>
|
||||
<input placeholder="username" name="username" type="text" value="{{ old('username') }}" required>
|
||||
<label for="username">{{ __('Username') }}</label>
|
||||
<small>In lowercase letters</small>
|
||||
<small>{{ __('In lowercase letters') }}</small>
|
||||
@include('parts.errors', ['name' => 'username'])
|
||||
</div>
|
||||
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@
|
|||
<div>
|
||||
<input placeholder="username" name="username" type="text" value="{{ old('username') }}">
|
||||
<label for="username">{{ __('Username') }}</label>
|
||||
<small>In lowercase letters</small>
|
||||
<small>{{ __('In lowercase letters') }}</small>
|
||||
@include('parts.errors', ['name' => 'username'])
|
||||
</div>
|
||||
<div>
|
||||
|
|
|
|||
|
|
@ -201,7 +201,7 @@
|
|||
@endif
|
||||
|
||||
@if ($account->resetPasswordEmailTokens->isNotEmpty())
|
||||
<h3>Set Password Emails</h3>
|
||||
<h3>{{ __('Reset password emails') }}</h3>
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@
|
|||
@method('delete')
|
||||
|
||||
<div>
|
||||
<p>You are going to remove the following contact from the contact list. Please confirm your action.</p>
|
||||
<p>{{ $device->user_agent }}</p>
|
||||
<p><b>{{ $contact->identifier }}</b></p>
|
||||
</div>
|
||||
|
||||
|
|
|
|||
|
|
@ -38,7 +38,7 @@
|
|||
id="create_edit" accept-charset="UTF-8">
|
||||
@csrf
|
||||
@method($account->id ? 'put' : 'post')
|
||||
<h2>Connexion</h2>
|
||||
<h2>{{ __('Connection') }}</h2>
|
||||
<div>
|
||||
<input placeholder="Username" required="required" name="username" type="text"
|
||||
value="@if($account->id){{ $account->username }}@else{{ old('username') }}@endif"
|
||||
|
|
@ -88,7 +88,7 @@
|
|||
@if (!empty($account->email))
|
||||
<p class="oppose">
|
||||
<a href="{{ route('admin.account.reset_password_email.create', $account) }}">
|
||||
Send an email to the user to reset the password
|
||||
{{ __('Send an email to the user to reset the password') }}
|
||||
</a>
|
||||
</p>
|
||||
@endif
|
||||
|
|
@ -189,8 +189,6 @@
|
|||
<h2 id="provisioning">{{ __('Provisioning') }}</h2>
|
||||
|
||||
@if ($account->provisioning_token)
|
||||
<p>Share the following picture with the user or the one-time-use link bellow.</p>
|
||||
|
||||
<img style="max-width: 15rem;" src="{{ route('provisioning.qrcode', $account->provisioning_token) }}">
|
||||
|
||||
<form class="inline">
|
||||
|
|
|
|||
|
|
@ -13,10 +13,8 @@
|
|||
<h2>{{ __('Delete') }}</h2>
|
||||
|
||||
<div>
|
||||
<p>Are you sure you want to delete the following device?</p>
|
||||
<p>
|
||||
<b>User Agent:</b> {{ $device->user_agent }}
|
||||
</p>
|
||||
<p>{{ __('You are going to permanently delete the following element. Please confirm your action.') }}</p>
|
||||
<p><b>{{ $device->user_agent }}</b></p>
|
||||
</div>
|
||||
|
||||
<form method="POST" action="{{ route('admin.account.device.destroy', $account) }}" accept-charset="UTF-8">
|
||||
|
|
@ -26,6 +24,5 @@
|
|||
<div>
|
||||
<input class="btn" type="submit" value="{{ __('Delete') }}">
|
||||
</div>
|
||||
|
||||
</form>
|
||||
@endsection
|
||||
|
|
|
|||
|
|
@ -1,9 +1,5 @@
|
|||
@extends('layouts.main')
|
||||
|
||||
@section('breadcrumb')
|
||||
<li class="breadcrumb-item" aria-current="page">{{ __('Accounts') }}</li>
|
||||
@endsection
|
||||
|
||||
@section('content')
|
||||
<header>
|
||||
<h1><i class="ph">users</i> {{ __('Accounts') }}</h1>
|
||||
|
|
|
|||
|
|
@ -12,9 +12,9 @@
|
|||
<h1><i class="ph">envelope</i> {{ __('Reset password') }}</h1>
|
||||
</header>
|
||||
|
||||
<p>An email will be sent to <b>{{ $account->email }}</b> with a unique link allowing the user to reset its password.</p>
|
||||
<p>{{ __('An email will be sent to :email with a unique link allowing the user to reset its password.', ['email' => $account->email]) }}</p>
|
||||
|
||||
<p>This link will be available for {{ config('app.reset_password_email_token_expiration_minutes')/60 }} hours.</p>
|
||||
<p>{{ __('This link will be available for :hours hours.', ['hours' => config('app.reset_password_email_token_expiration_minutes')/60]) }}</p>
|
||||
|
||||
<p>
|
||||
<a class="btn" href="{{ route('admin.account.reset_password_email.send', $account) }}">
|
||||
|
|
|
|||
|
|
@ -1,11 +1,5 @@
|
|||
@extends('layouts.main')
|
||||
|
||||
@section('breadcrumb')
|
||||
<li class="breadcrumb-item" aria-current="page">
|
||||
{{ __('Contacts Lists') }}
|
||||
</li>
|
||||
@endsection
|
||||
|
||||
@section('content')
|
||||
|
||||
<header>
|
||||
|
|
|
|||
|
|
@ -1,11 +1,5 @@
|
|||
@extends('layouts.main')
|
||||
|
||||
@section('breadcrumb')
|
||||
<li class="breadcrumb-item" aria-current="page">
|
||||
{{ __('Phone Countries') }}
|
||||
</li>
|
||||
@endsection
|
||||
|
||||
@section('content')
|
||||
|
||||
<header>
|
||||
|
|
@ -25,7 +19,7 @@
|
|||
<tr>
|
||||
<th>{{ __('Code') }}</th>
|
||||
<th>{{ __('Name') }}</th>
|
||||
<th>{{ __('Contry code') }}</th>
|
||||
<th>{{ __('Country code') }}</th>
|
||||
<th>{{ __('Actions') }}</th>
|
||||
</tr>
|
||||
</thead>
|
||||
|
|
|
|||
|
|
@ -45,7 +45,7 @@
|
|||
</div>
|
||||
|
||||
<div class="large">
|
||||
@include('parts.form.toggle', ['object' => $space, 'key' => 'super', 'label' => __('Super Space'), 'supporting' => __('All the admins in will be super admins')])
|
||||
@include('parts.form.toggle', ['object' => $space, 'key' => 'super', 'label' => __('Super Space'), 'supporting' => __('All the admins will be super admins')])
|
||||
</div>
|
||||
|
||||
<h3 class="large">Interface</h3>
|
||||
|
|
|
|||
|
|
@ -55,8 +55,8 @@
|
|||
|
||||
<div>
|
||||
<input name="newsletter_registration_address" id="newsletter_registration_address" placeholder="email@server.tld" type="email" value="{{ $space->newsletter_registration_address }}">
|
||||
<label for="newsletter_registration_address">Newsletter registration email address</label>
|
||||
<span class="supporting">An email will be sent to this address when someone register and join the newsletter</span>
|
||||
<label for="newsletter_registration_address">{{ __('Newsletter registration email address') }}</label>
|
||||
<span class="supporting">{{ __('An email will be sent to this email when someone join the newsletter') }}</span>
|
||||
@include('parts.errors', ['name' => 'newsletter_registration_address'])
|
||||
</div>
|
||||
|
||||
|
|
|
|||
|
|
@ -42,7 +42,7 @@
|
|||
<span class="supporting">{{ __('Cannot be changed once created.') }}</span>
|
||||
</div>
|
||||
|
||||
@include('parts.form.toggle', ['object' => $space, 'key' => 'super', 'label' => __('Super space'), 'supporting' => 'All the admins in will be super admins'])
|
||||
@include('parts.form.toggle', ['object' => $space, 'key' => 'super', 'label' => __('Super space'), 'supporting' => __('All the admins will be super admins')])
|
||||
|
||||
<div class="large">
|
||||
<input class="btn" type="submit" value="{{ __('Create') }}">
|
||||
|
|
|
|||
|
|
@ -1,9 +1,5 @@
|
|||
@extends('layouts.main')
|
||||
|
||||
@section('breadcrumb')
|
||||
<li class="breadcrumb-item" aria-current="page">{{ __('Spaces') }}</li>
|
||||
@endsection
|
||||
|
||||
@section('content')
|
||||
|
||||
<header>
|
||||
|
|
@ -40,9 +36,9 @@
|
|||
</td>
|
||||
<td>
|
||||
@if ($space->isExpired())
|
||||
Expired
|
||||
{{ __('Expired') }}
|
||||
@elseif ($space->expire_at)
|
||||
In {{ $space->daysLeft }} days
|
||||
{{ __('In :days days', ['days' => $space->daysLeft]) }}
|
||||
@else
|
||||
<i class="ph">infinity</i>
|
||||
@endif
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@
|
|||
</li>
|
||||
@endif
|
||||
<li class="breadcrumb-item">{{ $space->name }}</li>
|
||||
<li class="breadcrumb-item active" aria-current="page">Information</li>
|
||||
<li class="breadcrumb-item active" aria-current="page">{{ __('Information') }}</li>
|
||||
@endsection
|
||||
|
||||
@section('content')
|
||||
|
|
@ -32,19 +32,19 @@
|
|||
<div class="card">
|
||||
<span class="icon"><i class="ph">users</i></span>
|
||||
<h3>{{ __('Accounts') }}</h3>
|
||||
@if ($space->max_accounts > 0)
|
||||
<progress max="100" value="{{ $space->accountsPercentage }}"
|
||||
class="{{ $space->accountsPercentageClass }}"></progress>
|
||||
@endif
|
||||
<p>
|
||||
{{ $space->accounts()->count() }}
|
||||
/
|
||||
@if ($space->max_accounts > 0){{ $space->max_accounts }} @else <i class="ph">infinity</i>@endif
|
||||
</p>
|
||||
@if ($space->max_accounts > 0)
|
||||
<progress max="100" value="{{ $space->accountsPercentage }}"
|
||||
class="{{ $space->accountsPercentageClass }}"></progress>
|
||||
@endif
|
||||
</div>
|
||||
<div class="card">
|
||||
<span class="icon"><i class="ph">clock</i></span>
|
||||
<h3>Expiration</h3>
|
||||
<h3>{{ __('Expiration') }}</h3>
|
||||
@if ($space->isExpired())
|
||||
<p>Expired</p>
|
||||
@elseif ($space->expire_at)
|
||||
|
|
@ -62,7 +62,7 @@
|
|||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
@include('parts.column_sort', ['uriParams' => ['space' => $space], 'key' => 'username', 'title' => 'Identifier'])
|
||||
@include('parts.column_sort', ['uriParams' => ['space' => $space], 'key' => 'username', 'title' => __('Identifier')])
|
||||
@include('parts.column_sort', ['uriParams' => ['space' => $space], 'key' => 'updated_at', 'title' => __('Updated')])
|
||||
</tr>
|
||||
</thead>
|
||||
|
|
|
|||
|
|
@ -1,9 +1,5 @@
|
|||
@extends('layouts.main')
|
||||
|
||||
@section('breadcrumb')
|
||||
<li class="breadcrumb-item active" aria-current="page">{{ __('Statistics') }}</li>
|
||||
@endsection
|
||||
|
||||
@section('content')
|
||||
<header>
|
||||
<h1><i class="ph">chart-donut</i> {{ __('Statistics') }}</h1>
|
||||
|
|
|
|||
|
|
@ -1,9 +1,5 @@
|
|||
@extends('layouts.main')
|
||||
|
||||
@section('breadcrumb')
|
||||
<li class="breadcrumb-item active" aria-current="page">{{ __('Statistics') }}</li>
|
||||
@endsection
|
||||
|
||||
@section('content')
|
||||
<header>
|
||||
<h1><i class="ph">chart-donut</i> {{ __('Statistics') }}</h1>
|
||||
|
|
|
|||
|
|
@ -72,7 +72,6 @@
|
|||
@hasSection('breadcrumb')
|
||||
<nav aria-label="breadcrumb">
|
||||
<ol class="breadcrumb">
|
||||
<li class="breadcrumb-item"><a href="{{ route('account.dashboard') }}">{{ __('My Account') }}</a></li>
|
||||
@yield('breadcrumb')
|
||||
</ol>
|
||||
</nav>
|
||||
|
|
|
|||
|
|
@ -1,14 +1,7 @@
|
|||
<p class="text-center pt-3">
|
||||
@if (config('app.account_email_unique'))
|
||||
Set or recover your account
|
||||
@else
|
||||
Set or recover your password
|
||||
@endif
|
||||
using your <a href="{{ route('account.recovery.show.email') }}">{{ __('Email') }}</a>
|
||||
<i class="ph">envelope</i><a href="{{ route('account.recovery.show.email') }}">{{ __('Recover your account using your email') }}</a><br />
|
||||
@if (space()->phone_registration)
|
||||
or your <a href="{{ route('account.recovery.show.phone') }}">{{ __('Phone number') }}</a>
|
||||
<i class="ph">phone</i><a href="{{ route('account.recovery.show.phone') }}">{{ __('Recover your account using your phone number') }}</a><br />
|
||||
@endif
|
||||
</p>
|
||||
<p class="text-center">
|
||||
…or login using an already authenticated device <a href="{{ route('account.authenticate.auth_token') }}">by flashing a QRcode</a>.
|
||||
<i class="ph">qr-code</i><a href="{{ route('account.authenticate.auth_token') }}">{{ __('Login using a QRCode') }}</a>
|
||||
</p>
|
||||
|
|
@ -3,10 +3,9 @@
|
|||
<label for="terms"></label>
|
||||
<div>
|
||||
<p>
|
||||
I accept the
|
||||
<a href="{{ config('app.terms_of_use_url') }}">Terms and Conditions</a>
|
||||
<i class="ph">file-text</i><a href="{{ config('app.terms_of_use_url') }}">{{ __('I accept the Terms and Conditions') }}</a>
|
||||
@if (config('app.privacy_policy_url', null) != null)
|
||||
and <a href="{{ config('app.privacy_policy_url') }}">Privacy policy</a>
|
||||
<br /><i class="ph">file-lock</i><a href="{{ config('app.privacy_policy_url') }}">{{ __('I accept the Privacy policy') }}</a>
|
||||
@endif
|
||||
</p>
|
||||
@include('parts.errors', ['name' => 'terms'])
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue