More string tweaks.

This commit is contained in:
Dave Page 2016-08-19 11:48:34 +01:00
parent 761b54ce69
commit d5f6c63ead
2 changed files with 16 additions and 16 deletions

View File

@ -144,13 +144,13 @@
<li>
<a id="btn-auto-commit" href="#">
<i class="auto-commit fa fa-check visibility-hidden" aria-hidden="true"></i>
<span> {{ _('Auto-Commit') }} </span>
<span> {{ _('Auto commit?') }} </span>
</a>
</li>
<li>
<a id="btn-auto-rollback" href="#">
<i class="auto-rollback fa fa-check visibility-hidden" aria-hidden="true"></i>
<span> {{ _('Auto-Rollback') }} </span>
<span> {{ _('Auto rollback?') }} </span>
</a>
</li>
</ul>

View File

@ -93,38 +93,38 @@ class SqlEditorModule(PgAdminModule):
)
self.explain_verbose = self.preference.register(
'Explain Options', 'explain_verbose',
gettext("Verbose"), 'boolean', False,
category_label=gettext('Explain Options')
'Explain', 'explain_verbose',
gettext("Verbose output?"), 'boolean', False,
category_label=gettext('Explain')
)
self.explain_costs = self.preference.register(
'Explain Options', 'explain_costs',
gettext("Costs"), 'boolean', False,
category_label=gettext('Explain Options')
'Explain', 'explain_costs',
gettext("Show costs?"), 'boolean', False,
category_label=gettext('Explain')
)
self.explain_buffers = self.preference.register(
'Explain Options', 'explain_buffers',
gettext("Buffers"), 'boolean', False,
category_label=gettext('Explain Options')
'Explain', 'explain_buffers',
gettext("Show buffers?"), 'boolean', False,
category_label=gettext('Explain')
)
self.explain_timing = self.preference.register(
'Explain Options', 'explain_timing',
gettext("Timing"), 'boolean', False,
category_label=gettext('Explain Options')
'Explain', 'explain_timing',
gettext("Show timing"), 'boolean', False,
category_label=gettext('Explain')
)
self.auto_commit = self.preference.register(
'Options', 'auto_commit',
gettext("Auto-Commit"), 'boolean', True,
gettext("Auto commit?"), 'boolean', True,
category_label=gettext('Options')
)
self.auto_rollback = self.preference.register(
'Options', 'auto_rollback',
gettext("Auto-Rollback"), 'boolean', False,
gettext("Auto rollback?"), 'boolean', False,
category_label=gettext('Options')
)