Skip to content

Commit 54dec8d

Browse files
committed
Add translations
1 parent 7238238 commit 54dec8d

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

resources/lang/en-US/admin/reports/general.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,5 @@
2222
'generate_template' => 'Generate Template',
2323
'apply_and_generate' => 'Apply and Generate',
2424
'template_name' => 'Enter Template Name',
25+
'update_template' => 'Update Template',
2526
];

resources/lang/en-US/general.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -302,6 +302,7 @@
302302
'username_format' => 'Username Format',
303303
'username' => 'Username',
304304
'update' => 'Update',
305+
'updating_item' => 'Updating :item',
305306
'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.',
306307
'uploaded' => 'Uploaded',
307308
'user' => 'User',

resources/views/reports/custom.blade.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,9 @@
4242
<div class="box-header with-border">
4343
<h2 class="box-title">
4444
@if (request()->routeIs('report-templates.edit'))
45-
Updating: {{ $template->name }}
45+
{{ trans('general.updating_item', ['item' => $template->name]) }}
4646
@elseif(request()->routeIs('report-templates.show'))
47-
Saved Template: {{ $template->name }}
47+
{{ $template->name }}
4848
@else
4949
{{ trans('general.customize_report') }}
5050
@endif
@@ -55,7 +55,7 @@
5555
href="{{ route('report-templates.edit', $template) }}"
5656
class="btn btn-sm btn-warning"
5757
data-tooltip="true"
58-
title="Update"
58+
title="{{ trans('admin/reports/general.update_template') }}"
5959
>
6060
<i class="fas fa-pencil-alt" aria-hidden="true"></i>
6161
<span class="sr-only">{{ trans('general.update') }}</span>

0 commit comments

Comments
 (0)