Minor fix to translation strings for languages with articles/genders as per LP Question 408095

This commit is contained in:
Stephen Boddy 2017-01-12 16:51:59 +01:00
parent 2bc19498ea
commit 47eaf64bb3
2 changed files with 45 additions and 33 deletions

View File

@ -8,7 +8,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: PACKAGE VERSION\n" "Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \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" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n" "Language-Team: LANGUAGE <LL@li.org>\n"
@ -160,14 +160,19 @@ msgstr ""
msgid "<big><b>Close multiple terminals?</b></big>" msgid "<big><b>Close multiple terminals?</b></big>"
msgstr "" msgstr ""
#: ../terminatorlib/container.py:174 #: ../terminatorlib/container.py:175
#, python-format
msgid "" 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." "terminals within it."
msgstr "" msgstr ""
#: ../terminatorlib/container.py:191 #: ../terminatorlib/container.py:198
msgid "Do not show this message next time" msgid "Do not show this message next time"
msgstr "" msgstr ""
@ -332,7 +337,7 @@ msgstr ""
msgid "tab" msgid "tab"
msgstr "" msgstr ""
#: ../terminatorlib/notebook.py:572 #: ../terminatorlib/notebook.py:573
msgid "Close Tab" msgid "Close Tab"
msgstr "" msgstr ""
@ -463,89 +468,89 @@ msgid "Custom Commands Configuration"
msgstr "" msgstr ""
#: ../terminatorlib/plugins/custom_commands.py:124 #: ../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/logger.py:22
#: ../terminatorlib/plugins/terminalshot.py:20 #: ../terminatorlib/plugins/terminalshot.py:21
msgid "_Cancel" msgid "_Cancel"
msgstr "" msgstr ""
#: ../terminatorlib/plugins/custom_commands.py:125 #: ../terminatorlib/plugins/custom_commands.py:125
#: ../terminatorlib/plugins/custom_commands.py:271 #: ../terminatorlib/plugins/custom_commands.py:274
msgid "_OK" msgid "_OK"
msgstr "" msgstr ""
#: ../terminatorlib/plugins/custom_commands.py:151 #: ../terminatorlib/plugins/custom_commands.py:152
msgid "Enabled" msgid "Enabled"
msgstr "" msgstr ""
#: ../terminatorlib/plugins/custom_commands.py:155 #: ../terminatorlib/plugins/custom_commands.py:156
#: ../terminatorlib/preferences.glade.h:137 #: ../terminatorlib/preferences.glade.h:137
msgid "Name" msgid "Name"
msgstr "" msgstr ""
#: ../terminatorlib/plugins/custom_commands.py:159 #: ../terminatorlib/plugins/custom_commands.py:160
#: ../terminatorlib/preferences.glade.h:103 #: ../terminatorlib/preferences.glade.h:103
msgid "Command" msgid "Command"
msgstr "" msgstr ""
#: ../terminatorlib/plugins/custom_commands.py:173 #: ../terminatorlib/plugins/custom_commands.py:174
#: ../terminatorlib/preferences.glade.h:37 #: ../terminatorlib/preferences.glade.h:37
msgid "Top" msgid "Top"
msgstr "" msgstr ""
#: ../terminatorlib/plugins/custom_commands.py:179 #: ../terminatorlib/plugins/custom_commands.py:180
msgid "Up" msgid "Up"
msgstr "" msgstr ""
#: ../terminatorlib/plugins/custom_commands.py:185 #: ../terminatorlib/plugins/custom_commands.py:186
msgid "Down" msgid "Down"
msgstr "" msgstr ""
#: ../terminatorlib/plugins/custom_commands.py:191 #: ../terminatorlib/plugins/custom_commands.py:192
msgid "Last" msgid "Last"
msgstr "" msgstr ""
#: ../terminatorlib/plugins/custom_commands.py:197 #: ../terminatorlib/plugins/custom_commands.py:198
msgid "New" msgid "New"
msgstr "" msgstr ""
#: ../terminatorlib/plugins/custom_commands.py:202 #: ../terminatorlib/plugins/custom_commands.py:203
msgid "Edit" msgid "Edit"
msgstr "" msgstr ""
#: ../terminatorlib/plugins/custom_commands.py:208 #: ../terminatorlib/plugins/custom_commands.py:209
msgid "Delete" msgid "Delete"
msgstr "" msgstr ""
#: ../terminatorlib/plugins/custom_commands.py:266 #: ../terminatorlib/plugins/custom_commands.py:269
msgid "New Command" msgid "New Command"
msgstr "" msgstr ""
#: ../terminatorlib/plugins/custom_commands.py:276 #: ../terminatorlib/plugins/custom_commands.py:280
msgid "Enabled:" msgid "Enabled:"
msgstr "" msgstr ""
#: ../terminatorlib/plugins/custom_commands.py:282 #: ../terminatorlib/plugins/custom_commands.py:286
msgid "Name:" msgid "Name:"
msgstr "" msgstr ""
#: ../terminatorlib/plugins/custom_commands.py:288 #: ../terminatorlib/plugins/custom_commands.py:292
msgid "Command:" msgid "Command:"
msgstr "" msgstr ""
#: ../terminatorlib/plugins/custom_commands.py:311 #: ../terminatorlib/plugins/custom_commands.py:315
#: ../terminatorlib/plugins/custom_commands.py:421 #: ../terminatorlib/plugins/custom_commands.py:425
msgid "You need to define a name and command" msgid "You need to define a name and command"
msgstr "" msgstr ""
#: ../terminatorlib/plugins/custom_commands.py:328 #: ../terminatorlib/plugins/custom_commands.py:332
#: ../terminatorlib/plugins/custom_commands.py:440 #: ../terminatorlib/plugins/custom_commands.py:444
#, python-format #, python-format
msgid "Name *%s* already exist" msgid "Name *%s* already exist"
msgstr "" msgstr ""
#: ../terminatorlib/plugins/logger.py:23 #: ../terminatorlib/plugins/logger.py:23
#: ../terminatorlib/plugins/terminalshot.py:21 #: ../terminatorlib/plugins/terminalshot.py:22
msgid "_Save" msgid "_Save"
msgstr "" msgstr ""
@ -557,15 +562,15 @@ msgstr ""
msgid "Stop _Logger" msgid "Stop _Logger"
msgstr "" msgstr ""
#: ../terminatorlib/plugins/logger.py:66 #: ../terminatorlib/plugins/logger.py:67
msgid "Save Log File As" msgid "Save Log File As"
msgstr "" msgstr ""
#: ../terminatorlib/plugins/terminalshot.py:28 #: ../terminatorlib/plugins/terminalshot.py:29
msgid "Terminal _screenshot" msgid "Terminal _screenshot"
msgstr "" msgstr ""
#: ../terminatorlib/plugins/terminalshot.py:37 #: ../terminatorlib/plugins/terminalshot.py:38
msgid "Save image" msgid "Save image"
msgstr "" msgstr ""

View File

@ -171,8 +171,15 @@ class Container(object):
primary = Gtk.Label(label=_('<big><b>Close multiple terminals?</b></big>')) primary = Gtk.Label(label=_('<big><b>Close multiple terminals?</b></big>'))
primary.set_use_markup(True) primary.set_use_markup(True)
primary.set_alignment(0, 0.5) primary.set_alignment(0, 0.5)
secondary = Gtk.Label(label=_('This %s has several terminals open. Closing \ if reqtype == 'window':
the %s will also close all terminals within it.') % (reqtype, reqtype)) 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) secondary.set_line_wrap(True)
labels = Gtk.VBox() labels = Gtk.VBox()