You've already forked laravel-connect
translations
This commit is contained in:
5
resources/translations/en/messages.php
Normal file
5
resources/translations/en/messages.php
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
return [
|
||||||
|
'button' => 'Sign in with Bluesquare Connect'
|
||||||
|
];
|
||||||
5
resources/translations/fr/messages.php
Normal file
5
resources/translations/fr/messages.php
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
return [
|
||||||
|
'button' => 'Connexion avec Bluesquare Connect'
|
||||||
|
];
|
||||||
@@ -26,7 +26,7 @@
|
|||||||
</g>
|
</g>
|
||||||
</g>
|
</g>
|
||||||
</svg>
|
</svg>
|
||||||
<span>{{ __('Sign in with Bluesquare Connect') }}</span>
|
<span>{{ trans('connect::messages.button') }}</span>
|
||||||
</a>
|
</a>
|
||||||
<style>
|
<style>
|
||||||
.bconnect-button {
|
.bconnect-button {
|
||||||
|
|||||||
@@ -42,6 +42,10 @@ class ConnectServiceProvider extends ServiceProvider
|
|||||||
__DIR__ . '/../config/bconnect.php' => config_path('bconnect.php')
|
__DIR__ . '/../config/bconnect.php' => config_path('bconnect.php')
|
||||||
]);
|
]);
|
||||||
|
|
||||||
|
// Translations
|
||||||
|
|
||||||
|
$this->loadTranslationsFrom(__DIR__.'/../resources/translations', 'connect');
|
||||||
|
|
||||||
// Views
|
// Views
|
||||||
|
|
||||||
$this->loadViewsFrom(__DIR__.'/../resources/views/connect', 'connect');
|
$this->loadViewsFrom(__DIR__.'/../resources/views/connect', 'connect');
|
||||||
|
|||||||
Reference in New Issue
Block a user