2015-08-29 10:03:42 -04:00
< ? php
2018-12-16 08:12:13 -05:00
/**
* Text shown in error messaging .
*/
2015-08-29 10:03:42 -04:00
return [
2016-12-03 08:31:54 -05:00
// Permissions
2015-08-29 10:03:42 -04:00
'permission' => 'You do not have permission to access the requested page.' ,
2016-12-03 08:31:54 -05:00
'permissionJson' => 'You do not have permission to perform the requested action.' ,
2016-12-04 11:51:39 -05:00
// Auth
'error_user_exists_different_creds' => 'A user with the email :email already exists but with different credentials.' ,
2024-02-21 10:30:29 -05:00
'auth_pre_register_theme_prevention' => 'User account could not be registered for the provided details' ,
2016-12-04 11:51:39 -05:00
'email_already_confirmed' => 'Email has already been confirmed, Try logging in.' ,
'email_confirmation_invalid' => 'This confirmation token is not valid or has already been used, Please try registering again.' ,
'email_confirmation_expired' => 'The confirmation token has expired, A new confirmation email has been sent.' ,
2019-12-29 21:16:07 -05:00
'email_confirmation_awaiting' => 'The email address for the account in use needs to be confirmed' ,
2016-12-04 11:51:39 -05:00
'ldap_fail_anonymous' => 'LDAP access failed using anonymous bind' ,
'ldap_fail_authed' => 'LDAP access failed using given dn & password details' ,
'ldap_extension_not_installed' => 'LDAP PHP extension not installed' ,
'ldap_cannot_connect' => 'Cannot connect to ldap server, Initial connection failed' ,
2019-08-07 09:31:10 -04:00
'saml_already_logged_in' => 'Already logged in' ,
2019-11-16 09:42:51 -05:00
'saml_no_email_address' => 'Could not find an email address, for this user, in the data provided by the external authentication system' ,
2019-11-17 08:26:43 -05:00
'saml_invalid_response_id' => 'The request from the external authentication system is not recognised by a process started by this application. Navigating back after a login could cause this issue.' ,
'saml_fail_authed' => 'Login using :system failed, system did not provide successful authorization' ,
2021-10-06 18:05:26 -04:00
'oidc_already_logged_in' => 'Already logged in' ,
'oidc_no_email_address' => 'Could not find an email address, for this user, in the data provided by the external authentication system' ,
'oidc_fail_authed' => 'Login using :system failed, system did not provide successful authorization' ,
2016-12-04 11:51:39 -05:00
'social_no_action_defined' => 'No action defined' ,
2017-12-09 08:32:45 -05:00
'social_login_bad_response' => " Error received during :socialAccount login: \n :error " ,
2016-12-04 11:51:39 -05:00
'social_account_in_use' => 'This :socialAccount account is already in use, Try logging in via the :socialAccount option.' ,
'social_account_email_in_use' => 'The email :email is already in use. If you already have an account you can connect your :socialAccount account from your profile settings.' ,
'social_account_existing' => 'This :socialAccount is already attached to your profile.' ,
'social_account_already_used_existing' => 'This :socialAccount account is already used by another user.' ,
'social_account_not_used' => 'This :socialAccount account is not linked to any users. Please attach it in your profile settings. ' ,
'social_account_register_instructions' => 'If you do not yet have an account, You can register an account using the :socialAccount option.' ,
'social_driver_not_found' => 'Social driver not found' ,
'social_driver_not_configured' => 'Your :socialAccount social settings are not configured correctly.' ,
2019-08-18 08:11:30 -04:00
'invite_token_expired' => 'This invitation link has expired. You can instead try to reset your account password.' ,
2024-05-20 12:23:15 -04:00
'login_user_not_found' => 'A user for this action could not be found.' ,
2016-12-04 11:51:39 -05:00
// System
'path_not_writable' => 'File path :filePath could not be uploaded to. Ensure it is writable to the server.' ,
'cannot_get_image_from_url' => 'Cannot get image from :url' ,
'cannot_create_thumbs' => 'The server cannot create thumbnails. Please check you have the GD PHP extension installed.' ,
2016-12-31 09:27:40 -05:00
'server_upload_limit' => 'The server does not allow uploads of this size. Please try a smaller file size.' ,
2023-09-25 08:48:23 -04:00
'server_post_limit' => 'The server cannot receive the provided amount of data. Try again with less data or a smaller file.' ,
2018-03-18 09:14:11 -04:00
'uploaded' => 'The server does not allow uploads of this size. Please try a smaller file size.' ,
2023-01-26 07:16:23 -05:00
// Drawing & Images
2016-12-31 09:27:40 -05:00
'image_upload_error' => 'An error occurred uploading the image' ,
2018-01-28 08:18:28 -05:00
'image_upload_type_error' => 'The image type being uploaded is invalid' ,
2023-05-28 12:32:22 -04:00
'image_upload_replace_type' => 'Image file replacements must be of the same type' ,
2023-10-01 08:05:18 -04:00
'image_upload_memory_limit' => 'Failed to handle image upload and/or create thumbnails due to system resource limits.' ,
'image_thumbnail_memory_limit' => 'Failed to create image size variations due to system resource limits.' ,
'image_gallery_thumbnail_memory_limit' => 'Failed to create gallery thumbnails due to system resource limits.' ,
2023-01-26 07:16:23 -05:00
'drawing_data_not_found' => 'Drawing data could not be loaded. The drawing file might no longer exist or you may not have permission to access it.' ,
2016-12-04 11:51:39 -05:00
// Attachments
2018-02-11 07:37:02 -05:00
'attachment_not_found' => 'Attachment not found' ,
2023-04-26 11:41:34 -04:00
'attachment_upload_error' => 'An error occurred uploading the attachment file' ,
2016-12-04 11:51:39 -05:00
2016-12-31 09:27:40 -05:00
// Pages
'page_draft_autosave_fail' => 'Failed to save draft. Ensure you have internet connection before saving this page' ,
2023-06-13 10:13:07 -04:00
'page_draft_delete_fail' => 'Failed to delete page draft and fetch current page saved content' ,
2017-10-15 14:14:46 -04:00
'page_custom_home_deletion' => 'Cannot delete a page while it is set as a homepage' ,
2016-12-31 09:27:40 -05:00
2016-12-04 11:51:39 -05:00
// Entities
'entity_not_found' => 'Entity not found' ,
2022-09-01 09:55:35 -04:00
'bookshelf_not_found' => 'Shelf not found' ,
2016-12-04 11:51:39 -05:00
'book_not_found' => 'Book not found' ,
'page_not_found' => 'Page not found' ,
'chapter_not_found' => 'Chapter not found' ,
'selected_book_not_found' => 'The selected book was not found' ,
'selected_book_chapter_not_found' => 'The selected Book or Chapter was not found' ,
'guests_cannot_save_drafts' => 'Guests cannot save drafts' ,
// Users
'users_cannot_delete_only_admin' => 'You cannot delete the only admin' ,
'users_cannot_delete_guest' => 'You cannot delete the guest user' ,
2024-09-29 11:41:18 -04:00
'users_could_not_send_invite' => 'Could not create user since invite email failed to send' ,
2016-12-04 11:51:39 -05:00
// Roles
'role_cannot_be_edited' => 'This role cannot be edited' ,
'role_system_cannot_be_deleted' => 'This role is a system role and cannot be deleted' ,
'role_registration_default_cannot_delete' => 'This role cannot be deleted while set as the default registration role' ,
2018-12-30 11:11:58 -05:00
'role_cannot_remove_only_admin' => 'This user is the only user assigned to the administrator role. Assign the administrator role to another user before attempting to remove it here.' ,
2016-12-04 11:51:39 -05:00
2017-06-05 16:16:59 -04:00
// Comments
2017-06-07 14:15:29 -04:00
'comment_list' => 'An error occurred while fetching the comments.' ,
2017-06-05 16:16:59 -04:00
'cannot_add_comment_to_draft' => 'You cannot add comments to a draft.' ,
2017-08-20 16:51:31 -04:00
'comment_add' => 'An error occurred while adding / updating the comment.' ,
2017-06-07 14:15:29 -04:00
'comment_delete' => 'An error occurred while deleting the comment.' ,
2017-06-05 16:16:59 -04:00
'empty_comment' => 'Cannot add an empty comment.' ,
2016-12-03 08:31:54 -05:00
// Error pages
2016-12-04 11:51:39 -05:00
'404_page_not_found' => 'Page Not Found' ,
2016-12-03 08:31:54 -05:00
'sorry_page_not_found' => 'Sorry, The page you were looking for could not be found.' ,
2020-03-14 14:29:31 -04:00
'sorry_page_not_found_permission_warning' => 'If you expected this page to exist, you might not have permission to view it.' ,
2021-05-08 13:49:58 -04:00
'image_not_found' => 'Image Not Found' ,
'image_not_found_subtitle' => 'Sorry, The image file you were looking for could not be found.' ,
'image_not_found_details' => 'If you expected this image to exist it might have been deleted.' ,
2016-12-03 08:31:54 -05:00
'return_home' => 'Return to home' ,
'error_occurred' => 'An Error Occurred' ,
'app_down' => ':appName is down right now' ,
'back_soon' => 'It will be back up soon.' ,
2018-12-16 08:12:13 -05:00
2019-12-29 21:16:07 -05:00
// API errors
'api_no_authorization_found' => 'No authorization token found on the request' ,
'api_bad_authorization_format' => 'An authorization token was found on the request but the format appeared incorrect' ,
'api_user_token_not_found' => 'No matching API token was found for the provided authorization token' ,
'api_incorrect_token_secret' => 'The secret provided for the given used API token is incorrect' ,
'api_user_no_api_permission' => 'The owner of the used API token does not have permission to make API calls' ,
2019-12-30 14:51:41 -05:00
'api_user_token_expired' => 'The authorization token used has expired' ,
2019-12-29 21:16:07 -05:00
2020-02-15 09:13:15 -05:00
// Settings & Maintenance
'maintenance_test_email_failure' => 'Error thrown when sending a test email:' ,
2023-08-26 10:28:29 -04:00
// HTTP errors
'http_ssr_url_no_match' => 'The URL does not match the configured allowed SSR hosts' ,
2018-03-18 09:14:11 -04:00
];