Allow the split menu items to be translatable. Closes LP #575827
This commit is contained in:
parent
31e197d1bc
commit
4a2b8c77e1
|
@ -83,7 +83,7 @@ class TerminalPopupMenu(object):
|
||||||
menu.append(gtk.MenuItem())
|
menu.append(gtk.MenuItem())
|
||||||
|
|
||||||
if not terminal.is_zoomed():
|
if not terminal.is_zoomed():
|
||||||
item = gtk.ImageMenuItem('Split H_orizontally')
|
item = gtk.ImageMenuItem(_('Split H_orizontally'))
|
||||||
image = gtk.Image()
|
image = gtk.Image()
|
||||||
image.set_from_icon_name(APP_NAME + '_horiz', gtk.ICON_SIZE_MENU)
|
image.set_from_icon_name(APP_NAME + '_horiz', gtk.ICON_SIZE_MENU)
|
||||||
item.set_image(image)
|
item.set_image(image)
|
||||||
|
@ -93,7 +93,7 @@ class TerminalPopupMenu(object):
|
||||||
self.terminator.pid_cwd(self.terminal.pid)))
|
self.terminator.pid_cwd(self.terminal.pid)))
|
||||||
menu.append(item)
|
menu.append(item)
|
||||||
|
|
||||||
item = gtk.ImageMenuItem('Split V_ertically')
|
item = gtk.ImageMenuItem(_('Split V_ertically'))
|
||||||
image = gtk.Image()
|
image = gtk.Image()
|
||||||
image.set_from_icon_name(APP_NAME + '_vert', gtk.ICON_SIZE_MENU)
|
image.set_from_icon_name(APP_NAME + '_vert', gtk.ICON_SIZE_MENU)
|
||||||
item.set_image(image)
|
item.set_image(image)
|
||||||
|
|
Loading…
Reference in New Issue