mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-10-31 08:02:42 +01:00
70 lines
3.9 KiB
PHP
70 lines
3.9 KiB
PHP
<?php
|
|
|
|
return [
|
|
|
|
/**
|
|
* Error text strings.
|
|
*/
|
|
|
|
// Permissions
|
|
'permission' => 'You do not have permission to access the requested page.',
|
|
'permissionJson' => 'You do not have permission to perform the requested action.',
|
|
|
|
// Auth
|
|
'error_user_exists_different_creds' => 'A user with the email :email already exists but with different credentials.',
|
|
'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.',
|
|
'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',
|
|
'social_no_action_defined' => 'No action defined',
|
|
'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.',
|
|
|
|
// 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.',
|
|
'server_upload_limit' => 'The server does not allow uploads of this size. Please try a smaller file size.',
|
|
'image_upload_error' => 'An error occurred uploading the image',
|
|
|
|
// Attachments
|
|
'attachment_page_mismatch' => 'Page mismatch during attachment update',
|
|
|
|
// Pages
|
|
'page_draft_autosave_fail' => 'Failed to save draft. Ensure you have internet connection before saving this page',
|
|
|
|
// Entities
|
|
'entity_not_found' => 'Entity not found',
|
|
'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',
|
|
|
|
// 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',
|
|
|
|
// Error pages
|
|
'404_page_not_found' => 'Page Not Found',
|
|
'sorry_page_not_found' => 'Sorry, The page you were looking for could not be found.',
|
|
'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.',
|
|
]; |