Skip to content

Translatation is missing for specific notifications in webhooks #4216

@Android1338

Description

@Android1338

Describe the Bug

I'm using a Discord server with a few channels for BookStack notifications only and if I restore a revision in BookStack, I just receive the following message:
Julian activities.revision_restore

The same happens if I change admin settings in BookStack:
Julian activities.settings_update

Also if a maintenance has been started:
Julian activities.maintenance_action_run

Steps to Reproduce

  1. Use "German" as language
  2. Create a webhook, in my example for Discord
  3. Make some changes in BookStack to receive alerts via Discord
  4. Switch to Discord and you'll see non-translated messages

Expected Behaviour

I expected translated messages like ...

  • Julian started a maintenance
  • Julian restored a page

Screenshots or Additional Context

bug

Browser Details

Firefox 112.0.2 (64-Bit) on Windows 10

Exact BookStack Version

v23.05

PHP Version

8.1.2

Hosting Environment

Ubuntu 22.04.2 LTS VPS, installed using official installation script

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions