translations for the layout setup

This commit is contained in:
akemidx 2023-02-09 17:24:34 -05:00 committed by snipe
parent 66251bfd8a
commit d9857d955b
3 changed files with 14 additions and 6 deletions

View file

@ -397,6 +397,12 @@ return [
'placeholder_kit' => 'Select a kit',
'file_not_found' => 'File not found',
'preview_not_available' => '(no preview)',
'setup' => 'Setup',
'pre_flight' => 'Pre-Flight',
'skip_to_main_content' => 'Skip to main content',
'toggle_navigation' => 'Toggle navigation',
'alerts' => 'Alerts',
'tasks_view_all' => 'View all tasks',

View file

@ -88,7 +88,7 @@
<body class="sidebar-mini skin-{{ $snipeSettings->skin!='' ? $snipeSettings->skin : 'blue' }} {{ (session('menu_state')!='open') ? 'sidebar-mini sidebar-collapse' : '' }}">
@endif
<a class="skip-main" href="#main">Skip to main content</a>
<a class="skip-main" href="#main">{{ trans('general.skip_to_main_content') }}</a>
<div class="wrapper">
<header class="main-header">
@ -100,7 +100,7 @@
<nav class="navbar navbar-static-top" role="navigation">
<!-- Sidebar toggle button above the compact sidenav -->
<a href="#" style="color: white" class="sidebar-toggle btn btn-white" data-toggle="push-menu" role="button">
<span class="sr-only">Toggle navigation</span>
<span class="sr-only">{{ trans('general.toggle_navigation') }}</span>
</a>
<div class="nav navbar-nav navbar-left">
<div class="left-navblock">
@ -256,7 +256,7 @@
<li class="dropdown tasks-menu">
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
<i class="far fa-flag" aria-hidden="true"></i>
<span class="sr-only">Alerts</span>
<span class="sr-only">{{ trans('general.alerts') }}</span>
@if (count($alert_items))
<span class="label label-danger">{{ count($alert_items) }}</span>
@endif
@ -288,7 +288,7 @@
</ul>
</li>
{{-- <li class="footer">
<a href="#">View all tasks</a>
<a href="#">{{ trans('general.tasks_view_all') }}</a>
</li> --}}
</ul>
</li>
@ -296,6 +296,7 @@
@endif
<!-- User Account: style can be found in dropdown.less -->
@if (Auth::check())
<li class="dropdown user user-menu">

View file

@ -4,12 +4,13 @@
<head>
<title>
@section('title')
Snipe-IT Setup
Snipe-IT {{ trans('general.setup') }}
@show
</title>
<link rel="stylesheet" href="{{ url(mix('css/dist/all.css')) }}">
<script nonce="{{ csrf_token() }}">
window.snipeit = {
settings: {
@ -57,7 +58,7 @@
<div class="container">
<div class="row">
<div class="col-lg-10 col-lg-offset-1">
<h1 class="page-header">Snipe-IT Pre-Flight</h1>
<h1 class="page-header">Snipe-IT {{ trans('general.pre_flight') }}</h1>
</div>
<div class="col-lg-11 col-lg-offset-1">