fix: FLEXIAPI-311 Typos

This commit is contained in:
Félix Olart 2025-06-02 12:35:01 +02:00
parent cc45376d7d
commit c3dcbab9cc
4 changed files with 8 additions and 8 deletions

View file

@ -2,7 +2,7 @@
FlexiAPI relies on [DotEnv](https://github.com/vlucas/phpdotenv) to be configured. This configuration can be accessed using the existing `.env` file that can be itself overwritten by an environnement variables.
Thoses variables can then be set using Docker-Compose, a bash script or a web-server.
Those variables can then be set using Docker-Compose, a bash script or a web-server.
If you're installing FlexiAPI from the RedHat or Debian package you can find the configuration file at `/etc/flexisip-account-manager/flexiapi.env`.
@ -33,7 +33,7 @@ To know more about the web server configuration part, you can directly [visit th
# 3. .env file configuration
Complete all the variables in the `.env` file (from the `.env.example` one if you setup the instance manually) or by overwritting them in your Docker or web-server configuration.
Complete all the variables in the `.env` file (from the `.env.example` one if you setup the instance manually) or by overwriting them in your Docker or web-server configuration.
## 3.1. Mandatory `APP_ROOT_HOST` variable
@ -74,7 +74,7 @@ For example:
## 5. Create a first administrator and finish the setup
Create a first administator account:
Create a first administrator account:
php artisan accounts:create-admin-account {-u|username=} {-p|password=} {-d|domain=}

View file

@ -95,19 +95,19 @@ Once one account is declared as administrator, you can directly configure the ot
### Seed liblinphone test accounts
You can also seed the tables with test accounts for the liblinphone test suite with the following command (check LiblinphoneTesterAccoutSeeder for the JSON syntax):
You can also seed the tables with test accounts for the liblinphone test suite with the following command (check LiblinphoneTesterAccountSeeder for the JSON syntax):
php artisan accounts:seed /path/to/accounts.json
## SMS templates
To send SMS to the USA some providers need to validate their templates before transfering them, see [Sending SMS messages to the USA - OVH](https://help.ovhcloud.com/csm/en-ie-sms-sending-sms-to-usa?id=kb_article_view&sysparm_article=KB0051359).
To send SMS to the USA some providers need to validate their templates before transferring them, see [Sending SMS messages to the USA - OVH](https://help.ovhcloud.com/csm/en-ie-sms-sending-sms-to-usa?id=kb_article_view&sysparm_article=KB0051359).
Here are the currently used SMS templates in the app to declare in your provider panel:
- Validation code: `Your #APP_NAME# validation code is #CODE#`. Sent to validate the phone change by SMS.
- Validation code with expiration: `Your #APP_NAME# validation code is #CODE#. The code is available for #CODE_MINUTES# minutes`. Sent to validate the phone change by SMS, include an expiration time.
## Custom email templaces
## Custom email templates
Some email templates can be customized.

View file

@ -29,7 +29,7 @@
<div class="large" style="margin-top: 2rem;">
<p>
{{ __('You didn't receive the code?') }}
{{ __("You didn't receive the code?") }}
<a class="btn secondary" href="{{ route('account.email.change') }}">{{ __('Resend') }}</a>
</p>
</div>

View file

@ -89,7 +89,7 @@
</h3>
@if ($account->external)
@if ($account->external->username)
<p><i class="ph">user</i> {{ __('Usernale') }}: {{ $account->external->username }}</p>
<p><i class="ph">user</i> {{ __('Username') }}: {{ $account->external->username }}</p>
@endif
@if ($account->external->domain)
<p><i class="ph">hard-drive</i> {{ __('Domain') }}: {{ $account->external->domain }}</p>