swedish pg_controldata

Started by Dennis Bjorklundalmost 24 years ago3 messagespatches
Jump to latest
#1Dennis Bjorklund
db@zigo.dhs.org

Here is a swedish translation for pg_controldata.

Remember to add sv to nls.mk

I never know what version number I should put in to the translation. Now I
put in "Project-Id-Version: PostgreSQL 7.2.2", but that is not true, and
7.3 would not be true either. If someone have a comment about that, please
tell me.

I have also added a small patch for some strings that where not marked in
pg_controldata. I have not added these to the sv.po file.

I think strings like "IN_PRODUCTION" should also be changed in english. I
would rather have "IN PRODUCTION" or "In production". These strings are
only for displaying to the user, they don't have to match the #defines in
the program (like DB_IN_PRODUCTION).

ps. I assume that the warning of bad CRC I get when I run pg_control is
because I have an old database (7.2.1) and this is the cvs version.

--
/Dennis

Attachments:

pg_controldata_missing_strings.patchtext/plain; charset=US-ASCII; name=pg_controldata_missing_strings.patchDownload+5-5
pg_controldata-sv.potext/plain; charset=ISO-8859-1; name=pg_controldata-sv.poDownload
#2Peter Eisentraut
peter_e@gmx.net
In reply to: Dennis Bjorklund (#1)
Re: swedish pg_controldata

Dennis Bjᅵrklund writes:

Here is a swedish translation for pg_controldata.

Remember to add sv to nls.mk

Will do.

I never know what version number I should put in to the translation. Now I
put in "Project-Id-Version: PostgreSQL 7.2.2", but that is not true, and
7.3 would not be true either. If someone have a comment about that, please
tell me.

The authorative answer is that it doesn't matter. The field is there, so
it's reasonable to fill it with something. I suggest that we stick to the
major version of the branch you're working on, so it'd be 7.3 right now
and for the rest of the 7.3.* series.

I have also added a small patch for some strings that where not marked in
pg_controldata. I have not added these to the sv.po file.

I think strings like "IN_PRODUCTION" should also be changed in english. I
would rather have "IN PRODUCTION" or "In production". These strings are
only for displaying to the user, they don't have to match the #defines in
the program (like DB_IN_PRODUCTION).

These strings reflect the internal symbols of the values in the respective
field, which, I would say, is an artifact of the original hackish nature
of pg_controldata. But now that it's an official tool we should change
them to something human readable, as you suggest.

--
Peter Eisentraut peter_e@gmx.net

#3Peter Eisentraut
peter_e@gmx.net
In reply to: Dennis Bjorklund (#1)
Re: swedish pg_controldata

Dennis Bjᅵrklund writes:

Here is a swedish translation for pg_controldata.

Done, and I also changed the remaining unmarked strings to human readable
versions following your suggestion.

--
Peter Eisentraut peter_e@gmx.net