mirror of
https://github.com/mealie-recipes/mealie.git
synced 2026-01-03 15:41:21 -05:00
* Fixed incorrect generic deleted notification text * Added custom "event_source" header for json notifs * Added internal reference data to event notifs * Added event listeners to shopping list items * Fixed type issues * moved JSON event source k:v pairs to message body * added hook for all supported custom endpoints fixed bug that excluded non-custom notification types * created event_source class to replace loosely-typed dict * fixed silent error when dispatching a null task * moved url updates to static function * added unit tests for event_source url manipulation * removed array from event bus (it's unsupported)
23 lines
847 B
JSON
23 lines
847 B
JSON
{
|
|
"generic": {
|
|
"server-error": "An unexpected error occurred"
|
|
},
|
|
"recipe": {
|
|
"unique-name-error": "Recipe names must be unique"
|
|
},
|
|
"exceptions": {
|
|
"permission_denied": "You do not have permission to perform this action",
|
|
"no-entry-found": "The requested resource was not found",
|
|
"integrity-error": "Database integrity error",
|
|
"username-conflict-error": "This username is already taken",
|
|
"email-conflict-error": "This email is already in use"
|
|
},
|
|
"notifications": {
|
|
"generic-created": "{name} was created",
|
|
"generic-updated": "{name} was updated",
|
|
"generic-created-with-url": "{name} has been created, {url}",
|
|
"generic-updated-with-url": "{name} has been updated, {url}",
|
|
"generic-deleted": "{name} has been deleted"
|
|
}
|
|
}
|