diff --git a/xtrn/DDMsgReader/DDMsgReader.js b/xtrn/DDMsgReader/DDMsgReader.js index bccefb2814c080f239c0b757b7f99e7cf3497aa0..be95b72bcd26314672f8c15f1c24b0d98f8c9968 100644 --- a/xtrn/DDMsgReader/DDMsgReader.js +++ b/xtrn/DDMsgReader/DDMsgReader.js @@ -989,6 +989,7 @@ function DigDistMsgReader(pSubBoardCode, pScriptArgs) editMsgNumPromptText: "\x01n\x01cNumber of the message to be edited (or \x01hENTER\x01n\x01c to cancel)\x01g\x01h: \x01c", searchingSubBoardAbovePromptText: "\x01n\x01cSearching (current sub-board: \x01b\x01h%s\x01n\x01c)", searchingSubBoardText: "\x01n\x01cSearching \x01h%s\x01n\x01c...", + scanningSubBoardText: "\x01n\x01cScanning \x01h%s\x01n\x01c...", noMessagesInSubBoardText: "\x01n\x01h\x01bThere are no messages in the area \x01w%s\x01b.", noSearchResultsInSubBoardText: "\x01n\x01h\x01bNo messages were found in the area \x01w%s\x01b with the given search criteria.", msgScanCompleteText: "\x01n\x01h\x01cM\x01n\x01cessage scan complete\x01h\x01g.\x01n", @@ -2444,10 +2445,10 @@ function DigDistMsgReader_MessageAreaScan(pScanCfgOpt, pScanMode, pScanScopeChar this.setSubBoardCode(subBoardsToScan[subCodeIdx]); // Needs to be set before getting the last read/scan pointer index if (msg_area.sub[this.subBoardCode].can_read && ((msg_area.sub[this.subBoardCode].scan_cfg & pScanCfgOpt) == pScanCfgOpt)) { - // If running a new message scan (not new-to-you), output which sub-board that is currently being scanned - if (pScanCfgOpt == SCAN_CFG_NEW && pScanMode == SCAN_NEW) + // If running a new message scan (not new-to-you or search), output which sub-board that is currently being scanned + if (pScanMode == SCAN_NEW || pScanMode == SCAN_BACK) { - var statusText = format(this.text.searchingSubBoardText, subBoardGrpAndName(this.subBoardCode)); + var statusText = format(this.text.scanningSubBoardText, subBoardGrpAndName(this.subBoardCode)); console.print("\x01n" + replaceAtCodesAndRemoveCRLFs(statusText) + "\x01n"); console.crlf(); console.line_counter = 0; // Prevent pausing for screen output and when displaying a message @@ -8473,6 +8474,7 @@ function DigDistMsgReader_ReadConfigFile() (setting == "searchingPersonalMailText") || (setting == "searchingSubBoardAbovePromptText") || (setting == "searchingSubBoardText") || + (setting == "scanningSubBoardText") || (setting == "searchTextPromptText") || (setting == "fromNamePromptText") || (setting == "toNamePromptText") || diff --git a/xtrn/DDMsgReader/DefaultTheme.cfg b/xtrn/DDMsgReader/DefaultTheme.cfg index 46643ebf929fdbd8734071a00abd9b6c9fccc2fe..799a4dbc94d9a88b1163e660447314767c0957ff 100644 --- a/xtrn/DDMsgReader/DefaultTheme.cfg +++ b/xtrn/DDMsgReader/DefaultTheme.cfg @@ -207,6 +207,7 @@ searchingSubBoardAbovePromptText=\x01n\x01cSearching (current sub-board: \x01b\x ; For displaying the sub-board name when doing a search. %s will be replaced ; with a sub-board name. searchingSubBoardText=\x01n\x01cSearching \x01h%s\x01n\x01c... +scanningSubBoardText=\x01n\x01cScanning \x01h%s\x01n\x01c... ; No messages in a sub-board (i.e., trying to read a sub-board that has no ; messages). %s will be replaced with a sub-board name. noMessagesInSubBoardText=\x01n\x01h\x01bThere are no messages in the area \x01w%s\x01b. diff --git a/xtrn/DDMsgReader/readme.txt b/xtrn/DDMsgReader/readme.txt index 727054f1adb5cd08b9c0856140afce1e5297129f..4dc9016fd6ebdf3b8abbfb39a78860614f9b832c 100644 --- a/xtrn/DDMsgReader/readme.txt +++ b/xtrn/DDMsgReader/readme.txt @@ -992,6 +992,10 @@ searchingSubBoardText For displaying the sub-board name when doing a search. %s will be replaced with a sub-board name. +scanningSubBoardText For displaying the sub-board name when + doing a scan (i.e., a newscan). %s will be + replaced with a sub-board name. + noMessagesInSubBoardText No messages in a sub-board (i.e., trying to read a sub-board that has no messages). %s will be replaced with a sub-board name. diff --git a/xtrn/DDMsgReader/revision_history.txt b/xtrn/DDMsgReader/revision_history.txt index d87552556fa000aa8ebe9c7bff1d73905e25451a..3cabe176b29df1d8fa44c981b7f11da2b2169037 100644 --- a/xtrn/DDMsgReader/revision_history.txt +++ b/xtrn/DDMsgReader/revision_history.txt @@ -9,6 +9,8 @@ Version Date Description so that screen updates work better after pausing output. Also, when running a new message scan (not new-to-you), the current sub-board being scanned is now outputted. + There is a new configurable text string: + scanningSubBoardText 1.67 2023-03-09 Fixes for time zone alignment & list key help for wide terminals 1.66 2023-03-02 When forwarding a message, the subject can now be edited