Commit 72be8c2
committed
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.31 parent d8c8380 commit 72be8c2
File tree
6 files changed
+26
-8
lines changed- src
- backend
- commands
- libpq
- rewrite
- utils/misc
- bin/scripts
6 files changed
+26
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10826 | 10826 | | |
10827 | 10827 | | |
10828 | 10828 | | |
10829 | | - | |
| 10829 | + | |
10830 | 10830 | | |
10831 | 10831 | | |
10832 | 10832 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
502 | 502 | | |
503 | 503 | | |
504 | 504 | | |
505 | | - | |
| 505 | + | |
506 | 506 | | |
507 | 507 | | |
508 | 508 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1037 | 1037 | | |
1038 | 1038 | | |
1039 | 1039 | | |
| 1040 | + | |
| 1041 | + | |
| 1042 | + | |
| 1043 | + | |
1040 | 1044 | | |
1041 | 1045 | | |
1042 | 1046 | | |
| |||
1227 | 1231 | | |
1228 | 1232 | | |
1229 | 1233 | | |
1230 | | - | |
| 1234 | + | |
1231 | 1235 | | |
1232 | 1236 | | |
1233 | 1237 | | |
| |||
1253 | 1257 | | |
1254 | 1258 | | |
1255 | 1259 | | |
1256 | | - | |
| 1260 | + | |
1257 | 1261 | | |
1258 | 1262 | | |
1259 | 1263 | | |
| |||
1317 | 1321 | | |
1318 | 1322 | | |
1319 | 1323 | | |
| 1324 | + | |
| 1325 | + | |
| 1326 | + | |
| 1327 | + | |
| 1328 | + | |
1320 | 1329 | | |
1321 | 1330 | | |
1322 | 1331 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2217 | 2217 | | |
2218 | 2218 | | |
2219 | 2219 | | |
| 2220 | + | |
| 2221 | + | |
| 2222 | + | |
2220 | 2223 | | |
2221 | 2224 | | |
2222 | 2225 | | |
| |||
2256 | 2259 | | |
2257 | 2260 | | |
2258 | 2261 | | |
| 2262 | + | |
| 2263 | + | |
| 2264 | + | |
2259 | 2265 | | |
2260 | 2266 | | |
2261 | 2267 | | |
| |||
2396 | 2402 | | |
2397 | 2403 | | |
2398 | 2404 | | |
| 2405 | + | |
| 2406 | + | |
| 2407 | + | |
2399 | 2408 | | |
2400 | 2409 | | |
2401 | 2410 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8454 | 8454 | | |
8455 | 8455 | | |
8456 | 8456 | | |
8457 | | - | |
| 8457 | + | |
8458 | 8458 | | |
8459 | 8459 | | |
8460 | | - | |
| 8460 | + | |
8461 | 8461 | | |
8462 | 8462 | | |
8463 | | - | |
| 8463 | + | |
8464 | 8464 | | |
8465 | 8465 | | |
8466 | 8466 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
371 | 371 | | |
372 | 372 | | |
373 | 373 | | |
374 | | - | |
| 374 | + | |
375 | 375 | | |
376 | 376 | | |
377 | 377 | | |
| |||
0 commit comments