diff --git a/resources/lang/en/profile.php b/resources/lang/en/profile.php index 93697347..df9fca29 100644 --- a/resources/lang/en/profile.php +++ b/resources/lang/en/profile.php @@ -6,6 +6,7 @@ return [ 'newapikey' => 'New API Key', 'yourprofile' => 'Your Profile', 'apikey' => 'API Key', + 'apikey-show' => 'Show key', 'dontshare' => 'don\'t share this!', 'changepassword' => 'Change Password', 'newpassword' => 'New Password', diff --git a/resources/lang/es/profile.php b/resources/lang/es/profile.php index b725bfef..c14db0f9 100644 --- a/resources/lang/es/profile.php +++ b/resources/lang/es/profile.php @@ -6,6 +6,7 @@ return [ 'newapikey' => 'Nueva clave API', 'yourprofile' => 'Tu perfil', 'apikey' => 'Clave API', + 'apikey-show' => 'Mostrar clave', 'dontshare' => '¡No compartas esto!', 'changepassword' => 'Cambiar contraseña', 'newpassword' => 'Nueva contraseña', diff --git a/resources/lang/it/profile.php b/resources/lang/it/profile.php index e50243a8..341c503a 100644 --- a/resources/lang/it/profile.php +++ b/resources/lang/it/profile.php @@ -5,6 +5,7 @@ return [ 'newapikey' => 'Nuova Chiave API', 'yourprofile' => 'Il Tuo Profilo', 'apikey' => 'Chiave API', + 'apikey-show' => 'Mostra chiave', 'dontshare' => 'non condividerla!', 'changepassword' => 'Cambia Password', 'newpassword' => 'Nuova Password', diff --git a/resources/lang/pt-br/profile.php b/resources/lang/pt-br/profile.php index 3b23fc1f..8ca21424 100755 --- a/resources/lang/pt-br/profile.php +++ b/resources/lang/pt-br/profile.php @@ -6,6 +6,7 @@ return [ 'newapikey' => 'Nova Chave API', 'yourprofile' => 'Seu Perfil', 'apikey' => 'Chave API', + 'apikey-show' => 'Mostrar chave', 'dontshare' => 'Não compartilhe isso!', 'changepassword' => 'Mudar Senha', 'newpassword' => 'Nova Senha', diff --git a/resources/views/layouts/default/profile/index.blade.php b/resources/views/layouts/default/profile/index.blade.php index 6e0c3d96..1b9688bd 100644 --- a/resources/views/layouts/default/profile/index.blade.php +++ b/resources/views/layouts/default/profile/index.blade.php @@ -114,7 +114,7 @@ @lang('profile.apikey')  (@lang('profile.dontshare')) - {{ $user->api_key }} + @lang('profile.apikey-show') @lang('common.timezone') @@ -145,3 +145,16 @@ @endsection + +@section('scripts') + +@endsection