Few more configuration options

This commit is contained in:
Alexander S. Aganichev 2001-12-05 21:21:41 +00:00
parent 8ff6239399
commit 112e7cd87a
10 changed files with 1268 additions and 33 deletions

View File

@ -595,6 +595,13 @@ Here is a small "ruler" for the actual definitions below:
-------------------------------------------------------------------------------- --------------------------------------------------------------------------------
*B 3019,Main Menu
You can run some commonly used commands by using this menu.
*E
--------------------------------------------------------------------------------
*B 4000,Header Editing *B 4000,Header Editing
You are editing the message header. move around with the cursorkeys, <Tab> You are editing the message header. move around with the cursorkeys, <Tab>

View File

@ -503,3 +503,28 @@ MI_ENTERCMDLINE " Enter command line "
WT_PEEKURL "Available URLs" WT_PEEKURL "Available URLs"
ST_PEEKURL "Select URL" ST_PEEKURL "Select URL"
IL_PEEKINFONOURLS " No valid URLs were found in this msg! " IL_PEEKINFONOURLS " No valid URLs were found in this msg! "
MI_MMMAIN "M Main "
MI_MMSHELL "S Shell to OS "
MI_MMQUIT "Q Quit GoldED "
MI_MMEDIT "E Edit "
MI_MMNEWMSG "E Enter new msg "
MI_MMQUOTEREPLY "Q Quote-reply "
MI_MMDIRQUOTEREPLY "D Direct quote-reply (ignore Reply-To) "
MI_MMCMTREPLY "C Comment-reply "
MI_MMOTHERAREA "O Other area reply > "
WT_MMOTHERAREA " Other Area "
MI_MMOQUOTEREPLY "Q Quote-reply "
MI_MMODIRQUOTEREPLY "D Direct quote-reply (ignore Reply-To) "
MI_MMOCMTREPLY "C Comment-reply "
MI_MMCHANGE "C Change "
MI_MMORIGIN "O Origin "
MI_MMUSERNAME "U Username "
MI_MMAKA "A Aka "
MI_MMATTRIBUTES "M Msg attrs "
MI_MMTEMPLATE "T Template "
MI_MMUTIL "U Util "
MI_MMCOPYMOVEFORWARD "C Copy/Move/Forward "
MI_MMLIST "L List messages "
MI_MMWRITE "W Write to disk/printer "
MI_MMFREQ "F File request "

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -12,6 +12,37 @@ ______________________________________________________________________
Notes for GoldED+ 1.1.5, /snapshot/ Notes for GoldED+ 1.1.5, /snapshot/
______________________________________________________________________ ______________________________________________________________________
- Added set of new keywords for the language configuration file to
make READmainmenu language-configurable:
MI_MMMAIN "M Main "
MI_MMSHELL "S Shell to OS "
MI_MMQUIT "Q Quit GoldED "
MI_MMEDIT "E Edit "
MI_MMNEWMSG "E Enter new msg "
MI_MMQUOTEREPLY "Q Quote-reply "
MI_MMDIRQUOTEREPLY "D Direct quote-reply (ignore Reply-To) "
MI_MMCMTREPLY "C Comment-reply "
MI_MMOTHERAREA "O Other area reply > "
WT_MMOTHERAREA " Other Area "
MI_MMOQUOTEREPLY "Q Quote-reply "
MI_MMODIRQUOTEREPLY "D Direct quote-reply (ignore Reply-To) "
MI_MMOCMTREPLY "C Comment-reply "
MI_MMCHANGE "C Change "
MI_MMORIGIN "O Origin "
MI_MMUSERNAME "U Username "
MI_MMAKA "A Aka "
MI_MMATTRIBUTES "M Msg attrs "
MI_MMTEMPLATE "T Template "
MI_MMUTIL "U Util "
MI_MMCOPYMOVEFORWARD "C Copy/Move/Forward "
MI_MMLIST "L List messages "
MI_MMWRITE "W Write to disk/printer "
MI_MMFREQ "F File request "
- Help topic number associated with READmainmenu changed from 9999 to
3019.
- GoldED+ should now recognize AREAFILE keyword in CrashEcho config - GoldED+ should now recognize AREAFILE keyword in CrashEcho config
(not tested). (not tested).

