Moved URL translation string to general

Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
snipe 2024-01-24 14:41:38 +00:00
parent 944fbbf8c8
commit c95720b20d
8 changed files with 6 additions and 7 deletions

View file

@ -12,6 +12,5 @@ return array(
'support_url' => 'Support URL', 'support_url' => 'Support URL',
'warranty_lookup_url' => 'Warranty Lookup URL', 'warranty_lookup_url' => 'Warranty Lookup URL',
'update' => 'Update Manufacturer', 'update' => 'Update Manufacturer',
'url' => 'URL',
); );

View file

@ -19,7 +19,6 @@ return array(
'state' => 'State', 'state' => 'State',
'suppliers' => 'Suppliers', 'suppliers' => 'Suppliers',
'update' => 'Update Supplier', 'update' => 'Update Supplier',
'url' => 'URL',
'view' => 'View Supplier', 'view' => 'View Supplier',
'view_assets_for' => 'View Assets for', 'view_assets_for' => 'View Assets for',
'zip' => 'Postal Code', 'zip' => 'Postal Code',

View file

@ -500,5 +500,6 @@ return [
'edit' => 'edit', 'edit' => 'edit',
'action_source' => 'Action Source', 'action_source' => 'Action Source',
'or' => 'or', 'or' => 'or',
'url' => 'URL',
]; ];

View file

@ -12,7 +12,7 @@
@include ('partials.forms.edit.name', ['translated_name' => trans('admin/manufacturers/table.name')]) @include ('partials.forms.edit.name', ['translated_name' => trans('admin/manufacturers/table.name')])
<!-- URL --> <!-- URL -->
<div class="form-group {{ $errors->has('url') ? ' has-error' : '' }}"> <div class="form-group {{ $errors->has('url') ? ' has-error' : '' }}">
<label for="url" class="col-md-3 control-label">{{ trans('admin/manufacturers/table.url') }} <label for="url" class="col-md-3 control-label">{{ trans('general.url') }}
</label> </label>
<div class="col-md-6"> <div class="col-md-6">
<input class="form-control" type="text" name="url" id="url" value="{{ old('url', $item->url) }}" /> <input class="form-control" type="text" name="url" id="url" value="{{ old('url', $item->url) }}" />

View file

@ -322,7 +322,7 @@
<option value="model.manufacturer.name">{{trans('admin/hardware/form.manufacturer')}}</option> <option value="model.manufacturer.name">{{trans('admin/hardware/form.manufacturer')}}</option>
<option value="model.manufacturer.support_email">{{trans('admin/manufacturers/table.support_email')}}</option> <option value="model.manufacturer.support_email">{{trans('admin/manufacturers/table.support_email')}}</option>
<option value="model.manufacturer.support_phone">{{trans('admin/manufacturers/table.support_phone')}}</option> <option value="model.manufacturer.support_phone">{{trans('admin/manufacturers/table.support_phone')}}</option>
<option value="model.manufacturer.support_url">{{trans('admin/manufacturers/table.url')}}</option> <option value="model.manufacturer.support_url">{{trans('general.url')}}</option>
</optgroup> </optgroup>
<optgroup label="Category"> <optgroup label="Category">
<option value="model.category.name">{{trans('admin/categories/general.category_name')}}</option> <option value="model.category.name">{{trans('admin/categories/general.category_name')}}</option>

View file

@ -183,7 +183,7 @@
<label class="form-control"> <label class="form-control">
{{ Form::checkbox('url', '1', '1') }} {{ Form::checkbox('url', '1', '1') }}
- {{ trans('admin/manufacturers/table.url') }} - {{ trans('general.url') }}
</label> </label>

View file

@ -26,7 +26,7 @@
@include ('partials.forms.edit.email') @include ('partials.forms.edit.email')
<div class="form-group {{ $errors->has('url') ? ' has-error' : '' }}"> <div class="form-group {{ $errors->has('url') ? ' has-error' : '' }}">
{{ Form::label('url', trans('admin/suppliers/table.url'), array('class' => 'col-md-3 control-label')) }} {{ Form::label('url', trans('general.url'), array('class' => 'col-md-3 control-label')) }}
<div class="col-md-7"> <div class="col-md-7">
{{Form::text('url', old('url', $item->url), array('class' => 'form-control')) }} {{Form::text('url', old('url', $item->url), array('class' => 'form-control')) }}
{!! $errors->first('url', '<span class="alert-msg" aria-hidden="true"><i class="fas fa-times" aria-hidden="true"></i> :message</span>') !!} {!! $errors->first('url', '<span class="alert-msg" aria-hidden="true"><i class="fas fa-times" aria-hidden="true"></i> :message</span>') !!}

View file

@ -50,7 +50,7 @@
<th data-searchable="true" data-sortable="true" data-field="email" data-formatter="emailFormatter">{{ trans('admin/suppliers/table.email') }}</th> <th data-searchable="true" data-sortable="true" data-field="email" data-formatter="emailFormatter">{{ trans('admin/suppliers/table.email') }}</th>
<th data-searchable="true" data-sortable="true" data-field="phone" data-formatter="phoneFormatter">{{ trans('admin/suppliers/table.phone') }}</th> <th data-searchable="true" data-sortable="true" data-field="phone" data-formatter="phoneFormatter">{{ trans('admin/suppliers/table.phone') }}</th>
<th data-searchable="true" data-sortable="true" data-field="fax" data-visible="false">{{ trans('admin/suppliers/table.fax') }}</th> <th data-searchable="true" data-sortable="true" data-field="fax" data-visible="false">{{ trans('admin/suppliers/table.fax') }}</th>
<th data-sortable="true" data-field="url" data-visible="false" data-formatter="externalLinkFormatter">{{ trans('admin/suppliers/table.url') }}</th> <th data-sortable="true" data-field="url" data-visible="false" data-formatter="externalLinkFormatter">{{ trans('general.url') }}</th>
<th data-searchable="false" data-sortable="true" data-field="assets_count">{{ trans('admin/suppliers/table.assets') }}</th> <th data-searchable="false" data-sortable="true" data-field="assets_count">{{ trans('admin/suppliers/table.assets') }}</th>
<th data-searchable="false" data-sortable="true" data-field="accessories_count">{{ trans('general.accessories') }}</th> <th data-searchable="false" data-sortable="true" data-field="accessories_count">{{ trans('general.accessories') }}</th>
<th data-searchable="false" data-sortable="true" data-field="licenses_count">{{ trans('admin/suppliers/table.licenses') }}</th> <th data-searchable="false" data-sortable="true" data-field="licenses_count">{{ trans('admin/suppliers/table.licenses') }}</th>