diff --git a/resources/lang/en/messages.php b/resources/lang/en/messages.php index 35c1c5a..e63a88a 100644 --- a/resources/lang/en/messages.php +++ b/resources/lang/en/messages.php @@ -72,7 +72,54 @@ return [ 'Resend Verification Email' => 'Resend Verification Email+', + 'Home' => 'Home+', 'Dashboard' => 'Dashboard+', + 'Add Link' => 'Add Link+', + 'Administration' => 'Administration+', + 'Admin' => 'Admin+', + 'Config' => 'Config+', + 'Manage Users' => 'Manage Users+', + 'Footer Pages' => 'Footer Pages+', + 'Site Customization' => 'Site Customization+', + 'Personalization' => 'Personalization+', + 'Links' => 'Links+', + 'Appearance' => 'Appearance+', + 'Themes' => 'Themes+', + + 'View Page' => 'View Page+', + 'Share your profile' => 'Share your profile+', + 'Share your profile:' => 'Share your profile:+', + 'Error sharing:' => 'Error sharing:+', + 'Text copied to clipboard!' => 'Text copied to clipboard!+', + 'Error copying text:' => 'Error copying text:+', + 'QR Code' => 'QR Code+', + 'Scan QR Code' => 'Scan QR Code+', + 'QR code could not be generated' => 'QR code could not be generated+', + 'Reason:' => 'Reason:+', + + 'Close' => 'Close+', + + 'All Notifications' => 'All Notifications+', + + 'Updater' => 'Updater+', + 'Beta Mode' => 'Beta Mode+', + 'Local version' => 'Local version+', + 'Latest beta' => 'Latest beta+', + 'Run updater' => 'Run updater+', + 'Update available' => 'Update available+', + 'Up to date' => 'Up to date+', + 'Run updater' => 'Run updater+', + 'Check again' => 'Check again+', + + 'Administrator' => 'Administrator+', + 'Verified user' => 'Verified user+', + 'User' => 'User+', + 'Profile' => 'Profile+', + 'Settings' => 'Settings+', + 'Styling' => 'Styling+', + 'Logout' => 'Logout+', + + 'Total Links:' => 'Total Links:+', 'Link Clicks:' => 'Link Clicks:+', 'View/Edit Links' => 'View/Edit Links+', diff --git a/resources/views/layouts/sidebar.blade.php b/resources/views/layouts/sidebar.blade.php index 5f1cdc2..c5d63d8 100755 --- a/resources/views/layouts/sidebar.blade.php +++ b/resources/views/layouts/sidebar.blade.php @@ -118,7 +118,7 @@ $usrhandl = Auth::user()->littlelink_name; @@ -195,7 +195,7 @@ $usrhandl = Auth::user()->littlelink_name; @endif @@ -205,7 +205,7 @@ $usrhandl = Auth::user()->littlelink_name; - Links + {{__('messages.Links')}} @@ -290,13 +290,13 @@ $usrhandl = Auth::user()->littlelink_name;
  • @@ -328,7 +328,7 @@ $usrhandl = Auth::user()->littlelink_name;
    -
    All Notifications
    +
    {{__('messages.All Notifications')}}
    @@ -373,7 +373,7 @@ $usrhandl = Auth::user()->littlelink_name; @if(env('JOIN_BETA') == true)
    -
    Updater Beta Mode
    +
    {{__('messages.Updater')}} {{__('messages.Beta Mode')}}
    @@ -382,8 +382,8 @@ $usrhandl = Auth::user()->littlelink_name; - - + + @@ -394,13 +394,13 @@ $usrhandl = Auth::user()->littlelink_name;
    Local versionLatest beta{{__('messages.Local version')}}{{__('messages.Latest beta')}}
    -
    +
    @else
    -
    Updater
    +
    {{__('messages.Updater')}}
    @@ -408,9 +408,9 @@ $usrhandl = Auth::user()->littlelink_name;
    -
    @if($Vgit > $Vlocal) Update available @else Up to date @endif
    +
    @if($Vgit > $Vlocal) {{__('messages.Update available')}} @else {{__('messages.Up to date')}} @endif
    -

    @if($Vgit > $Vlocal) Run updater @else Check again @endif

    +

    @if($Vgit > $Vlocal) {{__('messages.Run updater')}} @else {{__('messages.Check again')}} @endif

    v{{$Vlocal}}
    @@ -439,24 +439,24 @@ $usrhandl = Auth::user()->littlelink_name;
    {{Auth::user()->name}}

    @if(Auth::user()->role == "admin") - Administrator + {{__('messages.Administrator')}} @elseif(Auth::user()->role == "vip") - Verified user + {{__('messages.Verified user')}} @else - User + {{__('messages.User')}} @endif

    @@ -518,14 +518,14 @@ $usrhandl = Auth::user()->littlelink_name; @endif
    - Copyright © @php echo date('Y'); @endphp {{ config('app.name') }} + {{__('messages.Copyright')}} © @php echo date('Y'); @endphp {{ config('app.name') }} @if(env('DISPLAY_CREDIT_FOOTER') === true) - - Made with + - {{__('messages.Made with')}} - by LinkStack. + {{__('messages.by')}} LinkStack. @endif
    @@ -678,7 +678,7 @@ $usrhandl = Auth::user()->littlelink_name; @@ -762,21 +762,21 @@ $usrhandl = Auth::user()->littlelink_name; if (navigator.share) { // Call the Web Share API to open the native share dialog navigator.share({ - title: 'Share your profile', + title: '{{__("messages.Share your profile")}}', text: valueToShare, url: valueToShare, }) - .catch(err => console.error('Error sharing:', err)); + .catch(err => console.error('{{__("messages.Error sharing:")}}', err)); } else { // If the Web Share API is not supported, copy the value to the clipboard navigator.clipboard.writeText(valueToShare) .then(() => { // If copying was successful, alert the user - alert('Text copied to clipboard!'); + alert('{{__("messages.Text copied to clipboard!")}}'); }) .catch(err => { // If copying failed, alert the user - alert('Error copying text:', err); + alert('{{__("messages.Error copying text:")}}', err); }); } });