String improvements.

This commit is contained in:
Dave Page 2016-06-17 14:35:16 +01:00
parent fd6c43b393
commit 69d8f01d01
2 changed files with 4 additions and 4 deletions

View File

@ -17,4 +17,4 @@ class PPAS(ServerType):
return ver.startswith("EnterpriseDB")
# Default Server Type
PPAS('ppas', gettext("Postgres Plus Advanced Server"), 2)
PPAS('ppas', gettext("EDB Advanced Server"), 2)

View File

@ -50,10 +50,10 @@ class ServerType(object):
st.utility_path = paths.register(
'bin_paths', st.stype + '_bin_dir',
_("{0} bin path").format(st.stype.upper()),
_("{0} Binary Path").format(st.desc),
'text', "", category_label=_('Binary paths'),
help_str=_(
"Set the PATH where the {0} binary utilities can be found...".format(
"Path to the {0} binary utilities.".format(
st.desc
)
)
@ -104,7 +104,7 @@ class ServerType(object):
res = 'psql'
else:
raise Exception(
_("Couldn't find the utility for the operation '%s'".format(
_("Could not find the utility for the operation '%s'".format(
operation
))
)