Allow translating of dir_open plugin
This commit is contained in:
parent
810ccc2478
commit
a61c7b5445
|
@ -24,6 +24,7 @@ terminatorlib/paned.py
|
|||
terminatorlib/plugin.py
|
||||
terminatorlib/plugins/activitywatch.py
|
||||
terminatorlib/plugins/custom_commands.py
|
||||
terminatorlib/plugins/dir_open.py
|
||||
terminatorlib/plugins/logger.py
|
||||
terminatorlib/plugins/maven.py
|
||||
terminatorlib/plugins/terminalshot.py
|
||||
|
|
|
@ -2,6 +2,7 @@ from gi.repository import Gtk
|
|||
|
||||
from terminatorlib.config import Config
|
||||
from terminatorlib.terminal import Terminal
|
||||
from terminatorlib.translation import _
|
||||
import terminatorlib.plugin as plugin
|
||||
|
||||
AVAILABLE = ['CurrDirOpen']
|
||||
|
@ -22,7 +23,7 @@ class CurrDirOpen(plugin.MenuItem):
|
|||
self.cwd = terminal.get_cwd()
|
||||
self.terminal = terminal
|
||||
|
||||
menuitem = Gtk.ImageMenuItem("Open current directory")
|
||||
menuitem = Gtk.ImageMenuItem(_('Open current directory'))
|
||||
image = Gtk.Image()
|
||||
image.set_from_icon_name('folder', Gtk.IconSize.MENU)
|
||||
menuitem.set_image(image)
|
||||
|
|
Loading…
Reference in New Issue