mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-11-27 02:33:43 +08:00
bccf4653cb
* New translations entities.php (Portuguese, Brazilian) * New translations entities.php (Persian) * New translations entities.php (Spanish, Argentina) * New translations entities.php (Thai) * New translations errors.php (German Informal) * New translations entities.php (Spanish) * New translations entities.php (French) * New translations entities.php (Arabic) * New translations entities.php (Arabic) * New translations components.php (Portuguese, Brazilian) * New translations entities.php (Portuguese, Brazilian) * New translations auth.php (Italian) * New translations common.php (Italian) * New translations components.php (Italian) * New translations entities.php (Italian) * New translations settings.php (Italian) * New translations components.php (Chinese Simplified) * New translations entities.php (Chinese Simplified) * New translations settings.php (Spanish) * New translations components.php (German) * New translations components.php (Japanese) * New translations components.php (Dutch) * New translations components.php (German Informal) * New translations components.php (Portuguese, Brazilian) * New translations common.php (Ukrainian) * New translations components.php (Portuguese) * New translations common.php (Russian) * New translations components.php (Russian) * New translations common.php (Slovak) * New translations components.php (Slovak) * New translations common.php (Slovenian) * New translations components.php (Slovenian) * New translations common.php (Swedish) * New translations components.php (Swedish) * New translations common.php (Turkish) * New translations components.php (Turkish) * New translations components.php (Ukrainian) * New translations components.php (Polish) * New translations common.php (Chinese Simplified) * New translations common.php (Chinese Traditional) * New translations components.php (Chinese Traditional) * New translations common.php (Vietnamese) * New translations components.php (Vietnamese) * New translations common.php (Portuguese, Brazilian) * New translations common.php (Persian) * New translations components.php (Persian) * New translations common.php (Spanish, Argentina) * New translations components.php (Spanish, Argentina) * New translations common.php (Thai) * New translations components.php (Thai) * New translations common.php (Portuguese) * New translations common.php (Polish) * New translations common.php (Italian) * New translations common.php (Bulgarian) * New translations components.php (Italian) * New translations components.php (Chinese Simplified) * New translations components.php (German) * New translations components.php (Japanese) * New translations components.php (Dutch) * New translations components.php (German Informal) * New translations common.php (French) * New translations components.php (French) * New translations common.php (Spanish) * New translations components.php (Spanish) * New translations common.php (Arabic) * New translations components.php (Arabic) * New translations components.php (Bulgarian) * New translations common.php (Dutch) * New translations common.php (Czech) * New translations components.php (Czech) * New translations common.php (Danish) * New translations components.php (Danish) * New translations common.php (German) * New translations common.php (Hebrew) * New translations components.php (Hebrew) * New translations common.php (Hungarian) * New translations components.php (Hungarian) * New translations common.php (Japanese) * New translations common.php (Korean) * New translations components.php (Korean) * New translations common.php (German Informal) * New translations components.php (German) * New translations common.php (German) * New translations entities.php (German) * New translations common.php (French) * New translations components.php (French) * New translations common.php (Spanish) * New translations components.php (Spanish) * New translations components.php (Chinese Simplified) * New translations common.php (Chinese Simplified) * New translations common.php (Polish) * New translations components.php (Polish) * New translations auth.php (Polish) * New translations entities.php (Polish) * New translations errors.php (Polish) * New translations passwords.php (Polish) * New translations settings.php (Polish) * New translations settings.php (Polish) * New translations common.php (Spanish, Argentina) * New translations components.php (Spanish, Argentina) * New translations auth.php (Spanish, Argentina) * New translations entities.php (Spanish, Argentina) * New translations passwords.php (Spanish, Argentina) * New translations settings.php (Spanish, Argentina) * New translations entities.php (German) * New translations components.php (German Informal) * New translations common.php (German Informal) * New translations entities.php (German Informal) * New translations settings.php (Italian) * New translations settings.php (Dutch) * New translations settings.php (Thai) * New translations settings.php (Persian) * New translations settings.php (Portuguese, Brazilian) * New translations settings.php (Vietnamese) * New translations settings.php (Chinese Traditional) * New translations settings.php (Ukrainian) * New translations settings.php (Turkish) * New translations settings.php (Swedish) * New translations settings.php (Slovenian) * New translations settings.php (Slovak) * New translations settings.php (Russian) * New translations settings.php (Portuguese) * New translations settings.php (Korean) * New translations settings.php (Chinese Simplified) * New translations settings.php (Japanese) * New translations settings.php (Hungarian) * New translations settings.php (Hebrew) * New translations settings.php (German) * New translations settings.php (Danish) * New translations settings.php (Czech) * New translations settings.php (Bulgarian) * New translations settings.php (Arabic) * New translations settings.php (French) * New translations settings.php (Spanish, Argentina) * New translations settings.php (Polish) * New translations settings.php (Spanish) * New translations settings.php (German Informal) * New translations settings.php (Spanish) * New translations settings.php (French) * New translations components.php (Turkish) * New translations settings.php (Turkish) * New translations entities.php (Turkish) * New translations common.php (Turkish) * New translations components.php (Portuguese, Brazilian) * New translations common.php (Portuguese, Brazilian) * New translations settings.php (Portuguese, Brazilian) * New translations settings.php (Chinese Simplified) * New translations activities.php (Chinese Traditional) * New translations settings.php (Chinese Traditional) * New translations activities.php (Chinese Traditional) * New translations auth.php (Chinese Traditional) * New translations common.php (Chinese Traditional) * New translations components.php (Chinese Traditional) * New translations errors.php (Chinese Traditional) * New translations passwords.php (Chinese Traditional) * New translations settings.php (German) * New translations settings.php (German Informal) * New translations activities.php (Slovak) * New translations auth.php (Slovak) * New translations auth.php (Slovak) * New translations common.php (Slovak) * New translations components.php (Slovak) * New translations components.php (Slovak) * New translations entities.php (Slovak) * New translations common.php (Slovak) * New translations entities.php (Slovak) * New translations passwords.php (Slovak) * New translations settings.php (Dutch) * New translations components.php (Dutch) * New translations entities.php (Dutch) * New translations passwords.php (Dutch) * New translations activities.php (Arabic) * New translations entities.php (French) * New translations settings.php (Chinese Traditional) * New translations settings.php (Chinese Traditional) * New translations auth.php (Chinese Traditional) * New translations errors.php (Chinese Traditional) * New translations activities.php (Japanese) * New translations auth.php (Japanese) * New translations entities.php (Chinese Traditional) * New translations validation.php (Chinese Traditional) * New translations common.php (Russian) * New translations components.php (Russian) * New translations entities.php (Russian) * New translations settings.php (Russian) * New translations settings.php (Spanish, Argentina) * New translations settings.php (Polish) * New translations settings.php (Polish) * New translations settings.php (Polish) * New translations entities.php (Russian) * New translations entities.php (Portuguese) * New translations entities.php (Thai) * New translations entities.php (Spanish, Argentina) * New translations entities.php (Persian) * New translations entities.php (Portuguese, Brazilian) * New translations entities.php (Vietnamese) * New translations entities.php (Chinese Traditional) * New translations entities.php (Chinese Simplified) * New translations entities.php (Ukrainian) * New translations entities.php (Turkish) * New translations entities.php (Swedish) * New translations entities.php (Slovenian) * New translations entities.php (Slovak) * New translations entities.php (Polish) * New translations entities.php (French) * New translations entities.php (Dutch) * New translations entities.php (Korean) * New translations entities.php (Japanese) * New translations entities.php (Italian) * New translations entities.php (Hungarian) * New translations entities.php (Hebrew) * New translations entities.php (German) * New translations entities.php (Danish) * New translations entities.php (Czech) * New translations entities.php (Bulgarian) * New translations entities.php (Arabic) * New translations entities.php (Spanish) * New translations entities.php (German Informal) * New translations entities.php (French) * New translations settings.php (Russian) * New translations settings.php (Portuguese) * New translations settings.php (Thai) * New translations settings.php (Spanish, Argentina) * New translations settings.php (Persian) * New translations settings.php (Portuguese, Brazilian) * New translations settings.php (Vietnamese) * New translations settings.php (Chinese Traditional) * New translations settings.php (Chinese Simplified) * New translations settings.php (Ukrainian) * New translations settings.php (Turkish) * New translations settings.php (Swedish) * New translations settings.php (Slovenian) * New translations settings.php (Slovak) * New translations settings.php (Polish) * New translations settings.php (French) * New translations settings.php (Dutch) * New translations settings.php (Korean) * New translations settings.php (Japanese) * New translations settings.php (Italian) * New translations settings.php (Hungarian) * New translations settings.php (Hebrew) * New translations settings.php (German) * New translations settings.php (Danish) * New translations settings.php (Czech) * New translations settings.php (Bulgarian) * New translations settings.php (Arabic) * New translations settings.php (Spanish) * New translations settings.php (German Informal) * New translations entities.php (Spanish) * New translations settings.php (Spanish)
103 lines
6.5 KiB
PHP
103 lines
6.5 KiB
PHP
<?php
|
|
/**
|
|
* Text shown in error messaging.
|
|
*/
|
|
return [
|
|
|
|
// 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.',
|
|
'email_confirmation_awaiting' => 'The email address for the account in use needs to be confirmed',
|
|
'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',
|
|
'saml_already_logged_in' => 'Already logged in',
|
|
'saml_user_not_registered' => 'The user :name is not registered and automatic registration is disabled',
|
|
'saml_no_email_address' => 'Could not find an email address, for this user, in the data provided by the external authentication system',
|
|
'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',
|
|
'social_no_action_defined' => 'No action defined',
|
|
'social_login_bad_response' => "Error received during :socialAccount login: \n:error",
|
|
'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.',
|
|
'invite_token_expired' => 'This invitation link has expired. You can instead try to reset your account password.',
|
|
|
|
// 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.',
|
|
'uploaded' => 'The server does not allow uploads of this size. Please try a smaller file size.',
|
|
'image_upload_error' => 'An error occurred uploading the image',
|
|
'image_upload_type_error' => 'The image type being uploaded is invalid',
|
|
'file_upload_timeout' => 'The file upload has timed out.',
|
|
|
|
// Attachments
|
|
'attachment_not_found' => 'Attachment not found',
|
|
|
|
// Pages
|
|
'page_draft_autosave_fail' => 'Failed to save draft. Ensure you have internet connection before saving this page',
|
|
'page_custom_home_deletion' => 'Cannot delete a page while it is set as a homepage',
|
|
|
|
// Entities
|
|
'entity_not_found' => 'Entity not found',
|
|
'bookshelf_not_found' => 'Bookshelf 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',
|
|
'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.',
|
|
|
|
// Comments
|
|
'comment_list' => 'An error occurred while fetching the comments.',
|
|
'cannot_add_comment_to_draft' => 'You cannot add comments to a draft.',
|
|
'comment_add' => 'An error occurred while adding / updating the comment.',
|
|
'comment_delete' => 'An error occurred while deleting the comment.',
|
|
'empty_comment' => 'Cannot add an empty comment.',
|
|
|
|
// Error pages
|
|
'404_page_not_found' => 'Page Not Found',
|
|
'sorry_page_not_found' => 'Sorry, The page you were looking for could not be found.',
|
|
'sorry_page_not_found_permission_warning' => 'If you expected this page to exist, you might not have permission to view it.',
|
|
'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.',
|
|
|
|
// 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',
|
|
'api_user_token_expired' => 'The authorization token used has expired',
|
|
|
|
// Settings & Maintenance
|
|
'maintenance_test_email_failure' => 'Error thrown when sending a test email:',
|
|
|
|
];
|