Обсуждение: postgres messages error

Поиск
Список
Период
Сортировка

postgres messages error

От
Martín Marqués
Дата:
Hi there,

I was doing some translation on postgres.po and found a string which
looks mistaken.

#: libpq/auth.c:1593
#, fuzzy, c-format
msgid "could not to look up local user ID %ld: %s"

It looks like there is an extra *to* there , so the string should be:

"could not look up local user ID %ld: %s"

Cheers,

-- 
Martín Marqués                http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services



Re: postgres messages error

От
Adam Brightwell
Дата:
Martin,

#: libpq/auth.c:1593
#, fuzzy, c-format
msgid "could not to look up local user ID %ld: %s"

It looks like there is an extra *to* there , so the string should be:

"could not look up local user ID %ld: %s"

I think you are right.  FWIW, I have attached a patch that fixes it for consideration if others concur.

-Adam

--
Вложения

Re: postgres messages error

От
Tom Lane
Дата:
Adam Brightwell <adam.brightwell@crunchydatasolutions.com> writes:
> Martin,
> #: libpq/auth.c:1593
>> #, fuzzy, c-format
>> msgid "could not to look up local user ID %ld: %s"
>> 
>> It looks like there is an extra *to* there , so the string should be:
>> 
>> "could not look up local user ID %ld: %s"

> I think you are right.  FWIW, I have attached a patch that fixes it for
> consideration if others concur.

I agree, that good English is not.  Will commit.
        regards, tom lane



Re: postgres messages error

От
Alvaro Herrera
Дата:
Tom Lane wrote:
> Adam Brightwell <adam.brightwell@crunchydatasolutions.com> writes:
> > Martin,
> > #: libpq/auth.c:1593
> >> #, fuzzy, c-format
> >> msgid "could not to look up local user ID %ld: %s"
> >> 
> >> It looks like there is an extra *to* there , so the string should be:
> >> 
> >> "could not look up local user ID %ld: %s"
> 
> > I think you are right.  FWIW, I have attached a patch that fixes it for
> > consideration if others concur.
> 
> I agree, that good English is not.  Will commit.

A quick grep reveals also

initdb.po:msgid "%s: could not to allocate SIDs: error code %lu\n"

-- 
Álvaro Herrera                http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services



Re: postgres messages error

От
Tom Lane
Дата:
Alvaro Herrera <alvherre@2ndquadrant.com> writes:
> A quick grep reveals also
> initdb.po:msgid "%s: could not to allocate SIDs: error code %lu\n"

Good catch, I'll get that one too.
        regards, tom lane