mirror of https://github.com/caronc/apprise
Updated DemoPlugin_Basic (markdown)
parent
6a77eae52f
commit
48b9a85a81
|
@ -7,6 +7,7 @@ It's very important to save the `apprise/plugins/NotifyServiceName.py` to be exa
|
|||
```python
|
||||
# -*- coding: utf-8 -*-
|
||||
from .NotifyBase import NotifyBase
|
||||
from ..AppriseLocale import gettext_lazy as _
|
||||
from ..common import NotifyType
|
||||
|
||||
|
||||
|
@ -16,7 +17,8 @@ class NotifyDemo(NotifyBase):
|
|||
"""
|
||||
|
||||
# The default descriptive name associated with the Notification
|
||||
service_name = 'Apprise Demo Notification'
|
||||
# _() allows us to support future (language) translations
|
||||
service_name = _('Apprise Demo Notification')
|
||||
|
||||
# The default protocol/schema
|
||||
# This will be what triggers your service to be activated when
|
||||
|
|
Loading…
Reference in New Issue