Translated styling settings + sidebar

This commit is contained in:
Julian Prieber 2023-06-05 18:52:28 +02:00
parent 050a759ab6
commit dfc9632951
2 changed files with 59 additions and 33 deletions

View File

@ -72,6 +72,32 @@ return [
'Resend Verification Email' => 'Resend Verification Email+',
'Hi' => 'Hi+',
'stranger' => 'stranger+',
'Welcome to' => 'Welcome to :appName!',
'Set a handle' => 'Set a handle+',
'Settings' => 'Settings+',
'Scheme' => 'Scheme+',
'Auto' => 'Auto+',
'Dark' => 'Dark+',
'Light' => 'Light+',
'Color Customizer' => 'Color Customizer+',
'Sidebar Color' => 'Sidebar Color+',
'Default' => 'Default+',
'Dark' => 'Dark+',
'Color' => 'Color+',
'Transparent' => 'Transparent+',
'Sidebar Types' => 'Sidebar Types+',
'Mini' => 'Mini+',
'Hover' => 'Hover+',
'Boxed' => 'Boxed+',
'Sidebar Active Style' => 'Sidebar Active Style+',
'Rounded One Side' => 'Rounded One Side+',
'Rounded All' => 'Rounded All+',
'Pill One Side' => 'Pill One Side+',
'Pill All' => 'Pill All+',
'Home' => 'Home+',
'Dashboard' => 'Dashboard+',
'Add Link' => 'Add Link+',
@ -136,11 +162,11 @@ return [
'Last 24 hours' => 'Last 24 hours+',
'Active users:' => 'Active users:+',
'Title' => 'Title';,
'Link' => 'Link*';,
'Title' => 'Title',
'Link' => 'Link*',
'Button' => 'Button*',
'custom' => 'custom';,
'custom_website' => 'custom_website';,
'Config' => 'Config+',
'Advanced Config' => 'Advanced Config+',
@ -192,9 +218,9 @@ return [
'Link' => 'Link+',
'Hover for more' => 'Hover for more+',
'Write access' => 'Write access+',
'Write access.description.1-3' => 'Here, you can easily verify if important system files can be written to. This is important for every function to work properly. Entries marked with a+',
'Write access.description.2-3' => 'work as expected, entries marked with a+',
'Write access.description.3-3' => 'do not.+',
'Write access.description.1-3' => 'Here, you can easily verify if important system files can be written to. This is important for every function to work properly. Entries marked with a',
'Write access.description.2-3' => 'work as expected, entries marked with a',
'Write access.description.3-3' => 'do not.',
'File' => 'File+',
'Dependencies' => '+',
'Required PHP modules' => 'Required PHP modules.+',

View File

@ -473,18 +473,18 @@ $usrhandl = Auth::user()->littlelink_name;
<div style="z-index:5;position:relative;" class="flex-wrap d-flex justify-content-between align-items-center">
<div>
@if(!isset($usrhandl))
<h1>👋 Hi, stranger</h1>
<h1>👋 {{__('messages.Hi')}}, {{__('messages.stranger')}}</h1>
@else
<h1>👋 Hi, {{'@'.$usrhandl}}</h1>
<h1>👋 {{__('messages.Hi')}}, {{'@'.$usrhandl}}</h1>
@endif
<h5>Welcome to {{ config('app.name') }}!</h5>
<h5>{{__('messages.welcome', ['appName' => config('app.name')])}}</h5>
</div>
<div>
@if(!isset($usrhandl))
<a href="{{ url('/studio/page') }}" class="btn btn-link btn-soft-light">
<i style="top:3px;position:relative;font-size:2.5vh;" class="bi bi-at"></i>
Set a handle
{{__('messages.Set a handle')}}
</a>
@endif
</div>
@ -536,38 +536,38 @@ $usrhandl = Auth::user()->littlelink_name;
<div class="offcanvas offcanvas-end" tabindex="-1" id="offcanvasExample" data-bs-scroll="true" data-bs-backdrop="true" aria-labelledby="offcanvasExampleLabel">
<div class="offcanvas-header">
<div class="d-flex align-items-center">
<h3 class="offcanvas-title me-3" id="offcanvasExampleLabel">Settings</h3>
<h3 class="offcanvas-title me-3" id="offcanvasExampleLabel">{{__('messages.Settings')}}</h3>
</div>
<button type="button" class="btn-close text-reset" data-bs-dismiss="offcanvas" aria-label="Close"></button>
</div>
<div class="offcanvas-body data-scrollbar">
<div class="row">
<div class="col-lg-12">
<h5 class="mb-3">Scheme</h5>
<h5 class="mb-3">{{__('messages.Scheme')}}</h5>
<div class="d-grid gap-3 grid-cols-3 mb-4">
<div class="btn btn-border" data-setting="color-mode" data-name="color" data-value="auto">
<svg class="icon-20" width="20" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<path fill="currentColor" d="M7,2V13H10V22L17,10H13L17,2H7Z" />
</svg>
<span class="ms-2 "> Auto </span>
<span class="ms-2 "> {{__('messages.Auto')}} </span>
</div>
<div class="btn btn-border" data-setting="color-mode" data-name="color" data-value="dark">
<svg class="icon-20" width="20" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<path fill="currentColor" d="M9,2C7.95,2 6.95,2.16 6,2.46C10.06,3.73 13,7.5 13,12C13,16.5 10.06,20.27 6,21.54C6.95,21.84 7.95,22 9,22A10,10 0 0,0 19,12A10,10 0 0,0 9,2Z" />
</svg>
<span class="ms-2 "> Dark </span>
<span class="ms-2 "> {{__('messages.Dark')}} </span>
</div>
<div class="btn btn-border active" data-setting="color-mode" data-name="color" data-value="light">
<svg class="icon-20" width="20" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<path fill="currentColor" d="M12,8A4,4 0 0,0 8,12A4,4 0 0,0 12,16A4,4 0 0,0 16,12A4,4 0 0,0 12,8M12,18A6,6 0 0,1 6,12A6,6 0 0,1 12,6A6,6 0 0,1 18,12A6,6 0 0,1 12,18M20,8.69V4H15.31L12,0.69L8.69,4H4V8.69L0.69,12L4,15.31V20H8.69L12,23.31L15.31,20H20V15.31L23.31,12L20,8.69Z" />
</svg>
<span class="ms-2 "> Light</span>
<span class="ms-2 "> {{__('messages.Light')}}</span>
</div>
</div>
<hr class="hr-horizontal">
<div class="d-flex align-items-center justify-content-between">
<h5 class="mt-4 mb-3">Color Customizer</h5>
<h5 class="mt-4 mb-3">{{__('messages.Color Customizer')}}</h5>
<button class="btn btn-transparent p-0 border-0" data-value="theme-color-default" data-info="#079aa2" data-setting="color-mode1" data-name="color" data-bs-toggle="tooltip" data-bs-placement="top" title="" data-bs-original-title="Default">
<svg class="icon-18" width="18" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M21.4799 12.2424C21.7557 12.2326 21.9886 12.4482 21.9852 12.7241C21.9595 14.8075 21.2975 16.8392 20.0799 18.5506C18.7652 20.3986 16.8748 21.7718 14.6964 22.4612C12.518 23.1505 10.1711 23.1183 8.01299 22.3694C5.85488 21.6205 4.00382 20.196 2.74167 18.3126C1.47952 16.4293 0.875433 14.1905 1.02139 11.937C1.16734 9.68346 2.05534 7.53876 3.55018 5.82945C5.04501 4.12014 7.06478 2.93987 9.30193 2.46835C11.5391 1.99683 13.8711 2.2599 15.9428 3.2175L16.7558 1.91838C16.9822 1.55679 17.5282 1.62643 17.6565 2.03324L18.8635 5.85986C18.945 6.11851 18.8055 6.39505 18.549 6.48314L14.6564 7.82007C14.2314 7.96603 13.8445 7.52091 14.0483 7.12042L14.6828 5.87345C13.1977 5.18699 11.526 4.9984 9.92231 5.33642C8.31859 5.67443 6.8707 6.52052 5.79911 7.74586C4.72753 8.97119 4.09095 10.5086 3.98633 12.1241C3.8817 13.7395 4.31474 15.3445 5.21953 16.6945C6.12431 18.0446 7.45126 19.0658 8.99832 19.6027C10.5454 20.1395 12.2278 20.1626 13.7894 19.6684C15.351 19.1743 16.7062 18.1899 17.6486 16.8652C18.4937 15.6773 18.9654 14.2742 19.0113 12.8307C19.0201 12.5545 19.2341 12.3223 19.5103 12.3125L21.4799 12.2424Z" fill="#31BAF1"/>
@ -608,63 +608,63 @@ $usrhandl = Auth::user()->littlelink_name;
</div>
</div> --}}
<hr class="hr-horizontal">
<h5 class="mt-4 mb-3">Sidebar Color</h5>
<h5 class="mt-4 mb-3">{{__('messages.Sidebar Color')}}</h5>
<div class="d-grid gap-3 grid-cols-2 mb-4">
<div class="btn btn-border d-block" data-setting="sidebar" data-name="sidebar-color" data-value="sidebar-white">
<span class=""> Default </span>
<span class=""> {{__('messages.Default')}} </span>
</div>
<div class="btn btn-border d-block" data-setting="sidebar" data-name="sidebar-color" data-value="sidebar-dark">
<span class=""> Dark </span>
<span class=""> {{__('messages.Dark')}} </span>
</div>
<div class="btn btn-border d-block" data-setting="sidebar" data-name="sidebar-color" data-value="sidebar-color">
<span class=""> Color </span>
<span class=""> {{__('messages.Color')}} </span>
</div>
<div class="btn btn-border d-block" data-setting="sidebar" data-name="sidebar-color" data-value="sidebar-transparent">
<span class=""> Transparent </span>
<span class=""> {{__('messages.Transparent')}} </span>
</div>
</div>
<hr class="hr-horizontal">
<h5 class="mt-4 mb-3">Sidebar Types</h5>
<h5 class="mt-4 mb-3">{{__('messages.Sidebar Types')}}</h5>
<div class="d-grid gap-3 grid-cols-3 mb-4">
<div class="text-center">
<img src="{{asset('assets/images/settings/dark/03.png')}}" alt="mini" class="mode dark-img img-fluid btn-border p-0 flex-column mb-2" data-setting="sidebar" data-name="sidebar-type" data-value="sidebar-mini">
<img src="{{asset('assets/images/settings/light/03.png')}}" alt="mini" class="mode light-img img-fluid btn-border p-0 flex-column mb-2" data-setting="sidebar" data-name="sidebar-type" data-value="sidebar-mini">
<span class="mt-2">Mini</span>
<span class="mt-2">{{__('messages.Mini')}}</span>
</div>
<div class="text-center">
<img src="{{asset('assets/images/settings/dark/04.png')}}" alt="hover" class="mode dark-img img-fluid btn-border p-0 flex-column mb-2" data-setting="sidebar" data-name="sidebar-type" data-value="sidebar-hover" data-extra-value="sidebar-mini">
<img src="{{asset('assets/images/settings/light/04.png')}}" alt="hover" class="mode light-img img-fluid btn-border p-0 flex-column mb-2" data-setting="sidebar" data-name="sidebar-type" data-value="sidebar-hover" data-extra-value="sidebar-mini">
<span class="mt-2">Hover</span>
<span class="mt-2">{{__('messages.Hover')}}</span>
</div>
<div class="text-center">
<img src="{{asset('assets/images/settings/dark/05.png')}}" alt="boxed" class="mode dark-img img-fluid btn-border p-0 flex-column mb-2" data-setting="sidebar" data-name="sidebar-type" data-value="sidebar-boxed">
<img src="{{asset('assets/images/settings/light/05.png')}}" alt="boxed" class="mode light-img img-fluid btn-border p-0 flex-column mb-2" data-setting="sidebar" data-name="sidebar-type" data-value="sidebar-boxed">
<span class="mt-2">Boxed</span>
<span class="mt-2">{{__('messages.Boxed')}}</span>
</div>
</div>
<hr class="hr-horizontal">
<h5 class="mt-4 mb-3">Sidebar Active Style</h5>
<h5 class="mt-4 mb-3">{{__('messages.Sidebar Active Style')}}</h5>
<div class="d-grid gap-3 grid-cols-2 mb-4">
<div class="text-center">
<img src="{{asset('assets/images/settings/dark/06.png')}}" alt="rounded-one-side" class="mode dark-img img-fluid btn-border p-0 flex-column mb-2" data-setting="sidebar" data-name="sidebar-item" data-value="navs-rounded">
<img src="{{asset('assets/images/settings/light/06.png')}}" alt="rounded-one-side" class="mode light-img img-fluid btn-border p-0 flex-column mb-2" data-setting="sidebar" data-name="sidebar-item" data-value="navs-rounded">
<span class="mt-2">Rounded One Side</span>
<span class="mt-2">{{__('messages.Rounded One Side')}}</span>
</div>
<div class="text-center">
<img src="{{asset('assets/images/settings/dark/07.png')}}" alt="rounded-all" class="mode dark-img img-fluid btn-border p-0 flex-column active mb-2" data-setting="sidebar" data-name="sidebar-item" data-value="navs-rounded-all">
<img src="{{asset('assets/images/settings/light/07.png')}}" alt="rounded-all" class="mode light-img img-fluid btn-border p-0 flex-column active mb-2" data-setting="sidebar" data-name="sidebar-item" data-value="navs-rounded-all">
<span class="mt-2">Rounded All</span>
<span class="mt-2">{{__('messages.Rounded All')}}</span>
</div>
<div class="text-center">
<img src="{{asset('assets/images/settings/dark/08.png')}}" alt="pill-one-side" class="mode dark-img img-fluid btn-border p-0 flex-column mb-2" data-setting="sidebar" data-name="sidebar-item" data-value="navs-pill">
<img src="{{asset('assets/images/settings/light/09.png')}}" alt="pill-one-side" class="mode light-img img-fluid btn-border p-0 flex-column mb-2" data-setting="sidebar" data-name="sidebar-item" data-value="navs-pill">
<span class="mt-2">Pill One Side</span>
<span class="mt-2">{{__('messages.Pill One Side')}}</span>
</div>
<div class="text-center">
<img src="{{asset('assets/images/settings/dark/09.png')}}" alt="pill-all" class="mode dark-img img-fluid btn-border p-0 flex-column" data-setting="sidebar" data-name="sidebar-item" data-value="navs-pill-all">
<img src="{{asset('assets/images/settings/light/08.png')}}" alt="pill-all" class="mode light-img img-fluid btn-border p-0 flex-column" data-setting="sidebar" data-name="sidebar-item" data-value="navs-pill-all">
<span class="mt-2">Pill All</span>
<span class="mt-2">{{__('messages.Pill All')}}</span>
</div>
</div>
<hr class="hr-horizontal">