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.tablespace', [
|
||||
type: 'coll-tablespace',
|
||||
columns: ['name', 'spcuser', 'description'],
|
||||
hasStatistics: true,
|
||||
statsPrettifyFields: ['Size'],
|
||||
statsPrettifyFields: [gettext('Size')],
|
||||
canDrop: true,
|
||||
canDropCascade: false,
|
||||
});
|
||||
@@ -42,7 +42,7 @@ define('pgadmin.node.tablespace', [
|
||||
canDrop: true,
|
||||
hasDepends: true,
|
||||
hasStatistics: true,
|
||||
statsPrettifyFields: ['Size'],
|
||||
statsPrettifyFields: [gettext('Size')],
|
||||
Init: function() {
|
||||
/* Avoid mulitple registration of menus */
|
||||
if (this.initialized)
|
||||
|
||||
Reference in New Issue
Block a user