mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Ensure treeview collection nodes are translated in the UI. Fixes #1962
This commit is contained in:
committed by
Dave Page
parent
c0da81e8ec
commit
48b0a3f2d2
@@ -126,11 +126,11 @@ class CollectionNodeModule(PgAdminModule, PGChildModule):
|
||||
Label to be shown for the collection node, do not forget to set the
|
||||
class level variable COLLECTION_LABEL.
|
||||
"""
|
||||
return self.COLLECTION_LABEL
|
||||
return gettext(self.COLLECTION_LABEL)
|
||||
|
||||
@property
|
||||
def label(self):
|
||||
return self.COLLECTION_LABEL
|
||||
return gettext(self.COLLECTION_LABEL)
|
||||
|
||||
@property
|
||||
def collection_icon(self):
|
||||
|
||||
Reference in New Issue
Block a user