Mercurial > pidgin.yaz
annotate src/server.h @ 6623:156e6643f9db
[gaim-migrate @ 7147]
Bjoern Voigt writes:
"i18n23.patch contains:
- Updated German translation
- removed some (around 15-30) strings:
The patch reduces the work of the translators a bit and makes the
Gaim UI more consistent for all users (also for the native English
users).
I sorted the translatable strings with:
$ cd po
$ xgettext -s --default-domain=gaim --directory=.. --add-comments \
--keyword=_ --keyword=N_ --files-from=./POTFILES.in
# -> look at gaim.po
A lot of strings look very similar, for instance
"Age" and "Age:"
"Last Name" and "Lastname"
"An error message" and "An error message."
I tried to eliminate one string for each pair. This is possible, if
string concatination functions like g_strconcat() or g_snprintf()
are used. I also changed some uppercase letters to lowercase
letters. But I changed very few strings, because this can be better
done by a native speaker.
THERE IS STILL SOME WORK TO DO:
Most of the error messages have dots (".") at the end, some not.
There are still some spellings of same words, for instance
"screenname" and "screen name". If you are interested, please sort
the strings (see above) and look at the sorted file gaim.po."
committer: Tailor Script <tailor@pidgin.im>
author | Luke Schierer <lschiere@pidgin.im> |
---|---|
date | Mon, 25 Aug 2003 15:42:39 +0000 |
parents | a4622f1fb5a1 |
children | 0c5637b5462e |
rev | line source |
---|---|
5872 | 1 /** |
2 * @file server.h Server API | |
3 * @ingroup core | |
4 * | |
5 * gaim | |
6 * | |
7 * Copyright (C) 2003 Christian Hammond <chipx86@gnupdate.org> | |
8 * | |
9 * This program is free software; you can redistribute it and/or modify | |
10 * it under the terms of the GNU General Public License as published by | |
11 * the Free Software Foundation; either version 2 of the License, or | |
12 * (at your option) any later version. | |
13 * | |
14 * This program is distributed in the hope that it will be useful, | |
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
17 * GNU General Public License for more details. | |
18 * | |
19 * You should have received a copy of the GNU General Public License | |
20 * along with this program; if not, write to the Free Software | |
21 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |
22 */ | |
23 #ifndef _GAIM_SERVER_H_ | |
24 #define _GAIM_SERVER_H_ | |
25 | |
26 /* | |
27 * Really user states are controlled by the PRPLs now. We just | |
28 * use this for event_away | |
29 */ | |
30 #define UC_UNAVAILABLE 1 | |
31 | |
32 #include "account.h" | |
33 #include "conversation.h" | |
34 | |
5944
158196b2db19
[gaim-migrate @ 6385]
Christian Hammond <chipx86@chipx86.com>
parents:
5872
diff
changeset
|
35 #ifdef __cplusplus |
158196b2db19
[gaim-migrate @ 6385]
Christian Hammond <chipx86@chipx86.com>
parents:
5872
diff
changeset
|
36 extern "C" { |
158196b2db19
[gaim-migrate @ 6385]
Christian Hammond <chipx86@chipx86.com>
parents:
5872
diff
changeset
|
37 #endif |
158196b2db19
[gaim-migrate @ 6385]
Christian Hammond <chipx86@chipx86.com>
parents:
5872
diff
changeset
|
38 |
5872 | 39 void serv_login(GaimAccount *); |
40 void serv_close(GaimConnection *); | |
41 void serv_touch_idle(GaimConnection *); | |
6622 | 42 int serv_send_im(GaimConnection *, const char *, const char *, int, GaimImFlags); |
6059 | 43 void serv_get_info(GaimConnection *, const char *); |
44 void serv_get_dir(GaimConnection *, const char *); | |
5872 | 45 void serv_set_idle(GaimConnection *, int); |
5954 | 46 void serv_set_info(GaimConnection *, const char *); |
6059 | 47 void serv_set_away(GaimConnection *, const char *, const char *); |
48 void serv_set_away_all(const char *); | |
49 int serv_send_typing(GaimConnection *, const char *, int); | |
5872 | 50 void serv_change_passwd(GaimConnection *, const char *, const char *); |
51 void serv_add_buddy(GaimConnection *, const char *); | |
52 void serv_add_buddies(GaimConnection *, GList *); | |
6059 | 53 void serv_remove_buddy(GaimConnection *, const char *, const char *); |
54 void serv_remove_buddies(GaimConnection *, GList *, const char *); | |
5872 | 55 void serv_add_permit(GaimConnection *, const char *); |
56 void serv_add_deny(GaimConnection *, const char *); | |
57 void serv_rem_permit(GaimConnection *, const char *); | |
58 void serv_rem_deny(GaimConnection *, const char *); | |
59 void serv_set_permit_deny(GaimConnection *); | |
6059 | 60 void serv_warn(GaimConnection *, const char *, int); |
5872 | 61 void serv_set_dir(GaimConnection *, const char *, const char *, |
62 const char *, const char *, const char *, | |
63 const char *, const char *, int); | |
64 void serv_dir_search(GaimConnection *, const char *, const char *, | |
65 const char *, const char *, const char *, const char *, | |
66 const char *, const char *); | |
67 void serv_join_chat(GaimConnection *, GHashTable *); | |
68 void serv_chat_invite(GaimConnection *, int, const char *, const char *); | |
69 void serv_chat_leave(GaimConnection *, int); | |
6059 | 70 void serv_chat_whisper(GaimConnection *, int, const char *, const char *); |
71 int serv_chat_send(GaimConnection *, int, const char *); | |
72 void serv_got_popup(const char *, const char *, int, int); | |
5872 | 73 void serv_get_away(GaimConnection *, const char *); |
74 void serv_alias_buddy(struct buddy *); | |
75 void serv_got_alias(GaimConnection *gc, const char *who, const char *alias); | |
76 void serv_move_buddy(struct buddy *, struct group *, struct group *); | |
77 void serv_rename_group(GaimConnection *, struct group *, const char *); | |
78 void serv_got_eviled(GaimConnection *gc, const char *name, int lev); | |
79 void serv_got_typing(GaimConnection *gc, const char *name, int timeout, | |
80 GaimTypingState state); | |
81 void serv_set_buddyicon(GaimConnection *gc, const char *filename); | |
82 void serv_got_typing_stopped(GaimConnection *gc, const char *name); | |
83 void serv_got_im(GaimConnection *gc, const char *who, const char *msg, | |
6622 | 84 GaimImFlags imflags, time_t mtime, gint len); |
5872 | 85 void serv_got_update(GaimConnection *gc, const char *name, int loggedin, |
86 int evil, time_t signon, time_t idle, int type); | |
87 void serv_finish_login(GaimConnection *gc); | |
88 void serv_got_chat_invite(GaimConnection *gc, const char *name, | |
89 const char *who, const char *message, | |
90 GHashTable *data); | |
91 GaimConversation *serv_got_joined_chat(GaimConnection *gc, | |
92 int id, const char *name); | |
93 void serv_got_chat_left(GaimConnection *g, int id); | |
6059 | 94 void serv_got_chat_in(GaimConnection *g, int id, const char *who, |
95 int whisper, const char *message, time_t mtime); | |
5872 | 96 |
5944
158196b2db19
[gaim-migrate @ 6385]
Christian Hammond <chipx86@chipx86.com>
parents:
5872
diff
changeset
|
97 #ifdef __cplusplus |
158196b2db19
[gaim-migrate @ 6385]
Christian Hammond <chipx86@chipx86.com>
parents:
5872
diff
changeset
|
98 } |
158196b2db19
[gaim-migrate @ 6385]
Christian Hammond <chipx86@chipx86.com>
parents:
5872
diff
changeset
|
99 #endif |
158196b2db19
[gaim-migrate @ 6385]
Christian Hammond <chipx86@chipx86.com>
parents:
5872
diff
changeset
|
100 |
5872 | 101 #endif /* _GAIM_SERVER_H_ */ |