From 4a2b8c77e1957e053b1cbfa8083c1a8f3d40d214 Mon Sep 17 00:00:00 2001 From: Chris Jones Date: Sat, 3 Jul 2010 21:46:41 +0100 Subject: [PATCH] Allow the split menu items to be translatable. Closes LP #575827 --- terminatorlib/terminal_popup_menu.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/terminatorlib/terminal_popup_menu.py b/terminatorlib/terminal_popup_menu.py index f89ad242..3a9b51e3 100755 --- a/terminatorlib/terminal_popup_menu.py +++ b/terminatorlib/terminal_popup_menu.py @@ -83,7 +83,7 @@ class TerminalPopupMenu(object): menu.append(gtk.MenuItem()) if not terminal.is_zoomed(): - item = gtk.ImageMenuItem('Split H_orizontally') + item = gtk.ImageMenuItem(_('Split H_orizontally')) image = gtk.Image() image.set_from_icon_name(APP_NAME + '_horiz', gtk.ICON_SIZE_MENU) item.set_image(image) @@ -93,7 +93,7 @@ class TerminalPopupMenu(object): self.terminator.pid_cwd(self.terminal.pid))) menu.append(item) - item = gtk.ImageMenuItem('Split V_ertically') + item = gtk.ImageMenuItem(_('Split V_ertically')) image = gtk.Image() image.set_from_icon_name(APP_NAME + '_vert', gtk.ICON_SIZE_MENU) item.set_image(image)