Skip to content
Snippets Groups Projects
Commit 9e193b0d authored by Eric Oulashin's avatar Eric Oulashin
Browse files

Added a new configurable text string: scanningMessageText

parent 86d323b8
No related branches found
No related tags found
No related merge requests found
...@@ -989,6 +989,7 @@ function DigDistMsgReader(pSubBoardCode, pScriptArgs) ...@@ -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", 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)", searchingSubBoardAbovePromptText: "\x01n\x01cSearching (current sub-board: \x01b\x01h%s\x01n\x01c)",
searchingSubBoardText: "\x01n\x01cSearching \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.", 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.", 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", msgScanCompleteText: "\x01n\x01h\x01cM\x01n\x01cessage scan complete\x01h\x01g.\x01n",
...@@ -2444,10 +2445,10 @@ function DigDistMsgReader_MessageAreaScan(pScanCfgOpt, pScanMode, pScanScopeChar ...@@ -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 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 (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 running a new message scan (not new-to-you or search), output which sub-board that is currently being scanned
if (pScanCfgOpt == SCAN_CFG_NEW && pScanMode == SCAN_NEW) 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.print("\x01n" + replaceAtCodesAndRemoveCRLFs(statusText) + "\x01n");
console.crlf(); console.crlf();
console.line_counter = 0; // Prevent pausing for screen output and when displaying a message console.line_counter = 0; // Prevent pausing for screen output and when displaying a message
...@@ -8473,6 +8474,7 @@ function DigDistMsgReader_ReadConfigFile() ...@@ -8473,6 +8474,7 @@ function DigDistMsgReader_ReadConfigFile()
(setting == "searchingPersonalMailText") || (setting == "searchingPersonalMailText") ||
(setting == "searchingSubBoardAbovePromptText") || (setting == "searchingSubBoardAbovePromptText") ||
(setting == "searchingSubBoardText") || (setting == "searchingSubBoardText") ||
(setting == "scanningSubBoardText") ||
(setting == "searchTextPromptText") || (setting == "searchTextPromptText") ||
(setting == "fromNamePromptText") || (setting == "fromNamePromptText") ||
(setting == "toNamePromptText") || (setting == "toNamePromptText") ||
......
...@@ -207,6 +207,7 @@ searchingSubBoardAbovePromptText=\x01n\x01cSearching (current sub-board: \x01b\x ...@@ -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 ; For displaying the sub-board name when doing a search. %s will be replaced
; with a sub-board name. ; with a sub-board name.
searchingSubBoardText=\x01n\x01cSearching \x01h%s\x01n\x01c... 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 ; 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. ; messages). %s will be replaced with a sub-board name.
noMessagesInSubBoardText=\x01n\x01h\x01bThere are no messages in the area \x01w%s\x01b. noMessagesInSubBoardText=\x01n\x01h\x01bThere are no messages in the area \x01w%s\x01b.
......
...@@ -992,6 +992,10 @@ searchingSubBoardText For displaying the sub-board name when ...@@ -992,6 +992,10 @@ searchingSubBoardText For displaying the sub-board name when
doing a search. %s will be replaced with doing a search. %s will be replaced with
a sub-board name. 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 noMessagesInSubBoardText No messages in a sub-board (i.e., trying
to read a sub-board that has no messages). to read a sub-board that has no messages).
%s will be replaced with a sub-board name. %s will be replaced with a sub-board name.
......
...@@ -9,6 +9,8 @@ Version Date Description ...@@ -9,6 +9,8 @@ Version Date Description
so that screen updates work better after pausing output. so that screen updates work better after pausing output.
Also, when running a new message scan (not new-to-you), Also, when running a new message scan (not new-to-you),
the current sub-board being scanned is now outputted. 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 1.67 2023-03-09 Fixes for time zone alignment & list key help for wide
terminals terminals
1.66 2023-03-02 When forwarding a message, the subject can now be edited 1.66 2023-03-02 When forwarding a message, the subject can now be edited
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment