|
| 1 | +<?php |
| 2 | +/** |
| 3 | + * Activity text strings. |
| 4 | + * Is used for all the text within activity logs & notifications. |
| 5 | + */ |
| 6 | +return [ |
| 7 | + |
| 8 | + // Pages |
| 9 | + 'page_create' => 'created page', |
| 10 | + 'page_create_notification' => 'Page successfully created', |
| 11 | + 'page_update' => 'updated page', |
| 12 | + 'page_update_notification' => 'Page successfully updated', |
| 13 | + 'page_delete' => 'deleted page', |
| 14 | + 'page_delete_notification' => 'Page successfully deleted', |
| 15 | + 'page_restore' => 'restored page', |
| 16 | + 'page_restore_notification' => 'Page successfully restored', |
| 17 | + 'page_move' => 'moved page', |
| 18 | + 'page_move_notification' => 'Page successfully moved', |
| 19 | + |
| 20 | + // Chapters |
| 21 | + 'chapter_create' => 'created chapter', |
| 22 | + 'chapter_create_notification' => 'Chapter successfully created', |
| 23 | + 'chapter_update' => 'updated chapter', |
| 24 | + 'chapter_update_notification' => 'Chapter successfully updated', |
| 25 | + 'chapter_delete' => 'deleted chapter', |
| 26 | + 'chapter_delete_notification' => 'Chapter successfully deleted', |
| 27 | + 'chapter_move' => 'moved chapter', |
| 28 | + 'chapter_move_notification' => 'Chapter successfully moved', |
| 29 | + |
| 30 | + // Books |
| 31 | + 'book_create' => 'created book', |
| 32 | + 'book_create_notification' => 'Book successfully created', |
| 33 | + 'book_create_from_chapter' => 'converted chapter to book', |
| 34 | + 'book_create_from_chapter_notification' => 'Chapter successfully converted to a book', |
| 35 | + 'book_update' => 'updated book', |
| 36 | + 'book_update_notification' => 'Book successfully updated', |
| 37 | + 'book_delete' => 'deleted book', |
| 38 | + 'book_delete_notification' => 'Book successfully deleted', |
| 39 | + 'book_sort' => 'sorted book', |
| 40 | + 'book_sort_notification' => 'Book successfully re-sorted', |
| 41 | + |
| 42 | + // Bookshelves |
| 43 | + 'bookshelf_create' => 'created shelf', |
| 44 | + 'bookshelf_create_notification' => 'Shelf successfully created', |
| 45 | + 'bookshelf_create_from_book' => 'converted book to shelf', |
| 46 | + 'bookshelf_create_from_book_notification' => 'Book successfully converted to a shelf', |
| 47 | + 'bookshelf_update' => 'updated shelf', |
| 48 | + 'bookshelf_update_notification' => 'Shelf successfully updated', |
| 49 | + 'bookshelf_delete' => 'deleted shelf', |
| 50 | + 'bookshelf_delete_notification' => 'Shelf successfully deleted', |
| 51 | + |
| 52 | + // Revisions |
| 53 | + 'revision_restore' => 'restored revision', |
| 54 | + 'revision_delete' => 'deleted revision', |
| 55 | + 'revision_delete_notification' => 'Revision successfully deleted', |
| 56 | + |
| 57 | + // Favourites |
| 58 | + 'favourite_add_notification' => '":name" has been added to your favourites', |
| 59 | + 'favourite_remove_notification' => '":name" has been removed from your favourites', |
| 60 | + |
| 61 | + // Watching |
| 62 | + 'watch_update_level_notification' => 'Watch preferences successfully updated', |
| 63 | + |
| 64 | + // Auth |
| 65 | + 'auth_login' => 'logged in', |
| 66 | + 'auth_register' => 'registered as new user', |
| 67 | + 'auth_password_reset_request' => 'requested user password reset', |
| 68 | + 'auth_password_reset_update' => 'reset user password', |
| 69 | + 'mfa_setup_method' => 'configured MFA method', |
| 70 | + 'mfa_setup_method_notification' => 'Multi-factor method successfully configured', |
| 71 | + 'mfa_remove_method' => 'removed MFA method', |
| 72 | + 'mfa_remove_method_notification' => 'Multi-factor method successfully removed', |
| 73 | + |
| 74 | + // Settings |
| 75 | + 'settings_update' => 'updated settings', |
| 76 | + 'settings_update_notification' => 'Settings successfully updated', |
| 77 | + 'maintenance_action_run' => 'ran maintenance action', |
| 78 | + |
| 79 | + // Webhooks |
| 80 | + 'webhook_create' => 'created webhook', |
| 81 | + 'webhook_create_notification' => 'Webhook successfully created', |
| 82 | + 'webhook_update' => 'updated webhook', |
| 83 | + 'webhook_update_notification' => 'Webhook successfully updated', |
| 84 | + 'webhook_delete' => 'deleted webhook', |
| 85 | + 'webhook_delete_notification' => 'Webhook successfully deleted', |
| 86 | + |
| 87 | + // Imports |
| 88 | + 'import_create' => 'created import', |
| 89 | + 'import_create_notification' => 'Import successfully uploaded', |
| 90 | + 'import_run' => 'updated import', |
| 91 | + 'import_run_notification' => 'Content successfully imported', |
| 92 | + 'import_delete' => 'deleted import', |
| 93 | + 'import_delete_notification' => 'Import successfully deleted', |
| 94 | + |
| 95 | + // Users |
| 96 | + 'user_create' => 'created user', |
| 97 | + 'user_create_notification' => 'User successfully created', |
| 98 | + 'user_update' => 'updated user', |
| 99 | + 'user_update_notification' => 'User successfully updated', |
| 100 | + 'user_delete' => 'deleted user', |
| 101 | + 'user_delete_notification' => 'User successfully removed', |
| 102 | + |
| 103 | + // API Tokens |
| 104 | + 'api_token_create' => 'created API token', |
| 105 | + 'api_token_create_notification' => 'API token successfully created', |
| 106 | + 'api_token_update' => 'updated API token', |
| 107 | + 'api_token_update_notification' => 'API token successfully updated', |
| 108 | + 'api_token_delete' => 'deleted API token', |
| 109 | + 'api_token_delete_notification' => 'API token successfully deleted', |
| 110 | + |
| 111 | + // Roles |
| 112 | + 'role_create' => 'created role', |
| 113 | + 'role_create_notification' => 'Role successfully created', |
| 114 | + 'role_update' => 'updated role', |
| 115 | + 'role_update_notification' => 'Role successfully updated', |
| 116 | + 'role_delete' => 'deleted role', |
| 117 | + 'role_delete_notification' => 'Role successfully deleted', |
| 118 | + |
| 119 | + // Recycle Bin |
| 120 | + 'recycle_bin_empty' => 'emptied recycle bin', |
| 121 | + 'recycle_bin_restore' => 'restored from recycle bin', |
| 122 | + 'recycle_bin_destroy' => 'removed from recycle bin', |
| 123 | + |
| 124 | + // Comments |
| 125 | + 'commented_on' => 'commented on', |
| 126 | + 'comment_create' => 'added comment', |
| 127 | + 'comment_update' => 'updated comment', |
| 128 | + 'comment_delete' => 'deleted comment', |
| 129 | + |
| 130 | + // Sort Rules |
| 131 | + 'sort_rule_create' => 'created sort rule', |
| 132 | + 'sort_rule_create_notification' => 'Sort rule successfully created', |
| 133 | + 'sort_rule_update' => 'updated sort rule', |
| 134 | + 'sort_rule_update_notification' => 'Sort rule successfully updated', |
| 135 | + 'sort_rule_delete' => 'deleted sort rule', |
| 136 | + 'sort_rule_delete_notification' => 'Sort rule successfully deleted', |
| 137 | + |
| 138 | + // Other |
| 139 | + 'permissions_update' => 'updated permissions', |
| 140 | +]; |
0 commit comments