View File

@ -460,8 +460,8 @@ static LangCrc LangCrcs[] = {
{ CRC_WT_ADDRESSBOOK , NULL , " Addressbook " }, { CRC_WT_ADDRESSBOOK , NULL , " Addressbook " },
{ CRC_WT_ADVANCEDSEARCH , NULL , " Advanced Search " }, { CRC_WT_ADVANCEDSEARCH , NULL , " Advanced Search " },
{ CRC_IL_NOMOREMATCHES , NULL , " No more matches found " }, { CRC_IL_NOMOREMATCHES , NULL , " No more matches found " },
{ CRC_WT_HEADEREDITHELP1 , NULL , " #F10: Nodelist " }, { CRC_WT_HEADEREDITHELP_1 , NULL , " #F10: Nodelist " },
{ CRC_WT_HEADEREDITHELP2 , NULL , " F10: Addressbook " }, { CRC_WT_HEADEREDITHELP_2 , NULL , " F10: Addressbook " },
{ CRC_WT_THREADLISTTITLE , NULL , " Message Thread List " }, { CRC_WT_THREADLISTTITLE , NULL , " Message Thread List " },
{ CRC_WT_ADVANCEDMARKING , NULL , " Advanced Marking " }, { CRC_WT_ADVANCEDMARKING , NULL , " Advanced Marking " },
{ CRC_ST_USERSTATUSLINE , NULL , "GoldED's Address Book - %d of %d (%d left)" }, { CRC_ST_USERSTATUSLINE , NULL , "GoldED's Address Book - %d of %d (%d left)" },
@ -484,6 +484,31 @@ static LangCrc LangCrcs[] = {
{ CRC_ST_PEEKURL , NULL , "Select URL" }, { CRC_ST_PEEKURL , NULL , "Select URL" },
{ CRC_IL_PEEKINFONOURLS , NULL , " No valid URLs were found in this msg! " }, { CRC_IL_PEEKINFONOURLS , NULL , " No valid URLs were found in this msg! " },
{ CRC_MI_MMMAIN , NULL , "M Main " },
{ CRC_MI_MMSHELL , NULL , "S Shell to OS " },
{ CRC_MI_MMQUIT , NULL , "Q Quit GoldED " },
{ CRC_MI_MMEDIT , NULL , "E Edit " },
{ CRC_MI_MMNEWMSG , NULL , "E Enter new msg " },
{ CRC_MI_MMQUOTEREPLY , NULL , "Q Quote-reply " },
{ CRC_MI_MMDIRQUOTEREPLY , NULL , "D Direct quote-reply (ignore Reply-To) " },
{ CRC_MI_MMCMTREPLY , NULL , "C Comment-reply " },
{ CRC_MI_MMOTHERAREA , NULL , "O Other area reply > " },
{ CRC_WT_MMOTHERAREA , NULL , " Other Area " },
{ CRC_MI_MMOQUOTEREPLY , NULL , "Q Quote-reply " },
{ CRC_MI_MMODIRQUOTEREPLY , NULL , "D Direct quote-reply (ignore Reply-To) " },
{ CRC_MI_MMOCMTREPLY , NULL , "C Comment-reply " },
{ CRC_MI_MMCHANGE , NULL , "C Change " },
{ CRC_MI_MMORIGIN , NULL , "O Origin " },
{ CRC_MI_MMUSERNAME , NULL , "U Username " },
{ CRC_MI_MMAKA , NULL , "A Aka " },
{ CRC_MI_MMATTRIBUTES , NULL , "M Msg attrs " },
{ CRC_MI_MMTEMPLATE , NULL , "T Template " },
{ CRC_MI_MMUTIL , NULL , "U Util " },
{ CRC_MI_MMCOPYMOVEFORWARD , NULL , "C Copy/Move/Forward " },
{ CRC_MI_MMLIST , NULL , "L List messages " },
{ CRC_MI_MMWRITE , NULL , "W Write to disk/printer " },
{ CRC_MI_MMFREQ , NULL , "F File request " },
{ CRC_LAST_CRC , NULL , NULL } { CRC_LAST_CRC , NULL , NULL }
}; };

