Skip to content

A free open source IT asset/license management system

Add translations

Marcus Moore54dec8d30dc0
diff --git a/resources/lang/en-US/admin/reports/general.php b/resources/lang/en-US/admin/reports/general.php
index 1a7c4afc40..31671eba29 100644
--- a/resources/lang/en-US/admin/reports/general.php
+++ b/resources/lang/en-US/admin/reports/general.php
@@ -22,4 +22,5 @@ return [
'generate_template' => 'Generate Template',
'apply_and_generate' => 'Apply and Generate',
'template_name' => 'Enter Template Name',
+ 'update_template' => 'Update Template',
];
diff --git a/resources/lang/en-US/general.php b/resources/lang/en-US/general.php
index c2ca8bf4c7..862468d7bd 100644
--- a/resources/lang/en-US/general.php
+++ b/resources/lang/en-US/general.php
@@ -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',
diff --git a/resources/views/reports/custom.blade.php b/resources/views/reports/custom.blade.php
index 737c51a4b9..22cec2b322 100644
--- a/resources/views/reports/custom.blade.php
+++ b/resources/views/reports/custom.blade.php
@@ -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>