diff --git a/resources/lang/en/profile.php b/resources/lang/en/profile.php new file mode 100644 index 00000000..f2449bab --- /dev/null +++ b/resources/lang/en/profile.php @@ -0,0 +1,19 @@ + 'This avatar will be resized to :width x :height pixels', + 'flighthours' => 'Flight Hours', + 'newapikey' => 'New API Key', + 'yourprofile' => 'Your Profile', + 'apikey' => 'API Key', + 'dontshare' => 'don\'t share this!', + 'changepassword' => 'Change Password', + 'newpassword' => 'New Password', + 'avatar' => 'Avatar', + 'updateprofile' => 'Update Profile', + 'editprofile' => 'Edit Profile', + 'edityourprofile' => 'Edit Your Profile', +]; diff --git a/resources/lang/it/profile.php b/resources/lang/it/profile.php new file mode 100644 index 00000000..0dbe0def --- /dev/null +++ b/resources/lang/it/profile.php @@ -0,0 +1,19 @@ + 'Questo avatar sarĂ ridimensionato a :width x :height pixels', + 'flighthours' => 'Ore di Volo', + 'newapikey' => 'Nuova Chiave API', + 'yourprofile' => 'Il Tuo Profilo', + 'apikey' => 'Chiave API', + 'dontshare' => 'non condividerla!', + 'changepassword' => 'Cambia Password', + 'newpassword' => 'Nuova Password', + 'avatar' => 'Avatar', + 'updateprofile' => 'Aggiorna Profilo', + 'editprofile' => 'Modifica Profilo', + 'edityourprofile' => 'Modifica Il Tuo Profilo', +]; diff --git a/resources/views/layouts/default/profile/edit.blade.php b/resources/views/layouts/default/profile/edit.blade.php index 378e7509..e60e8895 100644 --- a/resources/views/layouts/default/profile/edit.blade.php +++ b/resources/views/layouts/default/profile/edit.blade.php @@ -1,10 +1,10 @@ @extends('app') -@section('title', trans('frontend.profile.editprofile')) +@section('title', __('profile.editprofile')) @section('content')
@lang('frontend.profile.newpassword'):
+@lang('profile.newpassword'):
@lang('frontend.profile.avatarresize', ['width' => config('phpvms.avatar.width'), 'height' => config('phpvms.avatar.height')])
+@lang('profile.avatarresize', ['width' => config('phpvms.avatar.width'), 'height' => config('phpvms.avatar.height')])
@if ($errors->has('avatar')){{ $errors->first('avatar') }}
@endif @@ -107,7 +107,7 @@| @lang('common.email') | {{ $user->email }} | |
| @lang('frontend.profile.apikey') (@lang('frontend.profile.dontshare')) | +@lang('profile.apikey') (@lang('profile.dontshare')) | {{ $user->api_key }} |