View File

@ -472,8 +472,8 @@ const word CRC_MI_XCLISTREMOVE = 0x59AF;
const word CRC_WT_ADDRESSBOOK = 0xFEF8; const word CRC_WT_ADDRESSBOOK = 0xFEF8;
const word CRC_WT_ADVANCEDSEARCH = 0xA8C9; const word CRC_WT_ADVANCEDSEARCH = 0xA8C9;
const word CRC_IL_NOMOREMATCHES = 0xD6CC; const word CRC_IL_NOMOREMATCHES = 0xD6CC;
const word CRC_WT_HEADEREDITHELP1 = 0x27A8; const word CRC_WT_HEADEREDITHELP_1 = 0x27A8;
const word CRC_WT_HEADEREDITHELP2 = 0x27AB; const word CRC_WT_HEADEREDITHELP_2 = 0x27AB;
const word CRC_WT_THREADLISTTITLE = 0x07CF; const word CRC_WT_THREADLISTTITLE = 0x07CF;
const word CRC_WT_ADVANCEDMARKING = 0xF834; const word CRC_WT_ADVANCEDMARKING = 0xF834;
const word CRC_ST_USERSTATUSLINE = 0x67D9; const word CRC_ST_USERSTATUSLINE = 0x67D9;
@ -496,6 +496,31 @@ const word CRC_WT_PEEKURL = 0x2A26;
const word CRC_ST_PEEKURL = 0x254B; const word CRC_ST_PEEKURL = 0x254B;
const word CRC_IL_PEEKINFONOURLS = 0x361D; const word CRC_IL_PEEKINFONOURLS = 0x361D;
const word CRC_MI_MMMAIN = 0x0702;
const word CRC_MI_MMSHELL = 0x53DD;
const word CRC_MI_MMQUIT = 0x13B3;
const word CRC_MI_MMEDIT = 0xDE14;
const word CRC_MI_MMNEWMSG = 0xBD91;
const word CRC_MI_MMQUOTEREPLY = 0x9F8B;
const word CRC_MI_MMDIRQUOTEREPLY = 0x1B47;
const word CRC_MI_MMCMTREPLY = 0xC473;
const word CRC_MI_MMOTHERAREA = 0x3631;
const word CRC_WT_MMOTHERAREA = 0x629E;
const word CRC_MI_MMOQUOTEREPLY = 0xD3B1;
const word CRC_MI_MMODIRQUOTEREPLY = 0x99D5;
const word CRC_MI_MMOCMTREPLY = 0x4F2E;
const word CRC_MI_MMCHANGE = 0x4BF2;
const word CRC_MI_MMORIGIN = 0x96E9;
const word CRC_MI_MMUSERNAME = 0x2A01;
const word CRC_MI_MMAKA = 0x0B5A;
const word CRC_MI_MMATTRIBUTES = 0x4851;
const word CRC_MI_MMTEMPLATE = 0x32BF;
const word CRC_MI_MMUTIL = 0xCF4E;
const word CRC_MI_MMCOPYMOVEFORWARD = 0x43E5;
const word CRC_MI_MMLIST = 0xAF21;
const word CRC_MI_MMWRITE = 0xBA20;
const word CRC_MI_MMFREQ = 0xF5B5;
const word CRC_LAST_CRC = 0xFFFF; const word CRC_LAST_CRC = 0xFFFF;

