pgsql: psql: Fix translation marking

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема pgsql: psql: Fix translation marking
Дата
Msg-id E1ncoTp-000tdS-SJ@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
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(-)


В списке pgsql-committers по дате отправления:

Предыдущее
От: Robert Haas
Дата:
Сообщение: pgsql: Apply PGDLLIMPORT markings broadly.
Следующее
От: Robert Haas
Дата:
Сообщение: pgsql: Rename delayChkpt to delayChkptFlags.