From 6a77eae52fe251713eca4d08ba7e7649c21376c7 Mon Sep 17 00:00:00 2001 From: Chris Caron Date: Fri, 1 Oct 2021 14:32:28 -0400 Subject: [PATCH] Updated Development_Contribution (markdown) --- Development_Contribution.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Development_Contribution.md b/Development_Contribution.md index 9709a06..5207f62 100644 --- a/Development_Contribution.md +++ b/Development_Contribution.md @@ -19,10 +19,12 @@ It basically boils down to this: # plugins/NotifyFooBar.py might look like: from .NotifyBase import NotifyBase +from ..AppriseLocale import gettext_lazy as _ class NotifyFooBar(NotifyBase): # 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 # parsing of the URL to your parse_url() function you write: