[gnome-dvb-daemon] totem: Use gettext from gnomedvb module
- From: Sebastian Polsterl <sebp src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-dvb-daemon] totem: Use gettext from gnomedvb module
- Date: Fri, 9 Dec 2011 11:35:16 +0000 (UTC)
commit f56adc47c56cf25e13a7ca29ec00d1446c7e1653
Author: Sebastian PÃlsterl <sebp k-d-w org>
Date: Fri Dec 9 12:34:21 2011 +0100
totem: Use gettext from gnomedvb module
client/totem-plugin/dvb-daemon.py | 5 +----
1 files changed, 1 insertions(+), 4 deletions(-)
---
diff --git a/client/totem-plugin/dvb-daemon.py b/client/totem-plugin/dvb-daemon.py
index c949d12..fbbe5fe 100644
--- a/client/totem-plugin/dvb-daemon.py
+++ b/client/totem-plugin/dvb-daemon.py
@@ -16,7 +16,6 @@
# You should have received a copy of the GNU General Public License
# along with GNOME DVB Daemon. If not, see <http://www.gnu.org/licenses/>.
-import gettext
import gnomedvb
from gi.repository import GObject
import os
@@ -47,7 +46,7 @@ from gnomedvb.ui.recordings.DetailsDialog import DetailsDialog
DBUS_DVB_SERVICE = "org.gnome.DVB"
def _(message):
- return gettext.dgettext('gnome-dvb-daemon', message)
+ return gnomedvb._(message)
def spawn_on_screen(argv, screen, flags=0):
@@ -266,8 +265,6 @@ class DVBDaemonPlugin(GObject.GObject, Peas.Activatable):
self.active_url = None
def do_activate (self):
- gettext.bindtextdomain('gnome-dvb-daemon')
-
self.monitor_bus()
try:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]