View File

@ -80,6 +80,7 @@
#define H_ReplyThread 3016 #define H_ReplyThread 3016
#define H_ReadExternUtil 3017 #define H_ReadExternUtil 3017
#define H_PeekURL 3018 #define H_PeekURL 3018
#define H_MainMenu 3019
// ------------------------------------------------------------------ // ------------------------------------------------------------------

View File

@ -447,8 +447,8 @@ struct LangGed {
char* Addressbook; // WT_ADDRESSBOOK char* Addressbook; // WT_ADDRESSBOOK
char* AdvancedSearch; // WT_ADVANCEDSEARCH char* AdvancedSearch; // WT_ADVANCEDSEARCH
char* NoMoreMatches; // IL_NOMOREMATCHES char* NoMoreMatches; // IL_NOMOREMATCHES
char* HeaderEditHelp1; // WT_HEADEREDITHELP1 char* HeaderEditHelp1; // WT_HEADEREDITHELP_1
char* HeaderEditHelp2; // WT_HEADEREDITHELP2 char* HeaderEditHelp2; // WT_HEADEREDITHELP_2
char* ThreadlistTitle; // WT_THREADLISTTITLE char* ThreadlistTitle; // WT_THREADLISTTITLE
char* AdvancedMarking; // WT_ADVANCEDMARKING char* AdvancedMarking; // WT_ADVANCEDMARKING
char* UserStatusline; // ST_USERSTATUSLINE char* UserStatusline; // ST_USERSTATUSLINE
@ -471,6 +471,31 @@ struct LangGed {
char* PeekURLStat; // ST_PEEKURL char* PeekURLStat; // ST_PEEKURL
char* PeekInfoNoURLs; // IL_PEEKINFONOURLS char* PeekInfoNoURLs; // IL_PEEKINFONOURLS
char* MMMain; // MI_MMMAIN
char* MMShell; // MI_MMSHELL
char* MMQuit; // MI_MMQUIT
char* MMEdit; // MI_MMEDIT
char* MMNew; // MI_MMNEWMSG
char* MMQuote; // MI_MMQUOTEREPLY
char* MMDirQuote; // MI_MMDIRQUOTEREPLY
char* MMComment; // MI_MMCMTREPLY
char* MMOtherAreaReply; // MI_MMOTHERAREA
char* MMOtherArea; // WT_MMOTHERAREA
char* MMOQuote; // MI_MMOQUOTEREPLY
char* MMODirQuote; // MI_MMODIRQUOTEREPLY
char* MMOComment; // MI_MMOCMTREPLY
char* MMChange; // MI_MMCHANGE
char* MMOrigin; // MI_MMORIGIN
char* MMUsername; // MI_MMUSERNAME
char* MMAka; // MI_MMAKA
char* MMAttrs; // MI_MMATTRIBUTES
char* MMTemplate; // MI_MMTEMPLATE
char* MMUtil; // MI_MMUTIL
char* MMCopyMoveForward; // MI_MMCOPYMOVEFORWARD
char* MMList; // MI_MMLIST
char* MMWrite; // MI_MMWRITE
char* MMFreq; // MI_MMFREQ
char* EndLanguage; // LAST_CRC char* EndLanguage; // LAST_CRC
}; };

View File

