From adf05a686334fd51c6d6e7e31c130dbacae58462 Mon Sep 17 00:00:00 2001 From: Emmanuel Bretelle Date: Sat, 17 Jan 2009 13:44:09 +0100 Subject: [PATCH] * Fixing a potential glitch in translated string * added FR comment entry to .desktop --- data/terminator.desktop | 1 + terminatorlib/terminator.py | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/data/terminator.desktop b/data/terminator.desktop index 92be0459..1f47da6b 100644 --- a/data/terminator.desktop +++ b/data/terminator.desktop @@ -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 diff --git a/terminatorlib/terminator.py b/terminatorlib/terminator.py index b8205960..83617363 100755 --- a/terminatorlib/terminator.py +++ b/terminatorlib/terminator.py @@ -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