Fix general category default.

This commit is contained in:
Dave Page
2016-04-12 17:00:12 +01:00
parent fc8c3db33f
commit edf9f25691
2 changed files with 2 additions and 2 deletions

View File

@@ -10,7 +10,7 @@ function(_, S, pgAdmin) {
pgBrowser.messages = {
'SERVER_LOST': '{{ _('Connection to the server has been lost!') }}',
'CLICK_FOR_DETAILED_MSG': '%s<br><br>' + '{{ _('Click here for details!')|safe }}',
'GENERAL_CATEOGTY': '{{ _('General')|safe }}',
'GENERAL_CATEGORY': '{{ _("General")|safe }}',
'SQL_TAB': '{{ _('SQL') }}',
'SQL_NO_CHANGE': '-- ' + '{{ _('Nothing changed')|safe }}',
'MUST_BE_INT' : "{{ _("'%%s' must be an integer.")|safe }}",

View File

@@ -1631,7 +1631,7 @@
_.indexOf(s.mode, mode) != -1)) {
// Each field is kept in specified group, or in
// 'General' category.
var group = s.group || pgBrowser.messages.GENERAL_CATEOGTY,
var group = s.group || pgBrowser.messages.GENERAL_CATEGORY,
control = s.control || Backform.getMappedControl(s.type, mode),
cell = s.cell || Backform.getMappedControl(s.type, 'cell');