From 48b9a85a81d1b982b0cc5865867085f2b5e01557 Mon Sep 17 00:00:00 2001 From: Chris Caron Date: Fri, 1 Oct 2021 14:33:41 -0400 Subject: [PATCH] Updated DemoPlugin_Basic (markdown) --- DemoPlugin_Basic.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/DemoPlugin_Basic.md b/DemoPlugin_Basic.md index 54e3eab..b36e0e3 100644 --- a/DemoPlugin_Basic.md +++ b/DemoPlugin_Basic.md @@ -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