mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Further missing translation fixes. Stats now:
1481 of 1831 messages (80%) translated in pgadmin/translations/de/LC_MESSAGES/messages.po 1694 of 1831 messages (92%) translated in pgadmin/translations/ja/LC_MESSAGES/messages.po 1748 of 1831 messages (95%) translated in pgadmin/translations/pl/LC_MESSAGES/messages.po 1750 of 1831 messages (95%) translated in pgadmin/translations/ru/LC_MESSAGES/messages.po 1436 of 1831 messages (78%) translated in pgadmin/translations/zh/LC_MESSAGES/messages.po
This commit is contained in:
committed by
Dave Page
parent
2be418706d
commit
187ab22d90
@@ -257,7 +257,7 @@ define('pgadmin.node.cast', [
|
||||
id: 'syscast', label: gettext('System cast?'),
|
||||
cell: 'switch', type: 'switch', mode: ['properties'], disabled: true,
|
||||
options: {
|
||||
'onText': 'Yes', 'offText': 'No',
|
||||
'onText': gettext('Yes'), 'offText': gettext('No'),
|
||||
'onColor': 'success', 'offColor': 'primary',
|
||||
'size': 'small'
|
||||
}
|
||||
|
||||
@@ -194,7 +194,7 @@ define('pgadmin.node.extension', [
|
||||
id: 'relocatable', label: gettext('Relocatable?'), cell: 'switch',
|
||||
group: gettext('Definition'), type: 'switch', mode: ['properties'],
|
||||
options: {
|
||||
'onText': 'Yes', 'offText': 'No',
|
||||
'onText': gettext('Yes'), 'offText': gettext('No'),
|
||||
'onColor': 'success', 'offColor': 'primary',
|
||||
'size': 'small'
|
||||
}
|
||||
|
||||
@@ -126,7 +126,7 @@ define('pgadmin.node.language', [
|
||||
},{
|
||||
id: 'trusted', label: gettext('Trusted?'), type: 'switch',
|
||||
options: {
|
||||
'onText': 'Yes', 'offText': 'No',
|
||||
'onText': gettext('Yes'), 'offText': gettext('No'),
|
||||
'onColor': 'success', 'offColor': 'primary',
|
||||
'size': 'small'
|
||||
},
|
||||
|
||||
@@ -167,7 +167,7 @@ define('pgadmin.node.domain', [
|
||||
id: 'sysdomain', label: gettext('System domain?'), cell: 'boolean',
|
||||
type: 'switch', mode: ['properties'],
|
||||
options: {
|
||||
'onText': 'Yes', 'offText': 'No',
|
||||
'onText': gettext('Yes'), 'offText': gettext('No'),
|
||||
'onColor': 'success', 'offColor': 'primary',
|
||||
'size': 'small'
|
||||
}
|
||||
@@ -246,7 +246,7 @@ define('pgadmin.node.domain', [
|
||||
id: 'typnotnull', label: gettext('Not Null?'), cell: 'boolean',
|
||||
type: 'switch', group: gettext('Definition'),
|
||||
options: {
|
||||
'onText': 'Yes', 'offText': 'No',
|
||||
'onText': gettext('Yes'), 'offText': gettext('No'),
|
||||
'onColor': 'success', 'offColor': 'primary',
|
||||
'size': 'small'
|
||||
}
|
||||
|
||||
@@ -265,7 +265,7 @@ define('pgadmin.node.function', [
|
||||
id: 'proisstrict', label: gettext('Strict?'), type: 'switch',
|
||||
group: gettext('Options'), disabled: 'isDisabled',
|
||||
options: {
|
||||
'onText': 'Yes', 'offText': 'No',
|
||||
'onText': gettext('Yes'), 'offText': gettext('No'),
|
||||
'onColor': 'success', 'offColor': 'primary',
|
||||
'size': 'small'
|
||||
}
|
||||
|
||||
@@ -203,7 +203,7 @@ define('pgadmin.node.trigger_function', [
|
||||
id: 'proisstrict', label: gettext('Strict?'), type: 'switch',
|
||||
disabled: 'isDisabled', group: gettext('Options'),
|
||||
options: {
|
||||
'onText': 'Yes', 'offText': 'No',
|
||||
'onText': gettext('Yes'), 'offText': gettext('No'),
|
||||
'onColor': 'success', 'offColor': 'primary',
|
||||
'size': 'small'
|
||||
}
|
||||
|
||||
@@ -173,7 +173,7 @@ define('pgadmin.node.sequence', [
|
||||
id: 'cycled', label: gettext('Cycled'), type: 'switch',
|
||||
mode: ['properties', 'create', 'edit'], group: gettext('Definition'),
|
||||
options: {
|
||||
'onText': 'Yes', 'offText': 'No',
|
||||
'onText': gettext('Yes'), 'offText': gettext('No'),
|
||||
'onColor': 'success', 'offColor': 'primary',
|
||||
'size': 'small'
|
||||
}
|
||||
|
||||
@@ -177,7 +177,7 @@ define('pgadmin.node.synonym', [
|
||||
},{
|
||||
id: 'is_public_synonym', label: gettext('Public synonym?'),
|
||||
disabled: true, type: 'switch', mode: ['properties'], cell: 'switch',
|
||||
options: { onText: 'Yes', offText: 'No', onColor: 'success',
|
||||
options: { onText: gettext('Yes'), offText: gettext('No'), onColor: 'success',
|
||||
offColor: 'primary', size: 'mini'}
|
||||
}
|
||||
],
|
||||
|
||||
@@ -499,7 +499,7 @@ define('pgadmin.node.column', [
|
||||
id: 'attnotnull', label: gettext('Not NULL?'), cell: 'switch',
|
||||
type: 'switch', disabled: 'inSchemaWithColumnCheck', cellHeaderClasses:'width_percent_20',
|
||||
group: gettext('Definition'), editable: 'editable_check_for_table',
|
||||
options: { onText: 'Yes', offText: 'No', onColor: 'success', offColor: 'primary' }
|
||||
options: { onText: gettext('Yes'), offText: gettext('No'), onColor: 'success', offColor: 'primary' }
|
||||
},{
|
||||
id: 'attstattarget', label: gettext('Statistics'), cell: 'string',
|
||||
type: 'text', disabled: 'inSchemaWithColumnCheck', mode: ['properties', 'edit'],
|
||||
|
||||
@@ -936,13 +936,13 @@ function(gettext, url_for, $, _, S, pgAdmin, pgBrowser, Backform, alertify) {
|
||||
}
|
||||
else {
|
||||
alertify.alert(
|
||||
'Error fetching tables to be attached', res.data.result
|
||||
gettext('Error fetching tables to be attached'), res.data.result
|
||||
);
|
||||
}
|
||||
},
|
||||
error: function(e) {
|
||||
var errmsg = $.parseJSON(e.responseText);
|
||||
alertify.alert('Error fetching tables to be attached.', errmsg.errormsg);
|
||||
alertify.alert(gettext('Error fetching tables to be attached'), errmsg.errormsg);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
@@ -242,7 +242,7 @@ function(gettext, $, _, pgBrowser, Backform, Backgrid) {
|
||||
id: 'oid', label: gettext('OID'), type: 'text'
|
||||
},{
|
||||
id: 'is_attach', label:gettext('Operation'), cell: 'switch',
|
||||
type: 'switch', options: { 'onText': 'Attach', 'offText': 'Create'},
|
||||
type: 'switch', options: { 'onText': gettext('Attach'), 'offText': gettext('Create')},
|
||||
cellHeaderClasses: 'width_percent_5',
|
||||
editable: function(m) {
|
||||
if (m instanceof Backbone.Model && m.isNew() && !m.top.isNew())
|
||||
|
||||
@@ -979,13 +979,13 @@ define('pgadmin.node.table', [
|
||||
}
|
||||
else {
|
||||
alertify.alert(
|
||||
'Error fetching tables to be attached', res.data.result
|
||||
gettext('Error fetching tables to be attached'), res.data.result
|
||||
);
|
||||
}
|
||||
},
|
||||
error: function(e) {
|
||||
var errmsg = $.parseJSON(e.responseText);
|
||||
alertify.alert('Error fetching tables to be attached.', errmsg.errormsg);
|
||||
alertify.alert(gettext('Error fetching tables to be attached'), errmsg.errormsg);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
@@ -292,18 +292,18 @@ define('pgadmin.node.mview', [
|
||||
dataType: "json",
|
||||
success: function(res) {
|
||||
if (res.success == 1) {
|
||||
alertify.success('View refreshed successfully');
|
||||
alertify.success(gettext('View refreshed successfully'));
|
||||
}
|
||||
else {
|
||||
alertify.alert(
|
||||
'Error refreshing view',
|
||||
gettext('Error refreshing view'),
|
||||
res.data.result
|
||||
);
|
||||
}
|
||||
},
|
||||
error: function(e) {
|
||||
var errmsg = $.parseJSON(e.responseText);
|
||||
alertify.alert('Error refreshing view', errmsg.errormsg);
|
||||
alertify.alert(gettext('Error refreshing view'), errmsg.errormsg);
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
@@ -393,7 +393,7 @@ define('pgadmin.node.database', [
|
||||
editable: false, type: 'switch', group: gettext('Definition'),
|
||||
mode: ['properties'], disabled: true,
|
||||
options: {
|
||||
'onText': 'Yes', 'offText': 'No',
|
||||
'onText': gettext('Yes'), 'offText': gettext('No'),
|
||||
'onColor': 'success', 'offColor': 'primary',
|
||||
'size': 'small'
|
||||
}
|
||||
|
||||
@@ -64,7 +64,7 @@ define('pgadmin.node.role', [
|
||||
});
|
||||
|
||||
var switchOptions = {
|
||||
'onText': 'Yes', 'offText': 'No',
|
||||
'onText': gettext('Yes'), 'offText': gettext('No'),
|
||||
'size': 'mini'
|
||||
};
|
||||
|
||||
|
||||
@@ -645,7 +645,7 @@ define('pgadmin.node.server', [
|
||||
},{
|
||||
id: 'connected', label: gettext('Connected?'), type: 'switch',
|
||||
mode: ['properties'], group: gettext('Connection'), 'options': {
|
||||
'onText': 'True', 'offText': 'False', 'onColor': 'success',
|
||||
'onText': gettext('True'), 'offText': gettext('False'), 'onColor': 'success',
|
||||
'offColor': 'danger', 'size': 'small'
|
||||
}
|
||||
},{
|
||||
@@ -725,7 +725,7 @@ define('pgadmin.node.server', [
|
||||
},{
|
||||
id: 'sslcompression', label: gettext('SSL compression?'), type: 'switch',
|
||||
mode: ['edit', 'create'], group: gettext('SSL'),
|
||||
'options': { 'onText': 'True', 'offText': 'False',
|
||||
'options': { 'onText': gettext('True'), 'offText': gettext('False'),
|
||||
'onColor': 'success', 'offColor': 'danger', 'size': 'small'},
|
||||
deps: ['sslmode'], disabled: 'isSSL'
|
||||
},{
|
||||
@@ -763,7 +763,7 @@ define('pgadmin.node.server', [
|
||||
},{
|
||||
id: 'sslcompression', label: gettext('SSL compression?'), type: 'switch',
|
||||
mode: ['properties'], group: gettext('SSL'),
|
||||
'options': { 'onText': 'True', 'offText': 'False',
|
||||
'options': { 'onText': gettext('True'), 'offText': gettext('False'),
|
||||
'onColor': 'success', 'offColor': 'danger', 'size': 'small'},
|
||||
deps: ['sslmode'], visible: function(m) {
|
||||
var sslmode = m.get('sslmode');
|
||||
|
||||
@@ -627,7 +627,7 @@ define(
|
||||
if (!(_.isFunction(obj.canDropCascade) ?
|
||||
obj.canDropCascade.apply(obj, [d, i]) : obj.canDropCascade)) {
|
||||
Alertify.error(
|
||||
S('The %s "%s" cannot be dropped!')
|
||||
S( gettext('The %s "%s" cannot be dropped.'))
|
||||
.sprintf(obj.label, d.label).value(),
|
||||
10
|
||||
);
|
||||
@@ -641,7 +641,7 @@ define(
|
||||
if (!(_.isFunction(obj.canDrop) ?
|
||||
obj.canDrop.apply(obj, [d, i]) : obj.canDrop)) {
|
||||
Alertify.error(
|
||||
S('The %s "%s" cannot be dropped!')
|
||||
S( gettext('The %s "%s" cannot be dropped.'))
|
||||
.sprintf(obj.label, d.label).value(),
|
||||
10
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user