]> BookStack Code Mirror - bookstack/blob - resources/lang/en/errors.php
Update common.php
[bookstack] / resources / lang / en / errors.php
1 <?php
2 /**
3  * Text shown in error messaging.
4  */
5 return [
6
7     // Permissions
8     'permission' => 'You do not have permission to access the requested page.',
9     'permissionJson' => 'You do not have permission to perform the requested action.',
10
11     // Auth
12     'error_user_exists_different_creds' => 'A user with the email :email already exists but with different credentials.',
13     'email_already_confirmed' => 'Email has already been confirmed, Try logging in.',
14     'email_confirmation_invalid' => 'This confirmation token is not valid or has already been used, Please try registering again.',
15     'email_confirmation_expired' => 'The confirmation token has expired, A new confirmation email has been sent.',
16     'ldap_fail_anonymous' => 'LDAP access failed using anonymous bind',
17     'ldap_fail_authed' => 'LDAP access failed using given dn & password details',
18     'ldap_extension_not_installed' => 'LDAP PHP extension not installed',
19     'ldap_cannot_connect' => 'Cannot connect to ldap server, Initial connection failed',
20     'social_no_action_defined' => 'No action defined',
21     'social_login_bad_response' => "Error received during :socialAccount login: \n:error",
22     'social_account_in_use' => 'This :socialAccount account is already in use, Try logging in via the :socialAccount option.',
23     '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.',
24     'social_account_existing' => 'This :socialAccount is already attached to your profile.',
25     'social_account_already_used_existing' => 'This :socialAccount account is already used by another user.',
26     'social_account_not_used' => 'This :socialAccount account is not linked to any users. Please attach it in your profile settings. ',
27     'social_account_register_instructions' => 'If you do not yet have an account, You can register an account using the :socialAccount option.',
28     'social_driver_not_found' => 'Social driver not found',
29     'social_driver_not_configured' => 'Your :socialAccount social settings are not configured correctly.',
30
31     // System
32     'path_not_writable' => 'File path :filePath could not be uploaded to. Ensure it is writable to the server.',
33     'cannot_get_image_from_url' => 'Cannot get image from :url',
34     'cannot_create_thumbs' => 'The server cannot create thumbnails. Please check you have the GD PHP extension installed.',
35     'server_upload_limit' => 'The server does not allow uploads of this size. Please try a smaller file size.',
36     'uploaded'  => 'The server does not allow uploads of this size. Please try a smaller file size.',
37     'image_upload_error' => 'An error occurred uploading the image',
38     'image_upload_type_error' => 'The image type being uploaded is invalid',
39     'file_upload_timeout' => 'The file upload has timed out.',
40
41     // Attachments
42     'attachment_page_mismatch' => 'Page mismatch during attachment update',
43     'attachment_not_found' => 'Attachment not found',
44
45     // Pages
46     'page_draft_autosave_fail' => 'Failed to save draft. Ensure you have internet connection before saving this page',
47     'page_custom_home_deletion' => 'Cannot delete a page while it is set as a homepage',
48
49     // Entities
50     'entity_not_found' => 'Entity not found',
51     'bookshelf_not_found' => 'Bookshelf not found',
52     'book_not_found' => 'Book not found',
53     'page_not_found' => 'Page not found',
54     'chapter_not_found' => 'Chapter not found',
55     'selected_book_not_found' => 'The selected book was not found',
56     'selected_book_chapter_not_found' => 'The selected Book or Chapter was not found',
57     'guests_cannot_save_drafts' => 'Guests cannot save drafts',
58
59     // Users
60     'users_cannot_delete_only_admin' => 'You cannot delete the only admin',
61     'users_cannot_delete_guest' => 'You cannot delete the guest user',
62
63     // Roles
64     'role_cannot_be_edited' => 'This role cannot be edited',
65     'role_system_cannot_be_deleted' => 'This role is a system role and cannot be deleted',
66     'role_registration_default_cannot_delete' => 'This role cannot be deleted while set as the default registration role',
67     '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.',
68
69     // Comments
70     'comment_list' => 'An error occurred while fetching the comments.',
71     'cannot_add_comment_to_draft' => 'You cannot add comments to a draft.',
72     'comment_add' => 'An error occurred while adding / updating the comment.',
73     'comment_delete' => 'An error occurred while deleting the comment.',
74     'empty_comment' => 'Cannot add an empty comment.',
75
76     // Error pages
77     '404_page_not_found' => 'Page Not Found',
78     'sorry_page_not_found' => 'Sorry, The page you were looking for could not be found.',
79     'return_home' => 'Return to home',
80     'error_occurred' => 'An Error Occurred',
81     'app_down' => ':appName is down right now',
82     'back_soon' => 'It will be back up soon.',
83
84 ];
Morty Proxy This is a proxified and sanitized view of the page, visit original site.