| 
									
										
										
										
											2015-08-17 01:59:23 +08:00
										 |  |  | <?php | 
					
						
							| 
									
										
										
										
											2018-12-15 05:23:05 +08:00
										 |  |  | /** | 
					
						
							|  |  |  |  * Activity text strings. | 
					
						
							|  |  |  |  * Is used for all the text within activity logs & notifications. | 
					
						
							|  |  |  |  */ | 
					
						
							| 
									
										
										
										
											2015-08-17 01:59:23 +08:00
										 |  |  | return [ | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |     // Pages
 | 
					
						
							| 
									
										
										
										
											2015-08-30 18:47:58 +08:00
										 |  |  |     'page_create'                 => 'created page', | 
					
						
							| 
									
										
										
										
											2021-12-18 19:24:58 +08:00
										 |  |  |     'page_create_notification'    => 'Page successfully created', | 
					
						
							| 
									
										
										
										
											2015-08-30 18:47:58 +08:00
										 |  |  |     'page_update'                 => 'updated page', | 
					
						
							| 
									
										
										
										
											2021-12-18 19:24:58 +08:00
										 |  |  |     'page_update_notification'    => 'Page successfully updated', | 
					
						
							| 
									
										
										
										
											2015-08-30 18:47:58 +08:00
										 |  |  |     'page_delete'                 => 'deleted page', | 
					
						
							| 
									
										
										
										
											2021-12-18 19:24:58 +08:00
										 |  |  |     'page_delete_notification'    => 'Page successfully deleted', | 
					
						
							| 
									
										
										
										
											2015-08-30 18:47:58 +08:00
										 |  |  |     'page_restore'                => 'restored page', | 
					
						
							| 
									
										
										
										
											2021-12-18 19:24:58 +08:00
										 |  |  |     'page_restore_notification'   => 'Page successfully restored', | 
					
						
							| 
									
										
										
										
											2016-06-12 19:14:14 +08:00
										 |  |  |     'page_move'                   => 'moved page', | 
					
						
							| 
									
										
										
										
											2023-06-29 00:54:32 +08:00
										 |  |  |     'page_move_notification'      => 'Page successfully moved', | 
					
						
							| 
									
										
										
										
											2015-08-17 01:59:23 +08:00
										 |  |  | 
 | 
					
						
							|  |  |  |     // Chapters
 | 
					
						
							| 
									
										
										
										
											2015-08-30 18:47:58 +08:00
										 |  |  |     'chapter_create'              => 'created chapter', | 
					
						
							| 
									
										
										
										
											2021-12-18 19:24:58 +08:00
										 |  |  |     'chapter_create_notification' => 'Chapter successfully created', | 
					
						
							| 
									
										
										
										
											2015-08-30 18:47:58 +08:00
										 |  |  |     'chapter_update'              => 'updated chapter', | 
					
						
							| 
									
										
										
										
											2021-12-18 19:24:58 +08:00
										 |  |  |     'chapter_update_notification' => 'Chapter successfully updated', | 
					
						
							| 
									
										
										
										
											2015-08-30 18:47:58 +08:00
										 |  |  |     'chapter_delete'              => 'deleted chapter', | 
					
						
							| 
									
										
										
										
											2021-12-18 19:24:58 +08:00
										 |  |  |     'chapter_delete_notification' => 'Chapter successfully deleted', | 
					
						
							| 
									
										
										
										
											2016-06-25 22:31:38 +08:00
										 |  |  |     'chapter_move'                => 'moved chapter', | 
					
						
							| 
									
										
										
										
											2023-06-29 00:54:32 +08:00
										 |  |  |     'chapter_move_notification' => 'Chapter successfully moved', | 
					
						
							| 
									
										
										
										
											2015-08-17 01:59:23 +08:00
										 |  |  | 
 | 
					
						
							|  |  |  |     // Books
 | 
					
						
							| 
									
										
										
										
											2015-08-30 18:47:58 +08:00
										 |  |  |     'book_create'                 => 'created book', | 
					
						
							| 
									
										
										
										
											2021-12-18 19:24:58 +08:00
										 |  |  |     'book_create_notification'    => 'Book successfully created', | 
					
						
							| 
									
										
										
										
											2022-06-14 23:42:29 +08:00
										 |  |  |     'book_create_from_chapter'              => 'converted chapter to book', | 
					
						
							|  |  |  |     'book_create_from_chapter_notification' => 'Chapter successfully converted to a book', | 
					
						
							| 
									
										
										
										
											2015-08-30 18:47:58 +08:00
										 |  |  |     'book_update'                 => 'updated book', | 
					
						
							| 
									
										
										
										
											2021-12-18 19:24:58 +08:00
										 |  |  |     'book_update_notification'    => 'Book successfully updated', | 
					
						
							| 
									
										
										
										
											2015-08-30 18:47:58 +08:00
										 |  |  |     'book_delete'                 => 'deleted book', | 
					
						
							| 
									
										
										
										
											2021-12-18 19:24:58 +08:00
										 |  |  |     'book_delete_notification'    => 'Book successfully deleted', | 
					
						
							| 
									
										
										
										
											2015-08-30 18:47:58 +08:00
										 |  |  |     'book_sort'                   => 'sorted book', | 
					
						
							| 
									
										
										
										
											2021-12-18 19:24:58 +08:00
										 |  |  |     'book_sort_notification'      => 'Book successfully re-sorted', | 
					
						
							| 
									
										
										
										
											2015-08-17 01:59:23 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2018-09-17 02:34:09 +08:00
										 |  |  |     // Bookshelves
 | 
					
						
							| 
									
										
										
										
											2022-09-01 21:55:35 +08:00
										 |  |  |     'bookshelf_create'            => 'created shelf', | 
					
						
							|  |  |  |     'bookshelf_create_notification'    => 'Shelf successfully created', | 
					
						
							|  |  |  |     'bookshelf_create_from_book'    => 'converted book to shelf', | 
					
						
							| 
									
										
										
										
											2022-06-15 22:05:08 +08:00
										 |  |  |     'bookshelf_create_from_book_notification'    => 'Book successfully converted to a shelf', | 
					
						
							| 
									
										
										
										
											2022-09-01 21:55:35 +08:00
										 |  |  |     'bookshelf_update'                 => 'updated shelf', | 
					
						
							|  |  |  |     'bookshelf_update_notification'    => 'Shelf successfully updated', | 
					
						
							|  |  |  |     'bookshelf_delete'                 => 'deleted shelf', | 
					
						
							|  |  |  |     'bookshelf_delete_notification'    => 'Shelf successfully deleted', | 
					
						
							| 
									
										
										
										
											2018-09-17 02:34:09 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2023-06-29 00:54:32 +08:00
										 |  |  |     // Revisions
 | 
					
						
							|  |  |  |     'revision_restore' => 'restored revision', | 
					
						
							|  |  |  |     'revision_delete' => 'deleted revision', | 
					
						
							|  |  |  |     'revision_delete_notification' => 'Revision successfully deleted', | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-05-16 07:29:56 +08:00
										 |  |  |     // Favourites
 | 
					
						
							|  |  |  |     'favourite_add_notification' => '":name" has been added to your favourites', | 
					
						
							|  |  |  |     'favourite_remove_notification' => '":name" has been removed from your favourites', | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2023-08-27 19:43:59 +08:00
										 |  |  |     // Watching
 | 
					
						
							|  |  |  |     'watch_update_level_notification' => 'Watch preferences successfully updated', | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2023-06-29 00:54:32 +08:00
										 |  |  |     // Auth
 | 
					
						
							|  |  |  |     'auth_login' => 'logged in', | 
					
						
							|  |  |  |     'auth_register' => 'registered as new user', | 
					
						
							|  |  |  |     'auth_password_reset_request' => 'requested user password reset', | 
					
						
							|  |  |  |     'auth_password_reset_update' => 'reset user password', | 
					
						
							|  |  |  |     'mfa_setup_method' => 'configured MFA method', | 
					
						
							| 
									
										
										
										
											2021-07-01 05:10:02 +08:00
										 |  |  |     'mfa_setup_method_notification' => 'Multi-factor method successfully configured', | 
					
						
							| 
									
										
										
										
											2023-06-29 00:54:32 +08:00
										 |  |  |     'mfa_remove_method' => 'removed MFA method', | 
					
						
							| 
									
										
										
										
											2021-07-15 04:27:21 +08:00
										 |  |  |     'mfa_remove_method_notification' => 'Multi-factor method successfully removed', | 
					
						
							| 
									
										
										
										
											2021-07-01 05:10:02 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2023-06-29 00:54:32 +08:00
										 |  |  |     // Settings
 | 
					
						
							|  |  |  |     'settings_update' => 'updated settings', | 
					
						
							|  |  |  |     'settings_update_notification' => 'Settings successfully updated', | 
					
						
							|  |  |  |     'maintenance_action_run' => 'ran maintenance action', | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-12-08 22:29:42 +08:00
										 |  |  |     // Webhooks
 | 
					
						
							|  |  |  |     'webhook_create' => 'created webhook', | 
					
						
							|  |  |  |     'webhook_create_notification' => 'Webhook successfully created', | 
					
						
							|  |  |  |     'webhook_update' => 'updated webhook', | 
					
						
							|  |  |  |     'webhook_update_notification' => 'Webhook successfully updated', | 
					
						
							|  |  |  |     'webhook_delete' => 'deleted webhook', | 
					
						
							|  |  |  |     'webhook_delete_notification' => 'Webhook successfully deleted', | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-02-03 23:12:50 +08:00
										 |  |  |     // Users
 | 
					
						
							| 
									
										
										
										
											2023-06-29 00:54:32 +08:00
										 |  |  |     'user_create' => 'created user', | 
					
						
							|  |  |  |     'user_create_notification' => 'User successfully created', | 
					
						
							|  |  |  |     'user_update' => 'updated user', | 
					
						
							| 
									
										
										
										
											2022-02-04 00:52:28 +08:00
										 |  |  |     'user_update_notification' => 'User successfully updated', | 
					
						
							| 
									
										
										
										
											2023-06-29 00:54:32 +08:00
										 |  |  |     'user_delete' => 'deleted user', | 
					
						
							| 
									
										
										
										
											2022-02-03 23:12:50 +08:00
										 |  |  |     'user_delete_notification' => 'User successfully removed', | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2023-06-29 00:54:32 +08:00
										 |  |  |     // API Tokens
 | 
					
						
							| 
									
										
										
										
											2024-02-28 20:19:36 +08:00
										 |  |  |     'api_token_create' => 'created API token', | 
					
						
							| 
									
										
										
										
											2023-06-29 00:54:32 +08:00
										 |  |  |     'api_token_create_notification' => 'API token successfully created', | 
					
						
							| 
									
										
										
										
											2024-02-28 20:19:36 +08:00
										 |  |  |     'api_token_update' => 'updated API token', | 
					
						
							| 
									
										
										
										
											2023-06-29 00:54:32 +08:00
										 |  |  |     'api_token_update_notification' => 'API token successfully updated', | 
					
						
							| 
									
										
										
										
											2024-02-28 20:19:36 +08:00
										 |  |  |     'api_token_delete' => 'deleted API token', | 
					
						
							| 
									
										
										
										
											2023-06-29 00:54:32 +08:00
										 |  |  |     'api_token_delete_notification' => 'API token successfully deleted', | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2023-02-26 18:36:15 +08:00
										 |  |  |     // Roles
 | 
					
						
							| 
									
										
										
										
											2023-06-29 00:54:32 +08:00
										 |  |  |     'role_create' => 'created role', | 
					
						
							| 
									
										
										
										
											2023-02-26 18:36:15 +08:00
										 |  |  |     'role_create_notification' => 'Role successfully created', | 
					
						
							| 
									
										
										
										
											2023-06-29 00:54:32 +08:00
										 |  |  |     'role_update' => 'updated role', | 
					
						
							| 
									
										
										
										
											2023-02-26 18:36:15 +08:00
										 |  |  |     'role_update_notification' => 'Role successfully updated', | 
					
						
							| 
									
										
										
										
											2023-06-29 00:54:32 +08:00
										 |  |  |     'role_delete' => 'deleted role', | 
					
						
							| 
									
										
										
										
											2023-02-26 18:36:15 +08:00
										 |  |  |     'role_delete_notification' => 'Role successfully deleted', | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2023-06-29 00:54:32 +08:00
										 |  |  |     // Recycle Bin
 | 
					
						
							|  |  |  |     'recycle_bin_empty' => 'emptied recycle bin', | 
					
						
							|  |  |  |     'recycle_bin_restore' => 'restored from recycle bin', | 
					
						
							|  |  |  |     'recycle_bin_destroy' => 'removed from recycle bin', | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2023-08-27 19:43:59 +08:00
										 |  |  |     // Comments
 | 
					
						
							| 
									
										
										
										
											2017-09-10 00:06:30 +08:00
										 |  |  |     'commented_on'                => 'commented on', | 
					
						
							| 
									
										
										
										
											2023-08-27 19:43:59 +08:00
										 |  |  |     'comment_create'              => 'added comment', | 
					
						
							|  |  |  |     'comment_update'              => 'updated comment', | 
					
						
							|  |  |  |     'comment_delete'              => 'deleted comment', | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |     // Other
 | 
					
						
							| 
									
										
										
										
											2020-11-19 07:38:44 +08:00
										 |  |  |     'permissions_update'          => 'updated permissions', | 
					
						
							| 
									
										
										
										
											2016-02-10 20:48:29 +08:00
										 |  |  | ]; |