lynx-dev
[Top][All Lists]
Advanced

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

Re: lynx-dev Re: International version up to 2.8.1rel.2


From: Nelson Henry Eric
Subject: Re: lynx-dev Re: International version up to 2.8.1rel.2
Date: Sat, 7 Nov 1998 09:13:37 +0900 (JST)

> P.S.  I'm unsubscribing to lynx-dev for a while.  Will be reading

Sad to hear that!  Any ideas when you'll be able to come back?

Anyway, I got Lynx-intl to compile on SunOS4.1.3 with the appended patch
applied.  (It just fixes typos.)

Unfortunately, I could not get Lynx to display the translated messages.
I suspect it is because Lynx is not finding the lynx.mo file, since
the default English messages are displayed without problem.  I had no
problem getting either the tools (e.g., xgettext, msgfmt) in the gettext
package itself or the hello package to use strings I translated myself,
so I am confident that my environment is correctly set.  I've tested by
both removing the respective *.mo files and seeing a fall-back to the
English defaults, and by adding new or different strings to the *.mo
files and getting them to be displayed.

I'll play with it for a few more hours, but I've run out of time myself.

__Henry

*** lynx2-8-1-rel2-intl/src/HTFWriter.c.orig    Fri Nov  6 10:39:32 1998
--- lynx2-8-1-rel2-intl/src/HTFWriter.c Fri Nov  6 10:42:53 1998
***************
*** 491,497 ****
            return(NULL);
        }
        if (no_exec) {
!           eTAlert(EXECUTION_DISABLED);
            return HTPlainPresent(pres, anchor, sink);
        }
        if (!local_exec)
--- 491,497 ----
            return(NULL);
        }
        if (no_exec) {
!           HTAlert(gettext("Execution is disabled."));
            return HTPlainPresent(pres, anchor, sink);
        }
        if (!local_exec)
*** lynx2-8-1-rel2-intl/src/LYMainLoop.c.orig   Fri Nov  6 10:44:30 1998
--- lynx2-8-1-rel2-intl/src/LYMainLoop.c        Fri Nov  6 10:48:13 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
*** lynx2-8-1-rel2-intl/src/LYOptions.c.orig    Fri Nov  6 13:42:56 1998
--- lynx2-8-1-rel2-intl/src/LYOptions.c Fri Nov  6 13:58:53 1998
***************
*** 2513,2523 ****
                        window_offset = 0;
                        cur_choice = 0;
                        if (disabled) {
!                           _statusline(gettext("UNMODIFIABLE choice list.  
! Use return or arrow keys to review or leave."));
                        } else {
!                           _statusline(gettext("(Choice list) Hit return an
! d use arrow keys and return to select option."));
                        }
                        goto redraw;
                    }
--- 2513,2521 ----
                        window_offset = 0;
                        cur_choice = 0;
                        if (disabled) {
!                           _statusline(gettext("UNMODIFIABLE choice list. Use 
return or arrow keys to review or leave."));
                        } else {
!                           _statusline(gettext("(Choice list) Hit return and 
use arrow keys and return to select option."));
                        }
                        goto redraw;
                    }
***************
*** 2530,2540 ****
                        if (window_offset >= ((num_choices - length) + 1)) {
                            HTUserMsg(gettext("You are already at the end of 
this choice list."));
                            if (disabled) {
!                               _statusline(gettext("UNMODIFIABLE choice list.
! Use return or arrow keys to review or leave."));
                            } else {
!                               _statusline(gettext("(Choice list) Hit return an
! d use arrow keys and return to select option."));
                            }
                            break;
                        }
--- 2528,2536 ----
                        if (window_offset >= ((num_choices - length) + 1)) {
                            HTUserMsg(gettext("You are already at the end of 
this choice list."));
                            if (disabled) {
!                               _statusline(gettext("UNMODIFIABLE choice list.  
Use return or arrow keys to review or leave."));
                            } else {
!                               _statusline(gettext("(Choice list) Hit return 
and use arrow keys and return to select option."));
                            }
                            break;
                        }
***************
*** 2547,2554 ****
                        if (disabled) {
                            _statusline(gettext("UNMODIFIABLE choice list.  Use 
return or arrow keys to review or leave."));
                        } else {
!                           _statusline(gettext("(Choice list) Hit return an
! d use arrow keys and return to select option."));
                        }
                        goto redraw;
                    }
--- 2543,2549 ----
                        if (disabled) {
                            _statusline(gettext("UNMODIFIABLE choice list.  Use 
return or arrow keys to review or leave."));
                        } else {
!                           _statusline(gettext("(Choice list) Hit return and 
use arrow keys and return to select option."));
                        }
                        goto redraw;
                    }
***************
*** 2560,2580 ****
                        sprintf(buffer, gettext("You are already at page %d of 
this choice list."), number);
                        HTUserMsg(buffer);
                        if (disabled) {
!                           _statusline(gettext("UNMODIFIABLE choice list.  Use 
! return or arrow keys to review or leave."));
                        } else {
!                           _statusline(gettext("(Choice list) Hit return an
! d use arrow keys and return to select option."));
                        }
                        break;
                    }
                    cur_choice = window_offset = ((number - 1) * length);
                    if (disabled) {
!                       _statusline(gettext("UNMODIFIABLE choice list.  Use
! return or arrow keys to review or leave."));
                    } else {
!                       _statusline(gettext("(Choice list) Hit return an
! d use arrow keys and return to select option."));
                    }
                    goto redraw;
  
--- 2555,2571 ----
                        sprintf(buffer, gettext("You are already at page %d of 
this choice list."), number);
                        HTUserMsg(buffer);
                        if (disabled) {
!                           _statusline(gettext("UNMODIFIABLE choice list.  Use 
return or arrow keys to review or leave."));
                        } else {
!                           _statusline(gettext("(Choice list) Hit return and 
use arrow keys and return to select option."));
                        }
                        break;
                    }
                    cur_choice = window_offset = ((number - 1) * length);
                    if (disabled) {
!                       _statusline(gettext("UNMODIFIABLE choice list.  Use 
return or arrow keys to review or leave."));
                    } else {
!                       _statusline(gettext("(Choice list) Hit return and use 
arrow keys and return to select option."));
                    }
                    goto redraw;
  
***************
*** 2660,2667 ****
                if (disabled) {
                    _statusline(gettext("UNMODIFIABLE choice list.  Use return 
or arrow keys to review or leave."));
                } else {
!                   _statusline(gettext("(Choice list) Hit return an
! d use arrow keys and return to select option."));
                }
                break;
  
--- 2651,2657 ----
                if (disabled) {
                    _statusline(gettext("UNMODIFIABLE choice list.  Use return 
or arrow keys to review or leave."));
                } else {
!                   _statusline(gettext("(Choice list) Hit return and use arrow 
keys and return to select option."));
                }
                break;
  

reply via email to

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