Add translations

This commit is contained in:
Marcus Moore 2024-10-28 12:56:42 -07:00
parent 7238238d1f
commit 54dec8d30d
No known key found for this signature in database
3 changed files with 5 additions and 3 deletions

View file

@ -22,4 +22,5 @@ return [
'generate_template' => 'Generate Template',
'apply_and_generate' => 'Apply and Generate',
'template_name' => 'Enter Template Name',
'update_template' => 'Update Template',
];

View file

@ -302,6 +302,7 @@ return [
'username_format' => 'Username Format',
'username' => 'Username',
'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.',
'uploaded' => 'Uploaded',
'user' => 'User',

View file

@ -42,9 +42,9 @@
<div class="box-header with-border">
<h2 class="box-title">
@if (request()->routeIs('report-templates.edit'))
Updating: {{ $template->name }}
{{ trans('general.updating_item', ['item' => $template->name]) }}
@elseif(request()->routeIs('report-templates.show'))
Saved Template: {{ $template->name }}
{{ $template->name }}
@else
{{ trans('general.customize_report') }}
@endif
@ -55,7 +55,7 @@
href="{{ route('report-templates.edit', $template) }}"
class="btn btn-sm btn-warning"
data-tooltip="true"
title="Update"
title="{{ trans('admin/reports/general.update_template') }}"
>
<i class="fas fa-pencil-alt" aria-hidden="true"></i>
<span class="sr-only">{{ trans('general.update') }}</span>