Translated all page items

This commit is contained in:
Julian Prieber 2023-06-16 20:53:33 +02:00
parent 2244fe87ba
commit 5403f6707d
10 changed files with 132 additions and 60 deletions

View File

@ -817,6 +817,78 @@ return [
'block.description.text' => 'Add static text to your page that is not clickable.+',
/*
|--------------------------------------------------------------------------
| Page Items
|--------------------------------------------------------------------------
|
| resources/views/components/pageitems/
|
*/
'Default Email' => 'Default Email+',
'Custom Title' => 'Custom Title+',
'Leave blank for default title' => 'Leave blank for default title+',
'E-Mail address' => 'E-Mail address+',
'Enter your E-Mail' => 'Enter your E-Mail+',
'Heading Text:' => 'Heading Text:+',
'Title' => 'Title+',
'URL' => 'URL+',
'Show website icon on button' => 'Show website icon on button+',
'Select a predefined site' => 'Select a predefined site+',
'Custom Title' => 'Custom Title+',
'Leave blank for default title' => 'Leave blank for default title+',
'Enter the link URL' => 'Enter the link URL+',
'Spacing height' => 'Spacing height+',
'Phone' => 'Phone+',
'Custom Title' => 'Custom Title+',
'Leave blank for default title' => 'Leave blank for default title+',
'Telephone number' => 'Telephone number+',
'Enter your telephone number' => 'Enter your telephone number+',
'Text to display' => 'Text to display+',
'Vcard' => 'Vcard+',
'Custom Title' => 'Custom Title+',
'Leave blank for default title' => 'Leave blank for default title+',
'Name' => 'Name+',
'Prefix' => 'Prefix+',
'First Name' => 'First Name+',
'Middle Name' => 'Middle Name+',
'Last Name' => 'Last Name+',
'Suffix' => 'Suffix+',
'Work' => 'Work+',
'Organization' => 'Organization+',
'Title' => 'Title+',
'Role' => 'Role+',
'Work URL' => 'Work URL+',
'Emails' => 'Emails+',
'Email' => 'Email+',
'Enter your personal email' => 'Enter your personal email+',
'Work Email' => 'Work Email+',
'Enter your work email' => 'Enter your work email+',
'Phones' => 'Phones+',
'Home Phone' => 'Home Phone+',
'Work Phone' => 'Work Phone+',
'Cell Phone' => 'Cell Phone+',
'Home Address' => 'Home Address+',
'Label' => 'Label+',
'Street' => 'Street+',
'City' => 'City+',
'State/Province' => 'State/Province+',
'Zip/Postal Code' => 'Zip/Postal Code+',
'Country' => 'Country+',
'Work Address' => 'Work Address+',
'Title' => 'Title+',
'URL to the video' => 'URL to the video+',
/*
|--------------------------------------------------------------------------
| Maintenance Page

View File

@ -1,12 +1,12 @@
<?php use App\Models\Button; $button = Button::find($button_id); if(isset($button->name)){$buttonName = $button->name;}else{$buttonName = 0;} ?>
<select style="display:none" name="button" class="form-control"><option class="button button-default email" value="default email">Default Email</option></select>
<select style="display:none" name="button" class="form-control"><option class="button button-default email" value="default email">{{__('messages.Default Email')}}</option></select>
<label for='title' class='form-label'>Custom Title</label>
<label for='title' class='form-label'>{{__('messages.Custom Title')}}</label>
<input type='text' name='title' value='{{$link_title}}' class='form-control' />
<span class='small text-muted'>Leave blank for default title</span><br>
<span class='small text-muted'>{{__('messages.Leave blank for default title')}}</span><br>
<label for='link' class='form-label'>E-Mail address</label>
<label for='link' class='form-label'>{{__('messages.E-Mail address')}}</label>
<input type='email' name='link' value='{{str_replace("mailto:", "", $link_url)}}' class='form-control' required />
<span class='small text-muted'>Enter your E-Mail</span>
<span class='small text-muted'>{{__('messages.Enter your E-Mail')}}</span>

View File

@ -1,4 +1,4 @@
<label for='title' class='form-label'>Heading Text:</label>
<label for='title' class='form-label'>{{__('messages.Heading Text:')}}</label>
<input type='text' name='title' value='{{$link_title}}' class='form-control' />

View File

@ -1,13 +1,13 @@
<label for='title' class='form-label'>Title</label>
<label for='title' class='form-label'>{{__('messages.Title')}}</label>
<input type='text' name='title' value='{{$link_title}}' class='form-control' required />
<label for='title' class='form-label'>URL</label>
<label for='title' class='form-label'>{{__('messages.URL')}}</label>
<input type='url' name='link' value='{{$link_url}}' class='form-control' required />
<div class="custom-control custom-checkbox m-2">
<input type="checkbox" class="custom-control-input" value='1' {{((isset($params->GetSiteIcon) ? boolval($params->GetSiteIcon) : false) ? 'checked': '') }} name='GetSiteIcon' id="GetSiteIcon" @if($button_id == 2)checked @endif>
<label class="custom-control-label" for="GetSiteIcon">Show website icon on button</label>
<label class="custom-control-label" for="GetSiteIcon">{{__('messages.Show website icon on button')}}</label>

View File

@ -1,4 +1,4 @@
<label for='button' class='form-label'>Select a predefined site</label>
<label for='button' class='form-label'>{{__('messages.Select a predefined site')}}</label>
<?php use App\Models\Button; $button = Button::find($button_id); if(isset($button->name)){$buttonName = $button->name;}else{$buttonName = 0;} ?>
<select name='button' class='form-control'>
@ -10,11 +10,11 @@
@endforeach
</select>
<label for='title' class='form-label'>Custom Title</label>
<label for='title' class='form-label'>{{__('messages.Custom Title')}}</label>
<input type='text' name='title' value='{{$link_title}}' class='form-control' />
<span class='small text-muted'>Leave blank for default title</span><br>
<span class='small text-muted'>{{__('messages.Leave blank for default title')}}</span><br>
<label for='link' class='form-label'>URL</label>
<label for='link' class='form-label'>{{__('messages.URL')}}</label>
<input type='url' name='link' value='{{$link_url}}' class='form-control' required />
<span class='small text-muted'>Enter the link URL</span>
<span class='small text-muted'>{{__('messages.Enter the link URL')}}</span>

View File

@ -1,4 +1,4 @@
<label for='title' class='form-label'>Spacing height</label>
<label for='title' class='form-label'>{{__('messages.Spacing height')}}</label>
{{-- <input type='number' name='height' value="{{$params->height ?? ''}}" class='form-control w-25' /> --}}
<input type="range" class="custom-range" id="height" name='height' value={{$params->height??5}} oninput="this.nextElementSibling.value = this.value"><output class='font-weight-bold'>{{$params->height??5}}</output>

View File

@ -1,12 +1,12 @@
<?php use App\Models\Button; $button = Button::find($button_id); if(isset($button->name)){$buttonName = $button->name;}else{$buttonName = 0;} ?>
<select style="display:none" name="button" class="form-control"><option class="button button-default email" value="phone">Phone</option></select>
<select style="display:none" name="button" class="form-control"><option class="button button-default email" value="phone">{{__('messages.Phone')}}</option></select>
<label for='title' class='form-label'>Custom Title</label>
<label for='title' class='form-label'>{{__('messages.Custom Title')}}</label>
<input type='text' name='title' value='{{$link_title}}' class='form-control' />
<span class='small text-muted'>Leave blank for default title</span><br>
<span class='small text-muted'>{{__('messages.Leave blank for default title')}}</span><br>
<label for='link' class='form-label'>Telephone number</label>
<label for='link' class='form-label'>{{__('messages.Telephone number')}}</label>
<input type='tel' name='link' value='{{str_replace("tel:", "", $link_url)}}' class='form-control' required />
<span class='small text-muted'>Enter your telephone number</span>
<span class='small text-muted'>{{__('messages.Enter your telephone number')}}</span>

View File

@ -1,4 +1,4 @@
<label for='text' class='form-label'>Text to display</label>
<label for='text' class='form-label'>{{__('messages.Text to display')}}</label>
<textarea class="form-control @if(env('ALLOW_USER_HTML') === true) ckeditor @endif" name="text" rows="6">{{ $link_title ?? '' }}</textarea>
@if(env('ALLOW_USER_HTML') === true)
<script src="{{ asset('assets/external-dependencies/ckeditor.js') }}"></script>

View File

@ -1,6 +1,6 @@
<?php use JeroenDesloovere\VCard\VCard; use App\Models\Button; $button = Button::find($button_id); if(isset($button->name)){$buttonName = $button->name;}else{$buttonName = 0;} ?>
<select style="display:none" name="button" class="form-control"><option class="button button-default email" value="vcard">Vcard</option></select>
<select style="display:none" name="button" class="form-control"><option class="button button-default email" value="vcard">{{__('messages.Vcard')}}</option></select>
@php
try {
@ -37,9 +37,9 @@ $workAddressCountry = $data->work_address_country;
catch (exception $e) {}
@endphp
<label for='title' class='form-label'>Custom Title</label>
<label for='title' class='form-label'>{{__('messages.Custom Title')}}</label>
<input type='text' name='link_title' value='{{ $link_title }}' class='form-control' />
<span class='small text-muted'>Leave blank for default title</span><br>
<span class='small text-muted'>{{__('messages.Leave blank for default title')}}</span><br>
{{-- <br><h5>Upload existing file</h5>
<div class="form-group col-lg-8">
@ -47,97 +47,97 @@ catch (exception $e) {}
<input type="file" accept="text/vcard" class="form-control-file" name="vcard">
</div> --}}
<br><br><h4>Name</h4>
<label for='prefix' class='form-label'>Prefix</label>
<br><br><h4>{{__('messages.Name')}}</h4>
<label for='prefix' class='form-label'>{{__('messages.Prefix')}}</label>
<input type='text' name='prefix' value='{{$prefix ?? ''}}' class='form-control'/>
<br>
<label for='first_name' class='form-label'>First Name</label>
<label for='first_name' class='form-label'>{{__('messages.First Name')}}</label>
<input type='text' name='first_name' value='{{$firstName ?? ''}}' class='form-control'/>
<br>
<label for='middle_name' class='form-label'>Middle Name</label>
<label for='middle_name' class='form-label'>{{__('messages.Middle Name')}}</label>
<input type='text' name='middle_name' value='{{$middleName ?? ''}}' class='form-control'/>
<br>
<label for='last_name' class='form-label'>Last Name</label>
<label for='last_name' class='form-label'>{{__('messages.Last Name')}}</label>
<input type='text' name='last_name' value='{{$lastName ?? ''}}' class='form-control'/>
<br>
<label for='suffix' class='form-label'>Suffix</label>
<label for='suffix' class='form-label'>{{__('messages.Suffix')}}</label>
<input type='text' name='suffix' value='{{$suffix ?? ''}}' class='form-control'/>
<br>
{{-- <label for='nickname' class='form-label'>Nickname</label>
<input type='text' name='nickname' value='{{ ?? ''}}' class='form-control'/>
<br> --}}
<br><h4>Work</h4>
<label for='organization' class='form-label'>Organization</label>
<br><h4>{{__('messages.Work')}}</h4>
<label for='organization' class='form-label'>{{__('messages.Organization')}}</label>
<input type='text' name='organization' value='{{$organization ?? ''}}' class='form-control'/>
<br>
<label for='vtitle' class='form-label'>Title</label>
<label for='vtitle' class='form-label'>{{__('messages.Title')}}</label>
<input type='text' name='vtitle' value='{{$vtitle ?? ''}}' class='form-control'/>
<br>
<label for='role' class='form-label'>Role</label>
<label for='role' class='form-label'>{{__('messages.Role')}}</label>
<input type='text' name='role' value='{{$role ?? ''}}' class='form-control'/>
<br>
<label for='work_url' class='form-label'>Work URL</label>
<label for='work_url' class='form-label'>{{__('messages.Work URL')}}</label>
<input type='url' name='work_url' value='{{$workUrl ?? ''}}' class='form-control'/>
<br>
<br><h4>Emails</h4>
<label for='email' class='form-label'>Email</label>
<br><h4>{{__('messages.Emails')}}</h4>
<label for='email' class='form-label'>{{__('messages.Email')}}</label>
<input type='email' name='email' value='{{$email ?? ''}}' class='form-control'/>
<span class='small text-muted'>Enter your personal email</span>
<span class='small text-muted'>{{__('messages.Enter your personal email')}}</span>
<br>
<label for='work_email' class='form-label'>Work Email</label>
<label for='work_email' class='form-label'>{{__('messages.Work Email')}}</label>
<input type='email' name='work_email' value='{{$workEmail ?? ''}}' class='form-control'/>
<span class='small text-muted'>Enter your work email</span>
<span class='small text-muted'>{{__('messages.Enter your work email')}}</span>
<br>
<br><h4>Phones</h4>
<label for='home_phone' class='form-label'>Home Phone</label>
<br><h4>{{__('messages.Phones')}}</h4>
<label for='home_phone' class='form-label'>{{__('messages.Home Phone')}}</label>
<input type='tel' name='home_phone' value='{{$homePhone ?? ''}}' class='form-control'/>
<br>
<label for='work_phone' class='form-label'>Work Phone</label>
<label for='work_phone' class='form-label'>{{__('messages.Work Phone')}}</label>
<input type='tel' name='work_phone' value='{{$workPhone ?? ''}}' class='form-control'/>
<br>
<label for='cell_phone' class='form-label'>Cell Phone</label>
<label for='cell_phone' class='form-label'>{{__('messages.Cell Phone')}}</label>
<input type='tel' name='cell_phone' value='{{$cellPhone ?? ''}}' class='form-control'/>
<br>
<br><h4>Home Address</h4>
<label for='home_address_label' class='form-label'>Label</label>
<label for='home_address_label' class='form-label'>{{__('messages.Label')}}</label>
<input type='text' name='home_address_label' value='{{$homeAddressLabel ?? ''}}' class='form-control'/>
<br>
<label for='home_address_street' class='form-label'>Street</label>
<label for='home_address_street' class='form-label'>{{__('messages.Street')}}</label>
<input type='text' name='home_address_street' value='{{$homeAddressStreet ?? ''}}' class='form-control'/>
<br>
<label for='home_address_city' class='form-label'>City</label>
<label for='home_address_city' class='form-label'>{{__('messages.City')}}</label>
<input type='text' name='home_address_city' value='{{$homeAddressCity ?? ''}}' class='form-control'/>
<br>
<label for='home_address_state' class='form-label'>State/Province</label>
<label for='home_address_state' class='form-label'>{{__('messages.State/Province')}}</label>
<input type='text' name='home_address_state' value='{{$homeAddressState ?? ''}}' class='form-control'/>
<br>
<label for='home_address_zip' class='form-label'>Zip/Postal Code</label>
<label for='home_address_zip' class='form-label'>{{__('messages.Zip/Postal Code')}}</label>
<input type='text' name='home_address_zip' value='{{$homeAddressZip ?? ''}}' class='form-control'/>
<br>
<label for='home_address_country' class='form-label'>Country</label>
<label for='home_address_country' class='form-label'>{{__('messages.Country')}}</label>
<input type='text' name='home_address_country' value='{{$homeAddressCountry ?? ''}}' class='form-control'/>
<br>
<br><h4>Work Address</h4>
<label for='work_address_label' class='form-label'>Label</label>
<br><h4>{{__('messages.Work Address')}}</h4>
<label for='work_address_label' class='form-label'>{{__('messages.Label')}}</label>
<input type='text' name='work_address_label' value='{{$workAddressLabel ?? ''}}' class='form-control'/>
<br>
<label for='work_address_street' class='form-label'>Street</label>
<label for='work_address_street' class='form-label'>{{__('messages.Street')}}</label>
<input type='text' name='work_address_street' value='{{$workAddressStreet ?? ''}}' class='form-control'/>
<br>
<label for='work_address_city' class='form-label'>City</label>
<label for='work_address_city' class='form-label'>{{__('messages.City')}}</label>
<input type='text' name='work_address_city' value='{{$workAddressCity ?? ''}}' class='form-control'/>
<br>
<label for='work_address_state' class='form-label'>State/Province</label>
<label for='work_address_state' class='form-label'>{{__('messages.State/Province')}}</label>
<input type='text' name='work_address_state' value='{{$workAddressState ?? ''}}' class='form-control'/>
<br>
<label for='work_address_zip' class='form-label'>Zip/Postal Code</label>
<label for='work_address_zip' class='form-label'>{{__('messages.Zip/Postal Code')}}</label>
<input type='text' name='work_address_zip' value='{{$workAddressZip ?? ''}}' class='form-control'/>
<br>
<label for='work_address_country' class='form-label'>Country</label>
<label for='work_address_country' class='form-label'>{{__('messages.Country')}}</label>
<input type='text' name='work_address_country' value='{{$workAddressCountry ?? ''}}' class='form-control'/>
<br>

View File

@ -1,7 +1,7 @@
<label for='title' class='form-label'>Title</label>
<label for='title' class='form-label'>{{__('messages.Title')}}</label>
<input type='text' name='title' value='{{$link_title}}' placeholder="Leave blank for default video title" class='form-control' />
<label for='link' class='form-label'>URL</label>
<label for='link' class='form-label'>{{__('messages.URL')}}</label>
<input type='url' name='link' value='{{$link_url}}' class='form-control' />
<span class='small text-muted'>URL to the video</span>
<span class='small text-muted'>{{__('messages.URL to the video')}}</span>