Mercurial > pidgin
annotate src/protocols/zephyr/com_err.h @ 13545:cfc2f7fcb3dd
[gaim-migrate @ 15922]
Way more changes that I initially thought I was going to make. I apologize
for the commit message spam. These changes bring a lot of consistency to
our capitalization and punctuation, especially of words like "e-mail".
For reference, I've used these rules (after discussing in #gaim):
e-mail, a case of two words joined:
"e-mail" - in the middle of a sentence caps context
"E-mail" - start of text in a sentence caps context
"E-Mail" - in a header (title) caps context
re-enable, a single word, would be:
"re-enable", "Re-enable", and "Re-enable" (respectively)
The reason this changeset exploded is that, as I went through and verified
these changes, I realized we were using improper capitalization (e.g. header
instead of sentence) in a number of dialogs. I fixed a number of these
cases before, and this corrects another pile.
This looks like I've made a LOT of work for the translators, but the impact
is significantly mitigated by three factors: 1) Many of these changes use
strings that already exist, or change one string in many places. 2) I've
used sed to correct the .po files where possible. 3) The actual changes
are extremely trivial.
committer: Tailor Script <tailor@pidgin.im>
| author | Richard Laager <rlaager@wiktel.com> |
|---|---|
| date | Tue, 21 Mar 2006 04:32:45 +0000 |
| parents | 424a40f12a6c |
| children |
| rev | line source |
|---|---|
| 2086 | 1 /* |
| 2 * Header file for common error description library. | |
| 3 * | |
| 4 * Copyright 1988, Student Information Processing Board of the | |
| 5 * Massachusetts Institute of Technology. | |
| 6 * | |
| 7 * For copyright and distribution info, see the documentation supplied | |
| 8 * with this package. | |
| 9 */ | |
| 10 | |
| 11 #ifndef __COM_ERR_H | |
| 12 #define __COM_ERR_H | |
| 13 | |
| 14 #define COM_ERR_BUF_LEN 25 | |
| 15 | |
| 16 /* Use __STDC__ to guess whether we can use stdarg, prototypes, and const. | |
| 17 * This is a public header file, so autoconf can't help us here. */ | |
| 18 #ifdef __STDC__ | |
| 19 # include <stdarg.h> | |
| 20 # define ETP(x) x | |
| 21 # define ETCONST const | |
| 22 #else | |
| 23 # define ETP(x) () | |
| 24 # define ETCONST | |
| 25 #endif | |
| 26 | |
| 27 typedef void (*error_handler_t) ETP((ETCONST char *, long, ETCONST char *, | |
| 28 va_list)); | |
| 29 extern error_handler_t com_err_hook; | |
| 30 void com_err ETP((ETCONST char *, long, ETCONST char *, ...)); | |
| 31 ETCONST char *error_message ETP((long)); | |
| 32 ETCONST char *error_message_r ETP((long, char *)); | |
| 33 error_handler_t set_com_err_hook ETP((error_handler_t)); | |
| 34 error_handler_t reset_com_err_hook ETP((void)); | |
| 35 | |
| 36 #undef ETP | |
| 37 | |
| 38 #endif /* ! defined(__COM_ERR_H) */ |
