* Fixing a potential glitch in translated string
* added FR comment entry to .desktop
This commit is contained in:
parent
4713eff2dd
commit
adf05a6863
@ -6,6 +6,7 @@ Comment[be@latin]=Meerdere terminals in een venster
|
||||
Comment[en_CA]=Multiple terminals in one window
|
||||
Comment[en_GB]=Multiple terminals in one window
|
||||
Comment[es]=Multiples terminales en una ventana
|
||||
Comment[fr]=Plusieurs terminaux dans une fenêtre
|
||||
TryExec=terminator
|
||||
Exec=terminator
|
||||
Icon=terminator
|
||||
|
@ -95,7 +95,7 @@ class TerminatorNotebookTabLabel(gtk.HBox):
|
||||
if self._notebook.get_tab_label(self._notebook.get_nth_page(i)) == self:
|
||||
#dbg("[Close from tab] Found tab at position [%d]" % i)
|
||||
if not isinstance (self._notebook.get_nth_page(i), TerminatorTerm):
|
||||
if self._terminator.confirm_close_multiple (self._terminator.window, 'tab'):
|
||||
if self._terminator.confirm_close_multiple (self._terminator.window, _("tab")):
|
||||
return False
|
||||
term = self._terminator._notebook_first_term(self._notebook.get_nth_page(i))
|
||||
while term:
|
||||
@ -371,7 +371,7 @@ class Terminator:
|
||||
def on_delete_event (self, window, event, data=None):
|
||||
if len (self.term_list) == 1:
|
||||
return False
|
||||
return self.confirm_close_multiple (window, 'window')
|
||||
return self.confirm_close_multiple (window, _("window"))
|
||||
|
||||
def confirm_close_multiple (self, window, type):
|
||||
# show dialog
|
||||
|
Loading…
Reference in New Issue
Block a user