Mercurial > pidgin.yaz
annotate src/protocols/zephyr/ZGetLocs.c @ 4596:7e1591c6d0d8
[gaim-migrate @ 4881]
Bjoern Voigt writes:
"The patch
---------
Some small i18n fixes
- some new files in po/POTFILES.in (I hope, there are now all files,
with gettext-strings)
- a translation for the "boring default" away message (not hardcoded
any more)
- translations for the Menu Bar during conversations
After looking in gconf-editor, I saw, that the static items should
be marked with N_(...) = gettext_noop. The strings can now be
translated, but unfortunately I still can see them.
- Yahoo away messages translation
German translation
------------------
2 strings are untranslated:
#: src/gaim-disclosure.c:253
msgid "Expander Size"
msgstr ""
#: src/gaim-disclosure.c:254
msgid "Size of the expander arrow"
msgstr ""
File transfer doen't work on my box and so I cannot test the function."
committer: Tailor Script <tailor@pidgin.im>
author | Luke Schierer <lschiere@pidgin.im> |
---|---|
date | Fri, 21 Feb 2003 04:33:56 +0000 |
parents | 424a40f12a6c |
children | 43d6c08d7e96 |
rev | line source |
---|---|
2086 | 1 /* This file is part of the Project Athena Zephyr Notification System. |
2 * It contains source for the ZGetLocations function. | |
3 * | |
4 * Created by: Robert French | |
5 * | |
6 * $Source$ | |
7 * $Author: warmenhoven $ | |
8 * | |
9 * Copyright (c) 1987 by the Massachusetts Institute of Technology. | |
10 * For copying and distribution information, see the file | |
11 * "mit-copyright.h". | |
12 */ | |
13 /* $Header$ */ | |
14 | |
15 #ifndef lint | |
16 static char rcsid_ZGetLocations_c[] = "$Header$"; | |
17 #endif | |
18 | |
19 #include <internal.h> | |
20 | |
21 #define min(a,b) ((a)<(b)?(a):(b)) | |
22 | |
23 Code_t ZGetLocations(location, numlocs) | |
24 ZLocations_t *location; | |
25 int *numlocs; | |
26 { | |
27 int i; | |
28 | |
29 if (!__locate_list) | |
30 return (ZERR_NOLOCATIONS); | |
31 | |
32 if (__locate_next == __locate_num) | |
33 return (ZERR_NOMORELOCS); | |
34 | |
35 for (i=0;i<min(*numlocs, __locate_num-__locate_next);i++) | |
36 location[i] = __locate_list[i+__locate_next]; | |
37 | |
38 if (__locate_num-__locate_next < *numlocs) | |
39 *numlocs = __locate_num-__locate_next; | |
40 | |
41 __locate_next += *numlocs; | |
42 | |
43 return (ZERR_NONE); | |
44 } |