mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Ensure size stats are prettified on the statistics tab when the UI language != English. Fixes #3096
This commit is contained in:
@@ -24,7 +24,7 @@ define('pgadmin.node.database', [
|
||||
hasStatistics: true,
|
||||
canDrop: true,
|
||||
canDropCascade: false,
|
||||
statsPrettifyFields: ['Size', 'Size of temporary files'],
|
||||
statsPrettifyFields: [gettext('Size'), gettext('Size of temporary files')],
|
||||
});
|
||||
}
|
||||
|
||||
@@ -38,7 +38,7 @@ define('pgadmin.node.database', [
|
||||
hasSQL: true,
|
||||
hasDepends: true,
|
||||
hasStatistics: true,
|
||||
statsPrettifyFields: ['Size', 'Size of temporary files'],
|
||||
statsPrettifyFields: [gettext('Size'), gettext('Size of temporary files')],
|
||||
canDrop: function(node) {
|
||||
return node.canDrop;
|
||||
},
|
||||
|
Reference in New Issue
Block a user