mirror of
https://github.com/pulb/mailnag.git
synced 2026-05-13 04:07:10 +02:00
made some plugin strings translatable
This commit is contained in:
@@ -25,6 +25,7 @@ import dbus
|
||||
import dbus.service
|
||||
from common.dist_cfg import DBUS_BUS_NAME, DBUS_OBJ_PATH
|
||||
from common.plugins import Plugin, HookTypes
|
||||
from common.i18n import _
|
||||
|
||||
plugin_defaults = {}
|
||||
|
||||
@@ -73,8 +74,8 @@ class DBusPlugin(Plugin):
|
||||
|
||||
|
||||
def get_manifest(self):
|
||||
return ("DBus Service",
|
||||
"Exposes Mailnag's functionality via a DBus service.",
|
||||
return (_("DBus Service"),
|
||||
_("Exposes Mailnag's functionality via a DBus service."),
|
||||
"1.0",
|
||||
"Patrick Ulbrich <zulu99@gmx.net>",
|
||||
True)
|
||||
|
||||
@@ -25,6 +25,7 @@ import os
|
||||
import threading
|
||||
from common.plugins import Plugin, HookTypes
|
||||
from common.utils import get_data_file
|
||||
from common.i18n import _
|
||||
from gi.repository import Gst, Gio
|
||||
|
||||
plugin_defaults = { 'soundfile' : 'mailnag.ogg' }
|
||||
@@ -64,8 +65,8 @@ class SoundPlugin(Plugin):
|
||||
|
||||
|
||||
def get_manifest(self):
|
||||
return ("Sound notifications",
|
||||
"Plays a sound when new mails arrive.",
|
||||
return (_("Sound notifications"),
|
||||
_("Plays a sound when new mails arrive."),
|
||||
"1.0",
|
||||
"Patrick Ulbrich <zulu99@gmx.net>",
|
||||
False)
|
||||
|
||||
Reference in New Issue
Block a user