translations

This commit is contained in:
Maxime Renou 2020-05-12 18:54:56 +02:00
parent bd6ebc99bf
commit f22b7b12ba
4 changed files with 15 additions and 1 deletions

View File

@ -0,0 +1,5 @@
<?php
return [
'button' => 'Sign in with Bluesquare Connect'
];

View File

@ -0,0 +1,5 @@
<?php
return [
'button' => 'Connexion avec Bluesquare Connect'
];

View File

@ -26,7 +26,7 @@
</g>
</g>
</svg>
<span>{{ __('Sign in with Bluesquare Connect') }}</span>
<span>{{ trans('connect::messages.button') }}</span>
</a>
<style>
.bconnect-button {

View File

@ -42,6 +42,10 @@ class ConnectServiceProvider extends ServiceProvider
__DIR__ . '/../config/bconnect.php' => config_path('bconnect.php')
]);
// Translations
$this->loadTranslationsFrom(__DIR__.'/../resources/translations', 'connect');
// Views
$this->loadViewsFrom(__DIR__.'/../resources/views/connect', 'connect');