@ -1006,44 +1006,44 @@ int GMenuNavigate::Run() {
SetBorder(5, C_ASKB); SetBorder(5, C_ASKB);
SetPos(6, 0, MAXCOL, 1); SetPos(6, 0, MAXCOL, 1);
SetMask(M_CLALL); SetMask(M_CLALL);
SetHelp(9999); SetHelp(H_MainMenu);
Begin(M_HORZ); Begin(M_HORZ);
SetBorder(W_BASK, C_ASKB); SetBorder(W_BASK, C_ASKB);
SetColor(C_ASKW, C_ASKQ, C_ASKN, C_ASKS, CFG->switches.get(screenshadows) ? C_SHADOW : -1); SetColor(C_ASKW, C_ASKQ, C_ASKN, C_ASKS, CFG->switches.get(screenshadows) ? C_SHADOW : -1);
Item(TAG_MAIN, "M Main "); Item(TAG_MAIN, LNG->MMMain);
BeginPullDown(); BeginPullDown();
Item(TAG_MAIN_SHELL, "S Shell to OS "); Item(TAG_MAIN_SHELL, LNG->MMShell);
Item(TAG_MAIN_QUIT, "Q Quit GoldED "); Item(TAG_MAIN_QUIT, LNG->MMQuit);
End(); End();
Item(TAG_EDIT, "E Edit "); Item(TAG_EDIT, LNG->MMEdit);
BeginPullDown(); BeginPullDown();
Item(TAG_EDIT_ENTER, "E Enter new msg "); Item(TAG_EDIT_ENTER, LNG->MMNew);
Item(TAG_EDIT_QUOTE, "Q Quote-reply "); Item(TAG_EDIT_QUOTE, LNG->MMQuote);
Item(TAG_EDIT_DIRQUOTE, "D Direct quote-reply (ignore Reply-To) "); Item(TAG_EDIT_DIRQUOTE, LNG->MMDirQuote);
Item(TAG_EDIT_COMMENT, "C Comment-reply "); Item(TAG_EDIT_COMMENT, LNG->MMComment);
Item(TAG_EDIT_OTHER, "O Other area reply > "); Item(TAG_EDIT_OTHER, LNG->MMOtherAreaReply);
SetTitle(" Other Area "); SetTitle(LNG->MMOtherArea);
Begin(); Begin();
Item(TAG_EDIT_OTHER_QUOTE, "Q Quote-reply "); Item(TAG_EDIT_OTHER_QUOTE, LNG->MMOQuote);
Item(TAG_EDIT_OTHER_DIRQUOTE, "D Direct quote-reply (ignore Reply-To) "); Item(TAG_EDIT_OTHER_DIRQUOTE, LNG->MMODirQuote);
Item(TAG_EDIT_OTHER_COMMENT, "C Comment-reply "); Item(TAG_EDIT_OTHER_COMMENT, LNG->MMOComment);
End(); End();
End(); End();
Item(TAG_SEL, "C Change "); Item(TAG_SEL, LNG->MMChange);
BeginPullDown(); BeginPullDown();
Item(TAG_SEL_ORIGIN, "O Origin "); Item(TAG_SEL_ORIGIN, LNG->MMOrigin);
Item(TAG_SEL_USERNAME, "U Username "); Item(TAG_SEL_USERNAME, LNG->MMUsername);
Item(TAG_SEL_AKA, "A Aka "); Item(TAG_SEL_AKA, LNG->MMAka);
Item(TAG_SEL_ATTRS, "M Msg attrs "); Item(TAG_SEL_ATTRS, LNG->MMAttrs);
Item(TAG_SEL_TEMPLATE, "T Template "); Item(TAG_SEL_TEMPLATE, LNG->MMTemplate);
End(); End();
Item(TAG_UTIL, "U Util "); Item(TAG_UTIL, LNG->MMUtil);
BeginPullDown(); BeginPullDown();
Item(TAG_UTIL_CMF, "C Copy/Move/Forward "); Item(TAG_UTIL_CMF, LNG->MMCopyMoveForward);
Item(TAG_UTIL_LIST, "L List messages "); Item(TAG_UTIL_LIST, LNG->MMList);
Item(TAG_UTIL_WRITE, "W Write to disk/printer "); Item(TAG_UTIL_WRITE, LNG->MMWrite);
Item(TAG_UTIL_FREQ, "F File request "); Item(TAG_UTIL_FREQ, LNG->MMFreq);
End(); End();
End(); End();
Start(); Start();