mirror of
https://github.com/snipe/snipe-it.git
synced 2024-11-10 15:44:11 -08:00
79367642b1
* Added AWS url to example env * Upgrader - added check for new storage path and attempt to move * Ignore symlink * Updated paths for models * Moved copy methods * Added AWS_URL support For some reasin, Flysystem was generating the wrong AWS url (with a region included) * Switch to Flysystem for image uploads * Nicer display of image preview * Updated image preview on edit blades to use Flysystem * Twiddled some more paths * Working filesystems config * Updated Asset Models and Departments to use Flysystem * Janky workaround for differing S3/local urls/paths * Try to smartly use S3 as public disk if S3 is configured * Use public disk Storage options for public files * Additional transformer edits for Flysystem * Removed debugging * Added missing use Storage directive * Updated seeders to use Flysystem * Default logo * Set a default width We can potentially override this in settings later * Use Flysystem for logo upload * Update downloadFile to use Flysystem * Updated AssetFilesController to use Flysystem * Updated acceptance signatures to use Flysystem * Updated signature view to use Flysystem This isn’t working 100% yet * Use Flysystem facade for displaying asset image * Set assets path Should clean all these up when we’re done here * Added Rackspace support for Flysystem * Added Flysystem migrator console command * Added use Storage directive for categories * Added user avatars to Flysystem * Added profile avatar to Flysystem * Added the option to delete local files with the migrator * Added a check to prevent people from trying to move from local to local * Fixed the selectlists for Flysystem * Fixed the getImageUrl method to reflect Flysystem * Fixed AWS copy process * Fixed models path * More selectlist updates for Flysystem * Updated example .envs with updated env variable names * *sigh* * Updated non-asset getImageUrl() methods to use Flysystem * Removed S3 hardcoding * Use Flysystem in email headers * Fixed typo * Removed camera support from asset file upload We’ll find a way to add this in later (and add that support to all of the other image uploads as well) * Fixed path for categories * WIP - Switched to standard handleImages for asset upload. This is currently broken as I refact the handleImages method. Because the assets store/create methods use their own Form Request, the handleImages method doesn’t exist in that Form Request so it wil error now. * Fixed css URL error * Updated Debugbar to latest version (#6265) v3.2 adds support for Laravel 5.7 * Fixed: Missing CSS file in basic.blade.php (#6264) * Fixed missing CSS file in basic.blade.php * Added * Changed stylesheet import for authorize.blade.php * Updated composer lock * Added AWS_BUCKET_ROOT as env variable * Use nicer image preview for logo upload * Removed AssetRequest form request * Removed asset form request, moved custom field validation into model * Added additional help text for logo upload * Increased the size of the image resize - should make this a setting tho * Few more formatting tweaks to logo section of branding blade preview * Use Flysystem for asset/license file uploads * Use Flysystem for removing images from models that have been deleted * Enable backups to use Flysystem This only handles part of the problem. This just makes it so we can ship files to S3 if we want, but does not account for how we backup files that are hosted on S3 * Use Flysystem to download license files * Updated audits to use Flysystem
226 lines
9.9 KiB
PHP
226 lines
9.9 KiB
PHP
<?php
|
|
|
|
return [
|
|
'accessories' => 'Accessories',
|
|
'activated' => 'Activated',
|
|
'accessory' => 'Accessory',
|
|
'accessory_report' => 'Accessory Report',
|
|
'action' => 'Action',
|
|
'activity_report' => 'Activity Report',
|
|
'address' => 'Address',
|
|
'admin' => 'Admin',
|
|
'administrator' => 'Administrator',
|
|
'add_seats' => 'Added seats',
|
|
'all_assets' => 'All Assets',
|
|
'all' => 'All',
|
|
'archived' => 'Archived',
|
|
'asset_models' => 'Asset Models',
|
|
'asset_model' => 'Model',
|
|
'asset' => 'Asset',
|
|
'asset_report' => 'Asset Report',
|
|
'asset_tag' => 'Asset Tag',
|
|
'assets_available' => 'assets available',
|
|
'audit' => 'Audit',
|
|
'audit_report' => 'Audit Log',
|
|
'assets' => 'Assets',
|
|
'avatar_delete' => 'Delete Avatar',
|
|
'avatar_upload' => 'Upload Avatar',
|
|
'back' => 'Back',
|
|
'bad_data' => 'Nothing found. Maybe bad data?',
|
|
'bulkaudit' => 'Bulk Audit',
|
|
'bulkaudit_status' => 'Audit Status',
|
|
'bulk_checkout' => 'Bulk Checkout',
|
|
'cancel' => 'Cancel',
|
|
'categories' => 'Categories',
|
|
'category' => 'Category',
|
|
'change' => 'In/Out',
|
|
'changeemail' => 'Change Email Address',
|
|
'changepassword' => 'Change Password',
|
|
'checkin' => 'Checkin',
|
|
'checkin_from' => 'Checkin from',
|
|
'checkout' => 'Checkout',
|
|
'checkouts_count' => 'Checkouts',
|
|
'checkins_count' => 'Checkins',
|
|
'user_requests_count' => 'Requests',
|
|
'city' => 'City',
|
|
'click_here' => 'Click here',
|
|
'clear_selection' => 'Clear Selection',
|
|
'companies' => 'Companies',
|
|
'company' => 'Company',
|
|
'component' => 'Component',
|
|
'components' => 'Components',
|
|
'complete' => 'Complete',
|
|
'consumable' => 'Consumable',
|
|
'consumables' => 'Consumables',
|
|
'country' => 'Country',
|
|
'create' => 'Create New',
|
|
'created' => 'Item Created',
|
|
'created_asset' => 'created asset',
|
|
'created_at' => 'Created at',
|
|
'updated_at' => 'Updated at',
|
|
'currency' => '$', // this is deprecated
|
|
'current' => 'Current',
|
|
'custom_report' => 'Custom Asset Report',
|
|
'dashboard' => 'Dashboard',
|
|
'days' => 'days',
|
|
'days_to_next_audit' => 'Days to Next Audit',
|
|
'date' => 'Date',
|
|
'debug_warning' => 'Warning!',
|
|
'debug_warning_text' => 'This application is running in production mode with debugging enabled. This can expose sensitive data if your application is accessible to the outside world. Disable debug mode by setting the <code>APP_DEBUG</code> value in your <code>.env</code> file to <code>false</code>.',
|
|
'delete' => 'Delete',
|
|
'delete_confirm' => 'Are you sure you wish to delete :item?',
|
|
'deleted' => 'Deleted',
|
|
'delete_seats' => 'Deleted Seats',
|
|
'departments' => 'Departments',
|
|
'department' => 'Department',
|
|
'deployed' => 'Deployed',
|
|
'depreciation_report' => 'Depreciation Report',
|
|
'details' => 'Details',
|
|
'download' => 'Download',
|
|
'depreciation' => 'Depreciation',
|
|
'editprofile' => 'Edit Your Profile',
|
|
'eol' => 'EOL',
|
|
'email_domain' => 'Email Domain',
|
|
'email_format' => 'Email Format',
|
|
'email_domain_help' => 'This is used to generate email addresses when importing',
|
|
'filastname_format' => 'First Initial Last Name (jsmith@example.com)',
|
|
'firstname_lastname_format' => 'First Name Last Name (jane.smith@example.com)',
|
|
'firstname_lastname_underscore_format' => 'First Name Last Name (jane_smith@example.com)',
|
|
'lastnamefirstinitial_format' => 'Last Name First Initial (smithj@example.com)',
|
|
'first' => 'First',
|
|
'first_name' => 'First Name',
|
|
'first_name_format' => 'First Name (jane@example.com)',
|
|
'files' => 'Files',
|
|
'file_name' => 'File',
|
|
'file_uploads' => 'File Uploads',
|
|
'generate' => 'Generate',
|
|
'github_markdown' => 'This field accepts <a href="https://help.github.com/articles/github-flavored-markdown/">Github flavored markdown</a>.',
|
|
'groups' => 'Groups',
|
|
'gravatar_email' => 'Gravatar Email Address',
|
|
'history' => 'History',
|
|
'history_for' => 'History for',
|
|
'id' => 'ID',
|
|
'image' => 'Image',
|
|
'image_delete' => 'Delete Image',
|
|
'image_upload' => 'Upload Image',
|
|
'image_filetypes_help' => 'Accepted filetypes are jpg, png, gif, and svg. Max upload size allowed is :size.',
|
|
'import' => 'Import',
|
|
'import-history' => 'Import History',
|
|
'asset_maintenance' => 'Asset Maintenance',
|
|
'asset_maintenance_report' => 'Asset Maintenance Report',
|
|
'asset_maintenances' => 'Asset Maintenances',
|
|
'item' => 'Item',
|
|
'insufficient_permissions' => 'Insufficient permissions!',
|
|
'language' => 'Language',
|
|
'last' => 'Last',
|
|
'last_login' => 'Last Login',
|
|
'last_name' => 'Last Name',
|
|
'license' => 'License',
|
|
'license_report' => 'License Report',
|
|
'licenses_available' => 'licenses available',
|
|
'licenses' => 'Licenses',
|
|
'list_all' => 'List All',
|
|
'loading' => 'Loading',
|
|
'lock_passwords' => 'This field cannot be edited in this installation.',
|
|
'feature_disabled' => 'This feature has been disabled for the demo installation.',
|
|
'location' => 'Location',
|
|
'locations' => 'Locations',
|
|
'logo_size' => 'Square logos look best with Logo + Text. Logo maximum display size is 50px high x 500px wide. ',
|
|
'logout' => 'Logout',
|
|
'lookup_by_tag' => 'Lookup by Asset Tag',
|
|
'maintenances' => 'Maintenances',
|
|
'manufacturer' => 'Manufacturer',
|
|
'manufacturers' => 'Manufacturers',
|
|
'markdown' => 'This field allows <a href="https://help.github.com/articles/github-flavored-markdown/">Github flavored markdown</a>.',
|
|
'min_amt' => 'Min. QTY',
|
|
'min_amt_help' => 'Minimum number of items that should be available before an alert gets triggered.',
|
|
'model_no' => 'Model No.',
|
|
'months' => 'months',
|
|
'moreinfo' => 'More Info',
|
|
'name' => 'Name',
|
|
'next' => 'Next',
|
|
'next_audit_date' => 'Next Audit Date',
|
|
'last_audit' => 'Last Audit',
|
|
'new' => 'new!',
|
|
'no_depreciation' => 'No Depreciation',
|
|
'no_results' => 'No Results.',
|
|
'no' => 'No',
|
|
'notes' => 'Notes',
|
|
'order_number' => 'Order Number',
|
|
'page_menu' => 'Showing _MENU_ items',
|
|
'pagination_info' => 'Showing _START_ to _END_ of _TOTAL_ items',
|
|
'pending' => 'Pending',
|
|
'people' => 'People',
|
|
'per_page' => 'Results Per Page',
|
|
'previous' => 'Previous',
|
|
'processing' => 'Processing',
|
|
'profile' => 'Your profile',
|
|
'purchase_cost' => 'Purchase Cost',
|
|
'purchase_date' => 'Purchase Date',
|
|
'qty' => 'QTY',
|
|
'quantity' => 'Quantity',
|
|
'ready_to_deploy' => 'Ready to Deploy',
|
|
'recent_activity' => 'Recent Activity',
|
|
'remove_company' => 'Remove Company Association',
|
|
'reports' => 'Reports',
|
|
'restored' => 'restored',
|
|
'requested' => 'Requested',
|
|
'request_canceled' => 'Request Canceled',
|
|
'save' => 'Save',
|
|
'select' => 'Select',
|
|
'search' => 'Search',
|
|
'select_category' => 'Select a Category',
|
|
'select_department' => 'Select a Department',
|
|
'select_depreciation' => 'Select a Depreciation Type',
|
|
'select_location' => 'Select a Location',
|
|
'select_manufacturer' => 'Select a Manufacturer',
|
|
'select_model' => 'Select a Model',
|
|
'select_supplier' => 'Select a Supplier',
|
|
'select_user' => 'Select a User',
|
|
'select_date' => 'Select Date (YYYY-MM-DD)',
|
|
'select_statuslabel' => 'Select Status',
|
|
'select_company' => 'Select Company',
|
|
'select_asset' => 'Select Asset',
|
|
'settings' => 'Settings',
|
|
'show_deleted' => 'Show Deleted',
|
|
'show_current' => 'Show Current',
|
|
'sign_in' => 'Sign in',
|
|
'signature' => 'Signature',
|
|
'skin' => 'Skin',
|
|
'some_features_disabled' => 'DEMO MODE: Some features are disabled for this installation.',
|
|
'site_name' => 'Site Name',
|
|
'state' => 'State',
|
|
'status_labels' => 'Status Labels',
|
|
'status' => 'Status',
|
|
'supplier' => 'Supplier',
|
|
'suppliers' => 'Suppliers',
|
|
'sure_to_delete' => 'Are you sure you wish to delete',
|
|
'submit' => 'Submit',
|
|
'target' => 'Target',
|
|
'time_and_date_display' => 'Time and Date Display',
|
|
'total_assets' => 'total assets',
|
|
'total_licenses' => 'total licenses',
|
|
'total_accessories' => 'total accessories',
|
|
'total_consumables' => 'total consumables',
|
|
'type' => 'Type',
|
|
'undeployable' => 'Un-deployable',
|
|
'unknown_admin' => 'Unknown Admin',
|
|
'username_format' => 'Username Format',
|
|
'update' => 'Update',
|
|
'upload_filetypes_help' => 'Allowed filetypes are png, gif, jpg, jpeg, doc, docx, pdf, xls, txt, lic, zip, and rar. Max upload size allowed is :size.',
|
|
'uploaded' => 'Uploaded',
|
|
'user' => 'User',
|
|
'accepted' => 'accepted',
|
|
'declined' => 'declined',
|
|
'unaccepted_asset_report' => 'Unaccepted Assets',
|
|
'users' => 'Users',
|
|
'viewassets' => 'View Assigned Assets',
|
|
'website' => 'Website',
|
|
'welcome' => 'Welcome, :name',
|
|
'years' => 'years',
|
|
'yes' => 'Yes',
|
|
'zip' => 'Zip',
|
|
'noimage' => 'No image uploaded or image not found.',
|
|
'token_expired' => 'Your form session has expired. Please try again.',
|
|
];
|