[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
lynx-dev proposed revisions for gettext (II)
From: |
Nelson Henry Eric |
Subject: |
lynx-dev proposed revisions for gettext (II) |
Date: |
Sat, 28 Nov 1998 23:28:21 +0900 (JST) |
This patch to LYPrint.c attempts to alleviate the repetition
(already in the <TITLE> and <H1>) of "Print options". There
was an earlier patch to correct the string in question, but I
don't think it was incorporated. To me it makes it easier to
understand what "Print" means in the context of this menu.
I thought the first call to aid the Novice user was frivolous.
The second one should make clear what the first one is all about.
Making it "page(s)" saves one msgid and also makes it easier to
translate into a language like Japanese where singular/plural has
no meaning. Is this acceptable to the English-speaking community?
Having the "approximately" placed at the end, even in parentheses,
makes it come out strange syntactically. How about other languages?
__Henry
*** lynx2-8-2/src/LYPrint.c.orig Sat Nov 28 22:42:40 1998
--- lynx2-8-2/src/LYPrint.c Sat Nov 28 22:38:04 1998
***************
*** 1309,1327 ****
/* pages = lines_in_file/66 + 1; */
pages = (lines_in_file+65)/66;
! sprintf(buffer, " <em>%s</em> %s\n <em>%s</em> %d\n <em>%s</em> %d
%s %s\n",
gettext("Document:"), *printed_url,
gettext("Number of lines:"), lines_in_file,
! gettext("Number of pages:"), pages,
! (pages > 1 ? gettext("pages") : gettext("page")),
! gettext("(approximately)"));
fputs(buffer, fp0);
if (no_print || no_disk_save || child_lynx || no_mail)
fprintf(fp0, " <em>%s</em>\n", gettext("Some print functions have
been disabled!"));
! fprintf(fp0, "\n%s %s\n", gettext("options:"),
! (user_mode == NOVICE_MODE) ? gettext("Standard print") :
gettext("Print"));
if (child_lynx == FALSE && no_disk_save == FALSE && no_print == FALSE) {
fprintf(fp0,
--- 1309,1325 ----
/* pages = lines_in_file/66 + 1; */
pages = (lines_in_file+65)/66;
! sprintf(buffer, " <em>%s</em> %s\n <em>%s</em> %d\n <em>%s</em> %s
%d %s\n",
gettext("Document:"), *printed_url,
gettext("Number of lines:"), lines_in_file,
! gettext("Number of pages:"),
! gettext("approx."), pages, gettext("page(s)"));
fputs(buffer, fp0);
if (no_print || no_disk_save || child_lynx || no_mail)
fprintf(fp0, " <em>%s</em>\n", gettext("Some print functions have
been disabled!"));
! fprintf(fp0, "\n%s\n", gettext("\"Print\" actions to take on the rendered
document:"));
if (child_lynx == FALSE && no_disk_save == FALSE && no_print == FALSE) {
fprintf(fp0,
***************
*** 1349,1355 ****
#endif
if (user_mode == NOVICE_MODE)
! fprintf(fp0, "\n%s\n", gettext("Local additions:"));
for (count = 0, cur_printer = printers; cur_printer != NULL;
cur_printer = cur_printer->next, count++)
--- 1347,1354 ----
#endif
if (user_mode == NOVICE_MODE)
! fprintf(fp0,"\n%s %s\n", gettext("Locally configured"),
! gettext("\"Print\" actions to take on the rendered document:"));
for (count = 0, cur_printer = printers; cur_printer != NULL;
cur_printer = cur_printer->next, count++)
- lynx-dev proposed revisions for gettext (II),
Nelson Henry Eric <=