Mercurial > pidgin.yaz
annotate plugins/perl/common/Account.xs @ 11098:df3b825c1b46
[gaim-migrate @ 13136]
" I was playing with some new versions of gettext and
friends at debconf, and found some horrific bugs in the
.po files. Here's the general summary of the problems
and their fixes:
* no.po should be called nb.po - renamed
* a Makevars is required for gettext 0.14.4 - added
* am.po was missing a plural form - added
* da.po had some mismatched C format types - marked as
fuzzy
* ka.po had "nplurals=INTEGER; plural=EXPRESSION;"
instead of the actual plural form - turns out nplural
is 1, so deleted the duplicate identical 2nd strings
* mk.po had the same problem, added the plural form but
nplural is 3 and the translations in the file only have
2 entries, so I marked them as fuzzy
* pl.po - fixed mismatched C format type
* ru.po - basically the same as mk.po. had a crap
plural form. added it and marked the wrongly-numbered
plurals as fuzzy
* sq.po - added plural form, but file looks correct
otherwise (nplurals=2)
* tr.po - tweaks to the header, and nplurals=1 so set
this and deleted pointless duplicate second forms
You need to move no.po to nb.po - it would be silly to
include that in the patch obviously.
Please apply to HEAD ASAP before it stops applying
(obviously if anyone changes the po files the patch
will break very easily) but also please leave this item
open until me or someone else has looked for and
corrected the same issues in oldstable.
Regards,
Rob"
I've been ignoring translations in HEAD as its really rather pointless for
now. I plan to continue doing so. but as I was less than clear talking to
robot101, i didn't think it was fair to penalize him.
committer: Tailor Script <tailor@pidgin.im>
author | Luke Schierer <lschiere@pidgin.im> |
---|---|
date | Wed, 13 Jul 2005 00:59:44 +0000 |
parents | 2f5d99f963eb |
children | 134d0001983d |
rev | line source |
---|---|
6508 | 1 #include "module.h" |
2 | |
3 MODULE = Gaim::Account PACKAGE = Gaim::Account PREFIX = gaim_account_ | |
4 PROTOTYPES: ENABLE | |
5 | |
10741 | 6 void |
10437 | 7 gaim_account_connect(account) |
8 Gaim::Account account | |
9 | |
6508 | 10 void |
11 gaim_account_disconnect(account) | |
12 Gaim::Account account | |
13 | |
14 void | |
15 gaim_account_set_username(account, username) | |
16 Gaim::Account account | |
17 const char *username | |
18 | |
19 void | |
20 gaim_account_set_password(account, password) | |
21 Gaim::Account account | |
22 const char *password | |
23 | |
24 void | |
25 gaim_account_set_alias(account, alias) | |
26 Gaim::Account account | |
27 const char *alias | |
28 | |
29 void | |
30 gaim_account_set_user_info(account, user_info) | |
31 Gaim::Account account | |
32 const char *user_info | |
6523
d7e04709be96
[gaim-migrate @ 7040]
Christian Hammond <chipx86@chipx86.com>
parents:
6508
diff
changeset
|
33 CODE: |
d7e04709be96
[gaim-migrate @ 7040]
Christian Hammond <chipx86@chipx86.com>
parents:
6508
diff
changeset
|
34 gaim_account_set_user_info(account, user_info); |
d7e04709be96
[gaim-migrate @ 7040]
Christian Hammond <chipx86@chipx86.com>
parents:
6508
diff
changeset
|
35 serv_set_info(gaim_account_get_connection(account), user_info); |
6508 | 36 |
37 void | |
38 gaim_account_set_buddy_icon(account, buddy_icon) | |
39 Gaim::Account account | |
40 const char *buddy_icon | |
41 | |
42 void | |
43 gaim_account_set_protocol_id(account, protocol_id) | |
44 Gaim::Account account | |
45 const char *protocol_id | |
46 | |
47 void | |
48 gaim_account_set_remember_password(account, value) | |
49 Gaim::Account account | |
50 gboolean value | |
51 | |
52 void | |
53 gaim_account_set_check_mail(account, value) | |
54 Gaim::Account account | |
55 gboolean value | |
56 | |
10504 | 57 void |
58 gaim_account_set_enabled(account, ui, value) | |
59 Gaim::Account account | |
60 const char *ui | |
61 gboolean value | |
62 | |
6508 | 63 gboolean |
64 gaim_account_is_connected(account) | |
65 Gaim::Account account | |
66 | |
67 const char * | |
68 gaim_account_get_username(account) | |
69 Gaim::Account account | |
70 | |
71 const char * | |
72 gaim_account_get_password(account) | |
73 Gaim::Account account | |
74 | |
75 const char * | |
76 gaim_account_get_alias(account) | |
77 Gaim::Account account | |
78 | |
79 const char * | |
80 gaim_account_get_user_info(account) | |
81 Gaim::Account account | |
82 | |
83 const char * | |
84 gaim_account_get_buddy_icon(account) | |
85 Gaim::Account account | |
86 | |
87 const char * | |
88 gaim_account_get_protocol_id(account) | |
89 Gaim::Account account | |
90 | |
91 Gaim::Connection | |
92 gaim_account_get_connection(account) | |
93 Gaim::Account account | |
94 | |
95 gboolean | |
96 gaim_account_get_remember_password(account) | |
97 Gaim::Account account | |
98 | |
99 gboolean | |
100 gaim_account_get_check_mail(account) | |
101 Gaim::Account account | |
102 | |
10504 | 103 gboolean |
104 gaim_account_get_enabled(account, ui) | |
105 Gaim::Account account | |
106 const char *ui | |
107 | |
6508 | 108 |
109 MODULE = Gaim::Account PACKAGE = Gaim::Accounts PREFIX = gaim_accounts_ | |
110 | |
111 void | |
112 gaim_accounts_add(account) | |
113 Gaim::Account account | |
114 | |
115 void | |
116 gaim_accounts_remove(account) | |
117 Gaim::Account account | |
118 | |
6595
782eef79cf3c
[gaim-migrate @ 7119]
Christian Hammond <chipx86@chipx86.com>
parents:
6551
diff
changeset
|
119 Gaim::Account |
782eef79cf3c
[gaim-migrate @ 7119]
Christian Hammond <chipx86@chipx86.com>
parents:
6551
diff
changeset
|
120 find(name, protocol_id) |
782eef79cf3c
[gaim-migrate @ 7119]
Christian Hammond <chipx86@chipx86.com>
parents:
6551
diff
changeset
|
121 const char *name |
782eef79cf3c
[gaim-migrate @ 7119]
Christian Hammond <chipx86@chipx86.com>
parents:
6551
diff
changeset
|
122 const char *protocol_id |
782eef79cf3c
[gaim-migrate @ 7119]
Christian Hammond <chipx86@chipx86.com>
parents:
6551
diff
changeset
|
123 CODE: |
7176 | 124 RETVAL = gaim_accounts_find(name, protocol_id); |
6595
782eef79cf3c
[gaim-migrate @ 7119]
Christian Hammond <chipx86@chipx86.com>
parents:
6551
diff
changeset
|
125 OUTPUT: |
782eef79cf3c
[gaim-migrate @ 7119]
Christian Hammond <chipx86@chipx86.com>
parents:
6551
diff
changeset
|
126 RETVAL |
782eef79cf3c
[gaim-migrate @ 7119]
Christian Hammond <chipx86@chipx86.com>
parents:
6551
diff
changeset
|
127 |
6551
12343e2aaab1
[gaim-migrate @ 7073]
Christian Hammond <chipx86@chipx86.com>
parents:
6523
diff
changeset
|
128 void * |
12343e2aaab1
[gaim-migrate @ 7073]
Christian Hammond <chipx86@chipx86.com>
parents:
6523
diff
changeset
|
129 handle() |
12343e2aaab1
[gaim-migrate @ 7073]
Christian Hammond <chipx86@chipx86.com>
parents:
6523
diff
changeset
|
130 CODE: |
12343e2aaab1
[gaim-migrate @ 7073]
Christian Hammond <chipx86@chipx86.com>
parents:
6523
diff
changeset
|
131 RETVAL = gaim_accounts_get_handle(); |
12343e2aaab1
[gaim-migrate @ 7073]
Christian Hammond <chipx86@chipx86.com>
parents:
6523
diff
changeset
|
132 OUTPUT: |
12343e2aaab1
[gaim-migrate @ 7073]
Christian Hammond <chipx86@chipx86.com>
parents:
6523
diff
changeset
|
133 RETVAL |
12343e2aaab1
[gaim-migrate @ 7073]
Christian Hammond <chipx86@chipx86.com>
parents:
6523
diff
changeset
|
134 |
6508 | 135 |
136 MODULE = Gaim::Account PACKAGE = Gaim | |
137 | |
138 void | |
139 accounts() | |
140 PREINIT: | |
141 GList *l; | |
142 PPCODE: | |
143 for (l = gaim_accounts_get_all(); l != NULL; l = l->next) | |
144 XPUSHs(sv_2mortal(gaim_perl_bless_object(l->data, "Gaim::Account"))); | |
145 |