mirror of https://github.com/caronc/apprise
Updated Development_Contribution (markdown)
parent
334aeaa5c7
commit
6a77eae52f
|
@ -19,10 +19,12 @@ It basically boils down to this:
|
||||||
# plugins/NotifyFooBar.py might look like:
|
# plugins/NotifyFooBar.py might look like:
|
||||||
|
|
||||||
from .NotifyBase import NotifyBase
|
from .NotifyBase import NotifyBase
|
||||||
|
from ..AppriseLocale import gettext_lazy as _
|
||||||
|
|
||||||
class NotifyFooBar(NotifyBase):
|
class NotifyFooBar(NotifyBase):
|
||||||
# Define a human readable description of our object
|
# Define a human readable description of our object
|
||||||
service_name = 'FooBar Notification'
|
# _() is wrapped for future language translations
|
||||||
|
service_name = _('FooBar Notification')
|
||||||
|
|
||||||
# Our protocol:// Apprise will detect and hand off further
|
# Our protocol:// Apprise will detect and hand off further
|
||||||
# parsing of the URL to your parse_url() function you write:
|
# parsing of the URL to your parse_url() function you write:
|
||||||
|
|
Loading…
Reference in New Issue