Skip to content

Add translate / pre-process hook #9

@antja0

Description

@antja0

Currently we must translate string before we pass it to notifications.
Perhaps add hook to pre-process / translate so we can just pass a function to it at start?

- Notifications.Send(Localization.Translate("foobar"))
+ Notifications.Translate += Localization.Translate;
+ Notifications.Send("foobar")

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions