Added LocationDelimiter config file token
This commit is contained in:
@@ -248,6 +248,9 @@ DispPmFirst Yes
|
||||
;DispHdrLocation No
|
||||
DispHdrLocation Yes
|
||||
|
||||
// This separate sity names in netmail areas
|
||||
;LocationDelimiter " | "
|
||||
|
||||
// Substitutions for the city name retrieved from nodelist to display in
|
||||
// message header delimeter line. May be used to show national-language
|
||||
// names of the nodes cities.
|
||||
|
@@ -220,6 +220,10 @@ DispPmFirst Yes
|
||||
;DispHdrLocation No
|
||||
DispHdrLocation Yes
|
||||
|
||||
// <20>⨬ <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> ࠧ<><E0A0A7><EFBFBD><EFBFBD>⥫<EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><>த<EFBFBD><E0AEA4><EFBFBD> <20><><EFBFBD>ࠢ<EFBFBD>⥫<EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>⥫<EFBFBD>
|
||||
// <20> <20><>⬥<EFBFBD><E2ACA5> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.
|
||||
;LocationDelimiter " | "
|
||||
|
||||
// <20><><EFBFBD><EFBFBD>⠭<EFBFBD><E2A0AD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><>த<EFBFBD><E0AEA4> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><>ப<EFBFBD>-ࠧ<><E0A0A7><EFBFBD><EFBFBD>⥫<EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
// <20> ⥫<> ᮮ<>饭<EFBFBD><E9A5AD>. <20><><EFBFBD><EFBFBD><EFBFBD> <20>ᯮ<EFBFBD>짮<EFBFBD><ECA7AE><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD>᪨<EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><>த<EFBFBD><E0AEA4>.
|
||||
// <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> ⮫쪮 <20><><EFBFBD> 㪠<><E3AAA0><EFBFBD><EFBFBD><EFBFBD> DispHdrLocation Yes.
|
||||
|
@@ -10,6 +10,9 @@ ______________________________________________________________________
|
||||
Notes for GoldED+ 1.1.5, /snapshot/
|
||||
______________________________________________________________________
|
||||
|
||||
+ Added LocationDelimiter "delim" config file token that separate
|
||||
city names in netmail areas.
|
||||
|
||||
+ LocationAlias is case insensitive now.
|
||||
|
||||
+ Macro '@widepid' contains platform ID again.
|
||||
|
@@ -739,6 +739,7 @@ CfgGed::CfgGed() {
|
||||
internetviagate = false;
|
||||
keybmode = KEYB_POLL;
|
||||
logformat = 0;
|
||||
locationdelimiter = " \x1A ";
|
||||
menumarked = MODE_DONT;
|
||||
menunextarea = YES;
|
||||
msglistdate = MSGLISTDATE_WRITTEN;
|
||||
|
@@ -240,6 +240,7 @@ const word CRC_KLUDGE = 0xA600;
|
||||
const word CRC_KLUDGECHRS = 0x0EEF;
|
||||
const word CRC_LOADLANGUAGE = 0x9F1B;
|
||||
const word CRC_LOCATIONALIAS = 0x1B5F;
|
||||
const word CRC_LOCATIONDELIMITER= 0x5083;
|
||||
const word CRC_LOGFILE = 0x8ACE;
|
||||
const word CRC_LOGFORMAT = 0x9E51;
|
||||
const word CRC_LOGLEVEL = 0xCF59;
|
||||
|
@@ -412,6 +412,7 @@ SwitchL:
|
||||
switch(crc) {
|
||||
case CRC_LOADLANGUAGE : CfgLoadlanguage (); break;
|
||||
case CRC_LOCATIONALIAS : CfgLocationalias (); break;
|
||||
case CRC_LOCATIONDELIMITER: CfgLocationdelimiter(); break;
|
||||
case CRC_LOGFILE : CfgLogfile (); break;
|
||||
case CRC_LOGFORMAT : CfgLogformat (); break;
|
||||
default : found = false;
|
||||
|
@@ -331,6 +331,14 @@ void CfgLocationalias()
|
||||
|
||||
// ------------------------------------------------------------------
|
||||
|
||||
void CfgLocationdelimiter()
|
||||
{
|
||||
StripQuotes(val);
|
||||
CFG->locationdelimiter = val;
|
||||
}
|
||||
|
||||
// ------------------------------------------------------------------
|
||||
|
||||
void CfgLogfile() {
|
||||
|
||||
strcpy(CFG->logfile, val);
|
||||
|
@@ -230,6 +230,7 @@ void CfgKludge ();
|
||||
void CfgKludgechrs ();
|
||||
void CfgLoadlanguage ();
|
||||
void CfgLocationalias ();
|
||||
void CfgLocationdelimiter();
|
||||
void CfgLogfile ();
|
||||
void CfgLogformat ();
|
||||
void CfgLookupecho ();
|
||||
|
@@ -256,6 +256,7 @@ public:
|
||||
gstrarray kludge;
|
||||
Path loadlanguage;
|
||||
GStrBag2 locationalias;
|
||||
std::string locationdelimiter;
|
||||
Path logfile; // goldedlog;
|
||||
int logformat;
|
||||
std::vector<MailList> mailinglist;
|
||||
|
@@ -335,7 +335,7 @@ void GMsgHeaderView::Paint() {
|
||||
{
|
||||
std::string loc2;
|
||||
LookupNodeLocation(msg, loc2, LOOK_CITY2);
|
||||
if (loc.length()) loc += " | " + loc2;
|
||||
if (loc.length()) loc += CFG->locationdelimiter + loc2;
|
||||
}
|
||||
|
||||
if (loc.length())
|
||||
|
Reference in New Issue
Block a user