From: | Alvaro Herrera <alvherre(at)2ndquadrant(dot)com> |
---|---|
To: | Pg Hackers <pgsql-hackers(at)postgresql(dot)org> |
Cc: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-translators(at)postgresql(dot)org |
Subject: | Re: [HACKERS] translatable string fixes |
Date: | 2017-05-23 00:15:57 |
Message-ID: | 20170523001557.bq2hbq7hxyvyw62q@alvherre.pgsql |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers pgsql-translators |
It took me a very long time to figure out how to translate these 9.6-new
strings in the AM validate routines:
msgid "gin operator family \"%s\" contains support procedure %s with cross-type registration"
The problem I had was that the term "cross-type registration" is not
used anywhere else, it's not clear what it means, and (worst from my
POV) I couldn't think of any decent phrasing in Spanish for it. After
staring at the code for a while, I translated them roughly as:
"gin operator family %s contains support procedure %s registered with differing types"
which I think is a tad clearer ... but as a user confronted with such a
message, I would be at a complete loss on what to do about it.
Maybe we can use this phrasing:
"gin operator family %s contains support procedure %s registered with different left and right types"
The other complaint I have about this one and also other amvalidate
functions is the hardcoded AM name, so it's actually one string per AM,
which is annoying (a total of twenty-something messages which are
actually only four or five different ones). Ignoring the second part of
the phrase now, we could use this:
"operator family %s of access method %s contains support procedure %s with cross-type registration"
Thoughts?
--
Álvaro Herrera https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
From | Date | Subject | |
---|---|---|---|
Next Message | Michael Paquier | 2017-05-23 00:26:04 | Re: Improve logical decoding error message (was wal_level > WAL_LEVEL_LOGICAL) |
Previous Message | Chapman Flack | 2017-05-22 23:54:57 | Re: PG10 Crash-safe and replicable Hash Indexes and UNIQUE |
From | Date | Subject | |
---|---|---|---|
Next Message | Alvaro Herrera | 2017-05-23 00:28:27 | pg_upgrade translation |
Previous Message | Euler Taveira | 2017-05-22 03:00:46 | Re: Typo in pt_BR translation |