lynx-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: lynx-dev internationalization


From: Leonid Pauzner
Subject: Re: lynx-dev internationalization
Date: Sat, 7 Nov 1998 12:06:13 +0300 (MSK)

> Okay it works! :) :)  Time to roll (up your sleeves, that is)!

> Absolutely out of time, so very briefly:

> __Henry


Does this looks useful to change XXX_TITLE to open text string?
This title string found in more than one place (~5)
so you may easily get a typo...


> *** lynx2-8-1-rel2-intl/src/LYMainLoop.c.orig Mon Nov  2 14:13:41 1998
> --- lynx2-8-1-rel2-intl/src/LYMainLoop.c      Sat Nov  7 13:58:48 1998
> ***************
> *** 1776,1782 ****
>                   LYinternal_flag = TRUE;
>                   newdoc.internal_link = TRUE;
>                   if (0==strcmp((curdoc.title ? curdoc.title : ""),
> !                                   LIST_PAGE_TITLE) &&
>                       0==strcmp(HTLoadedDocumentURL(), LYlist_temp_url())) {
>                       if (!curdoc.post_data ||
>                           /*
> --- 1776,1782 ----
>                   LYinternal_flag = TRUE;
>                   newdoc.internal_link = TRUE;
>                   if (0==strcmp((curdoc.title ? curdoc.title : ""),
> !                                   gettext("List Page")) &&
>                       0==strcmp(HTLoadedDocumentURL(), LYlist_temp_url())) {
>                       if (!curdoc.post_data ||
>                           /*
> ***************
> *** 2982,2988 ****
>                        */
>                       if (0==strcmp(curdoc.address, LYlist_temp_url()) &&
>                           0==strcmp((curdoc.title ? curdoc.title : ""),
> !                                   LIST_PAGE_TITLE)) {
>                           if (!curdoc.post_data ||
>                               /*
>                                *  Normal case - List Page is not associated
> --- 2982,2988 ----
>                        */
>                       if (0==strcmp(curdoc.address, LYlist_temp_url()) &&
>                           0==strcmp((curdoc.title ? curdoc.title : ""),
> !                                   gettext("List Page"))) {
>                           if (!curdoc.post_data ||
>                               /*
>                                *  Normal case - List Page is not associated
> ***************
> *** 4614,4637 ****

>           if (strcmp((curdoc.title ? curdoc.title : ""),
>                      gettext("Lynx History Page")) &&
> !             strcmp((curdoc.title ? curdoc.title : gettext("")),
>                      gettext("Information about the current document")) &&
> !             strcmp((curdoc.title ? curdoc.title : gettext("")),
>                      gettext("Lynx Printing Options")) &&
>   #ifdef DIRED_SUPPORT
>               strcmp(curdoc.address, LYDiredFileURL) &&
> !             strcmp((curdoc.title ? curdoc.title : gettext("")),
>                      gettext("File Management Options")) &&
>               strcmp(curdoc.address, LYPermitFileURL) &&
> !             strcmp((curdoc.title ? curdoc.title : gettext("")),
>                      gettext("File Permission Options")) &&
>               strcmp(curdoc.address, LYUploadFileURL) &&
>               strcmp((curdoc.title ? curdoc.title : ""),
>                      gettext("Lynx Upload Options")) &&
>   #endif /* DIRED_SUPPORT */
> !             strcmp((curdoc.title ? curdoc.title : gettext("")),
>                      gettext("Lynx Download Options")) &&
> !             strcmp((curdoc.title ? curdoc.title : gettext("")),
>                      gettext("Lynx Cookie Jar")) &&
>               ((nlinks <= 0) ||
>                (links[curdoc.link].lname != NULL &&
> --- 4614,4637 ----

>           if (strcmp((curdoc.title ? curdoc.title : ""),
>                      gettext("Lynx History Page")) &&
> !             strcmp((curdoc.title ? curdoc.title : ""),
>                      gettext("Information about the current document")) &&
> !             strcmp((curdoc.title ? curdoc.title : ""),
>                      gettext("Lynx Printing Options")) &&
>   #ifdef DIRED_SUPPORT
>               strcmp(curdoc.address, LYDiredFileURL) &&
> !             strcmp((curdoc.title ? curdoc.title : ""),
>                      gettext("File Management Options")) &&
>               strcmp(curdoc.address, LYPermitFileURL) &&
> !             strcmp((curdoc.title ? curdoc.title : ""),
>                      gettext("File Permission Options")) &&
>               strcmp(curdoc.address, LYUploadFileURL) &&
>               strcmp((curdoc.title ? curdoc.title : ""),
>                      gettext("Lynx Upload Options")) &&
>   #endif /* DIRED_SUPPORT */
> !             strcmp((curdoc.title ? curdoc.title : ""),
>                      gettext("Lynx Download Options")) &&
> !             strcmp((curdoc.title ? curdoc.title : ""),
>                      gettext("Lynx Cookie Jar")) &&
>               ((nlinks <= 0) ||
>                (links[curdoc.link].lname != NULL &&




reply via email to

[Prev in Thread] Current Thread [Next in Thread]