Thread: pgsql: psql: Fix translation marking

pgsql: psql: Fix translation marking

From
Peter Eisentraut
Date:
psql: Fix translation marking

Commit 5a2832465fd8984d089e8c44c094e6900d987fcd added
addFooterToPublicationDesc() as a wrapper around
printTableAddFooter().  The translation marker _() was moved to the
body of addFooterToPublicationDesc(), but addFooterToPublicationDesc()
was not added to GETTEXT_TRIGGERS, so those strings were lost for
translation.  To fix, add the translation markers to the call sites of
addFooterToPublicationDesc() and remove the translation marker from
the body of the function.  This seems easiest since there were only
two callers and it keeps the API consistent with
printTableAddFooter().  While we're here, add some const decorations
to the prototype of addFooterToPublicationDesc() for consistency with
printTableAddFooter().

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/891624f0ec3b3d353269b0bfc7bc545333d6b4d5

Modified Files
--------------
src/bin/psql/describe.c | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)