* vcard.c: minor change to comments in code
+Revision 621.28 2005/08/22 20:27:26 ajc
+* userlist.c: i18n
+* vcard.c: minor change to comments in code
+
Revision 621.27 2005/08/22 20:21:21 ajc
* useredit.c: i18n
Revision 621.27 2005/08/22 20:21:21 ajc
* useredit.c: i18n
1998-12-03 Nathan Bryant <bryant@cs.usm.maine.edu>
* webserver.c: warning fix
1998-12-03 Nathan Bryant <bryant@cs.usm.maine.edu>
* webserver.c: warning fix
- char buf[SIZ];
- char fl[SIZ];
+ char buf[256];
+ char fl[256];
+ char title[256];
struct tm tmbuf;
time_t lc;
struct namelist *bio = NULL;
struct tm tmbuf;
time_t lc;
struct namelist *bio = NULL;
output_headers(1, 1, 2, 0, 0, 0, 0);
wprintf("<div id=\"banner\">\n"
"<TABLE WIDTH=100%% BORDER=0 BGCOLOR=\"#444455\"><TR><TD>"
output_headers(1, 1, 2, 0, 0, 0, 0);
wprintf("<div id=\"banner\">\n"
"<TABLE WIDTH=100%% BORDER=0 BGCOLOR=\"#444455\"><TR><TD>"
- "<SPAN CLASS=\"titlebar\">User list for ");
- escputs(serv_info.serv_humannode);
+ "<SPAN CLASS=\"titlebar\">");
+ snprintf(title, sizeof title, _("User list for %s"), serv_info.serv_humannode);
+ escputs(title);
wprintf("</SPAN>"
"</TD></TR></TABLE>\n"
"</div>\n<div id=\"content\">\n"
wprintf("</SPAN>"
"</TD></TR></TABLE>\n"
"</div>\n<div id=\"content\">\n"
wprintf("<div id=\"fix_scrollbar_bug\">"
"<table border=0 width=100%% bgcolor=\"#ffffff\"><tr><td>\n");
wprintf("<div id=\"fix_scrollbar_bug\">"
"<table border=0 width=100%% bgcolor=\"#ffffff\"><tr><td>\n");
- wprintf("<TR><TH>User Name</TH><TH>Number</TH><TH>Access Level</TH>");
- wprintf("<TH>Last Login</TH><TH>Total Logins</TH><TH>Total Posts</TH></TR>\n");
+ wprintf(_("<TR><TH>User Name</TH><TH>Number</TH><TH>Access Level</TH>"
+ "<TH>Last Login</TH><TH>Total Logins</TH><TH>Total Posts</TH></TR>"));
while (serv_getln(buf, sizeof buf), strcmp(buf, "000")) {
extract_token(fl, buf, 0, '|', sizeof fl);
while (serv_getln(buf, sizeof buf), strcmp(buf, "000")) {
extract_token(fl, buf, 0, '|', sizeof fl);
- char who[SIZ];
- char buf[SIZ];
+ char who[256];
+ char buf[256];
int have_pic;
strcpy(who, bstr("who"));
int have_pic;
strcpy(who, bstr("who"));
wprintf("<div id=\"banner\">\n"
"<TABLE WIDTH=100%% BORDER=0 BGCOLOR=\"#444455\"><TR>"
"<TD><IMG SRC=\"/static/usermanag_48x.gif\"></TD>"
wprintf("<div id=\"banner\">\n"
"<TABLE WIDTH=100%% BORDER=0 BGCOLOR=\"#444455\"><TR>"
"<TD><IMG SRC=\"/static/usermanag_48x.gif\"></TD>"
- "<td align=left><SPAN CLASS=\"titlebar\">User profile</SPAN>"
+ "<td align=left><SPAN CLASS=\"titlebar\">");
+ wprintf(_("User profile"));
+ wprintf("</SPAN>"
"</TD></TR></TABLE>\n"
"</div>\n<div id=\"content\">\n"
);
"</TD></TR></TABLE>\n"
"</div>\n<div id=\"content\">\n"
);
urlescputs(who);
wprintf("\">"
"<IMG SRC=\"/static/citadelchat_24x.gif\" "
urlescputs(who);
wprintf("\">"
"<IMG SRC=\"/static/citadelchat_24x.gif\" "
- "ALIGN=MIDDLE BORDER=0> "
- "Click here to send an instant message to ");
- escputs(who);
+ "ALIGN=MIDDLE BORDER=0> ");
+ snprintf(buf, sizeof buf, _("Click here to send an instant message to %s"), who);
+ escputs(buf);
wprintf("</A>\n");
wprintf("</td></tr></table></div>\n");
wprintf("</A>\n");
wprintf("</td></tr></table></div>\n");
- * vCard data type implementation for Citadel/UX
+ * vCard data type implementation for the Citadel system.
*
* Copyright (C) 1999-2005 by Art Cancro
* This code is freely redistributable under the terms of the GNU General
*
* Copyright (C) 1999-2005 by Art Cancro
* This code is freely redistributable under the terms of the GNU General