Patch #6258.
authorBen Pfaff <blp@gnu.org>
Tue, 6 Nov 2007 06:23:25 +0000 (06:23 +0000)
committerBen Pfaff <blp@gnu.org>
Tue, 6 Nov 2007 06:23:25 +0000 (06:23 +0000)
commit51d8c9b54d65bd0aa3944b8fb9d4460875048e14
treead4fdb5b108bbb8cb7783317505ab60d6504662c
parent2ad5fe55e454b8ccb271a710e2c4b1b53c57fc8c
Patch #6258.

* command.c (report_state_mismatch): Replace code to construct an
error message from bits and pieces by a switch statement that
hard-codes each possible error.  Makes i18n easier.
Suggested by Chusslove Illich <caslav.ilic@gmx.net>.

* file-handle-def.c (fh_lock): Add comment that TYPE should be
marked with N_() in the caller.  Added these markings to each
caller too.  Should make i18n easier.
Suggested by Chusslove Illich <caslav.ilic@gmx.net>.
src/data/ChangeLog
src/data/file-handle-def.c
src/data/por-file-reader.c
src/data/por-file-writer.c
src/data/scratch-writer.c
src/data/sys-file-reader.c
src/data/sys-file-writer.c
src/language/ChangeLog
src/language/command.c
src/language/data-io/data-reader.c
src/language/data-io/data-writer.c