74 lines
		
	
	
		
			3.2 KiB
		
	
	
	
		
			PHP
		
	
	
	
		
		
			
		
	
	
			74 lines
		
	
	
		
			3.2 KiB
		
	
	
	
		
			PHP
		
	
	
	
| 
								 | 
							
								<?php
							 | 
						||
| 
								 | 
							
								/**
							 | 
						||
| 
								 | 
							
								 * Activity text strings.
							 | 
						||
| 
								 | 
							
								 * Is used for all the text within activity logs & notifications.
							 | 
						||
| 
								 | 
							
								 */
							 | 
						||
| 
								 | 
							
								return [
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								    // Pages
							 | 
						||
| 
								 | 
							
								    'page_create'                 => 'created page',
							 | 
						||
| 
								 | 
							
								    'page_create_notification'    => 'Page successfully created',
							 | 
						||
| 
								 | 
							
								    'page_update'                 => 'updated page',
							 | 
						||
| 
								 | 
							
								    'page_update_notification'    => 'Page successfully updated',
							 | 
						||
| 
								 | 
							
								    'page_delete'                 => 'deleted page',
							 | 
						||
| 
								 | 
							
								    'page_delete_notification'    => 'Page successfully deleted',
							 | 
						||
| 
								 | 
							
								    'page_restore'                => 'restored page',
							 | 
						||
| 
								 | 
							
								    'page_restore_notification'   => 'Page successfully restored',
							 | 
						||
| 
								 | 
							
								    'page_move'                   => 'moved page',
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								    // Chapters
							 | 
						||
| 
								 | 
							
								    'chapter_create'              => 'created chapter',
							 | 
						||
| 
								 | 
							
								    'chapter_create_notification' => 'Chapter successfully created',
							 | 
						||
| 
								 | 
							
								    'chapter_update'              => 'updated chapter',
							 | 
						||
| 
								 | 
							
								    'chapter_update_notification' => 'Chapter successfully updated',
							 | 
						||
| 
								 | 
							
								    'chapter_delete'              => 'deleted chapter',
							 | 
						||
| 
								 | 
							
								    'chapter_delete_notification' => 'Chapter successfully deleted',
							 | 
						||
| 
								 | 
							
								    'chapter_move'                => 'moved chapter',
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								    // Books
							 | 
						||
| 
								 | 
							
								    'book_create'                 => 'created book',
							 | 
						||
| 
								 | 
							
								    'book_create_notification'    => 'Book successfully created',
							 | 
						||
| 
								 | 
							
								    'book_create_from_chapter'              => 'converted chapter to book',
							 | 
						||
| 
								 | 
							
								    'book_create_from_chapter_notification' => 'Chapter successfully converted to a book',
							 | 
						||
| 
								 | 
							
								    'book_update'                 => 'updated book',
							 | 
						||
| 
								 | 
							
								    'book_update_notification'    => 'Book successfully updated',
							 | 
						||
| 
								 | 
							
								    'book_delete'                 => 'deleted book',
							 | 
						||
| 
								 | 
							
								    'book_delete_notification'    => 'Book successfully deleted',
							 | 
						||
| 
								 | 
							
								    'book_sort'                   => 'sorted book',
							 | 
						||
| 
								 | 
							
								    'book_sort_notification'      => 'Book successfully re-sorted',
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								    // Bookshelves
							 | 
						||
| 
								 | 
							
								    'bookshelf_create'            => 'created shelf',
							 | 
						||
| 
								 | 
							
								    'bookshelf_create_notification'    => 'Shelf successfully created',
							 | 
						||
| 
								 | 
							
								    'bookshelf_create_from_book'    => 'converted book to shelf',
							 | 
						||
| 
								 | 
							
								    'bookshelf_create_from_book_notification'    => 'Book successfully converted to a shelf',
							 | 
						||
| 
								 | 
							
								    'bookshelf_update'                 => 'updated shelf',
							 | 
						||
| 
								 | 
							
								    'bookshelf_update_notification'    => 'Shelf successfully updated',
							 | 
						||
| 
								 | 
							
								    'bookshelf_delete'                 => 'deleted shelf',
							 | 
						||
| 
								 | 
							
								    'bookshelf_delete_notification'    => 'Shelf successfully deleted',
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								    // Favourites
							 | 
						||
| 
								 | 
							
								    'favourite_add_notification' => '":name" has been added to your favourites',
							 | 
						||
| 
								 | 
							
								    'favourite_remove_notification' => '":name" has been removed from your favourites',
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								    // MFA
							 | 
						||
| 
								 | 
							
								    'mfa_setup_method_notification' => 'Multi-factor method successfully configured',
							 | 
						||
| 
								 | 
							
								    'mfa_remove_method_notification' => 'Multi-factor method successfully removed',
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								    // 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',
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								    // Users
							 | 
						||
| 
								 | 
							
								    'user_update_notification' => 'User successfully updated',
							 | 
						||
| 
								 | 
							
								    'user_delete_notification' => 'User successfully removed',
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								    // Other
							 | 
						||
| 
								 | 
							
								    'commented_on'                => 'commented on',
							 | 
						||
| 
								 | 
							
								    'permissions_update'          => 'updated permissions',
							 | 
						||
| 
								 | 
							
								];
							 |