mirror of
https://github.com/snipe/snipe-it.git
synced 2024-11-10 07:34:06 -08:00
Added localized strings for layouts
This commit is contained in:
parent
8bad9c5140
commit
4fcd4a930f
|
@ -21,6 +21,7 @@
|
|||
'asset_tag' => 'Asset Tag',
|
||||
'assets_available' => 'Assets available',
|
||||
'accept_assets' => 'Accept Assets :name',
|
||||
'accept_assets_menu' => 'Accept Assets',
|
||||
'audit' => 'Audit',
|
||||
'audit_report' => 'Audit Log',
|
||||
'assets' => 'Assets',
|
||||
|
@ -152,6 +153,7 @@
|
|||
'logout' => 'Logout',
|
||||
'lookup_by_tag' => 'Lookup by Asset Tag',
|
||||
'maintenances' => 'Maintenances',
|
||||
'manage_api_keys' => 'Manage API Keys',
|
||||
'manufacturer' => 'Manufacturer',
|
||||
'manufacturers' => 'Manufacturers',
|
||||
'markdown' => 'This field allows <a href="https://help.github.com/articles/github-flavored-markdown/">Github flavored markdown</a>.',
|
||||
|
@ -183,8 +185,10 @@
|
|||
'purchase_date' => 'Purchase Date',
|
||||
'qty' => 'QTY',
|
||||
'quantity' => 'Quantity',
|
||||
'quantity_minimum' => 'You have :count items below or almost below minimum quantity levels',
|
||||
'ready_to_deploy' => 'Ready to Deploy',
|
||||
'recent_activity' => 'Recent Activity',
|
||||
'remaining' => 'Remaining',
|
||||
'remove_company' => 'Remove Company Association',
|
||||
'reports' => 'Reports',
|
||||
'restored' => 'restored',
|
||||
|
@ -193,6 +197,7 @@
|
|||
'requested' => 'Requested',
|
||||
'requested_date' => 'Requested Date',
|
||||
'requested_assets' => 'Requested Assets',
|
||||
'requested_assets_menu' => 'Requested Assets',
|
||||
'request_canceled' => 'Request Canceled',
|
||||
'save' => 'Save',
|
||||
'select' => 'Select',
|
||||
|
@ -227,6 +232,7 @@
|
|||
'sure_to_delete' => 'Are you sure you wish to delete',
|
||||
'submit' => 'Submit',
|
||||
'target' => 'Target',
|
||||
'toggle_navigation' => 'Toogle Navigation',
|
||||
'time_and_date_display' => 'Time and Date Display',
|
||||
'total_assets' => 'total assets',
|
||||
'total_licenses' => 'total licenses',
|
||||
|
@ -268,5 +274,15 @@
|
|||
'view_all' => 'view all',
|
||||
'hide_deleted' => 'Hide Deleted',
|
||||
'email' => 'Email',
|
||||
'do_not_change' => 'Do Not Change',
|
||||
];
|
||||
'do_not_change' => 'Do Not Change',
|
||||
'bug_report' => 'Report a Bug',
|
||||
'user_manual' => 'User\'s Manual',
|
||||
'setup_step_1' => 'Step 1',
|
||||
'setup_step_2' => 'Step 2',
|
||||
'setup_step_3' => 'Step 3',
|
||||
'setup_step_4' => 'Step 4',
|
||||
'setup_config_check' => 'Configuration Check',
|
||||
'setup_create_database' => 'Create Database Tables',
|
||||
'setup_create_admin' => 'Create Admin User',
|
||||
'setup_done' => 'Finished!',
|
||||
];
|
||||
|
|
|
@ -135,7 +135,7 @@
|
|||
<li aria-hidden="true"{!! (Request::is('hardware*') ? ' class="active"' : '') !!} tabindex="-1">
|
||||
<a href="{{ url('hardware') }}" tabindex="-1">
|
||||
<i class="fas fa-barcode" aria-hidden="true"></i>
|
||||
<span class="sr-only">Assets</span>
|
||||
<span class="sr-only">{{ trans('general.assets') }}</span>
|
||||
</a>
|
||||
</li>
|
||||
@endcan
|
||||
|
@ -143,7 +143,7 @@
|
|||
<li aria-hidden="true"{!! (Request::is('licenses*') ? ' class="active"' : '') !!} tabindex="-1">
|
||||
<a href="{{ route('licenses.index') }}" tabindex="-1">
|
||||
<i class="far fa-save"></i>
|
||||
<span class="sr-only">Licenses</span>
|
||||
<span class="sr-only">{{ trans('general.licenses') }}</span>
|
||||
</a>
|
||||
</li>
|
||||
@endcan
|
||||
|
@ -151,7 +151,7 @@
|
|||
<li aria-hidden="true"{!! (Request::is('accessories*') ? ' class="active"' : '') !!} tabindex="-1">
|
||||
<a href="{{ route('accessories.index') }}" tabindex="-1">
|
||||
<i class="far fa-keyboard"></i>
|
||||
<span class="sr-only">Accessories</span>
|
||||
<span class="sr-only">{{ trans('general.accessories') }}</span>
|
||||
</a>
|
||||
</li>
|
||||
@endcan
|
||||
|
@ -159,7 +159,7 @@
|
|||
<li aria-hidden="true"{!! (Request::is('consumables*') ? ' class="active"' : '') !!}>
|
||||
<a href="{{ url('consumables') }}" tabindex="-1">
|
||||
<i class="fas fa-tint"></i>
|
||||
<span class="sr-only">Consumables</span>
|
||||
<span class="sr-only">{{ trans('general.consumables') }}</span>
|
||||
</a>
|
||||
</li>
|
||||
@endcan
|
||||
|
@ -167,7 +167,7 @@
|
|||
<li aria-hidden="true"{!! (Request::is('components*') ? ' class="active"' : '') !!}>
|
||||
<a href="{{ route('components.index') }}" tabindex="-1">
|
||||
<i class="far fa-hdd"></i>
|
||||
<span class="sr-only">Components</span>
|
||||
<span class="sr-only">{{ trans('general.components') }}</span>
|
||||
</a>
|
||||
</li>
|
||||
@endcan
|
||||
|
@ -184,7 +184,7 @@
|
|||
<div class="col-xs-1">
|
||||
<button type="submit" class="btn btn-primary pull-right">
|
||||
<i class="fas fa-search" aria-hidden="true"></i>
|
||||
<span class="sr-only">Search</span>
|
||||
<span class="sr-only">{{ trans('general.search') }}</span>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -264,7 +264,7 @@
|
|||
@endif
|
||||
</a>
|
||||
<ul class="dropdown-menu">
|
||||
<li class="header">You have {{ count($alert_items) }} items below or almost below minimum quantity levels</li>
|
||||
<li class="header">{{ trans('general.quantity_minimum', array('count' => count($alert_items))) }}</li>
|
||||
<li>
|
||||
<!-- inner menu: contains the actual data -->
|
||||
<ul class="menu">
|
||||
|
@ -275,7 +275,7 @@
|
|||
<a href="{{route($alert_items[$i]['type'].'.show', $alert_items[$i]['id'])}}">
|
||||
<h2>{{ $alert_items[$i]['name'] }}
|
||||
<small class="pull-right">
|
||||
{{ $alert_items[$i]['remaining'] }} remaining
|
||||
{{ $alert_items[$i]['remaining'] }} {{ trans('general.remaining') }}
|
||||
</small>
|
||||
</h2>
|
||||
<div class="progress xs">
|
||||
|
@ -321,12 +321,12 @@
|
|||
<li {!! (Request::is('account/requested') ? ' class="active"' : '') !!}>
|
||||
<a href="{{ route('account.requested') }}">
|
||||
<i class="fas fa-check fa-disk fa-fw" aria-hidden="true"></i>
|
||||
Requested Assets
|
||||
{{ trans('general.requested_assets_menu') }}
|
||||
</a></li>
|
||||
<li {!! (Request::is('account/accept') ? ' class="active"' : '') !!}>
|
||||
<a href="{{ route('account.accept') }}">
|
||||
<i class="fas fa-check fa-disk fa-fw"></i>
|
||||
Accept Assets
|
||||
{{ trans('general.accept_assets_menu') }}
|
||||
</a></li>
|
||||
|
||||
|
||||
|
@ -349,7 +349,7 @@
|
|||
@can('self.api')
|
||||
<li>
|
||||
<a href="{{ route('user.api') }}">
|
||||
<i class="fas fa-user-secret fa-fw" aria-hidden="true"></i> Manage API Keys
|
||||
<i class="fas fa-user-secret fa-fw" aria-hidden="true"></i> {{ trans('general.manage_api_keys') }}
|
||||
</a>
|
||||
</li>
|
||||
@endcan
|
||||
|
@ -377,7 +377,7 @@
|
|||
</div>
|
||||
</nav>
|
||||
<a href="#" style="float:left" class="sidebar-toggle-mobile visible-xs btn" data-toggle="push-menu" role="button">
|
||||
<span class="sr-only">Toggle navigation</span>
|
||||
<span class="sr-only">{{ trans('general.toggle_navigation') }}</span>
|
||||
<i class="fas fa-bars"></i>
|
||||
</a>
|
||||
<!-- Sidebar toggle button-->
|
||||
|
@ -803,8 +803,8 @@
|
|||
|
||||
@if ($snipeSettings->support_footer!='off')
|
||||
@if (($snipeSettings->support_footer=='on') || (($snipeSettings->support_footer=='admin') && (Auth::user()->isSuperUser()=='1')))
|
||||
<a target="_blank" class="btn btn-default btn-xs" href="https://snipe-it.readme.io/docs/overview" rel="noopener">User's Manual</a>
|
||||
<a target="_blank" class="btn btn-default btn-xs" href="https://snipeitapp.com/support/" rel="noopener">Report a Bug</a>
|
||||
<a target="_blank" class="btn btn-default btn-xs" href="https://snipe-it.readme.io/docs/overview" rel="noopener">{{ trans('general.user_manual') }}</a>
|
||||
<a target="_blank" class="btn btn-default btn-xs" href="https://snipeitapp.com/support/" rel="noopener">{{ trans('general.bug_report') }}</a>
|
||||
@endif
|
||||
@endif
|
||||
|
||||
|
|
|
@ -64,31 +64,31 @@
|
|||
<div class="row bs-wizard" style="border-bottom:0;">
|
||||
|
||||
<div class="col-xs-3 bs-wizard-step {{ ($step > 1) ? 'complete':'active' }}">
|
||||
<div class="text-center bs-wizard-stepnum">Step 1</div>
|
||||
<div class="text-center bs-wizard-stepnum">{{ trans('general.setup_step_1') }}</div>
|
||||
<div class="progress"><div class="progress-bar"></div></div>
|
||||
<a href="{{ route('setup') }}" class="bs-wizard-dot"></a>
|
||||
<div class="bs-wizard-info text-center">Configuration Check</div>
|
||||
<div class="bs-wizard-info text-center">{{ trans('general.setup_config_check') }}</div>
|
||||
</div>
|
||||
|
||||
<div class="col-xs-3 bs-wizard-step {{ ($step == 2) ? 'active': (($step < 2) ? 'disabled' : 'complete') }}"><!-- complete -->
|
||||
<div class="text-center bs-wizard-stepnum">Step 2</div>
|
||||
<div class="text-center bs-wizard-stepnum">{{ trans('general.setup_step_2') }}</div>
|
||||
<div class="progress"><div class="progress-bar"></div></div>
|
||||
<a href="{{ route('setup.migrate') }}" class="bs-wizard-dot"></a>
|
||||
<div class="bs-wizard-info text-center">Create Database Tables</div>
|
||||
<div class="bs-wizard-info text-center">{{ trans('general.setup_create_database') }}</div>
|
||||
</div>
|
||||
|
||||
<div class="col-xs-3 bs-wizard-step {{ ($step == 3) ? 'active': (($step < 3) ? 'disabled' : 'complete') }}"><!-- complete -->
|
||||
<div class="text-center bs-wizard-stepnum">Step 3</div>
|
||||
<div class="text-center bs-wizard-stepnum">{{ trans('general.setup_step_3') }}</div>
|
||||
<div class="progress"><div class="progress-bar"></div></div>
|
||||
<a href="{{ route('setup.user') }}" class="bs-wizard-dot"></a>
|
||||
<div class="bs-wizard-info text-center">Create Admin User</div>
|
||||
<div class="bs-wizard-info text-center">{{ trans('general.setup_create_admin') }}</div>
|
||||
</div>
|
||||
|
||||
<div class="col-xs-3 bs-wizard-step {{ ($step == 4) ? 'active': (($step < 4) ? 'disabled' : 'complete') }}"><!-- active -->
|
||||
<div class="text-center bs-wizard-stepnum">Step 4</div>
|
||||
<div class="text-center bs-wizard-stepnum">{{ trans('general.setup_step_4') }}</div>
|
||||
<div class="progress"><div class="progress-bar"></div></div>
|
||||
<a href="#" class="bs-wizard-dot"></a>
|
||||
<div class="bs-wizard-info text-center"> Finished!</div>
|
||||
<div class="bs-wizard-info text-center">{{ trans('general.setup_done') }}</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue