[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: lynx-dev proposed revisions for gettext (II)
From: |
Webmaster Jim |
Subject: |
Re: lynx-dev proposed revisions for gettext (II) |
Date: |
Tue, 1 Dec 1998 01:45:47 -0500 |
On Mon, Nov 30, 1998 at 09:33:09PM -0500, I wrote:
> On Tue, Dec 01, 1998 at 10:00:04AM +0900, Henry Nelson wrote:
> Tom has already commented that HTML tags need to be removed from
> language strings (I tried to do that originally, but missed some):
OK, here are some more tags-within-gettexts that were missed:
*** src/LYCgi.c.df Tue Nov 10 14:47:38 1998
--- src/LYCgi.c Tue Dec 1 01:23:04 1998
***************
*** 606,612 ****
(*target->isa->put_block)(target, buf, strlen(buf));
sprintf(buf,
! gettext("<p>It provides <b>state of the art</b> CGI script
support.\n"));
(*target->isa->put_block)(target, buf, strlen(buf));
sprintf(buf,"</body>\n");
--- 606,613 ----
(*target->isa->put_block)(target, buf, strlen(buf));
sprintf(buf,
! ("<p>",
! gettext("It provides state of the art CGI script support.\n"));
(*target->isa->put_block)(target, buf, strlen(buf));
sprintf(buf,"</body>\n");
*** src/LYHistory.c.df Wed Nov 18 14:23:55 1998
--- src/LYHistory.c Tue Dec 1 01:26:53 1998
***************
*** 385,391 ****
BeginInternalPage(fp0, HISTORY_PAGE_TITLE, HISTORY_PAGE_HELP);
fprintf(fp0, "<pre>\n");
! fprintf(fp0, gettext("<em>%s</em>\n"), gettext("You selected:"));
for (x = nhist-1; x >= 0; x--) {
/*
* The number of the document in the hist stack,
--- 385,391 ----
BeginInternalPage(fp0, HISTORY_PAGE_TITLE, HISTORY_PAGE_HELP);
fprintf(fp0, "<pre>\n");
! fprintf(fp0, "<em>", gettext("You selected:"), "</em>\n");
for (x = nhist-1; x >= 0; x--) {
/*
* The number of the document in the hist stack,
*** src/LYLocal.c.df Tue Nov 10 14:47:38 1998
--- src/LYLocal.c Tue Dec 1 01:44:16 1998
***************
*** 1108,1114 ****
fprintf(fp0, "<Html><Head>\n<Title>%s</Title>\n</Head>\n<Body>\n",
PERMIT_OPTIONS_TITLE);
! fprintf(fp0,gettext("<H1>%s%s</H1>\n"), PERMISSIONS_SEGMENT,
user_filename);
{ /*
* Prevent filenames which include '#' or '?' from messing it up.
*/
--- 1108,1114 ----
fprintf(fp0, "<Html><Head>\n<Title>%s</Title>\n</Head>\n<Body>\n",
PERMIT_OPTIONS_TITLE);
! fprintf(fp0,"<H1>%s%s</H1>\n", PERMISSIONS_SEGMENT, user_filename);
{ /*
* Prevent filenames which include '#' or '?' from messing it up.
*/
***************
*** 1167,1174 ****
(dir_info.st_mode & S_IXOTH) ? "checked" : "",
S_ISDIR(dir_info.st_mode) ? "Search" : "Execute");
! fprintf(fp0, gettext(
! "<Br>\n<Li><Input Type=\"submit\" Value=\"Submit\"> %s %s
%s.\n</Ol>\n</Form>\n"),
gettext("form to permit"),
S_ISDIR(dir_info.st_mode) ? "directory" : "file",
user_filename);
--- 1167,1174 ----
(dir_info.st_mode & S_IXOTH) ? "checked" : "",
S_ISDIR(dir_info.st_mode) ? "Search" : "Execute");
! fprintf(fp0,
! "<Br>\n<Li><Input Type=\"submit\" Value=\"Submit\"> %s %s
%s.\n</Ol>\n</Form>\n",
gettext("form to permit"),
S_ISDIR(dir_info.st_mode) ? "directory" : "file",
user_filename);
++++++++++++++++++++++++++++
Marvin the Paranoid Android.