pgsql: Improve translatability of some getObjectDescription()messages.

Поиск
Список
Период
Сортировка
От Tom Lane
Тема pgsql: Improve translatability of some getObjectDescription()messages.
Дата
Msg-id E1fLtuZ-0000qt-ET@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Improve translatability of some getObjectDescription() messages.

Refactor some cases in getObjectDescription so that the translator has
more control over phrase order in the translated messages.  This doesn't
cause any changes in the English results.  (I was sorely tempted to
reorder "... belonging to role %s in schema %s" into "... in schema %s
belonging to role %s", but refrained.)

In principle we could back-patch this, but since translators have not
complained about these cases previously, it seems better not to thrash
the translatable strings in back branches.

Kyotaro Horiguchi, tweaked a bit by me

Discussion: https://postgr.es/m/20180522.182020.114074746.horiguchi.kyotaro@lab.ntt.co.jp

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/7c89eb750d0cc4e33c46c62154c461be57883b72

Modified Files
--------------
src/backend/catalog/objectaddress.c | 108 ++++++++++++++++++++++++------------
1 file changed, 73 insertions(+), 35 deletions(-)


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: pgsql: Fix objectaddress.c code for publication relations.
Следующее
От: Tom Lane
Дата:
Сообщение: pgsql: Improve English wording of some other getObjectDescription()mes