diff --git a/po/terminator.pot b/po/terminator.pot index db31442f..4075dd2f 100644 --- a/po/terminator.pot +++ b/po/terminator.pot @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2016-12-12 14:21+0100\n" +"POT-Creation-Date: 2017-01-12 16:51+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -160,14 +160,19 @@ msgstr "" msgid "Close multiple terminals?" msgstr "" -#: ../terminatorlib/container.py:174 -#, python-format +#: ../terminatorlib/container.py:175 msgid "" -"This %s has several terminals open. Closing the %s will also close all " +"This window has several terminals open. Closing the window will also close " +"all terminals within it." +msgstr "" + +#: ../terminatorlib/container.py:178 +msgid "" +"This tab has several terminals open. Closing the tab will also close all " "terminals within it." msgstr "" -#: ../terminatorlib/container.py:191 +#: ../terminatorlib/container.py:198 msgid "Do not show this message next time" msgstr "" @@ -332,7 +337,7 @@ msgstr "" msgid "tab" msgstr "" -#: ../terminatorlib/notebook.py:572 +#: ../terminatorlib/notebook.py:573 msgid "Close Tab" msgstr "" @@ -463,89 +468,89 @@ msgid "Custom Commands Configuration" msgstr "" #: ../terminatorlib/plugins/custom_commands.py:124 -#: ../terminatorlib/plugins/custom_commands.py:270 +#: ../terminatorlib/plugins/custom_commands.py:273 #: ../terminatorlib/plugins/logger.py:22 -#: ../terminatorlib/plugins/terminalshot.py:20 +#: ../terminatorlib/plugins/terminalshot.py:21 msgid "_Cancel" msgstr "" #: ../terminatorlib/plugins/custom_commands.py:125 -#: ../terminatorlib/plugins/custom_commands.py:271 +#: ../terminatorlib/plugins/custom_commands.py:274 msgid "_OK" msgstr "" -#: ../terminatorlib/plugins/custom_commands.py:151 +#: ../terminatorlib/plugins/custom_commands.py:152 msgid "Enabled" msgstr "" -#: ../terminatorlib/plugins/custom_commands.py:155 +#: ../terminatorlib/plugins/custom_commands.py:156 #: ../terminatorlib/preferences.glade.h:137 msgid "Name" msgstr "" -#: ../terminatorlib/plugins/custom_commands.py:159 +#: ../terminatorlib/plugins/custom_commands.py:160 #: ../terminatorlib/preferences.glade.h:103 msgid "Command" msgstr "" -#: ../terminatorlib/plugins/custom_commands.py:173 +#: ../terminatorlib/plugins/custom_commands.py:174 #: ../terminatorlib/preferences.glade.h:37 msgid "Top" msgstr "" -#: ../terminatorlib/plugins/custom_commands.py:179 +#: ../terminatorlib/plugins/custom_commands.py:180 msgid "Up" msgstr "" -#: ../terminatorlib/plugins/custom_commands.py:185 +#: ../terminatorlib/plugins/custom_commands.py:186 msgid "Down" msgstr "" -#: ../terminatorlib/plugins/custom_commands.py:191 +#: ../terminatorlib/plugins/custom_commands.py:192 msgid "Last" msgstr "" -#: ../terminatorlib/plugins/custom_commands.py:197 +#: ../terminatorlib/plugins/custom_commands.py:198 msgid "New" msgstr "" -#: ../terminatorlib/plugins/custom_commands.py:202 +#: ../terminatorlib/plugins/custom_commands.py:203 msgid "Edit" msgstr "" -#: ../terminatorlib/plugins/custom_commands.py:208 +#: ../terminatorlib/plugins/custom_commands.py:209 msgid "Delete" msgstr "" -#: ../terminatorlib/plugins/custom_commands.py:266 +#: ../terminatorlib/plugins/custom_commands.py:269 msgid "New Command" msgstr "" -#: ../terminatorlib/plugins/custom_commands.py:276 +#: ../terminatorlib/plugins/custom_commands.py:280 msgid "Enabled:" msgstr "" -#: ../terminatorlib/plugins/custom_commands.py:282 +#: ../terminatorlib/plugins/custom_commands.py:286 msgid "Name:" msgstr "" -#: ../terminatorlib/plugins/custom_commands.py:288 +#: ../terminatorlib/plugins/custom_commands.py:292 msgid "Command:" msgstr "" -#: ../terminatorlib/plugins/custom_commands.py:311 -#: ../terminatorlib/plugins/custom_commands.py:421 +#: ../terminatorlib/plugins/custom_commands.py:315 +#: ../terminatorlib/plugins/custom_commands.py:425 msgid "You need to define a name and command" msgstr "" -#: ../terminatorlib/plugins/custom_commands.py:328 -#: ../terminatorlib/plugins/custom_commands.py:440 +#: ../terminatorlib/plugins/custom_commands.py:332 +#: ../terminatorlib/plugins/custom_commands.py:444 #, python-format msgid "Name *%s* already exist" msgstr "" #: ../terminatorlib/plugins/logger.py:23 -#: ../terminatorlib/plugins/terminalshot.py:21 +#: ../terminatorlib/plugins/terminalshot.py:22 msgid "_Save" msgstr "" @@ -557,15 +562,15 @@ msgstr "" msgid "Stop _Logger" msgstr "" -#: ../terminatorlib/plugins/logger.py:66 +#: ../terminatorlib/plugins/logger.py:67 msgid "Save Log File As" msgstr "" -#: ../terminatorlib/plugins/terminalshot.py:28 +#: ../terminatorlib/plugins/terminalshot.py:29 msgid "Terminal _screenshot" msgstr "" -#: ../terminatorlib/plugins/terminalshot.py:37 +#: ../terminatorlib/plugins/terminalshot.py:38 msgid "Save image" msgstr "" diff --git a/terminatorlib/container.py b/terminatorlib/container.py index d7155dfa..1027132c 100755 --- a/terminatorlib/container.py +++ b/terminatorlib/container.py @@ -171,8 +171,15 @@ class Container(object): primary = Gtk.Label(label=_('Close multiple terminals?')) primary.set_use_markup(True) primary.set_alignment(0, 0.5) - secondary = Gtk.Label(label=_('This %s has several terminals open. Closing \ -the %s will also close all terminals within it.') % (reqtype, reqtype)) + if reqtype == 'window': + label_text = _('This window has several terminals open. Closing \ +the window will also close all terminals within it.') + elif reqtype == 'tab': + label_text = _('This tab has several terminals open. Closing \ +the tab will also close all terminals within it.') + else: + label_text = '' + secondary = Gtk.Label(label=label_text) secondary.set_line_wrap(True) labels = Gtk.VBox()