mirror of
https://github.com/postgres/postgres.git
synced 2025-07-18 17:42:25 +03:00
Fix set of NLS translation issues
While monitoring the code, a couple of issues related to string translation has showed up: - Some routines for auto-updatable views return an error string, which sometimes missed the shot. A comment regarding string translation is added for each routine to help with future features. - GSSAPI authentication missed two translations. - vacuumdb handles non-translated strings. - GetConfigOptionByNum should translate strings. This part is not back-patched as after a minor upgrade this could be surprising for users. Reported-by: Kyotaro Horiguchi Author: Kyotaro Horiguchi Reviewed-by: Michael Paquier, Tom Lane Discussion: https://postgr.es/m/20180810.152131.31921918.horiguchi.kyotaro@lab.ntt.co.jp Backpatch-through: 9.3
This commit is contained in:
@ -8454,13 +8454,13 @@ GetConfigOptionByNum(int varnum, const char **values, bool *noshow)
|
||||
values[2] = NULL;
|
||||
|
||||
/* group */
|
||||
values[3] = config_group_names[conf->group];
|
||||
values[3] = _(config_group_names[conf->group]);
|
||||
|
||||
/* short_desc */
|
||||
values[4] = conf->short_desc;
|
||||
values[4] = _(conf->short_desc);
|
||||
|
||||
/* extra_desc */
|
||||
values[5] = conf->long_desc;
|
||||
values[5] = _(conf->long_desc);
|
||||
|
||||
/* context */
|
||||
values[6] = GucContext_Names[conf->context];
|
||||
|
Reference in New Issue
Block a user