mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-10-01 01:36:00 -04:00
b670ab61d6
Squashed commit of the following: commit 23861a31bb2398ca61655c584bd8c75ee9bccdad Merge:d44acf4b
1c6287f2
Author: Dan Brown <ssddanbrown@googlemail.com> Date: Sat Mar 14 22:18:50 2020 +0000 Merge branch 'master' into l10n_master commitd44acf4b64
Author: Dan Brown <ssddanbrown@googlemail.com> Date: Sat Mar 14 19:39:46 2020 +0000 New translations errors.php (Portuguese, Brazilian) commitc1a4cc5d12
Author: Dan Brown <ssddanbrown@googlemail.com> Date: Sat Mar 14 19:14:49 2020 +0000 New translations errors.php (Spanish, Argentina) commitfb3c5dcffc
Author: Dan Brown <ssddanbrown@googlemail.com> Date: Sat Mar 14 19:14:48 2020 +0000 New translations errors.php (Spanish) commitf65c84635d
Author: Dan Brown <ssddanbrown@googlemail.com> Date: Sat Mar 14 18:42:05 2020 +0000 New translations errors.php (German Informal) commit99fba6932a
Author: Dan Brown <ssddanbrown@googlemail.com> Date: Sat Mar 14 18:41:57 2020 +0000 New translations errors.php (French) commitbc4c9684b5
Author: Dan Brown <ssddanbrown@googlemail.com> Date: Sat Mar 14 18:41:55 2020 +0000 New translations errors.php (Portuguese, Brazilian) commit0afce79807
Author: Dan Brown <ssddanbrown@googlemail.com> Date: Sat Mar 14 18:41:43 2020 +0000 New translations errors.php (Russian) commitf3daf77b95
Author: Dan Brown <ssddanbrown@googlemail.com> Date: Sat Mar 14 18:41:41 2020 +0000 New translations errors.php (Hungarian) commit63848278a5
Author: Dan Brown <ssddanbrown@googlemail.com> Date: Sat Mar 14 18:41:40 2020 +0000 New translations errors.php (Italian) commit53b5fce93c
Author: Dan Brown <ssddanbrown@googlemail.com> Date: Sat Mar 14 18:41:38 2020 +0000 New translations errors.php (Japanese) commit2638f7a663
Author: Dan Brown <ssddanbrown@googlemail.com> Date: Sat Mar 14 18:41:37 2020 +0000 New translations errors.php (Korean) commitf19ffa468c
Author: Dan Brown <ssddanbrown@googlemail.com> Date: Sat Mar 14 18:41:36 2020 +0000 New translations errors.php (Persian) commit477ae0b845
Author: Dan Brown <ssddanbrown@googlemail.com> Date: Sat Mar 14 18:41:34 2020 +0000 New translations errors.php (Polish) commit56beebe12c
Author: Dan Brown <ssddanbrown@googlemail.com> Date: Sat Mar 14 18:41:33 2020 +0000 New translations errors.php (German) commit2b6540654a
Author: Dan Brown <ssddanbrown@googlemail.com> Date: Sat Mar 14 18:41:32 2020 +0000 New translations errors.php (Portuguese) commit80f7275011
Author: Dan Brown <ssddanbrown@googlemail.com> Date: Sat Mar 14 18:41:30 2020 +0000 New translations errors.php (Spanish) commit74c65f90ab
Author: Dan Brown <ssddanbrown@googlemail.com> Date: Sat Mar 14 18:41:28 2020 +0000 New translations errors.php (Spanish, Argentina) commit3bd9e4fb86
Author: Dan Brown <ssddanbrown@googlemail.com> Date: Sat Mar 14 18:41:27 2020 +0000 New translations errors.php (Swedish) commita698db00e3
Author: Dan Brown <ssddanbrown@googlemail.com> Date: Sat Mar 14 18:41:26 2020 +0000 New translations errors.php (Turkish) commitf3cfc63b5c
Author: Dan Brown <ssddanbrown@googlemail.com> Date: Sat Mar 14 18:41:25 2020 +0000 New translations errors.php (Ukrainian) commit61eb76ac89
Author: Dan Brown <ssddanbrown@googlemail.com> Date: Sat Mar 14 18:41:23 2020 +0000 New translations errors.php (Vietnamese) commitcfda94e2a8
Author: Dan Brown <ssddanbrown@googlemail.com> Date: Sat Mar 14 18:41:22 2020 +0000 New translations errors.php (Slovak) commitf0659025a9
Author: Dan Brown <ssddanbrown@googlemail.com> Date: Sat Mar 14 18:41:20 2020 +0000 New translations errors.php (Dutch) commit27ac377ed6
Author: Dan Brown <ssddanbrown@googlemail.com> Date: Sat Mar 14 18:41:19 2020 +0000 New translations errors.php (Chinese Traditional) commit04bf21a325
Author: Dan Brown <ssddanbrown@googlemail.com> Date: Sat Mar 14 18:41:18 2020 +0000 New translations errors.php (Chinese Simplified) commit4dd5802979
Author: Dan Brown <ssddanbrown@googlemail.com> Date: Sat Mar 14 18:41:16 2020 +0000 New translations errors.php (Arabic) commit368cf2d248
Author: Dan Brown <ssddanbrown@googlemail.com> Date: Sat Mar 14 18:41:11 2020 +0000 New translations errors.php (Slovenian) commit52381df7be
Author: Dan Brown <ssddanbrown@googlemail.com> Date: Sat Mar 14 18:41:08 2020 +0000 New translations errors.php (Czech) commit7e8330510f
Author: Dan Brown <ssddanbrown@googlemail.com> Date: Sat Mar 14 18:41:07 2020 +0000 New translations errors.php (Danish) commit1bf07c6acf
Author: Dan Brown <ssddanbrown@googlemail.com> Date: Wed Mar 11 22:57:41 2020 +0000 New translations entities.php (Slovenian) commit4d2d120b57
Author: Dan Brown <ssddanbrown@googlemail.com> Date: Wed Mar 11 22:27:35 2020 +0000 New translations entities.php (Slovenian) commitedfc88eb8e
Author: Dan Brown <ssddanbrown@googlemail.com> Date: Wed Mar 11 21:55:51 2020 +0000 New translations entities.php (Slovenian) commit840ed35d34
Author: Dan Brown <ssddanbrown@googlemail.com> Date: Wed Mar 11 21:22:08 2020 +0000 New translations entities.php (Slovenian) commitaa130af285
Author: Dan Brown <ssddanbrown@googlemail.com> Date: Wed Mar 11 14:02:50 2020 +0000 New translations common.php (Czech) commit5007fee528
Author: Dan Brown <ssddanbrown@googlemail.com> Date: Wed Mar 11 14:02:25 2020 +0000 New translations entities.php (Slovenian) commit1ad8874e6b
Author: Dan Brown <ssddanbrown@googlemail.com> Date: Wed Mar 11 13:30:21 2020 +0000 New translations auth.php (Czech) commit56f17ff7d4
Author: Dan Brown <ssddanbrown@googlemail.com> Date: Wed Mar 11 13:29:57 2020 +0000 New translations entities.php (Slovenian) commit33789962cc
Author: Dan Brown <ssddanbrown@googlemail.com> Date: Wed Mar 11 11:09:18 2020 +0000 New translations components.php (Slovenian) commit1002cf9e3b
Author: Dan Brown <ssddanbrown@googlemail.com> Date: Wed Mar 11 10:08:48 2020 +0000 New translations components.php (Slovenian) commitd5a6083ae8
Author: Dan Brown <ssddanbrown@googlemail.com> Date: Wed Mar 11 09:37:23 2020 +0000 New translations components.php (Slovenian) commit0d8df3a72e
Author: Dan Brown <ssddanbrown@googlemail.com> Date: Wed Mar 11 09:07:01 2020 +0000 New translations components.php (Slovenian) commit22337688f9
Author: Dan Brown <ssddanbrown@googlemail.com> Date: Wed Mar 11 09:07:00 2020 +0000 New translations common.php (Slovenian) commitff812694e2
Author: Dan Brown <ssddanbrown@googlemail.com> Date: Wed Mar 11 08:20:44 2020 +0000 New translations common.php (Slovenian) commit57b9e04927
Author: Dan Brown <ssddanbrown@googlemail.com> Date: Wed Mar 11 06:17:11 2020 +0000 New translations auth.php (Spanish) commit25343baac1
Author: Dan Brown <ssddanbrown@googlemail.com> Date: Wed Mar 11 06:16:52 2020 +0000 New translations activities.php (Spanish) commita5c72ee5f1
Author: Dan Brown <ssddanbrown@googlemail.com> Date: Wed Mar 11 05:37:55 2020 +0000 New translations activities.php (Spanish) commit6a6f28d095
Author: Dan Brown <ssddanbrown@googlemail.com> Date: Tue Mar 10 15:49:14 2020 +0000 New translations auth.php (Slovenian) commit33f30876e1
Author: Dan Brown <ssddanbrown@googlemail.com> Date: Tue Mar 10 15:18:30 2020 +0000 New translations auth.php (Slovenian) commit8bf8bc0fe5
Author: Dan Brown <ssddanbrown@googlemail.com> Date: Tue Mar 10 14:48:46 2020 +0000 New translations auth.php (Slovenian) commit303dc07704
Author: Dan Brown <ssddanbrown@googlemail.com> Date: Tue Mar 10 14:48:44 2020 +0000 New translations activities.php (Slovenian) commitc219fb67aa
Author: Dan Brown <ssddanbrown@googlemail.com> Date: Tue Mar 10 09:59:45 2020 +0000 New translations activities.php (Slovenian) commitf45b6c6c82
Author: Dan Brown <ssddanbrown@googlemail.com> Date: Tue Mar 10 08:34:32 2020 +0000 New translations activities.php (Slovenian) commit7d690eb13f
Author: Dan Brown <ssddanbrown@googlemail.com> Date: Tue Mar 10 02:56:48 2020 +0000 New translations entities.php (Russian) commit86aab0529e
Author: Dan Brown <ssddanbrown@googlemail.com> Date: Tue Mar 10 02:56:43 2020 +0000 New translations common.php (Russian) commit4fc1945543
Author: Dan Brown <ssddanbrown@googlemail.com> Date: Mon Mar 9 20:37:26 2020 +0000 New translations errors.php (Russian) commit09791b736d
Author: Dan Brown <ssddanbrown@googlemail.com> Date: Mon Mar 9 20:07:52 2020 +0000 New translations settings.php (Russian) commit9cb04bea4c
Author: Dan Brown <ssddanbrown@googlemail.com> Date: Mon Mar 9 18:49:50 2020 +0000 New translations validation.php (Slovenian) commit7964a5a2a0
Author: Dan Brown <ssddanbrown@googlemail.com> Date: Mon Mar 9 18:49:34 2020 +0000 New translations settings.php (Slovenian) commit361be13ff7
Author: Dan Brown <ssddanbrown@googlemail.com> Date: Mon Mar 9 18:49:32 2020 +0000 New translations passwords.php (Slovenian) commit9b6a7f0f64
Author: Dan Brown <ssddanbrown@googlemail.com> Date: Mon Mar 9 18:49:31 2020 +0000 New translations pagination.php (Slovenian) commita815adc24f
Author: Dan Brown <ssddanbrown@googlemail.com> Date: Mon Mar 9 18:49:30 2020 +0000 New translations errors.php (Slovenian) commitae6040af3a
Author: Dan Brown <ssddanbrown@googlemail.com> Date: Mon Mar 9 18:49:28 2020 +0000 New translations entities.php (Slovenian) commitf1d0177dce
Author: Dan Brown <ssddanbrown@googlemail.com> Date: Mon Mar 9 18:49:26 2020 +0000 New translations components.php (Slovenian) commit16ba9f1fe1
Author: Dan Brown <ssddanbrown@googlemail.com> Date: Mon Mar 9 18:49:24 2020 +0000 New translations common.php (Slovenian) commitcaa47464ba
Author: Dan Brown <ssddanbrown@googlemail.com> Date: Mon Mar 9 18:49:23 2020 +0000 New translations auth.php (Slovenian) commit4b9a78aef8
Author: Dan Brown <ssddanbrown@googlemail.com> Date: Mon Mar 9 18:49:21 2020 +0000 New translations activities.php (Slovenian) commit6a55161fe9
Author: Dan Brown <ssddanbrown@googlemail.com> Date: Sun Mar 8 01:36:31 2020 +0000 New translations common.php (French) commit94235393fa
Author: Dan Brown <ssddanbrown@googlemail.com> Date: Sat Mar 7 18:49:01 2020 +0000 New translations errors.php (Portuguese, Brazilian) commita0f75e7724
Author: Dan Brown <ssddanbrown@googlemail.com> Date: Sat Mar 7 10:24:26 2020 +0000 New translations settings.php (Russian) commit65437712a2
Author: Dan Brown <ssddanbrown@googlemail.com> Date: Sat Mar 7 09:37:34 2020 +0000 New translations auth.php (Russian) commitf7f6a92dcf
Author: Dan Brown <ssddanbrown@googlemail.com> Date: Sat Mar 7 00:01:07 2020 +0000 New translations entities.php (Russian) commitac8819edd3
Author: Dan Brown <ssddanbrown@googlemail.com> Date: Sat Mar 7 00:00:57 2020 +0000 New translations settings.php (Russian) commitf1290f2b87
Author: Dan Brown <ssddanbrown@googlemail.com> Date: Fri Mar 6 23:23:44 2020 +0000 New translations entities.php (Russian) commit8efb9bd571
Author: Dan Brown <ssddanbrown@googlemail.com> Date: Fri Mar 6 22:45:53 2020 +0000 New translations entities.php (Russian) commit4fd31df14e
Author: Dan Brown <ssddanbrown@googlemail.com> Date: Fri Mar 6 22:45:44 2020 +0000 New translations settings.php (Russian) commit262a2b3e4e
Author: Dan Brown <ssddanbrown@googlemail.com> Date: Fri Mar 6 22:11:41 2020 +0000 New translations entities.php (Russian) commit15c98a64b8
Author: Dan Brown <ssddanbrown@googlemail.com> Date: Fri Mar 6 15:10:54 2020 +0000 New translations errors.php (French) commit7a274db381
Author: Dan Brown <ssddanbrown@googlemail.com> Date: Fri Mar 6 15:10:43 2020 +0000 New translations settings.php (French)
104 lines
6.6 KiB
PHP
104 lines
6.6 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_page_mismatch' => 'Page mismatch during attachment update',
|
|
'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:',
|
|
|
|
];
|