Ensure database driver names and description strings can be translated. Fixes #2190

This commit is contained in:
Khushboo Vashi
2017-04-18 13:33:27 +01:00
committed by Dave Page
parent d663d553c5
commit a3007b7335
2 changed files with 13 additions and 7 deletions

View File

@@ -12,6 +12,12 @@ from pgadmin.browser.server_groups.servers.types import ServerType
class PPAS(ServerType):
UTILITY_PATH_LABEL = gettext("EDB Advanced Server Binary Path")
UTILITY_PATH_HELP = gettext(
"Path to the directory containing the EDB Advanced Server utility"
" programs (pg_dump, pg_restore etc)."
)
def instanceOf(self, ver):
return ver.startswith("EnterpriseDB")