BUG #14369: incorrect translation of error message to russian

From: alexey(dot)ermakov(at)postgresql-consulting(dot)com
To: pgsql-bugs(at)postgresql(dot)org
Subject: BUG #14369: incorrect translation of error message to russian
Date: 2016-10-13 10:22:59
Message-ID: 20161013102259.1398.208@wrigleys.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

The following bug has been logged on the website:

Bug reference: 14369
Logged by: Alexey Ermakov
Email address: alexey(dot)ermakov(at)postgresql-consulting(dot)com
PostgreSQL version: 9.5.4
Operating system: CentOS Linux release 7.2.1511 (Core)
Description:

Hello,

it seems there is confusing error message in russian when client is trying
to connect from a host which is not in pg_hba.
it says that connection is used for replication but in fact it is not.

/src/backend/po/ru.po:11605

#: libpq/auth.c:482
#, c-format
msgid "no pg_hba.conf entry for host \"%s\", user \"%s\", database \"%s\",
%s"
msgstr ""
"в pg_hba.conf нет записи, разрешающей подключение для репликации с "
"компьютера \"%s\" для пользователя \"%s\", базы данных \"%s\", %s"

I think it should be something like this:

#: libpq/auth.c:482
#, c-format
msgid "no pg_hba.conf entry for host \"%s\", user \"%s\", database \"%s\",
%s"
msgstr ""
"в pg_hba.conf нет записи, разрешающей подключение с "
"компьютера \"%s\" для пользователя \"%s\", базы данных \"%s\", %s"

steps to reproduce:

1) comment out line in default pg_hba:
#host all all 127.0.0.1/32 ident

2) lc_messages = ru_RU.UTF-8

3) reload

4)
-bash-4.2$ psql -h 127.0.0.1
psql: ВАЖНО: в pg_hba.conf нет записи, разрешающей подключение для
репликации с компьютера "127.0.0.1" для пользователя "postgres", базы данных
"postgres", SSL выкл.

Browse pgsql-bugs by date

  From Date Subject
Next Message Peter Geoghegan 2016-10-13 17:27:15 Re: BUG #14344: string_agg(DISTINCT ..) crash
Previous Message Ranjeet Verma 2016-10-13 08:10:56 Table Partitioning with Foreign Data Wrapper