Allow the split menu items to be translatable. Closes LP #575827

This commit is contained in:
Chris Jones 2010-07-03 21:46:41 +01:00
parent 31e197d1bc
commit 4a2b8c77e1
1 changed files with 2 additions and 2 deletions

View File

@ -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)