mirror of
https://github.com/snipe/snipe-it.git
synced 2025-02-21 03:15:45 -08:00
Add translations
This commit is contained in:
parent
7238238d1f
commit
54dec8d30d
|
@ -22,4 +22,5 @@ return [
|
||||||
'generate_template' => 'Generate Template',
|
'generate_template' => 'Generate Template',
|
||||||
'apply_and_generate' => 'Apply and Generate',
|
'apply_and_generate' => 'Apply and Generate',
|
||||||
'template_name' => 'Enter Template Name',
|
'template_name' => 'Enter Template Name',
|
||||||
|
'update_template' => 'Update Template',
|
||||||
];
|
];
|
||||||
|
|
|
@ -302,6 +302,7 @@ return [
|
||||||
'username_format' => 'Username Format',
|
'username_format' => 'Username Format',
|
||||||
'username' => 'Username',
|
'username' => 'Username',
|
||||||
'update' => 'Update',
|
'update' => 'Update',
|
||||||
|
'updating_item' => 'Updating :item',
|
||||||
'upload_filetypes_help' => 'Allowed filetypes are png, gif, jpg, jpeg, doc, docx, pdf, xls, xlsx, txt, lic, xml, zip, rtf and rar. Max upload size allowed is :size.',
|
'upload_filetypes_help' => 'Allowed filetypes are png, gif, jpg, jpeg, doc, docx, pdf, xls, xlsx, txt, lic, xml, zip, rtf and rar. Max upload size allowed is :size.',
|
||||||
'uploaded' => 'Uploaded',
|
'uploaded' => 'Uploaded',
|
||||||
'user' => 'User',
|
'user' => 'User',
|
||||||
|
|
|
@ -42,9 +42,9 @@
|
||||||
<div class="box-header with-border">
|
<div class="box-header with-border">
|
||||||
<h2 class="box-title">
|
<h2 class="box-title">
|
||||||
@if (request()->routeIs('report-templates.edit'))
|
@if (request()->routeIs('report-templates.edit'))
|
||||||
Updating: {{ $template->name }}
|
{{ trans('general.updating_item', ['item' => $template->name]) }}
|
||||||
@elseif(request()->routeIs('report-templates.show'))
|
@elseif(request()->routeIs('report-templates.show'))
|
||||||
Saved Template: {{ $template->name }}
|
{{ $template->name }}
|
||||||
@else
|
@else
|
||||||
{{ trans('general.customize_report') }}
|
{{ trans('general.customize_report') }}
|
||||||
@endif
|
@endif
|
||||||
|
@ -55,7 +55,7 @@
|
||||||
href="{{ route('report-templates.edit', $template) }}"
|
href="{{ route('report-templates.edit', $template) }}"
|
||||||
class="btn btn-sm btn-warning"
|
class="btn btn-sm btn-warning"
|
||||||
data-tooltip="true"
|
data-tooltip="true"
|
||||||
title="Update"
|
title="{{ trans('admin/reports/general.update_template') }}"
|
||||||
>
|
>
|
||||||
<i class="fas fa-pencil-alt" aria-hidden="true"></i>
|
<i class="fas fa-pencil-alt" aria-hidden="true"></i>
|
||||||
<span class="sr-only">{{ trans('general.update') }}</span>
|
<span class="sr-only">{{ trans('general.update') }}</span>
|
||||||
|
|
Loading…
Reference in a new issue