Skip to content
Snippets Groups Projects
Commit 641e6c4a authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

Revert "Add FileURL text.dat string, used when displaying file info"

This reverts commit 269875be.

There are plenty of existing text.dat strings where URL @-codes can be added.
I had good/better results by changing the FiFilename string.
So let's not add a new/blank text.dat string for now good reason.
parent 77260949
Branches
Tags
No related merge requests found
Pipeline #7675 passed
...@@ -1109,4 +1109,3 @@ ...@@ -1109,4 +1109,3 @@
"paging node %u for private chat" 922 NodeActivityPagingNode "paging node %u for private chat" 922 NodeActivityPagingNode
"retrieving file from device #%d" 923 NodeActivityRetrievingFile "retrieving file from device #%d" 923 NodeActivityRetrievingFile
"performing custom activity" 924 NodeActivityCustom "performing custom activity" 924 NodeActivityCustom
"" 925 FileURL
...@@ -60,7 +60,6 @@ void sbbs_t::showfileinfo(file_t* f, bool show_extdesc) ...@@ -60,7 +60,6 @@ void sbbs_t::showfileinfo(file_t* f, bool show_extdesc)
if(f->file_idx.hash.flags & SMB_HASH_SHA1) if(f->file_idx.hash.flags & SMB_HASH_SHA1)
bprintf(P_TRUNCATE, text[FiChecksum], "SHA-1", SHA1_hex(tmp, f->file_idx.hash.data.sha1)); bprintf(P_TRUNCATE, text[FiChecksum], "SHA-1", SHA1_hex(tmp, f->file_idx.hash.data.sha1));
} }
bputs(P_TRUNCATE, text[FileURL]);
if(f->desc && f->desc[0]) if(f->desc && f->desc[0])
bprintf(P_TRUNCATE, text[FiDescription],f->desc); bprintf(P_TRUNCATE, text[FiDescription],f->desc);
if(f->tags && f->tags[0]) if(f->tags && f->tags[0])
......
...@@ -941,7 +941,6 @@ enum text { ...@@ -941,7 +941,6 @@ enum text {
,NodeActivityPagingNode ,NodeActivityPagingNode
,NodeActivityRetrievingFile ,NodeActivityRetrievingFile
,NodeActivityCustom ,NodeActivityCustom
,FileURL
,TOTAL_TEXT ,TOTAL_TEXT
}; };
......
...@@ -1488,5 +1488,4 @@ const char * const text_defaults[TOTAL_TEXT]={ ...@@ -1488,5 +1488,4 @@ const char * const text_defaults[TOTAL_TEXT]={
,"\x70\x61\x67\x69\x6e\x67\x20\x6e\x6f\x64\x65\x20\x25\x75\x20\x66\x6f\x72\x20\x70\x72\x69\x76\x61\x74\x65\x20\x63\x68\x61\x74" // 922 NodeActivityPagingNode ,"\x70\x61\x67\x69\x6e\x67\x20\x6e\x6f\x64\x65\x20\x25\x75\x20\x66\x6f\x72\x20\x70\x72\x69\x76\x61\x74\x65\x20\x63\x68\x61\x74" // 922 NodeActivityPagingNode
,"\x72\x65\x74\x72\x69\x65\x76\x69\x6e\x67\x20\x66\x69\x6c\x65\x20\x66\x72\x6f\x6d\x20\x64\x65\x76\x69\x63\x65\x20\x23\x25\x64" // 923 NodeActivityRetrievingFile ,"\x72\x65\x74\x72\x69\x65\x76\x69\x6e\x67\x20\x66\x69\x6c\x65\x20\x66\x72\x6f\x6d\x20\x64\x65\x76\x69\x63\x65\x20\x23\x25\x64" // 923 NodeActivityRetrievingFile
,"\x70\x65\x72\x66\x6f\x72\x6d\x69\x6e\x67\x20\x63\x75\x73\x74\x6f\x6d\x20\x61\x63\x74\x69\x76\x69\x74\x79" // 924 NodeActivityCustom ,"\x70\x65\x72\x66\x6f\x72\x6d\x69\x6e\x67\x20\x63\x75\x73\x74\x6f\x6d\x20\x61\x63\x74\x69\x76\x69\x74\x79" // 924 NodeActivityCustom
,"" // 925 FileURL
}; };
...@@ -925,5 +925,4 @@ const char* const text_id[]={ ...@@ -925,5 +925,4 @@ const char* const text_id[]={
,"NodeActivityPagingNode" ,"NodeActivityPagingNode"
,"NodeActivityRetrievingFile" ,"NodeActivityRetrievingFile"
,"NodeActivityCustom" ,"NodeActivityCustom"
,"FileURL"
}; };
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment