Added localized strings for modals

This commit is contained in:
Wächtler, Yannick 2021-11-02 15:27:13 +01:00
parent 30d30490a3
commit c0891e6827
6 changed files with 10 additions and 9 deletions

View file

@ -111,6 +111,7 @@
'file_name' => 'File',
'file_type' => 'File Type',
'file_uploads' => 'File Uploads',
'file_upload' => 'File Upload',
'generate' => 'Generate',
'generate_labels' => 'Generate Labels',
'github_markdown' => 'This field accepts <a href="https://help.github.com/articles/github-flavored-markdown/">Github flavored markdown</a>.',

View file

@ -4,7 +4,7 @@
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">&times;</span></button>
<h4 class="modal-title">Append accessory{{-- TODO: trans --}}</h4>
<h4 class="modal-title">{{{{ trans('admin/kits/general.append_accessory') }}}}</h4>
</div>
<div class="modal-body">
<form action="{{ route('api.kits.accessories.store', $kitId) }}" onsubmit="return false">
@ -21,7 +21,7 @@
</div>
<div class="dynamic-form-row">
<div class="col-md-4 col-xs-12"><label for="modal-quantity_id">Quantity{{-- TODO: trans --}}:
<div class="col-md-4 col-xs-12"><label for="modal-quantity_id">{{ trans('general.quantity') }}:
</label></div>
<div class="col-md-8 col-xs-12 required">
<input type='text' name='quantity' id='modal-quantity_id' class="form-control" value="1">

View file

@ -4,7 +4,7 @@
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">&times;</span></button>
<h4 class="modal-title">Append consumable{{-- TODO: trans --}}</h4>
<h4 class="modal-title">{{ trans('admin/kits/general.append_consumable') }}</h4>
</div>
<div class="modal-body">
<form action="{{ route('api.kits.consumables.store', $kitId) }}" onsubmit="return false">
@ -21,7 +21,7 @@
</div>
<div class="dynamic-form-row">
<div class="col-md-4 col-xs-12"><label for="modal-quantity_id">Quantity{{-- TODO: trans --}}:
<div class="col-md-4 col-xs-12"><label for="modal-quantity_id">{{ trans('general.quantity') }}:
</label></div>
<div class="col-md-8 col-xs-12 required">
<input type='text' name='quantity' id='modal-quantity_id' class="form-control" value="1">

View file

@ -4,7 +4,7 @@
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">&times;</span></button>
<h4 class="modal-title">Append license{{-- TODO: trans --}}</h4>
<h4 class="modal-title">{{ trans('admin/kits/general.append_license') }}</h4>
</div>
<div class="modal-body">
<form action="{{ route('api.kits.licenses.store', $kitId) }}" onsubmit="return false">
@ -21,7 +21,7 @@
</div>
<div class="dynamic-form-row">
<div class="col-md-4 col-xs-12"><label for="modal-quantity_id">Quantity{{-- TODO: trans --}}:
<div class="col-md-4 col-xs-12"><label for="modal-quantity_id">{{ trans('general.quantity') }}:
</label></div>
<div class="col-md-8 col-xs-12 required">
<input type='text' name='quantity' id='modal-quantity_id' class="form-control" value="1">

View file

@ -4,7 +4,7 @@
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">&times;</span></button>
<h4 class="modal-title">Append model{{-- TODO: trans --}}</h4>
<h4 class="modal-title">{{ trans('admin/kits/general.append_model') }}</h4>
</div>
<div class="modal-body">
<form action="{{ route('api.kits.models.store', $kitId) }}" onsubmit="return false">
@ -21,7 +21,7 @@
</div>
<div class="dynamic-form-row">
<div class="col-md-4 col-xs-12"><label for="modal-quantity_id">Quantity{{-- TODO: trans --}}:
<div class="col-md-4 col-xs-12"><label for="modal-quantity_id">{{ trans('general.quantity') }}:
</label></div>
<div class="col-md-8 col-xs-12 required">
<input type='text' name='quantity' id='modal-quantity_id' class="form-control" value="1">

View file

@ -4,7 +4,7 @@
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
<h2 class="modal-title" id="uploadFileModalLabel">Upload File</h4>
<h2 class="modal-title" id="uploadFileModalLabel">{{ trans('general.file_upload') }}</h4>
</div>
{{ Form::open([
'method' => 'POST',