From 019ea1f6013f9eb85479db345d67a9fbdae48529 Mon Sep 17 00:00:00 2001 From: Marcos Pinto Date: Sun, 28 Oct 2007 00:55:43 +0000 Subject: [PATCH] make webui name/description translatable --- plugins/WebUi/__init__.py | 8 ++++---- po/POTFILES.in | 1 + 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/plugins/WebUi/__init__.py b/plugins/WebUi/__init__.py index a4b3aa69e..b6346c535 100644 --- a/plugins/WebUi/__init__.py +++ b/plugins/WebUi/__init__.py @@ -28,10 +28,10 @@ # but you are not obligated to do so. If you do not wish to do so, delete # this exception statement from your version. If you delete this exception -plugin_name = "Web User Interface" -plugin_author = "Martijn Voncken" +plugin_name = _("Web User Interface") +plugin_author = _("Martijn Voncken") plugin_version = "rev." -plugin_description = """A Web based User Interface +plugin_description = _("""A Web based User Interface Firefox greasemonkey script: http://userscripts.org/scripts/show/12639 @@ -42,7 +42,7 @@ There is support for multiple templates, but just one is included. Other contributors: *somedude : template enhancements. -""" +""") import deluge.common import deluge.pref diff --git a/po/POTFILES.in b/po/POTFILES.in index 1828a9adb..aebac4469 100644 --- a/po/POTFILES.in +++ b/po/POTFILES.in @@ -54,3 +54,4 @@ plugins/WebSeed/__init__.py plugins/WebSeed/webseed.glade plugins/Scheduler/__init__.py plugins/Scheduler/plugin.py +plugins/WebUI/__init__.py