Improve translatability of error messages for external modules by tweaking
Alvaro Herrera <alvherre@alvh.no-ip.org>
Improve translatability of error messages for external modules by tweaking the ereport macro. Included in this commit are enough files for starting plpgsql, plpython, plperl and pltcl translations.
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/utils/error/elog.c | modified | +6 −4 |
| src/backend/utils/init/miscinit.c | modified | +15 −1 |
| src/include/miscadmin.h | modified | +2 −1 |
| src/include/utils/elog.h | modified | +17 −4 |
| src/pl/plperl/nls.mk | added | +5 −0 |
| src/pl/plperl/plperl.c | modified | +8 −2 |
| src/pl/plpgsql/src/nls.mk | added | +8 −0 |
| src/pl/plpgsql/src/pl_handler.c | modified | +3 −1 |
| src/pl/plpgsql/src/plpgsql.h | modified | +5 −1 |
| src/pl/plpython/nls.mk | added | +5 −0 |
| src/pl/plpython/plpython.c | modified | +7 −1 |
| src/pl/tcl/nls.mk | added | +5 −0 |
| src/pl/tcl/pltcl.c | modified | +7 −1 |