Re: Letter case of "admin option"
От | Alvaro Herrera |
---|---|
Тема | Re: Letter case of "admin option" |
Дата | |
Msg-id | 20220823121704.yxglk4mgfssfmlzf@alvherre.pgsql обсуждение исходный текст |
Ответ на | Letter case of "admin option" (Kyotaro Horiguchi <horikyota.ntt@gmail.com>) |
Список | pgsql-hackers |
On 2022-Aug-23, Kyotaro Horiguchi wrote: > commands/user.c > @707: > > errmsg("must have admin option on role \"%s\" to add members", > @1971: > > errmsg("grantor must have ADMIN OPTION on \"%s\"", > > A grep'ing told me that the latter above is the only outlier among 6 > occurrences in total of "admin option/ADMIN OPTION". > > Don't we unify them? I slightly prefer "ADMIN OPTION" but no problem > with them being in small letters. (Attached). As a translator, it makes a huge difference to have them in upper vs. lower case. In the former case I would keep it untranslated, while in the latter I would translate it. Given that these are keywords to use in a command, I think making them uppercase is the better approach. I see several other messages using "admin option" in lower case in user.c. The Spanish translation contains one translation already and it is somewhat disappointing; I would prefer to have it as uppercase there too. -- Álvaro Herrera PostgreSQL Developer — https://www.EnterpriseDB.com/
В списке pgsql-hackers по дате отправления: