mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-25 05:34:06 -08:00
Add localization strings
This commit is contained in:
parent
6de48b4dc8
commit
d37605ff18
11
resources/lang/en/admin/labels/message.php
Normal file
11
resources/lang/en/admin/labels/message.php
Normal file
|
@ -0,0 +1,11 @@
|
|||
<?php
|
||||
|
||||
return [
|
||||
|
||||
'invalid_return_count' => 'Invalid count returned from :name. Expected :expected, got :actual.',
|
||||
'invalid_return_type' => 'Invalid type returned from :name. Expected :expected, got :actual.',
|
||||
'invalid_return_value' => 'Invalid value returned from :name. Expected :expected, got :actual.',
|
||||
|
||||
'does_not_exist' => 'Label does not exist',
|
||||
|
||||
];
|
12
resources/lang/en/admin/labels/table.php
Normal file
12
resources/lang/en/admin/labels/table.php
Normal file
|
@ -0,0 +1,12 @@
|
|||
<?php
|
||||
|
||||
return [
|
||||
|
||||
'labels_per_page' => 'Labels',
|
||||
'support_fields' => 'Fields',
|
||||
'support_1d_barcode' => '1D',
|
||||
'support_2d_barcode' => '2D',
|
||||
'support_logo' => 'Logo',
|
||||
'support_title' => 'Title',
|
||||
|
||||
];
|
|
@ -320,4 +320,31 @@ return [
|
|||
'setup_migration_create_user' => 'Next: Create User',
|
||||
'ldap_settings_link' => 'LDAP Settings Page',
|
||||
'slack_test' => 'Test <i class="fab fa-slack"></i> Integration',
|
||||
|
||||
'label2_enable' => 'New Label Engine',
|
||||
'label2_enable_help' => 'Switch to the new label engine. <b>Note: You will need to save this setting before setting others.</b>',
|
||||
'label2_template' => 'Template',
|
||||
'label2_template_help' => 'Select which template to use for label generation',
|
||||
'label2_title' => 'Title',
|
||||
'label2_title_help' => 'The title to show on labels that support it',
|
||||
'label2_title_help_phold' => 'The placeholder <code>:company</code> will be replaced with the asset's company name',
|
||||
'label2_asset_logo' => 'Use Asset Logo',
|
||||
'label2_asset_logo_help' => 'Use the logo of the asset's assigned company, rather than the value at <code>:setting_name</code>',
|
||||
'label2_1d_type' => '1D Barcode Type',
|
||||
'label2_1d_type_help' => 'Format for 1D barcodes',
|
||||
'label2_2d_type' => '2D Barcode Type',
|
||||
'label2_2d_type_help' => 'Format for 2D barcodes',
|
||||
'label2_2d_target' => '2D Barcode Target',
|
||||
'label2_2d_target_help' => 'The URL the 2D barcode points to when scanned',
|
||||
'label2_fields' => 'Fields Definition',
|
||||
'label2_fields_help' => 'Fields to show on the label in the format <code>Label=asset_field</code>',
|
||||
'label2_fields_help_semi' => 'Use <code>;</code> to separate fields',
|
||||
'label2_fields_help_pipe' => 'Use <code>|</code> to allow multiple options in each field. For example <code>Name=name|Nickname=_snipeit_my_custom_field_2</code> will use <code>name</code> if a value is set, otherwise it will use <code>_snipeit_my_custom_field_2</code>. This is useful to ensure field order',
|
||||
'label2_fields_help_once' => 'Each field will only be selected once per label',
|
||||
|
||||
'help_asterisk_bold' => 'Text entered as <code>**text**</code> will be displayed as bold',
|
||||
'help_blank_to_use' => 'Leave blank to use the value from <code>:setting_name</code>',
|
||||
'help_default_will_use' => '<code>:default</code> will use the value from <code>:setting_name</code>',
|
||||
'default' => 'Default',
|
||||
'none' => 'None',
|
||||
];
|
||||
|
|
|
@ -181,4 +181,8 @@ Route::resource('hardware',
|
|||
'middleware' => ['auth'],
|
||||
'parameters' => ['asset' => 'asset_id'
|
||||
],
|
||||
]);
|
||||
]);
|
||||
|
||||
Route::get('ht/{any?}',
|
||||
[AssetsController::class, 'getAssetByTag']
|
||||
)->where('any', '.*')->name('ht/assetTag');
|
Loading…
Reference in a new issue