mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-12-05 07:23:59 +08:00
9e1c8ec82a
- Required changing the docs generator to handle more complex object-style rules. Bit of a hack for some types (password). - Extracted core update logic to repo for sharing with API. - Moved user update language string to align with activity/logging system. - Added tests to cover.
70 lines
2.9 KiB
PHP
70 lines
2.9 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_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 bookshelf',
|
|
'bookshelf_create_notification' => 'Bookshelf successfully created',
|
|
'bookshelf_update' => 'updated bookshelf',
|
|
'bookshelf_update_notification' => 'Bookshelf successfully updated',
|
|
'bookshelf_delete' => 'deleted bookshelf',
|
|
'bookshelf_delete_notification' => 'Bookshelf 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',
|
|
];
|