[meld] meldwindow: Don't duplicate the translation domain
- From: Kai Willadsen <kaiw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [meld] meldwindow: Don't duplicate the translation domain
- Date: Mon, 14 Oct 2013 21:09:14 +0000 (UTC)
commit 536b0c14fc997ae91ab3e397edfa95e10ef9099b
Author: Kai Willadsen <kai willadsen gmail com>
Date: Fri Sep 6 17:23:14 2013 +1000
meldwindow: Don't duplicate the translation domain
meld/meldwindow.py | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/meld/meldwindow.py b/meld/meldwindow.py
index 427b786..5005a84 100644
--- a/meld/meldwindow.py
+++ b/meld/meldwindow.py
@@ -539,8 +539,7 @@ class MeldWindow(gnomeglade.Component):
def on_menu_about_activate(self, *extra):
gtk.about_dialog_set_url_hook(lambda dialog, uri: misc.open_uri(uri))
builder = gtk.Builder()
- # FIXME: domain literal duplicated from bin/meld
- builder.set_translation_domain("meld")
+ builder.set_translation_domain(conf.__package__)
ui_file = gnomeglade.ui_file("meldapp.ui")
builder.add_objects_from_file(ui_file, ["about"])
about = builder.get_object("about")
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]