Hi
On Friday, March 31, 2017, Khushboo Vashi <
khushboo.vashi@enterprisedb.com> wrote:
All I see in the patch is updates to the message catalog. It seems to me there should be chunks in there to push the entire string back into the relevant driver, otherwise the changes to the messages.po files will be overwritten the next time I do an extract/merge.
Essentially, I think we need to add properties to the drivers, such as:
BIN_PATH_LABEL = _("PostgreSQL Binary Path")
BIN_PATH_HELP = _("Path to the directory containing the PostgreSQL utility programs (pg_dump, pg_restore etc).")
Then in types.py, we'd have something like:
st.utility_path = paths.register(
'bin_paths', st.stype + '_bin_dir',
st.BIN_PATH_LABEL,
'text', default_path, category_label=_('Binary paths'),
help_str=st.BIN_PATH_HELP
)
)
Thanks.
--
Dave Page
Blog:
http://pgsnake.blogspot.comTwitter: @pgsnake
EnterpriseDB UK:
http://www.enterprisedb.comThe Enterprise PostgreSQL Company