mirror of
https://github.com/snipe/snipe-it.git
synced 2026-08-18 11:15:42 +00:00
82 lines
5.4 KiB
PHP
82 lines
5.4 KiB
PHP
<?php
|
||
|
||
return [
|
||
|
||
'update' => [
|
||
'error' => 'An error has occurred while updating. ',
|
||
'success' => 'Settings updated successfully.',
|
||
],
|
||
'backup' => [
|
||
'delete_confirm' => 'Are you sure you would like to delete this backup file? This action cannot be undone. ',
|
||
'file_deleted' => 'The backup file was successfully deleted. ',
|
||
'generated' => 'A new backup file was successfully created.',
|
||
'file_not_found' => 'That backup file could not be found on the server.',
|
||
'restore_warning' => 'Yes, restore it. I acknowledge that this will overwrite any existing data currently in the database. This will also log out all of your existing users (including you).',
|
||
'restore_confirm' => 'Are you sure you wish to restore your database from :filename?',
|
||
'delete_disabled_help' => 'Deleting backups is disabled. Contact your administrator if you wish to enable deleting backups.',
|
||
],
|
||
'restore' => [
|
||
'success' => 'Your system backup has been restored. Please log in again.',
|
||
'archive_invalid' => 'The selected backup file (:filename) is not a valid zip archive. Restore aborted before touching the database.',
|
||
'zip_extension_missing' => 'PHP zip extension is not loaded on this server. Cannot validate the backup archive, and restore has been aborted to prevent data loss. Ask your server administrator to install ext-zip.',
|
||
'pre_backup_failed' => 'Could not create a pre-restore safety backup. Restore aborted so that the existing database is not destroyed without a recovery path.',
|
||
'failed_with_backup' => 'Restore failed. The pre-existing database was wiped as part of the restore attempt, but a pre-restore backup was saved to :backup and can be used to recover.',
|
||
],
|
||
'purge' => [
|
||
'error' => 'An error has occurred while purging. ',
|
||
'validation_failed' => 'Your purge confirmation is incorrect. Please type the word "DELETE" in the confirmation box.',
|
||
'success' => 'Deleted records successfully purged.',
|
||
],
|
||
'mail' => [
|
||
'sending' => 'Sending Test Email...',
|
||
'success' => 'Mail sent!',
|
||
'error' => 'Mail could not be sent.',
|
||
'additional' => 'No additional error message provided. Check your mail settings and your app log.',
|
||
],
|
||
'ldap' => [
|
||
'testing' => 'Testing LDAP Connection, Binding & Query ...',
|
||
'500' => '500 Server Error. Please check your server logs for more information.',
|
||
'error' => 'Something went wrong :(',
|
||
'sync_success' => 'A sample of 10 users returned from the LDAP server based on your settings:',
|
||
'testing_authentication' => 'Testing LDAP Authentication...',
|
||
'authentication_success' => 'User authenticated against LDAP successfully!',
|
||
],
|
||
'labels' => [
|
||
'null_template' => 'Label template not found. Please select a template.',
|
||
],
|
||
'webhook' => [
|
||
'sending' => 'Sending :app test message...',
|
||
'success' => 'Your :webhook_name Integration works!',
|
||
'success_pt1' => 'Success! Check the ',
|
||
'success_pt2' => ' channel for your test message, and be sure to click SAVE below to store your settings.',
|
||
'500' => '500 Server Error.',
|
||
'error' => 'Something went wrong. :app responded with: :error_message',
|
||
'error_redirect' => 'ERROR: 301/302 :endpoint returns a redirect. For security reasons, we don’t follow redirects. Please use the actual endpoint.',
|
||
'error_misc' => 'Something went wrong. :( ',
|
||
'webhook_fail' => ' webhook notification failed: Check to make sure the URL is still valid.',
|
||
'webhook_channel_not_found' => ' webhook channel not found.',
|
||
'ms_teams_deprecation' => 'The selected Microsoft Teams webhook URL will be deprecated Dec 31st, 2025. Please use a workflow URL. Microsoft\'s documentation on creating a workflow can be found <a href="https://support.microsoft.com/en-us/office/create-incoming-webhooks-with-workflows-for-microsoft-teams-8ae491c7-0394-4861-ba59-055e33f75498" target="_blank"> here.</a>',
|
||
],
|
||
'location_scoping' => [
|
||
'not_saved' => 'Your settings were not saved.',
|
||
'mismatch' => 'There is 1 item in the database that need your attention before you can enable location scoping.|There are :count items in the database that need your attention before you can enable location scoping.',
|
||
],
|
||
'oauth' => [
|
||
'token_revoked' => 'Personal access token revoked successfully.',
|
||
'token_unrevoked' => 'Personal access token reinstated successfully.',
|
||
'token_not_found' => 'That personal access token could not be found.',
|
||
'token_revoke_error' => 'An error occurred while revoking the token.',
|
||
'token_unrevoke_error' => 'An error occurred while reinstating the token.',
|
||
'client_created' => 'OAuth client created successfully.',
|
||
'client_updated' => 'OAuth client updated successfully.',
|
||
'client_deleted' => 'OAuth client deleted successfully.',
|
||
'client_revoked' => 'OAuth client revoked successfully.',
|
||
'client_unrevoked' => 'OAuth client reinstated successfully.',
|
||
'client_not_found' => 'That OAuth client could not be found.',
|
||
'token_deleted' => 'Token revoked successfully.',
|
||
'client_delete_denied' => 'You are not authorized to delete this client.',
|
||
'client_edit_denied' => 'You are not authorized to edit this client.',
|
||
'token_delete_denied' => 'You are not authorized to revoke this token.',
|
||
],
|
||
];
|