1999-03-15 01:45:43 +00:00
|
|
|
|
--- pine/folder.c.orig Fri Feb 5 05:47:33 1999
|
|
|
|
|
+++ pine/folder.c Wed Feb 24 02:50:43 1999
|
|
|
|
|
@@ -58,10 +58,10 @@
|
|
|
|
|
#include "headers.h"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
-#define CLICKHERE "[ Select Here to See Expanded List ]"
|
|
|
|
|
-#define CLICKHERETOO "[ ** Empty List ** Select Here to Try Re-Expanding ]"
|
|
|
|
|
+#define CLICKHERE "[ <20><><EFBFBD>o<EFBFBD>̥H<CCA5>˵<EFBFBD><CBB5>i<EFBFBD>}<7D><><EFBFBD>C<EFBFBD><43> ]"
|
|
|
|
|
+#define CLICKHERETOO "[ ** <20>Ū<EFBFBD><C5AA>C<EFBFBD><43> ** <20><><EFBFBD>o<EFBFBD>̨ӭ<CCA8><D3AD>s<EFBFBD>i<EFBFBD>} ]"
|
|
|
|
|
#define CLICKHERETOONEWS \
|
|
|
|
|
- "[ ** Empty List ** Use \"A Subscribe\" to subscribe to a newsgroup ]"
|
|
|
|
|
+ "[ ** <20>Ū<EFBFBD><C5AA>C<EFBFBD><43> ** <20>ϥ<EFBFBD> \"A Subscribe\" <20>ӭq<D3AD>\<5C>@<40>ӷs<D3B7>D<EFBFBD>ոs ]"
|
|
|
|
|
#define ALL_FOUND(X) (((X)->dir->status & CNTXT_NOFIND) == 0 && \
|
|
|
|
|
((X)->dir->status & CNTXT_PARTFIND) == 0)
|
1998-08-09 00:51:28 +00:00
|
|
|
|
#define FLDR_NAME(X) ((X) ? ((X)->nickname ? (X)->nickname : (X)->name) :"")
|
1999-03-15 01:45:43 +00:00
|
|
|
|
@@ -70,13 +70,13 @@
|
|
|
|
|
FOLDERS((S)->text.handles->h.f.context)) \
|
|
|
|
|
: NULL)
|
1998-08-09 00:51:28 +00:00
|
|
|
|
#define SUBSCRIBE_PMT \
|
|
|
|
|
- "Enter newsgroup name (or partial name to get a list): "
|
|
|
|
|
-#define LISTMODE_GRIPE "Use \"X\" to mark selections in list mode"
|
|
|
|
|
-#define SEL_ALTER_PMT "ALTER folder selection : "
|
|
|
|
|
-#define SEL_TEXT_PMT "Select by folder Name or Contents ? "
|
|
|
|
|
-#define SEL_PROP_PMT "Select by which folder property ? "
|
|
|
|
|
+ "<22><><EFBFBD>J<EFBFBD>s<EFBFBD>D<EFBFBD>ոs<D5B8>W<EFBFBD><57>(<28>γ<EFBFBD><CEB3><EFBFBD><EFBFBD>W<EFBFBD>٥H<D9A5><48><EFBFBD>o<EFBFBD>C<EFBFBD><43>)<29>G"
|
|
|
|
|
+#define LISTMODE_GRIPE "<22>H \"X\" <20>Ӧb<D3A6>C<EFBFBD><43><EFBFBD>Ҧ<EFBFBD><D2A6><EFBFBD><EFBFBD>Хܿ<D0A5><DCBF><EFBFBD>"
|
|
|
|
|
+#define SEL_ALTER_PMT "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ƧX<C6A7><58><EFBFBD><EFBFBD><EFBFBD>ܡG"
|
|
|
|
|
+#define SEL_TEXT_PMT "<22>ھڸ<DABE><DAB8>ƧX<C6A7>W<EFBFBD>٩Τ<D9A9><CEA4>e<EFBFBD><65><EFBFBD>ܡH"
|
|
|
|
|
+#define SEL_PROP_PMT "<22>ھڭ<DABE><DAAD>@<40>Ӹ<EFBFBD><D3B8>ƧX<C6A7>ʽ<EFBFBD><CABD>H"
|
|
|
|
|
#define DIR_FOLD_PMT \
|
|
|
|
|
- "Folder by the same name *MAY* get deleted as well. Continue"
|
|
|
|
|
+ "<22>P<EFBFBD>W<EFBFBD>٪<EFBFBD><D9AA><EFBFBD><EFBFBD>ƧX *<2A>i<EFBFBD><69>* <20>Q<EFBFBD>R<EFBFBD><52><EFBFBD>C<EFBFBD>~<7E><>"
|
|
|
|
|
|
|
|
|
|
#define mail_list(S, R, N) mail_list_internal(S, R, N)
|
|
|
|
|
|
1999-03-15 01:45:43 +00:00
|
|
|
|
@@ -313,21 +313,21 @@
|
1998-08-09 00:51:28 +00:00
|
|
|
|
/*
|
|
|
|
|
* Various screen keymenu/command binding s.
|
|
|
|
|
*/
|
|
|
|
|
-#define PREVC_MENU {"P", "PrevCltn", {MC_PREVITEM, 1, {'p'}}, KS_NONE}
|
|
|
|
|
-#define NEXTC_MENU {"N", "NextCltn", {MC_NEXTITEM, 2, {'n',TAB}}, KS_NONE}
|
|
|
|
|
-#define DELC_MENU {"D", "Del Cltn", {MC_DELETE,2,{'d',KEY_DEL}}, KS_NONE}
|
1999-03-15 01:45:43 +00:00
|
|
|
|
-#define PREVF_MENU {"P", "PrevFldr", {MC_PREV_HANDLE, 3, \
|
1998-08-09 00:51:28 +00:00
|
|
|
|
+#define PREVC_MENU {"P", "<22>e<EFBFBD>@<40>`<60><>", {MC_PREVITEM, 1, {'p'}}, KS_NONE}
|
|
|
|
|
+#define NEXTC_MENU {"N", "<22><><EFBFBD>@<40>`<60><>", {MC_NEXTITEM, 2, {'n',TAB}}, KS_NONE}
|
|
|
|
|
+#define DELC_MENU {"D", "<22>R<EFBFBD><52><EFBFBD>`<60><>", {MC_DELETE,2,{'d',KEY_DEL}}, KS_NONE}
|
1999-03-15 01:45:43 +00:00
|
|
|
|
+#define PREVF_MENU {"P", "<22>e<EFBFBD>@<40><><EFBFBD>ƧX", {MC_PREV_HANDLE, 3, \
|
|
|
|
|
{'p', ctrl('B'), KEY_LEFT}}, KS_NONE}
|
|
|
|
|
-#define NEXTF_MENU {"N", "NextFldr", {MC_NEXT_HANDLE, 4, \
|
|
|
|
|
+#define NEXTF_MENU {"N", "<22><><EFBFBD>@<40><><EFBFBD>ƧX", {MC_NEXT_HANDLE, 4, \
|
|
|
|
|
{'n', ctrl('F'), TAB, KEY_RIGHT}}, \
|
|
|
|
|
KS_NONE}
|
|
|
|
|
-#define CIND_MENU {"I", "CurIndex", {MC_INDEX,1,{'i'}}, KS_FLDRINDEX}
|
1998-08-09 00:51:28 +00:00
|
|
|
|
+#define CIND_MENU {"I", "<22><><EFBFBD><EFBFBD>", {MC_INDEX,1,{'i'}}, KS_FLDRINDEX}
|
|
|
|
|
|
|
|
|
|
static struct key context_mgr_keys[] =
|
|
|
|
|
{HELP_MENU,
|
|
|
|
|
OTHER_MENU,
|
|
|
|
|
- {"<", "Main Menu", {MC_MAIN,3,{'m','<',','}}, KS_EXITMODE},
|
|
|
|
|
- {">", "[View Cltn]",
|
|
|
|
|
+ {"<", "<22>D<EFBFBD><44><EFBFBD><EFBFBD>", {MC_MAIN,3,{'m','<',','}}, KS_EXITMODE},
|
|
|
|
|
+ {">", "[<5B>˵<EFBFBD><CBB5>`<60><>]",
|
|
|
|
|
{MC_CHOICE,5,{'v','>','.',ctrl('M'),ctrl('J')}}, KS_NONE},
|
|
|
|
|
PREVC_MENU,
|
|
|
|
|
NEXTC_MENU,
|
1999-03-15 01:45:43 +00:00
|
|
|
|
@@ -359,15 +359,15 @@
|
1998-08-09 00:51:28 +00:00
|
|
|
|
static struct key context_cfg_keys[] =
|
|
|
|
|
{HELP_MENU,
|
|
|
|
|
OTHER_MENU,
|
|
|
|
|
- {"E", "Exit Setup", {MC_EXIT,1,{'e'}}, KS_EXITMODE},
|
|
|
|
|
- {"C", "[Change]", {MC_EDIT,3,{'c',ctrl('M'),ctrl('J')}}, KS_NONE},
|
|
|
|
|
+ {"E", "<22><><EFBFBD>}<7D>]<5D>w", {MC_EXIT,1,{'e'}}, KS_EXITMODE},
|
|
|
|
|
+ {"C", "[<5B>ק<EFBFBD>]", {MC_EDIT,3,{'c',ctrl('M'),ctrl('J')}}, KS_NONE},
|
|
|
|
|
PREVC_MENU,
|
|
|
|
|
NEXTC_MENU,
|
|
|
|
|
PREVPAGE_MENU,
|
|
|
|
|
NEXTPAGE_MENU,
|
|
|
|
|
- {"A", "Add Cltn", {MC_ADD,1,{'a'}}, KS_NONE},
|
|
|
|
|
+ {"A", "<22>s<EFBFBD>W<EFBFBD>`<60><>", {MC_ADD,1,{'a'}}, KS_NONE},
|
|
|
|
|
DELC_MENU,
|
|
|
|
|
- {"$", "Shuffle", {MC_SHUFFLE,1,{'$'}},KS_NONE},
|
|
|
|
|
+ {"$", "<22><><EFBFBD><EFBFBD>", {MC_SHUFFLE,1,{'$'}},KS_NONE},
|
|
|
|
|
WHEREIS_MENU,
|
|
|
|
|
|
|
|
|
|
HELP_MENU,
|
1999-03-15 01:45:43 +00:00
|
|
|
|
@@ -386,9 +386,9 @@
|
1998-08-09 00:51:28 +00:00
|
|
|
|
|
|
|
|
|
static struct key context_select_keys[] =
|
|
|
|
|
{HELP_MENU,
|
|
|
|
|
- {"E", "ExitSelect", {MC_EXIT,1,{'e'}}, KS_EXITMODE},
|
|
|
|
|
+ {"E", "<22><><EFBFBD>}", {MC_EXIT,1,{'e'}}, KS_EXITMODE},
|
|
|
|
|
NULL_MENU,
|
|
|
|
|
- {">", "[View Cltn]",
|
|
|
|
|
+ {">", "[<5B>˵<EFBFBD><CBB5>`<60><>]",
|
|
|
|
|
{MC_CHOICE, 5, {'v','>','.',ctrl('M'),ctrl('J')}}, KS_NONE},
|
|
|
|
|
PREVC_MENU,
|
|
|
|
|
NEXTC_MENU,
|
1999-03-15 01:45:43 +00:00
|
|
|
|
@@ -402,9 +402,9 @@
|
1998-08-09 00:51:28 +00:00
|
|
|
|
|
|
|
|
|
static struct key context_fcc_keys[] =
|
|
|
|
|
{HELP_MENU,
|
|
|
|
|
- {"E", "ExitSelect", {MC_EXIT,1,{'e'}}, KS_EXITMODE},
|
|
|
|
|
+ {"E", "<22><><EFBFBD>}", {MC_EXIT,1,{'e'}}, KS_EXITMODE},
|
|
|
|
|
NULL_MENU,
|
|
|
|
|
- {">", "[View Cltn]",
|
|
|
|
|
+ {">", "[<5B>˵<EFBFBD><CBB5>`<60><>]",
|
|
|
|
|
{MC_CHOICE, 5, {'v','>','.',ctrl('M'),ctrl('J')}}, KS_NONE},
|
|
|
|
|
PREVC_MENU,
|
|
|
|
|
NEXTC_MENU,
|
1999-03-15 01:45:43 +00:00
|
|
|
|
@@ -426,23 +426,23 @@
|
1998-08-09 00:51:28 +00:00
|
|
|
|
NEXTF_MENU,
|
|
|
|
|
PREVPAGE_MENU,
|
|
|
|
|
NEXTPAGE_MENU,
|
|
|
|
|
- {"A","Add",{MC_ADDFLDR,1,{'a'}},KS_NONE},
|
|
|
|
|
+ {"A","<22>s<EFBFBD>W",{MC_ADDFLDR,1,{'a'}},KS_NONE},
|
|
|
|
|
DELETE_MENU,
|
|
|
|
|
- {"R","Rename",{MC_RENAMEFLDR,1,{'r'}}, KS_NONE},
|
|
|
|
|
+ {"R","<22><><EFBFBD>W",{MC_RENAMEFLDR,1,{'r'}}, KS_NONE},
|
|
|
|
|
WHEREIS_MENU,
|
|
|
|
|
|
|
|
|
|
HELP_MENU,
|
1999-03-15 01:45:43 +00:00
|
|
|
|
OTHER_MENU,
|
|
|
|
|
QUIT_MENU,
|
|
|
|
|
MAIN_MENU,
|
|
|
|
|
- {"V", "[View Fldr]", {MC_OPENFLDR}, KS_NONE},
|
|
|
|
|
+ {"V", "[<5B>˵<EFBFBD><CBB5>ɮקX]", {MC_OPENFLDR}, KS_NONE},
|
|
|
|
|
GOTO_MENU,
|
1998-08-09 00:51:28 +00:00
|
|
|
|
CIND_MENU,
|
|
|
|
|
COMPOSE_MENU,
|
1999-03-15 01:45:43 +00:00
|
|
|
|
- {"%", "Print", {MC_PRINTFLDR,1,{'%'}}, KS_PRINT},
|
1998-08-09 00:51:28 +00:00
|
|
|
|
- {"Z", "ZoomMode", {MC_ZOOM,1,{'z'}}, KS_NONE},
|
|
|
|
|
- {";","Select",{MC_SELECT,1,{';'}},KS_SELECT},
|
|
|
|
|
- {":","SelectCur",{MC_SELCUR,1,{':'}},KS_SELECT}};
|
1999-03-15 01:45:43 +00:00
|
|
|
|
+ {"%", "<22>C<EFBFBD>L", {MC_PRINTFLDR,1,{'%'}}, KS_PRINT},
|
1998-08-09 00:51:28 +00:00
|
|
|
|
+ {"Z", "<22>Y<EFBFBD><59><EFBFBD>Ҧ<EFBFBD>", {MC_ZOOM,1,{'z'}}, KS_NONE},
|
|
|
|
|
+ {";","<22><><EFBFBD><EFBFBD>",{MC_SELECT,1,{';'}},KS_SELECT},
|
|
|
|
|
+ {":","<22><><EFBFBD>ܥثe<D8AB><65>",{MC_SELCUR,1,{':'}},KS_SELECT}};
|
|
|
|
|
INST_KEY_MENU(folder_km, folder_keys);
|
|
|
|
|
#define KM_COL_KEY 2
|
|
|
|
|
#define KM_SEL_KEY 3
|
1999-03-15 01:45:43 +00:00
|
|
|
|
@@ -455,7 +455,7 @@
|
1998-08-09 00:51:28 +00:00
|
|
|
|
|
|
|
|
|
static struct key folder_sel_keys[] =
|
|
|
|
|
{HELP_MENU,
|
|
|
|
|
- {"E", "ExitSelect", {MC_EXIT,1,{'e'}}, KS_EXITMODE},
|
|
|
|
|
+ {"E", "<22><><EFBFBD>}", {MC_EXIT,1,{'e'}}, KS_EXITMODE},
|
1999-03-15 01:45:43 +00:00
|
|
|
|
NULL_MENU,
|
|
|
|
|
{NULL, NULL, {MC_CHOICE,3,{0,ctrl('M'),ctrl('J')}},
|
1998-08-09 00:51:28 +00:00
|
|
|
|
KS_NONE},
|
1999-03-15 01:45:43 +00:00
|
|
|
|
@@ -474,14 +474,14 @@
|
1998-08-09 00:51:28 +00:00
|
|
|
|
|
|
|
|
|
static struct key folder_sub_keys[] =
|
|
|
|
|
{HELP_MENU,
|
|
|
|
|
- {"S", "Subscribe", {MC_CHOICE,1,{'s'}}, KS_NONE},
|
|
|
|
|
- {"E", "ExitSubscb", {MC_EXIT,1,{'e'}}, KS_EXITMODE},
|
|
|
|
|
- {NULL, "[Select]", {MC_CHOICE,3,{'s',ctrl('M'),ctrl('J')}}, KS_NONE},
|
|
|
|
|
+ {"S", "<22>q<EFBFBD>\\", {MC_CHOICE,1,{'s'}}, KS_NONE},
|
|
|
|
|
+ {"E", "<22><><EFBFBD>}", {MC_EXIT,1,{'e'}}, KS_EXITMODE},
|
|
|
|
|
+ {NULL, "[<5B><><EFBFBD><EFBFBD>]", {MC_CHOICE,3,{'s',ctrl('M'),ctrl('J')}}, KS_NONE},
|
|
|
|
|
PREVF_MENU,
|
|
|
|
|
NEXTF_MENU,
|
|
|
|
|
PREVPAGE_MENU,
|
1999-03-15 01:45:43 +00:00
|
|
|
|
NEXTPAGE_MENU,
|
|
|
|
|
- {"L", "List Mode", {MC_LISTMODE, 1, {'l'}}, KS_NONE},
|
|
|
|
|
+ {"L", "<22>C<EFBFBD><43><EFBFBD>Ҧ<EFBFBD>", {MC_LISTMODE, 1, {'l'}}, KS_NONE},
|
|
|
|
|
NULL_MENU,
|
|
|
|
|
NULL_MENU,
|
|
|
|
|
WHEREIS_MENU};
|
|
|
|
|
@@ -493,8 +493,8 @@
|
1998-08-09 00:51:28 +00:00
|
|
|
|
static struct key folder_post_keys[] =
|
|
|
|
|
{HELP_MENU,
|
|
|
|
|
NULL_MENU,
|
|
|
|
|
- {"E", "ExitSelect", {MC_EXIT,1,{'e'}}, KS_EXITMODE},
|
|
|
|
|
- {"S", "[Select]", {MC_CHOICE, 3, {'s',ctrl('M'),ctrl('J')}}, KS_NONE},
|
|
|
|
|
+ {"E", "<22><><EFBFBD>}", {MC_EXIT,1,{'e'}}, KS_EXITMODE},
|
|
|
|
|
+ {"S", "[<5B><><EFBFBD><EFBFBD>]", {MC_CHOICE, 3, {'s',ctrl('M'),ctrl('J')}}, KS_NONE},
|
|
|
|
|
PREVF_MENU,
|
|
|
|
|
NEXTF_MENU,
|
|
|
|
|
PREVPAGE_MENU,
|
1999-03-15 01:45:43 +00:00
|
|
|
|
@@ -537,7 +537,7 @@
|
|
|
|
|
fs.agg_ops = F_ON(F_ENABLE_AGG_OPS, ps_global) != 0;
|
|
|
|
|
fs.relative_path = 1;
|
|
|
|
|
fs.f.valid = fl_val_gen;
|
|
|
|
|
- fs.f.title.bar = "FOLDER LIST";
|
|
|
|
|
+ fs.f.title.bar = "<22>H<EFBFBD><48><EFBFBD>X<EFBFBD>C<EFBFBD><43>";
|
|
|
|
|
fs.f.title.style = FolderName;
|
|
|
|
|
fs.f.help.text = h_folder_maint;
|
|
|
|
|
fs.f.help.title = "HELP FOR FOLDERS";
|
|
|
|
|
@@ -621,12 +621,12 @@
|
1998-08-09 00:51:28 +00:00
|
|
|
|
mailcap_free(); /* free resources we won't be using for a while */
|
|
|
|
|
|
|
|
|
|
memset(&css, 0, sizeof(CONT_SCR_S));
|
|
|
|
|
- css.title = "SETUP COLLECTION LIST";
|
|
|
|
|
+ css.title = "<22>]<5D>w<EFBFBD>`<60><><EFBFBD>C<EFBFBD><43>";
|
|
|
|
|
css.print_string = "contexts ";
|
|
|
|
|
css.start = ps->context_current;
|
|
|
|
|
css.contexts = &ps_global->context_list;
|
|
|
|
|
css.help.text = h_collection_maint;
|
|
|
|
|
- css.help.title = "HELP FOR SETUP COLLECTION";
|
|
|
|
|
+ css.help.title = "<22>]<5D>w<EFBFBD>`<60><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>U<EFBFBD><55><EFBFBD><EFBFBD>";
|
|
|
|
|
css.keymenu = &c_cfg_km;
|
|
|
|
|
css.edit = 1;
|
|
|
|
|
|
1999-03-15 01:45:43 +00:00
|
|
|
|
@@ -669,10 +669,10 @@
|
|
|
|
|
fs.context = *cntxtp;
|
|
|
|
|
fs.combined_view = !sublist && F_ON(F_CMBND_FOLDER_DISP, ps_global) != 0;
|
|
|
|
|
fs.f.valid = fl_val_gen;
|
|
|
|
|
- fs.f.title.bar = "GOTO: SELECT FOLDER";
|
|
|
|
|
+ fs.f.title.bar = "<22>e<EFBFBD><65><EFBFBD>G<EFBFBD><47><EFBFBD>ܸ<EFBFBD><DCB8>ƧX";
|
|
|
|
|
fs.f.title.style = FolderName;
|
|
|
|
|
fs.f.help.text = h_folder_open;
|
|
|
|
|
- fs.f.help.title = "HELP FOR OPENING FOLDERS";
|
|
|
|
|
+ fs.f.help.title = "<22>}<7D>Ҹ<EFBFBD><D2B8>ƧX<C6A7><58><EFBFBD><EFBFBD><EFBFBD>U<EFBFBD><55><EFBFBD><EFBFBD>";
|
|
|
|
|
fs.km = &folder_sel_km;
|
|
|
|
|
|
|
|
|
|
/* If we were provided a string,
|
|
|
|
|
@@ -681,7 +681,7 @@
|
|
|
|
|
if(sublist && *folder && context_isambig(folder)){
|
|
|
|
|
if((*cntxtp)->use & CNTXT_INCMNG){
|
|
|
|
|
q_status_message(SM_ORDER, 0, 3,
|
|
|
|
|
- "All folders displayed for Incoming Collection");
|
|
|
|
|
+ "<22>Ҧ<EFBFBD><D2A6><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ƧX<C6A7>Q<EFBFBD><51><EFBFBD>ܬ<EFBFBD><DCAC>ӷ<EFBFBD><D3B7>`<60><>");
|
|
|
|
|
}
|
|
|
|
|
else{
|
|
|
|
|
folder_sublist_context(folder, *cntxtp, &fake_context,
|
|
|
|
|
@@ -732,10 +732,10 @@
|
|
|
|
|
fs.context = *cntxtp;
|
|
|
|
|
fs.combined_view = F_ON(F_CMBND_FOLDER_DISP, ps_global) != 0;
|
|
|
|
|
fs.f.valid = fl_val_gen;
|
|
|
|
|
- fs.f.title.bar = "SAVE: SELECT FOLDER";
|
|
|
|
|
+ fs.f.title.bar = "<22>s<EFBFBD>ɡG<C9A1><47><EFBFBD>ܸ<EFBFBD><DCB8>ƧX";
|
|
|
|
|
fs.f.title.style = MessageNumber;
|
|
|
|
|
fs.f.help.text = h_folder_save;
|
|
|
|
|
- fs.f.help.title = "HELP FOR SAVING MESSAGES TO FOLDERS";
|
|
|
|
|
+ fs.f.help.title = "<22>N<EFBFBD>H<EFBFBD><48><EFBFBD>s<EFBFBD>J<EFBFBD><4A><EFBFBD>ƧX<C6A7><58><EFBFBD><EFBFBD><EFBFBD>U<EFBFBD><55><EFBFBD><EFBFBD>";
|
|
|
|
|
fs.km = &folder_sel_km;
|
|
|
|
|
|
|
|
|
|
/* If we were provided a string,
|
|
|
|
|
@@ -744,7 +744,7 @@
|
|
|
|
|
if(sublist && *folder && context_isambig(folder)){
|
|
|
|
|
if((*cntxtp)->use & CNTXT_INCMNG){
|
|
|
|
|
q_status_message(SM_ORDER, 0, 3,
|
|
|
|
|
- "All folders displayed for Incoming Collection");
|
|
|
|
|
+ "<22>Ҧ<EFBFBD><D2A6><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ƧX<C6A7>Q<EFBFBD><51><EFBFBD>ܬ<EFBFBD><DCAC>ӷ<EFBFBD><D3B7>`<60><>");
|
|
|
|
|
}
|
|
|
|
|
else{
|
|
|
|
|
folder_sublist_context(folder, *cntxtp, &fake_context,
|
|
|
|
|
@@ -921,7 +921,7 @@
|
1998-08-09 00:51:28 +00:00
|
|
|
|
/* leave (*new_dir)->ref == NULL */
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
- sprintf(tmp_20k_buf, "List of folders matching \"%s*\"", folder);
|
|
|
|
|
+ sprintf(tmp_20k_buf, "<22>ŦX \"%s*\" <20><><EFBFBD><EFBFBD><EFBFBD>ƧX<C6A7>C<EFBFBD><43>", folder);
|
|
|
|
|
(*new_dir)->desc = cpystr(tmp_20k_buf);
|
|
|
|
|
}
|
|
|
|
|
|
1999-03-15 01:45:43 +00:00
|
|
|
|
@@ -1025,12 +1025,12 @@
|
1998-08-09 00:51:28 +00:00
|
|
|
|
CONT_SCR_S css;
|
|
|
|
|
|
|
|
|
|
memset(&css, 0, sizeof(CONT_SCR_S));
|
|
|
|
|
- css.title = "COLLECTION LIST";
|
|
|
|
|
+ css.title = "<22>`<60><><EFBFBD>C<EFBFBD><43>";
|
|
|
|
|
css.print_string = "contexts ";
|
|
|
|
|
css.start = start;
|
|
|
|
|
css.contexts = &ps_global->context_list;
|
|
|
|
|
css.help.text = h_collection_screen;
|
|
|
|
|
- css.help.title = "HELP FOR COLLECTION LIST";
|
|
|
|
|
+ css.help.title = "<22>`<60><><EFBFBD>C<EFBFBD><43><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>U<EFBFBD><55><EFBFBD><EFBFBD>";
|
|
|
|
|
css.keymenu = km;
|
|
|
|
|
css.edit = edit_config;
|
|
|
|
|
|
1999-03-15 01:45:43 +00:00
|
|
|
|
@@ -1102,7 +1102,7 @@
|
1998-08-09 00:51:28 +00:00
|
|
|
|
pbuf.browse_help = h_composer_browse;
|
|
|
|
|
pbuf.attach_help = h_composer_ctrl_j;
|
|
|
|
|
pbuf.composer_help = h_composer;
|
|
|
|
|
- sprintf(tmp, "FOLDER COLLECTION %s", func);
|
|
|
|
|
+ sprintf(tmp, "<22><><EFBFBD>ƧX<C6A7>`<60><> %s", func);
|
|
|
|
|
pbuf.pine_anchor = set_titlebar(tmp, ps_global->mail_stream,
|
|
|
|
|
ps_global->context_current,
|
|
|
|
|
ps_global->cur_folder,ps_global->msgmap,
|
1999-03-15 01:45:43 +00:00
|
|
|
|
@@ -1347,10 +1347,10 @@
|
1998-08-09 00:51:28 +00:00
|
|
|
|
else
|
|
|
|
|
exists = (i & FEX_ISDIR);
|
|
|
|
|
|
|
|
|
|
- sprintf(prompt, "Exit%s" ,
|
|
|
|
|
+ sprintf(prompt, "<22><><EFBFBD>}%s" ,
|
|
|
|
|
exists
|
|
|
|
|
- ? " and save changes"
|
|
|
|
|
- : ", saving changes and creating Path");
|
|
|
|
|
+ ? " <20>æs<C3A6><73>"
|
|
|
|
|
+ : "<22>A<EFBFBD>s<EFBFBD>ɨëإ߸<D8A5><DFB8>|");
|
|
|
|
|
if(want_to(prompt, 'y', 0, NO_HELP, WT_NORM) == 'y'){
|
|
|
|
|
if(!exists && !mail_create(NULL, tmp)){
|
|
|
|
|
flush_status_messages(1); /* mail_create gripes */
|
1999-03-15 01:45:43 +00:00
|
|
|
|
@@ -1382,7 +1382,7 @@
|
1998-08-09 00:51:28 +00:00
|
|
|
|
char *rstr = NULL;
|
|
|
|
|
void (*redraw)() = ps_global->redrawer;
|
|
|
|
|
#define CCA_PROMPT \
|
|
|
|
|
- "Cancel Add (answering \"Yes\" will abandon any changes made) "
|
|
|
|
|
+ "<22><><EFBFBD><EFBFBD><EFBFBD>s<EFBFBD>W (<28>^<5E><> \"Yes\" <20>N<EFBFBD><4E><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>e<EFBFBD><65><EFBFBD>L<EFBFBD><4C><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>) "
|
|
|
|
|
|
|
|
|
|
ps_global->redrawer = redraw_pico;
|
|
|
|
|
fix_windsize(ps_global);
|
1999-03-15 01:45:43 +00:00
|
|
|
|
@@ -1505,7 +1505,7 @@
|
1998-08-09 00:51:28 +00:00
|
|
|
|
FSTATE_S *fs;
|
|
|
|
|
{
|
1999-03-15 01:45:43 +00:00
|
|
|
|
if(f->subscribed){
|
1998-08-09 00:51:28 +00:00
|
|
|
|
- q_status_message1(SM_ORDER, 0, 4, "Already subscribed to \"%s\"",
|
|
|
|
|
+ q_status_message1(SM_ORDER, 0, 4, "<22>w<EFBFBD>q<EFBFBD>\\<5C><> \"%s\"",
|
|
|
|
|
FLDR_NAME(f));
|
|
|
|
|
return(0);
|
|
|
|
|
}
|
1999-03-15 01:45:43 +00:00
|
|
|
|
@@ -1549,7 +1549,7 @@
|
|
|
|
|
}
|
|
|
|
|
else{
|
|
|
|
|
q_status_message(SM_ORDER | SM_DING, 3, 3,
|
|
|
|
|
- "Formatting Error: Can't create space for list");
|
|
|
|
|
+ "<22>榡<EFBFBD>ƿ<EFBFBD><C6BF>~<7E>G<EFBFBD>L<EFBFBD>k<EFBFBD><6B><EFBFBD>C<EFBFBD><43><EFBFBD>إߪŶ<DFAA>");
|
|
|
|
|
return(NULL);
|
|
|
|
|
}
|
1998-08-09 00:51:28 +00:00
|
|
|
|
|
1999-03-15 01:45:43 +00:00
|
|
|
|
@@ -1563,7 +1563,7 @@
|
|
|
|
|
memset(&sargs, 0, sizeof(SCROLL_S));
|
|
|
|
|
sargs.text.text = so_text(screen_text);
|
|
|
|
|
sargs.text.src = CharStar;
|
|
|
|
|
- sargs.text.desc = "folder list";
|
|
|
|
|
+ sargs.text.desc = "<22>H<EFBFBD><48><EFBFBD>X<EFBFBD>C<EFBFBD><43>";
|
|
|
|
|
if(sargs.text.handles = folder_list_handle(fs, handles))
|
|
|
|
|
sargs.start.on = Handle;
|
|
|
|
|
|
|
|
|
|
@@ -1875,7 +1875,7 @@
|
|
|
|
|
else if(fp->fs->combined_view
|
|
|
|
|
&& (F_ON(F_CMBND_SUBDIR_DISP, ps_global)
|
|
|
|
|
|| !c_list->dir->prev)){
|
|
|
|
|
- static char *emptiness = "[No Folders in Collection]";
|
|
|
|
|
+ static char *emptiness = "[<5B>`<60><><EFBFBD><EFBFBD><EFBFBD>S<EFBFBD><53><EFBFBD><EFBFBD><EFBFBD>ƧX]";
|
|
|
|
|
|
|
|
|
|
gf_puts(folder_list_center_space(emptiness, cols), pc);
|
|
|
|
|
len = folder_list_write(pc, c_list, -1, emptiness,
|
|
|
|
|
@@ -1885,7 +1885,7 @@
|
|
|
|
|
else if(fp->fs->combined_view
|
|
|
|
|
&& (F_ON(F_CMBND_SUBDIR_DISP, ps_global)
|
|
|
|
|
|| !c_list->dir->prev)){
|
|
|
|
|
- static char *unexpanded = "[Select Here to See Expanded List]";
|
|
|
|
|
+ static char *unexpanded = "[<5B><><EFBFBD>o<EFBFBD>̥H<CCA5>˵<EFBFBD><CBB5>i<EFBFBD>}<7D>᪺<EFBFBD>C<EFBFBD><43>]";
|
|
|
|
|
|
|
|
|
|
gf_puts(folder_list_center_space(unexpanded, cols), pc);
|
|
|
|
|
len = folder_list_write(pc, c_list, -1, unexpanded,
|
|
|
|
|
@@ -2092,11 +2092,11 @@
|
|
|
|
|
q_status_message(SM_ORDER, 0, 1, LISTMODE_GRIPE);
|
1998-08-09 00:51:28 +00:00
|
|
|
|
}
|
|
|
|
|
else
|
1999-03-15 01:45:43 +00:00
|
|
|
|
- q_status_message(SM_ORDER, 0, 4, "Already in List Mode");
|
|
|
|
|
+ q_status_message(SM_ORDER, 0, 4, "<22>w<EFBFBD>g<EFBFBD>B<EFBFBD><42><EFBFBD>C<EFBFBD><43><EFBFBD>Ҧ<EFBFBD><D2A6><EFBFBD>");
|
|
|
|
|
}
|
|
|
|
|
else
|
|
|
|
|
q_status_message(SM_ORDER, 0, 4,
|
|
|
|
|
- "No Folders! Can't enter List Mode");
|
|
|
|
|
+ "<22>S<EFBFBD><53><EFBFBD><EFBFBD><EFBFBD>ƧX<C6A7>I<EFBFBD>L<EFBFBD>k<EFBFBD>i<EFBFBD>J<EFBFBD>C<EFBFBD><43><EFBFBD>Ҧ<EFBFBD>");
|
1998-08-09 00:51:28 +00:00
|
|
|
|
|
1999-03-15 01:45:43 +00:00
|
|
|
|
break;
|
1998-08-09 00:51:28 +00:00
|
|
|
|
|
1999-03-15 01:45:43 +00:00
|
|
|
|
@@ -2122,7 +2122,7 @@
|
|
|
|
|
sparms->text.handles->h.f.index);
|
|
|
|
|
else
|
|
|
|
|
q_status_message(SM_ORDER, 0, 4,
|
|
|
|
|
- "No Folders! Nothing to View");
|
|
|
|
|
+ "<22>S<EFBFBD><53><EFBFBD><EFBFBD><EFBFBD>ƧX<C6A7>I<EFBFBD>S<EFBFBD><53><EFBFBD>i<EFBFBD><69><EFBFBD>˵<EFBFBD><CBB5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>");
|
1998-08-09 00:51:28 +00:00
|
|
|
|
|
1999-03-15 01:45:43 +00:00
|
|
|
|
break;
|
1998-08-09 00:51:28 +00:00
|
|
|
|
|
1999-03-15 01:45:43 +00:00
|
|
|
|
@@ -2206,7 +2206,7 @@
|
|
|
|
|
}
|
|
|
|
|
else
|
|
|
|
|
q_status_message(SM_ORDER | SM_DING, 0, 4,
|
|
|
|
|
- "Empty folder collection. No folder to rename!");
|
|
|
|
|
+ "<22>Ū<EFBFBD><C5AA><EFBFBD><EFBFBD>ƧX<C6A7>`<60><><EFBFBD>C<EFBFBD>S<EFBFBD><53><EFBFBD>i<EFBFBD>ѧ<EFBFBD><D1A7>W<EFBFBD><57><EFBFBD><EFBFBD><EFBFBD>ƧX<C6A7>I");
|
|
|
|
|
|
|
|
|
|
break;
|
|
|
|
|
|
|
|
|
|
@@ -2216,7 +2216,7 @@
|
|
|
|
|
if(!(sparms->text.handles
|
|
|
|
|
&& folder_total(FOLDERS(sparms->text.handles->h.f.context)))){
|
|
|
|
|
q_status_message(SM_ORDER | SM_DING, 0, 4,
|
|
|
|
|
- "Empty folder collection. No folder to delete!");
|
|
|
|
|
+ "<22>Ū<EFBFBD><C5AA><EFBFBD><EFBFBD>ƧX<C6A7>`<60><><EFBFBD>C<EFBFBD>S<EFBFBD><53><EFBFBD>i<EFBFBD>ѧR<D1A7><52><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ƧX<C6A7>I");
|
|
|
|
|
}
|
|
|
|
|
else if(delete_folder(sparms->text.handles->h.f.context,
|
|
|
|
|
sparms->text.handles->h.f.index)){
|
|
|
|
|
@@ -2336,7 +2336,7 @@
|
|
|
|
|
}
|
|
|
|
|
else
|
|
|
|
|
q_status_message(SM_ORDER | SM_DING, 0, 4,
|
|
|
|
|
- "Empty folder collection. No folder to select!");
|
|
|
|
|
+ "<22>Ū<EFBFBD><C5AA><EFBFBD><EFBFBD>ƧX<C6A7>`<60><><EFBFBD>C<EFBFBD>S<EFBFBD><53><EFBFBD>i<EFBFBD>ѿ<EFBFBD><D1BF>ܪ<EFBFBD><DCAA><EFBFBD><EFBFBD>ƧX<C6A7>I");
|
1998-08-09 00:51:28 +00:00
|
|
|
|
|
1999-03-15 01:45:43 +00:00
|
|
|
|
break;
|
1998-08-09 00:51:28 +00:00
|
|
|
|
|
1999-03-15 01:45:43 +00:00
|
|
|
|
@@ -2352,11 +2352,11 @@
|
|
|
|
|
if(sparms->text.handles->h.f.context->use & CNTXT_ZOOM){
|
|
|
|
|
sparms->text.handles->h.f.context->use &= ~CNTXT_ZOOM;
|
1998-08-09 00:51:28 +00:00
|
|
|
|
q_status_message(SM_ORDER, 0, 3,
|
|
|
|
|
- "Folder List Zoom mode is now off");
|
|
|
|
|
+ "<22><><EFBFBD>ƧX<C6A7>C<EFBFBD><43><EFBFBD>Y<EFBFBD><59><EFBFBD>Ҧ<EFBFBD><D2A6>ثe<D8AB><65><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>A");
|
|
|
|
|
}
|
1999-03-15 01:45:43 +00:00
|
|
|
|
else{
|
|
|
|
|
q_status_message1(SM_ORDER, 0, 3,
|
|
|
|
|
- "In Zoomed list of %s folders. Use \"Z\" to restore regular list",
|
|
|
|
|
+ "<22>b %s <20>Ӹ<EFBFBD><D3B8>ƧX<C6A7>Y<EFBFBD>C<F1AABAA6><43><EFBFBD><EFBFBD><EFBFBD>C<EFBFBD>ϥ<EFBFBD> \"Z\" <20>Ӧ^<5E>_<EFBFBD><5F><EFBFBD>`<60>C<EFBFBD><43>",
|
|
|
|
|
int2string(n));
|
|
|
|
|
sparms->text.handles->h.f.context->use |= CNTXT_ZOOM;
|
|
|
|
|
}
|
|
|
|
|
@@ -2376,10 +2376,10 @@
|
1998-08-09 00:51:28 +00:00
|
|
|
|
}
|
|
|
|
|
else
|
|
|
|
|
q_status_message(SM_ORDER, 0, 3,
|
|
|
|
|
- "No selected folders to Zoom on");
|
|
|
|
|
+ "<22>|<7C><><EFBFBD><EFBFBD><EFBFBD>ܨѩ<DCA8><D1A9>j<EFBFBD><6A><EFBFBD><EFBFBD><EFBFBD>ƧX<C6A7>C");
|
1999-03-15 01:45:43 +00:00
|
|
|
|
}
|
|
|
|
|
else
|
|
|
|
|
- q_status_message(SM_ORDER, 0, 4, "No Folders to Zoom on!");
|
|
|
|
|
+ q_status_message(SM_ORDER, 0, 4, "<22>S<EFBFBD><53><EFBFBD>i<EFBFBD>ѩ<EFBFBD><D1A9>j<EFBFBD><6A><EFBFBD><EFBFBD><EFBFBD>ƧX<C6A7>I");
|
1998-08-09 00:51:28 +00:00
|
|
|
|
|
1999-03-15 01:45:43 +00:00
|
|
|
|
break;
|
1998-08-09 00:51:28 +00:00
|
|
|
|
|
1999-03-15 01:45:43 +00:00
|
|
|
|
@@ -2469,7 +2469,7 @@
|
|
|
|
|
empty++;
|
1998-08-09 00:51:28 +00:00
|
|
|
|
|
1999-03-15 01:45:43 +00:00
|
|
|
|
if(empty)
|
|
|
|
|
- q_status_message(SM_ORDER | SM_DING, 3, 3, "Empty folder list!");
|
|
|
|
|
+ q_status_message(SM_ORDER | SM_DING, 3, 3, "<22>Ū<EFBFBD><C5AA><EFBFBD><EFBFBD>ƧX<C6A7>C<EFBFBD><43><EFBFBD>I");
|
1998-08-09 00:51:28 +00:00
|
|
|
|
|
1999-03-15 01:45:43 +00:00
|
|
|
|
return(rv);
|
1998-08-09 00:51:28 +00:00
|
|
|
|
}
|
1999-03-15 01:45:43 +00:00
|
|
|
|
@@ -2510,14 +2510,14 @@
|
|
|
|
|
? sparms->text.handles->h.f.context->dir->prev
|
|
|
|
|
: FPROC(sparms)->fs->context->dir->prev){
|
|
|
|
|
sparms->keys.menu->keys[KM_COL_KEY].bind.ch[0] = 'e';
|
|
|
|
|
- sparms->keys.menu->keys[KM_COL_KEY].label = "ParentDir";
|
|
|
|
|
+ sparms->keys.menu->keys[KM_COL_KEY].label = "<22>W<EFBFBD>h<EFBFBD>ؿ<EFBFBD>";
|
|
|
|
|
sparms->keys.menu->keys[KM_COL_KEY].bind.cmd = MC_PARENT;
|
|
|
|
|
}
|
|
|
|
|
else if((FPROC(sparms)->fs->context->next
|
|
|
|
|
|| FPROC(sparms)->fs->context->prev)
|
|
|
|
|
&& !FPROC(sparms)->fs->combined_view){
|
|
|
|
|
sparms->keys.menu->keys[KM_COL_KEY].bind.ch[0] = 'e';
|
|
|
|
|
- sparms->keys.menu->keys[KM_COL_KEY].label = "ClctnList";
|
|
|
|
|
+ sparms->keys.menu->keys[KM_COL_KEY].label = "<22>`<60><><EFBFBD>C<EFBFBD><43>";
|
|
|
|
|
sparms->keys.menu->keys[KM_COL_KEY].bind.cmd = MC_EXIT;
|
|
|
|
|
}
|
|
|
|
|
else{
|
|
|
|
|
@@ -2529,7 +2529,7 @@
|
|
|
|
|
sparms->keys.menu->keys[KM_MAIN_KEY].bind.cmd = MC_NONE;
|
|
|
|
|
sparms->keys.menu->keys[KM_MAIN_KEY].bind.nch = 0;
|
|
|
|
|
|
|
|
|
|
- sparms->keys.menu->keys[KM_COL_KEY].label = "Main Menu";
|
|
|
|
|
+ sparms->keys.menu->keys[KM_COL_KEY].label = "<22>D<EFBFBD><44><EFBFBD><EFBFBD>";
|
|
|
|
|
sparms->keys.menu->keys[KM_COL_KEY].bind.cmd = MC_MAIN;
|
|
|
|
|
sparms->keys.menu->keys[KM_COL_KEY].bind.ch[0] = 'm';
|
|
|
|
|
}
|
|
|
|
|
@@ -2545,7 +2545,7 @@
|
|
|
|
|
FOLDERS(sparms->text.handles->h.f.context)))){
|
|
|
|
|
if(fp->isdir){
|
|
|
|
|
if(fp->isfolder){
|
|
|
|
|
- sparms->keys.menu->keys[KM_SEL_KEY].label = "View Dir";
|
|
|
|
|
+ sparms->keys.menu->keys[KM_SEL_KEY].label = "<22>˵<EFBFBD><CBB5>ؿ<EFBFBD>";
|
|
|
|
|
menu_clear_binding(sparms->keys.menu, 'v');
|
|
|
|
|
menu_clear_binding(sparms->keys.menu, ctrl('M'));
|
|
|
|
|
menu_clear_binding(sparms->keys.menu, ctrl('J'));
|
|
|
|
|
@@ -2555,7 +2555,7 @@
|
|
|
|
|
setbitn(KM_ALTVIEW_KEY, sparms->keys.bitmap);
|
|
|
|
|
}
|
|
|
|
|
else{
|
|
|
|
|
- sparms->keys.menu->keys[KM_SEL_KEY].label = "[View Dir]";
|
|
|
|
|
+ sparms->keys.menu->keys[KM_SEL_KEY].label = "[<5B>˵<EFBFBD><CBB5>ؿ<EFBFBD>]";
|
|
|
|
|
menu_add_binding(sparms->keys.menu, 'v', MC_CHOICE);
|
|
|
|
|
menu_add_binding(sparms->keys.menu, ctrl('M'), MC_CHOICE);
|
|
|
|
|
menu_add_binding(sparms->keys.menu, ctrl('J'), MC_CHOICE);
|
|
|
|
|
@@ -2563,7 +2563,7 @@
|
|
|
|
|
}
|
1998-08-09 00:51:28 +00:00
|
|
|
|
}
|
|
|
|
|
else{
|
1999-03-15 01:45:43 +00:00
|
|
|
|
- sparms->keys.menu->keys[KM_SEL_KEY].label = "[View Fldr]";
|
|
|
|
|
+ sparms->keys.menu->keys[KM_SEL_KEY].label = "[<5B>˵<EFBFBD><CBB5><EFBFBD><EFBFBD>ƧX]";
|
|
|
|
|
menu_add_binding(sparms->keys.menu, 'v', MC_CHOICE);
|
|
|
|
|
menu_add_binding(sparms->keys.menu, ctrl('M'), MC_CHOICE);
|
|
|
|
|
menu_add_binding(sparms->keys.menu, ctrl('J'), MC_CHOICE);
|
|
|
|
|
@@ -2573,7 +2573,7 @@
|
|
|
|
|
else if(FPROC(sparms)->fs->combined_view
|
|
|
|
|
&& sparms->text.handles && sparms->text.handles->h.f.context
|
|
|
|
|
&& !sparms->text.handles->h.f.context->dir->prev){
|
|
|
|
|
- sparms->keys.menu->keys[KM_SEL_KEY].label = "[View Cltn]";
|
|
|
|
|
+ sparms->keys.menu->keys[KM_SEL_KEY].label = "[<5B>˵<EFBFBD><CBB5>`<60><>]";
|
|
|
|
|
menu_add_binding(sparms->keys.menu, 'v', MC_CHOICE);
|
|
|
|
|
menu_add_binding(sparms->keys.menu, ctrl('M'), MC_CHOICE);
|
|
|
|
|
menu_add_binding(sparms->keys.menu, ctrl('J'), MC_CHOICE);
|
|
|
|
|
@@ -2616,7 +2623,7 @@
|
|
|
|
|
? sparms->text.handles->h.f.context->dir->prev
|
|
|
|
|
: FPROC(sparms)->fs->context->dir->prev){
|
|
|
|
|
sparms->keys.menu->keys[FC_COL_KEY].name = "<";
|
|
|
|
|
- sparms->keys.menu->keys[FC_COL_KEY].label = "ParentDir";
|
|
|
|
|
+ sparms->keys.menu->keys[FC_COL_KEY].label = "<22>W<EFBFBD>h<EFBFBD>ؿ<EFBFBD>";
|
|
|
|
|
sparms->keys.menu->keys[FC_COL_KEY].bind.cmd = MC_PARENT;
|
|
|
|
|
sparms->keys.menu->keys[FC_COL_KEY].bind.nch = 2;
|
|
|
|
|
sparms->keys.menu->keys[FC_COL_KEY].bind.ch[0] = '<';
|
|
|
|
|
@@ -2627,7 +2634,7 @@
|
|
|
|
|
|| FPROC(sparms)->fs->context->prev)
|
|
|
|
|
&& !FPROC(sparms)->fs->combined_view){
|
|
|
|
|
sparms->keys.menu->keys[FC_COL_KEY].name = "<";
|
|
|
|
|
- sparms->keys.menu->keys[FC_COL_KEY].label = "ClctnList";
|
|
|
|
|
+ sparms->keys.menu->keys[FC_COL_KEY].label = "<22>`<60><><EFBFBD>C<EFBFBD><43>";
|
|
|
|
|
sparms->keys.menu->keys[FC_COL_KEY].bind.cmd = MC_COLLECTIONS;
|
|
|
|
|
sparms->keys.menu->keys[FC_COL_KEY].bind.nch = 2;
|
|
|
|
|
sparms->keys.menu->keys[FC_COL_KEY].bind.ch[0] = '<';
|
|
|
|
|
@@ -2639,7 +2646,7 @@
|
|
|
|
|
* turn off "ExitSelect" in first slot
|
|
|
|
|
*/
|
|
|
|
|
sparms->keys.menu->keys[FC_COL_KEY].name = "E";
|
|
|
|
|
- sparms->keys.menu->keys[FC_COL_KEY].label = "ExitSelect";
|
|
|
|
|
+ sparms->keys.menu->keys[FC_COL_KEY].label = "<22><><EFBFBD>}";
|
|
|
|
|
sparms->keys.menu->keys[FC_COL_KEY].bind.cmd = MC_EXIT;
|
|
|
|
|
sparms->keys.menu->keys[FC_COL_KEY].bind.nch = 1;
|
|
|
|
|
sparms->keys.menu->keys[FC_COL_KEY].bind.ch[0] = 'e';
|
|
|
|
|
@@ -2651,7 +2658,7 @@
|
|
|
|
|
FOLDERS(sparms->text.handles->h.f.context)))
|
|
|
|
|
&& fp->isdir){
|
|
|
|
|
sparms->keys.menu->keys[FC_SEL_KEY].name = ">";
|
|
|
|
|
- sparms->keys.menu->keys[FC_SEL_KEY].label = "[View Dir]";
|
|
|
|
|
+ sparms->keys.menu->keys[FC_SEL_KEY].label = "[<5B>˵<EFBFBD><CBB5>ؿ<EFBFBD>]";
|
|
|
|
|
menu_clear_binding(sparms->keys.menu, 's');
|
|
|
|
|
menu_add_binding(sparms->keys.menu, 'v', MC_CHOICE);
|
|
|
|
|
menu_add_binding(sparms->keys.menu, '>', MC_CHOICE);
|
|
|
|
|
@@ -2659,7 +2666,7 @@
|
1998-08-09 00:51:28 +00:00
|
|
|
|
}
|
|
|
|
|
else{
|
1999-03-15 01:45:43 +00:00
|
|
|
|
sparms->keys.menu->keys[FC_SEL_KEY].name = "S";
|
|
|
|
|
- sparms->keys.menu->keys[FC_SEL_KEY].label = "[Select]";
|
|
|
|
|
+ sparms->keys.menu->keys[FC_SEL_KEY].label = "[<5B><><EFBFBD><EFBFBD>]";
|
|
|
|
|
menu_clear_binding(sparms->keys.menu, 'v');
|
|
|
|
|
menu_clear_binding(sparms->keys.menu, '>');
|
|
|
|
|
menu_clear_binding(sparms->keys.menu, '.');
|
|
|
|
|
@@ -2695,14 +2702,14 @@
|
|
|
|
|
if(FPROC(sparms)->fs->list_cntxt){
|
|
|
|
|
clrbitn(SB_LIST_KEY, sparms->keys.bitmap);
|
|
|
|
|
sparms->keys.menu->keys[SB_SEL_KEY].name = "X";
|
|
|
|
|
- sparms->keys.menu->keys[SB_SEL_KEY].label = "[Set/Unset]";
|
|
|
|
|
+ sparms->keys.menu->keys[SB_SEL_KEY].label = "[<5B>]<5D>w/<2F><><EFBFBD><EFBFBD><EFBFBD>]<5D>w]";
|
|
|
|
|
sparms->keys.menu->keys[SB_SEL_KEY].bind.cmd = MC_SELCUR;
|
|
|
|
|
sparms->keys.menu->keys[SB_SEL_KEY].bind.ch[0] = 'x';
|
1998-08-09 00:51:28 +00:00
|
|
|
|
}
|
1999-03-15 01:45:43 +00:00
|
|
|
|
else{
|
|
|
|
|
clrbitn(SB_SUB_KEY, sparms->keys.bitmap);
|
|
|
|
|
sparms->keys.menu->keys[SB_SEL_KEY].name = "S";
|
|
|
|
|
- sparms->keys.menu->keys[SB_SEL_KEY].label = "[Subscribe]";
|
|
|
|
|
+ sparms->keys.menu->keys[SB_SEL_KEY].label = "[<5B>q<EFBFBD>\\]";
|
|
|
|
|
sparms->keys.menu->keys[SB_SEL_KEY].bind.cmd = MC_CHOICE;
|
|
|
|
|
sparms->keys.menu->keys[SB_SEL_KEY].bind.ch[0] = 's';
|
|
|
|
|
}
|
|
|
|
|
@@ -2778,7 +2785,7 @@
|
1998-08-09 00:51:28 +00:00
|
|
|
|
|
|
|
|
|
default :
|
|
|
|
|
q_status_message(SM_ORDER | SM_DING, 3, 3,
|
|
|
|
|
- "Unsupported Select option");
|
|
|
|
|
+ "<22><><EFBFBD>䴩<EFBFBD><E4B4A9><EFBFBD>ﶵ");
|
|
|
|
|
return(0);
|
|
|
|
|
}
|
|
|
|
|
}
|
1999-03-15 01:45:43 +00:00
|
|
|
|
@@ -2792,7 +2799,7 @@
|
1998-08-09 00:51:28 +00:00
|
|
|
|
*/
|
|
|
|
|
switch(q){
|
|
|
|
|
case 'x': /* cancel */
|
|
|
|
|
- cmd_cancelled("Select command");
|
|
|
|
|
+ cmd_cancelled("<22><><EFBFBD><EFBFBD><EFBFBD>R<EFBFBD>O");
|
|
|
|
|
return(0);
|
|
|
|
|
|
|
|
|
|
case 'c' : /* toggle current's selected state */
|
1999-03-15 01:45:43 +00:00
|
|
|
|
@@ -2804,10 +2811,10 @@
|
|
|
|
|
for(total = i = 0; i < n; i++)
|
|
|
|
|
folder_entry(i, FOLDERS(context))->selected = old_tot == 0;
|
1998-08-09 00:51:28 +00:00
|
|
|
|
|
|
|
|
|
- q_status_message4(SM_ORDER, 0, 2, "%s%s folder%s %sselected",
|
|
|
|
|
- old_tot ? "" : "All ",
|
|
|
|
|
+ q_status_message3(SM_ORDER, 0, 2, "%s%s <20>Ӹ<EFBFBD><D3B8>ƧX<C6A7>w<EFBFBD>Q%s<><73><EFBFBD><EFBFBD>",
|
|
|
|
|
+ old_tot ? "" : "<22><><EFBFBD><EFBFBD> ",
|
|
|
|
|
comatose(old_tot ? old_tot : n),
|
|
|
|
|
- plural(old_tot ? old_tot : n), old_tot ? "UN" : "");
|
|
|
|
|
+ old_tot ? "<22><><EFBFBD><EFBFBD>" : "");
|
|
|
|
|
return(1);
|
|
|
|
|
|
|
|
|
|
case 't' : /* Text */
|
1999-03-15 01:45:43 +00:00
|
|
|
|
@@ -2824,7 +2831,7 @@
|
1998-08-09 00:51:28 +00:00
|
|
|
|
|
|
|
|
|
default :
|
|
|
|
|
q_status_message(SM_ORDER | SM_DING, 3, 3,
|
|
|
|
|
- "Unsupported Select option");
|
|
|
|
|
+ "<22><><EFBFBD>䴩<EFBFBD><E4B4A9><EFBFBD>ﶵ");
|
|
|
|
|
return(0);
|
|
|
|
|
}
|
|
|
|
|
|
1999-03-15 01:45:43 +00:00
|
|
|
|
@@ -2852,34 +2859,30 @@
|
1998-08-09 00:51:28 +00:00
|
|
|
|
|
1999-03-15 01:45:43 +00:00
|
|
|
|
if(!(diff = (total = selected_folders(context)) - old_tot)){
|
1998-08-09 00:51:28 +00:00
|
|
|
|
if(narrow)
|
|
|
|
|
- q_status_message4(SM_ORDER, 0, 2,
|
|
|
|
|
- "%s. %s folder%s remain%s selected.",
|
|
|
|
|
- j ? "No change resulted"
|
|
|
|
|
- : "No messages in intersection",
|
|
|
|
|
- comatose(old_tot), plural(old_tot),
|
|
|
|
|
- (old_tot == 1L) ? "s" : "");
|
|
|
|
|
+ q_status_message2(SM_ORDER, 0, 2,
|
|
|
|
|
+ "%s<>C <20><><EFBFBD><EFBFBD> %s <20>Ӹ<EFBFBD><D3B8>ƧX<C6A7>Q<EFBFBD><51><EFBFBD>ܡC",
|
1999-03-15 01:45:43 +00:00
|
|
|
|
+ j ? "<22>S<EFBFBD><53><EFBFBD>y<EFBFBD><79><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
+ : "<22><><EFBFBD>I<EFBFBD><49><EFBFBD>S<EFBFBD><53><EFBFBD>H<EFBFBD><48>",
|
|
|
|
|
+ comatose(old_tot));
|
1998-08-09 00:51:28 +00:00
|
|
|
|
else if(old_tot && j)
|
|
|
|
|
q_status_message(SM_ORDER, 0, 2,
|
|
|
|
|
- "No change resulted. Matching folders already selected.");
|
1999-03-15 01:45:43 +00:00
|
|
|
|
+ "<22>S<EFBFBD><53><EFBFBD>y<EFBFBD><79><EFBFBD><EFBFBD><EFBFBD>ܡC<DCA1>ŦX<C5A6><58><EFBFBD><EFBFBD><EFBFBD>ƧX<C6A7>w<EFBFBD>g<EFBFBD>Q<EFBFBD><51><EFBFBD>ܤF<DCA4>C");
|
1998-08-09 00:51:28 +00:00
|
|
|
|
else
|
|
|
|
|
q_status_message1(SM_ORDER | SM_DING, 0, 2,
|
|
|
|
|
- "Select failed! No %sfolders selected.",
|
|
|
|
|
- old_tot ? "additional " : "");
|
|
|
|
|
+ "<22><><EFBFBD>ܥ<EFBFBD><DCA5>ѡI<D1A1>S<EFBFBD><53>%s<><73><EFBFBD>ƧX<C6A7>Q<EFBFBD><51><EFBFBD>ܡC",
|
1999-03-15 01:45:43 +00:00
|
|
|
|
+ old_tot ? "<22>B<EFBFBD>~<7E><>" : "");
|
1998-08-09 00:51:28 +00:00
|
|
|
|
}
|
1999-03-15 01:45:43 +00:00
|
|
|
|
else if(old_tot){
|
|
|
|
|
sprintf(tmp_20k_buf,
|
|
|
|
|
- "Select matched %ld folder%s. %s %sfolder%s %sselected.",
|
|
|
|
|
+ "<22><><EFBFBD>ܲŦX<C5A6><58> %ld <20>Ӹ<EFBFBD><D3B8>ƧX<C6A7>I<EFBFBD>@<40>p %s <20>Ӹ<EFBFBD><D3B8>ƧX<C6A7>Q%s<><73><EFBFBD>ܡC",
|
|
|
|
|
(diff > 0) ? diff : old_tot + diff,
|
|
|
|
|
- plural((diff > 0) ? diff : old_tot + diff),
|
|
|
|
|
comatose((diff > 0) ? total : -diff),
|
|
|
|
|
- (diff > 0) ? "total " : "",
|
|
|
|
|
- plural((diff > 0) ? total : -diff),
|
|
|
|
|
- (diff > 0) ? "" : "UN");
|
|
|
|
|
+ (diff > 0) ? "" : "<22><><EFBFBD><EFBFBD>");
|
|
|
|
|
q_status_message(SM_ORDER, 0, 2, tmp_20k_buf);
|
|
|
|
|
}
|
|
|
|
|
else
|
|
|
|
|
- q_status_message2(SM_ORDER, 0, 2, "Select matched %s folder%s.",
|
|
|
|
|
- comatose(diff), plural(diff));
|
|
|
|
|
+ q_status_message1(SM_ORDER, 0, 2, "<22><><EFBFBD>ܲŦX<C5A6><58> %s <20>Ӹ<EFBFBD><D3B8>ƧX<C6A7>I",
|
|
|
|
|
+ comatose(diff));
|
1998-08-09 00:51:28 +00:00
|
|
|
|
|
1999-03-15 01:45:43 +00:00
|
|
|
|
return(1);
|
|
|
|
|
}
|
|
|
|
|
@@ -2995,9 +2998,9 @@
|
|
|
|
|
fp->prev = context->dir;
|
|
|
|
|
fp->status |= CNTXT_SUBDIR;
|
|
|
|
|
context->dir = fp;
|
1998-08-09 00:51:28 +00:00
|
|
|
|
- q_status_message2(SM_ORDER, 0, 3, "Now in %sdirectory: %s",
|
|
|
|
|
+ q_status_message2(SM_ORDER, 0, 3, "<22>ثe<D8AB>b %s<>ؿ<EFBFBD><D8BF><EFBFBD><EFBFBD>G%s",
|
1999-03-15 01:45:43 +00:00
|
|
|
|
folder_total(FOLDERS(context))
|
1998-08-09 00:51:28 +00:00
|
|
|
|
- ? "" : "EMPTY ", fp->ref);
|
|
|
|
|
+ ? "" : "<22>Ū<EFBFBD> ", fp->ref);
|
|
|
|
|
rv++;
|
|
|
|
|
}
|
|
|
|
|
else
|
1999-03-15 01:45:43 +00:00
|
|
|
|
@@ -3016,7 +3019,7 @@
|
1998-10-10 04:29:27 +00:00
|
|
|
|
char *p;
|
|
|
|
|
|
|
|
|
|
/* Provide context in new collection header */
|
|
|
|
|
- sprintf(tmp_20k_buf, "Dir: %s",
|
|
|
|
|
+ sprintf(tmp_20k_buf, "<22>ؿ<EFBFBD><D8BF>G%s",
|
|
|
|
|
((p = strstr(cntxt->context, "%s")) && !*(p+2)
|
|
|
|
|
&& !strncmp(fdp->ref, cntxt->context, p - cntxt->context))
|
|
|
|
|
? fdp->ref + (p - cntxt->context) : fdp->ref);
|
1999-03-15 01:45:43 +00:00
|
|
|
|
@@ -3062,12 +3065,12 @@
|
|
|
|
|
context->dir = fp;
|
1998-08-09 00:51:28 +00:00
|
|
|
|
|
|
|
|
|
if(fp->status & CNTXT_SUBDIR)
|
|
|
|
|
- q_status_message1(SM_ORDER, 0, 3, "Now in directory: %s",
|
|
|
|
|
+ q_status_message1(SM_ORDER, 0, 3, "<22>ثe<D8AB>Ҧb<D2A6>ؿ<EFBFBD><D8BF>G%s",
|
|
|
|
|
strsquish(tmp_20k_buf + 500, fp->ref,
|
1999-03-15 01:45:43 +00:00
|
|
|
|
ps_global->ttyo->screen_cols - 22));
|
1998-08-09 00:51:28 +00:00
|
|
|
|
else
|
|
|
|
|
q_status_message(SM_ORDER, 0, 3,
|
|
|
|
|
- "Returned to collection's top directory");
|
|
|
|
|
+ "<22>^<5E><><EFBFBD>`<60><><EFBFBD><EFBFBD><EFBFBD>̤W<CCA4>h<EFBFBD>ؿ<EFBFBD>");
|
|
|
|
|
|
|
|
|
|
rv++;
|
|
|
|
|
}
|
1999-03-15 01:45:43 +00:00
|
|
|
|
@@ -3258,12 +3261,12 @@
|
|
|
|
|
if(context->use & CNTXT_INCMNG){
|
1998-08-09 00:51:28 +00:00
|
|
|
|
char inbox_host[MAXPATH], *beg, *end = NULL;
|
|
|
|
|
ESCKEY_S *special_key;
|
|
|
|
|
- static ESCKEY_S host_key[] = {{ctrl('X'),12,"^X","Use Inbox Host"},
|
|
|
|
|
+ static ESCKEY_S host_key[] = {{ctrl('X'),12,"^X","<22>ϥ<EFBFBD> Inbox <20><><EFBFBD>D<EFBFBD><44>"},
|
|
|
|
|
{-1, 0, NULL, NULL}};
|
|
|
|
|
|
|
|
|
|
if(ps_global->readonly_pinerc){
|
|
|
|
|
q_status_message(SM_ORDER,3,5,
|
|
|
|
|
- "Addition cancelled: config file not editable");
|
|
|
|
|
+ "<22><><EFBFBD><EFBFBD><EFBFBD>s<EFBFBD>W<EFBFBD>G<EFBFBD>L<EFBFBD>k<EFBFBD>s<EFBFBD><73><EFBFBD>]<5D>w<EFBFBD><77>");
|
|
|
|
|
return(FALSE);
|
|
|
|
|
}
|
|
|
|
|
|
1999-03-15 01:45:43 +00:00
|
|
|
|
@@ -3285,7 +3288,7 @@
|
1998-08-09 00:51:28 +00:00
|
|
|
|
else
|
|
|
|
|
special_key = NULL;
|
|
|
|
|
|
|
|
|
|
- sprintf(tmp, "Name of server to contain added folder : ");
|
|
|
|
|
+ sprintf(tmp, "<22>]<5D>t<EFBFBD>s<EFBFBD>W<EFBFBD><57><EFBFBD>ƧX<C6A7><58><EFBFBD>D<EFBFBD><44><EFBFBD>W<EFBFBD>G");
|
|
|
|
|
help = NO_HELP;
|
|
|
|
|
while(1){
|
|
|
|
|
int flags = OE_APPEND_CURRENT;
|
1999-03-15 01:45:43 +00:00
|
|
|
|
@@ -3303,7 +3306,7 @@
|
1998-08-09 00:51:28 +00:00
|
|
|
|
}
|
|
|
|
|
else if(rc == 1){
|
|
|
|
|
q_status_message(SM_ORDER,0,2,
|
|
|
|
|
- "Addition of new folder cancelled");
|
|
|
|
|
+ "<22><><EFBFBD><EFBFBD><EFBFBD>s<EFBFBD>W<EFBFBD><57><EFBFBD>ƧX");
|
|
|
|
|
return(FALSE);
|
|
|
|
|
}
|
|
|
|
|
else if(rc == 0)
|
1999-03-15 01:45:43 +00:00
|
|
|
|
@@ -3313,7 +3316,7 @@
|
1998-08-09 00:51:28 +00:00
|
|
|
|
|
|
|
|
|
if(offset = strlen(add_folder)){ /* must be host for incoming */
|
|
|
|
|
int i;
|
|
|
|
|
- sprintf(tmp, "Folder on \"%s\" to add : ", add_folder);
|
|
|
|
|
+ sprintf(tmp, "<22>[<5B>J<EFBFBD>b \"%s\" <20>W<EFBFBD><57><EFBFBD><EFBFBD><EFBFBD>ƧX<C6A7>G", add_folder);
|
|
|
|
|
for(i = offset;i >= 0; i--)
|
|
|
|
|
add_folder[i+1] = add_folder[i];
|
|
|
|
|
|
1999-03-15 01:45:43 +00:00
|
|
|
|
@@ -3322,7 +3325,7 @@
|
1998-08-09 00:51:28 +00:00
|
|
|
|
add_folder[++offset] = '\0'; /* +2, total */
|
|
|
|
|
}
|
|
|
|
|
else
|
|
|
|
|
- sprintf(tmp, "Folder name to add : ");
|
|
|
|
|
+ sprintf(tmp, "<22>s<EFBFBD>W<EFBFBD><57><EFBFBD>ƧX<C6A7>W<EFBFBD>١G");
|
|
|
|
|
|
|
|
|
|
help = NO_HELP;
|
|
|
|
|
while(1){
|
1999-03-15 01:45:43 +00:00
|
|
|
|
@@ -3330,14 +3333,14 @@
|
1998-08-09 00:51:28 +00:00
|
|
|
|
|
|
|
|
|
p = NULL;
|
|
|
|
|
if(isdir){
|
|
|
|
|
- add_key[0].label = "Create Folder";
|
|
|
|
|
+ add_key[0].label = "<22>إ߸<D8A5><DFB8>ƧX";
|
|
|
|
|
if(tmp[0] == 'F')
|
|
|
|
|
- rplstr(tmp, 6, "Directory");
|
|
|
|
|
+ rplstr(tmp, 6, "<22>ؿ<EFBFBD>");
|
|
|
|
|
}
|
|
|
|
|
else{
|
|
|
|
|
- add_key[0].label = "Create Directory";
|
|
|
|
|
+ add_key[0].label = "<22>إߥؿ<DFA5>";
|
|
|
|
|
if(tmp[0] == 'D')
|
|
|
|
|
- rplstr(tmp, 9, "Folder");
|
|
|
|
|
+ rplstr(tmp, 9, "<22><><EFBFBD>ƧX");
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
flags = OE_APPEND_CURRENT;
|
1999-03-15 01:45:43 +00:00
|
|
|
|
@@ -3351,10 +3354,10 @@
|
1998-08-09 00:51:28 +00:00
|
|
|
|
if(!ps_global->show_dot_names && add_folder[offset] == '.'){
|
|
|
|
|
if(cnt++ <= 0)
|
1999-03-15 01:45:43 +00:00
|
|
|
|
q_status_message(SM_ORDER,3,3,
|
|
|
|
|
- "Folder name can't begin with dot");
|
|
|
|
|
+ "<22><><EFBFBD>ƧX<C6A7><58><EFBFBD><EFBFBD><EFBFBD>H<EFBFBD>I \".\" <20><><EFBFBD>W<EFBFBD>ٶ}<7D>Y");
|
|
|
|
|
else
|
|
|
|
|
q_status_message1(SM_ORDER,3,3,
|
1998-08-09 00:51:28 +00:00
|
|
|
|
- "Config feature \"%s\" enables names beginning with dot",
|
|
|
|
|
+ "<22>]<5D>w<EFBFBD>ɤ<EFBFBD> \"%s\" <20><><EFBFBD>\\<5C><><EFBFBD>i<EFBFBD>ϸ<EFBFBD><CFB8>ƧX<C6A7>H<EFBFBD>I \".\" <20><><EFBFBD>W<EFBFBD>ٶ}<7D>Y",
|
1999-03-15 01:45:43 +00:00
|
|
|
|
feature_list_name(F_ENABLE_DOT_FOLDERS));
|
1998-08-09 00:51:28 +00:00
|
|
|
|
|
1999-03-15 01:45:43 +00:00
|
|
|
|
display_message(NO_OP_COMMAND);
|
|
|
|
|
@@ -3373,7 +3376,7 @@
|
1998-08-09 00:51:28 +00:00
|
|
|
|
}
|
1999-03-15 01:45:43 +00:00
|
|
|
|
else if(*p == context->dir->delim){
|
1998-08-09 00:51:28 +00:00
|
|
|
|
q_status_message(SM_ORDER|SM_DING, 3, 3,
|
|
|
|
|
- "Can't have trailing directory delimiters!");
|
|
|
|
|
+ "<22><><EFBFBD><EFBFBD>ؿ<EFBFBD><D8BF><EFBFBD><EFBFBD>ݪ<EFBFBD><DDAA><EFBFBD><EFBFBD>j<EFBFBD><6A> \"/\"<22>I");
|
|
|
|
|
display_message('X');
|
|
|
|
|
continue;
|
|
|
|
|
}
|
1999-03-15 01:45:43 +00:00
|
|
|
|
@@ -3395,7 +3398,7 @@
|
1998-08-09 00:51:28 +00:00
|
|
|
|
: NO_HELP;
|
|
|
|
|
}
|
|
|
|
|
else if(rc == 1 || add_folder[0] == '\0') {
|
|
|
|
|
- q_status_message(SM_ORDER,0,2, "Addition of new folder cancelled");
|
|
|
|
|
+ q_status_message(SM_ORDER,0,2, "<22><><EFBFBD><EFBFBD><EFBFBD>s<EFBFBD>W<EFBFBD><57><EFBFBD>ƧX");
|
|
|
|
|
return(FALSE);
|
|
|
|
|
}
|
|
|
|
|
}
|
1999-03-15 01:45:43 +00:00
|
|
|
|
@@ -3414,7 +3417,7 @@
|
1998-08-09 00:51:28 +00:00
|
|
|
|
|
|
|
|
|
help = NO_HELP;
|
1999-03-15 01:45:43 +00:00
|
|
|
|
if(context->use & CNTXT_INCMNG){
|
1998-08-09 00:51:28 +00:00
|
|
|
|
- sprintf(tmp, "Nickname for folder \"%s\" : ", &add_folder[offset]);
|
|
|
|
|
+ sprintf(tmp, "<22><><EFBFBD>ƧX\"%s\" <20><><EFBFBD>ʺ١G", &add_folder[offset]);
|
|
|
|
|
while(1){
|
|
|
|
|
int flags = OE_APPEND_CURRENT;
|
|
|
|
|
|
1999-03-15 01:45:43 +00:00
|
|
|
|
@@ -3435,7 +3438,7 @@
|
1998-08-09 00:51:28 +00:00
|
|
|
|
}
|
|
|
|
|
else if(rc == 1 || (rc != 3 && !*nickname)){
|
|
|
|
|
q_status_message(SM_ORDER,0,2,
|
|
|
|
|
- "Addition of new folder cancelled");
|
|
|
|
|
+ "<22><><EFBFBD><EFBFBD><EFBFBD>s<EFBFBD>W<EFBFBD><57><EFBFBD>ƧX");
|
|
|
|
|
return(FALSE);
|
|
|
|
|
}
|
|
|
|
|
}
|
1999-03-15 01:45:43 +00:00
|
|
|
|
@@ -3450,7 +3453,7 @@
|
|
|
|
|
f = folder_entry(offset, FOLDERS(context));
|
1998-08-09 00:51:28 +00:00
|
|
|
|
if(!strucmp(FLDR_NAME(f), nickname[0] ? nickname : add_folder)){
|
|
|
|
|
q_status_message1(SM_ORDER | SM_DING, 0, 3,
|
|
|
|
|
- "Incoming folder \"%s\" already exists",
|
|
|
|
|
+ "<22>s<EFBFBD>i<EFBFBD><69><EFBFBD>ƧX(Incoming folder) \"%s\" <20>w<EFBFBD>s<EFBFBD>b",
|
|
|
|
|
nickname[0] ? nickname : add_folder);
|
|
|
|
|
return(FALSE);
|
|
|
|
|
}
|
1999-03-15 01:45:43 +00:00
|
|
|
|
@@ -3503,18 +3506,18 @@
|
1998-08-09 00:51:28 +00:00
|
|
|
|
if(nickname[0])
|
|
|
|
|
strcpy(add_folder, nickname); /* known by new name */
|
|
|
|
|
|
|
|
|
|
- q_status_message1(SM_ORDER, 0, 3, "Folder \"%s\" created",add_folder);
|
|
|
|
|
+ q_status_message1(SM_ORDER, 0, 3, "<22><><EFBFBD>ƧX \"%s\" <20>w<EFBFBD>إ<EFBFBD>",add_folder);
|
|
|
|
|
return_val = add_folder;
|
|
|
|
|
}
|
|
|
|
|
else if(context_isambig(add_folder)){
|
1999-03-15 01:45:43 +00:00
|
|
|
|
free_folder_list(context);
|
|
|
|
|
- q_status_message2(SM_ORDER, 0, 3, "%s \"%s\" created",
|
|
|
|
|
- isdir ? "Directory" : "Folder", add_folder);
|
|
|
|
|
+ q_status_message2(SM_ORDER, 0, 3, "%s \"%s\" <20>w<EFBFBD>إ<EFBFBD>",
|
|
|
|
|
+ isdir ? "<22>ؿ<EFBFBD>" : "<22><><EFBFBD>ƧX", add_folder);
|
1998-08-09 00:51:28 +00:00
|
|
|
|
return_val = add_folder;
|
|
|
|
|
}
|
|
|
|
|
else
|
|
|
|
|
q_status_message1(SM_ORDER, 0, 3,
|
|
|
|
|
- "Folder \"%s\" created outside current collection",
|
|
|
|
|
+ "<22><><EFBFBD>ƧX \"%s\" <20>إߩ<D8A5><DFA9>ثe<D8AB><65><EFBFBD>`<60><><EFBFBD><EFBFBD><EFBFBD>~",
|
|
|
|
|
add_folder);
|
|
|
|
|
|
|
|
|
|
return(return_val != NULL);
|
1999-03-15 01:45:43 +00:00
|
|
|
|
@@ -3553,13 +3556,13 @@
|
1998-08-09 00:51:28 +00:00
|
|
|
|
subscribe_keys[i = 0].ch = ctrl('T');
|
|
|
|
|
subscribe_keys[i].rval = 12;
|
|
|
|
|
subscribe_keys[i].name = "^T";
|
|
|
|
|
- subscribe_keys[i++].label = "To All Grps";
|
|
|
|
|
+ subscribe_keys[i++].label = "<22><><EFBFBD>Ҧ<EFBFBD><D2A6><EFBFBD><EFBFBD>ոs";
|
|
|
|
|
|
|
|
|
|
if(F_ON(F_ENABLE_TAB_COMPLETE,ps_global)){
|
|
|
|
|
subscribe_keys[i].ch = ctrl('I');
|
|
|
|
|
subscribe_keys[i].rval = 11;
|
|
|
|
|
subscribe_keys[i].name = "TAB";
|
|
|
|
|
- subscribe_keys[i++].label = "Complete";
|
|
|
|
|
+ subscribe_keys[i++].label = "<22><><EFBFBD><EFBFBD>";
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
subscribe_keys[i].ch = -1;
|
1999-03-15 01:45:43 +00:00
|
|
|
|
@@ -3620,7 +3623,7 @@
|
1998-08-09 00:51:28 +00:00
|
|
|
|
}
|
|
|
|
|
else{
|
|
|
|
|
q_status_message(SM_ORDER, 0, 2,
|
|
|
|
|
- "No group substring to match! Use ^T to list all news groups.");
|
|
|
|
|
+ "<22>S<EFBFBD><53><EFBFBD>ŦX<C5A6><58><EFBFBD>ոs<D5B8>r<EFBFBD><72><EFBFBD>I<EFBFBD>Х<EFBFBD> ^T <20>C<EFBFBD>X<EFBFBD>Ҧ<EFBFBD><D2A6>s<EFBFBD>D<EFBFBD>ոs<D5B8>C");
|
|
|
|
|
continue;
|
|
|
|
|
}
|
|
|
|
|
|
1999-03-15 01:45:43 +00:00
|
|
|
|
@@ -3673,10 +3676,10 @@
|
1998-08-09 00:51:28 +00:00
|
|
|
|
else{
|
|
|
|
|
if(rc == 12)
|
|
|
|
|
q_status_message(SM_ORDER | SM_DING, 3, 3,
|
|
|
|
|
- "No groups to select from!");
|
|
|
|
|
+ "<22>S<EFBFBD><53><EFBFBD>i<EFBFBD>ѿ<EFBFBD><D1BF>ܪ<EFBFBD><DCAA>ոs<D5B8>I");
|
|
|
|
|
else
|
|
|
|
|
q_status_message1(SM_ORDER, 3, 3,
|
|
|
|
|
- "News group \"%s\" didn't match any existing groups",
|
|
|
|
|
+ "<22>s<EFBFBD>D<EFBFBD>ոs \"%s\" <20><><EFBFBD>ŦX<C5A6><58><EFBFBD><EFBFBD><EFBFBD>{<7B>s<EFBFBD><73><EFBFBD>ոs",
|
|
|
|
|
folder);
|
1998-10-10 04:29:27 +00:00
|
|
|
|
free_folder_list(&subscribe_cntxt);
|
1998-08-09 00:51:28 +00:00
|
|
|
|
|
1999-03-15 01:45:43 +00:00
|
|
|
|
@@ -3721,7 +3724,7 @@
|
1998-08-09 00:51:28 +00:00
|
|
|
|
if(rc < 0){
|
1999-03-15 01:45:43 +00:00
|
|
|
|
folder[0] = '\0'; /* make sure not to return partials */
|
1998-08-09 00:51:28 +00:00
|
|
|
|
if(rc == -1)
|
|
|
|
|
- q_status_message(SM_ORDER, 0, 3, "Subscribe cancelled");
|
|
|
|
|
+ q_status_message(SM_ORDER, 0, 3, "<22><><EFBFBD><EFBFBD><EFBFBD>q<EFBFBD>\\");
|
|
|
|
|
}
|
|
|
|
|
else{
|
|
|
|
|
if(folders){ /*------ Actually do the subscription -----*/
|
1999-03-15 01:45:43 +00:00
|
|
|
|
@@ -3743,7 +3746,7 @@
|
1998-08-09 00:51:28 +00:00
|
|
|
|
*/
|
|
|
|
|
q_status_message1(errors ?SM_INFO : SM_ORDER,
|
|
|
|
|
errors ? 0 : 3, 3,
|
|
|
|
|
- "Error subscribing to \"%s\"",
|
|
|
|
|
+ "<22>q<EFBFBD>\\<5C><> \"%s\" <20>ɵo<C9B5>Ϳ<EFBFBD><CDBF>~",
|
1998-10-10 04:29:27 +00:00
|
|
|
|
(char *) flp->name);
|
1998-08-09 00:51:28 +00:00
|
|
|
|
errors++;
|
|
|
|
|
}
|
1999-03-15 01:45:43 +00:00
|
|
|
|
@@ -3767,13 +3770,13 @@
|
1998-08-09 00:51:28 +00:00
|
|
|
|
|
|
|
|
|
if(n == 0)
|
|
|
|
|
q_status_message(SM_ORDER | SM_DING, 3, 5,
|
|
|
|
|
- "Subscriptions failed, subscribed to no new groups");
|
|
|
|
|
+ "<22>q<EFBFBD>\\<5C><><EFBFBD>ѡA<D1A1>S<EFBFBD><53><EFBFBD>q<EFBFBD>\\<5C><><EFBFBD><EFBFBD><EFBFBD>s<EFBFBD>ոs");
|
|
|
|
|
else
|
|
|
|
|
q_status_message3(SM_ORDER | (errors ? SM_DING : 0),
|
|
|
|
|
errors ? 3 : 0,3,
|
|
|
|
|
- "Subscribed to %s new groups%s%s",
|
|
|
|
|
+ "<22>q<EFBFBD>\\<5C><> %s <20>ӷs<D3B7>ոs%s%s",
|
|
|
|
|
comatose((long)n),
|
|
|
|
|
- errors ? ", failed on " : "",
|
|
|
|
|
+ errors ? "<22>A<EFBFBD>o<EFBFBD>Ϳ<EFBFBD><CDBF>~<7E><> " : "",
|
|
|
|
|
errors ? comatose((long)errors) : "");
|
|
|
|
|
|
1998-10-10 04:29:27 +00:00
|
|
|
|
free_strlist(&folders);
|
1999-03-15 01:45:43 +00:00
|
|
|
|
@@ -3782,7 +3785,7 @@
|
1998-08-09 00:51:28 +00:00
|
|
|
|
(void) context_apply(tmp_20k_buf, &subscribe_cntxt, folder);
|
|
|
|
|
if(mail_subscribe(NULL, tmp_20k_buf) == 0L){
|
|
|
|
|
q_status_message1(SM_ORDER | SM_DING, 3, 3,
|
|
|
|
|
- "Error subscribing to \"%s\"", folder);
|
|
|
|
|
+ "<22>q<EFBFBD>\\<5C><> \"%s\" <20>ɵo<C9B5>Ϳ<EFBFBD><CDBF>~", folder);
|
|
|
|
|
}
|
|
|
|
|
else if(ALL_FOUND(cntxt)){
|
|
|
|
|
/*---- Update the screen display data structures -----*/
|
1999-03-15 01:45:43 +00:00
|
|
|
|
@@ -3796,7 +3799,7 @@
|
1998-08-09 00:51:28 +00:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if(folder[0])
|
|
|
|
|
- q_status_message1(SM_ORDER, 0, 3, "Subscribed to \"%s\"", folder);
|
|
|
|
|
+ q_status_message1(SM_ORDER, 0, 3, "<22>q<EFBFBD>\\<5C><> \"%s\"", folder);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
free_fdir(&subscribe_cntxt.dir, 1);
|
1999-03-15 01:45:43 +00:00
|
|
|
|
@@ -3837,19 +3840,19 @@
|
1998-08-09 00:51:28 +00:00
|
|
|
|
|
1999-03-15 01:45:43 +00:00
|
|
|
|
if(NEWS_TEST(context)){
|
1998-08-09 00:51:28 +00:00
|
|
|
|
q_status_message(SM_ORDER | SM_DING, 3, 3,
|
|
|
|
|
- "Can't rename bulletin boards or news groups!");
|
|
|
|
|
+ "<22>L<EFBFBD>k<EFBFBD><6B><EFBFBD><EFBFBD><EFBFBD>q<EFBFBD>l<EFBFBD>G<EFBFBD>i<EFBFBD><69><EFBFBD>ηs<CEB7>D<EFBFBD>ոs<D5B8><73><EFBFBD>W<EFBFBD>١I");
|
|
|
|
|
return(0);
|
|
|
|
|
}
|
1999-03-15 01:45:43 +00:00
|
|
|
|
else if(!folder_total(FOLDERS(context))){
|
1998-08-09 00:51:28 +00:00
|
|
|
|
q_status_message(SM_ORDER | SM_DING, 0, 4,
|
|
|
|
|
- "Empty folder collection. No folder to rename!");
|
|
|
|
|
+ "<22>Ū<EFBFBD><C5AA><EFBFBD><EFBFBD>ƧX<C6A7>`<60><><EFBFBD>C<EFBFBD>S<EFBFBD><53><EFBFBD>i<EFBFBD>ѧ<EFBFBD><D1A7>W<EFBFBD><57><EFBFBD><EFBFBD><EFBFBD>ƧX<C6A7>I");
|
|
|
|
|
return(0);
|
|
|
|
|
}
|
1999-03-15 01:45:43 +00:00
|
|
|
|
else if((new_f = folder_entry(index, FOLDERS(context)))
|
1998-08-09 00:51:28 +00:00
|
|
|
|
&& (!strucmp(FLDR_NAME(new_f), ps_global->inbox_name)
|
|
|
|
|
|| new_f->parent)) {
|
|
|
|
|
q_status_message1(SM_ORDER | SM_DING, 3, 4,
|
|
|
|
|
- "Can't change special folder name \"%s\"",
|
|
|
|
|
+ "<22>L<EFBFBD>k<EFBFBD><6B><EFBFBD><EFBFBD><EFBFBD>S<EFBFBD><53><EFBFBD><EFBFBD><EFBFBD>ƧX \"%s\" <20><><EFBFBD>W<EFBFBD><57>",
|
|
|
|
|
new_f->parent
|
|
|
|
|
? new_f->nickname
|
|
|
|
|
: ps_global->inbox_name);
|
1999-03-15 01:45:43 +00:00
|
|
|
|
@@ -3865,11 +3868,11 @@
|
1998-08-09 00:51:28 +00:00
|
|
|
|
|
|
|
|
|
ren_cur = strcmp(folder, ps_global->cur_folder) == 0;
|
|
|
|
|
|
|
|
|
|
- sprintf(prompt, "Rename %s to : ",
|
|
|
|
|
+ sprintf(prompt, "<22>N %s <20><><EFBFBD>W<EFBFBD><57><EFBFBD>G",
|
1999-03-15 01:45:43 +00:00
|
|
|
|
(context->use & CNTXT_INCMNG)
|
1998-08-09 00:51:28 +00:00
|
|
|
|
- ? "nickname"
|
|
|
|
|
+ ? "<22>ʺ<EFBFBD>"
|
|
|
|
|
: (isdir = new_f->isdir)
|
|
|
|
|
- ? "directory" : "folder");
|
|
|
|
|
+ ? "<22>ؿ<EFBFBD>" : "<22><><EFBFBD>ƧX");
|
|
|
|
|
help = NO_HELP;
|
|
|
|
|
strcpy(new_name, folder);
|
|
|
|
|
while(1) {
|
1999-03-15 01:45:43 +00:00
|
|
|
|
@@ -3890,10 +3893,10 @@
|
1998-08-09 00:51:28 +00:00
|
|
|
|
if(!ps_global->show_dot_names && *new_name == '.'){
|
|
|
|
|
if(cnt++ <= 0)
|
|
|
|
|
q_status_message(SM_ORDER,3,3,
|
|
|
|
|
- "Folder name can't begin with dot");
|
|
|
|
|
+ "<22><><EFBFBD>ƧX<C6A7><58><EFBFBD><EFBFBD><EFBFBD>H<EFBFBD>I \".\" <20><><EFBFBD>W<EFBFBD>ٶ}<7D>Y");
|
1999-03-15 01:45:43 +00:00
|
|
|
|
else
|
|
|
|
|
q_status_message1(SM_ORDER,3,3,
|
1998-08-09 00:51:28 +00:00
|
|
|
|
- "Config feature \"%s\" enables names beginning with dot",
|
|
|
|
|
+ "<22>]<5D>w<EFBFBD>ɤ<EFBFBD> \"%s\" <20><><EFBFBD>\\<5C><><EFBFBD>i<EFBFBD>ϸ<EFBFBD><CFB8>ƧX<C6A7>H<EFBFBD>I \".\" <20><><EFBFBD>W<EFBFBD>ٶ}<7D>Y",
|
1999-03-15 01:45:43 +00:00
|
|
|
|
feature_list_name(F_ENABLE_DOT_FOLDERS));
|
1998-08-09 00:51:28 +00:00
|
|
|
|
|
1999-03-15 01:45:43 +00:00
|
|
|
|
display_message(NO_OP_COMMAND);
|
|
|
|
|
@@ -3902,13 +3905,13 @@
|
1998-08-09 00:51:28 +00:00
|
|
|
|
|
1999-03-15 01:45:43 +00:00
|
|
|
|
if(folder_index(new_name, context, FI_ANY) >= 0){
|
1998-08-09 00:51:28 +00:00
|
|
|
|
q_status_message1(SM_ORDER, 3, 3,
|
|
|
|
|
- "Folder \"%s\" already exists",
|
|
|
|
|
+ "<22><><EFBFBD>ƧX \"%s\" <20>w<EFBFBD>s<EFBFBD>b",
|
|
|
|
|
pretty_fn(new_name));
|
|
|
|
|
display_message(NO_OP_COMMAND);
|
|
|
|
|
continue;
|
|
|
|
|
}
|
|
|
|
|
else if(!strucmp(new_name, ps_global->inbox_name)){
|
|
|
|
|
- q_status_message1(SM_ORDER, 3, 3, "Can't rename folder to %s",
|
|
|
|
|
+ q_status_message1(SM_ORDER, 3, 3, "<22>L<EFBFBD>k<EFBFBD>N<EFBFBD><4E><EFBFBD>ƧX<C6A7><58><EFBFBD>W<EFBFBD><57> %s",
|
|
|
|
|
ps_global->inbox_name);
|
|
|
|
|
display_message(NO_OP_COMMAND);
|
|
|
|
|
continue;
|
1999-03-15 01:45:43 +00:00
|
|
|
|
@@ -3931,7 +3934,7 @@
|
1998-08-09 00:51:28 +00:00
|
|
|
|
if(rc == 1
|
1999-03-15 01:45:43 +00:00
|
|
|
|
|| !(*new_name || (context->use & CNTXT_INCMNG))
|
1998-08-09 00:51:28 +00:00
|
|
|
|
|| !strcmp(new_name, folder)){
|
|
|
|
|
- q_status_message(SM_ORDER, 0, 2, "Folder rename cancelled");
|
|
|
|
|
+ q_status_message(SM_ORDER, 0, 2, "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ƧX<C6A7><58><EFBFBD>W");
|
|
|
|
|
return(0);
|
|
|
|
|
}
|
|
|
|
|
|
1999-03-15 01:45:43 +00:00
|
|
|
|
@@ -4012,7 +4015,7 @@
|
1998-08-09 00:51:28 +00:00
|
|
|
|
/* renaming sent-mail or saved-messages */
|
1999-03-15 01:45:43 +00:00
|
|
|
|
if(context_create(context, NULL, folder)){
|
1998-08-09 00:51:28 +00:00
|
|
|
|
q_status_message3(SM_ORDER,0,3,
|
|
|
|
|
- "Folder \"%s\" renamed to \"%s\". New \"%s\" created",
|
|
|
|
|
+ "<22><><EFBFBD>ƧX \"%s\" <20>W<EFBFBD>٧אּ \"%s\"<22>C<EFBFBD>إ߷s<DFB7><73> \"%s\"",
|
|
|
|
|
folder, new_name,
|
|
|
|
|
pretty_fn(
|
|
|
|
|
(strcmp(ps_global->VAR_DEFAULT_SAVE_FOLDER,
|
1999-03-15 01:45:43 +00:00
|
|
|
|
@@ -4023,7 +4026,7 @@
|
1998-08-09 00:51:28 +00:00
|
|
|
|
}
|
|
|
|
|
else{
|
|
|
|
|
q_status_message1(SM_ORDER | SM_DING, 3, 4,
|
|
|
|
|
- "Error creating new \"%s\"", folder);
|
|
|
|
|
+ "<22>إ߷s<DFB7><73><EFBFBD><EFBFBD><EFBFBD>ƧX \"%s\" <20>ɵo<C9B5>Ϳ<EFBFBD><CDBF>~", folder);
|
|
|
|
|
|
|
|
|
|
dprint(2, (debugfile, "Error creating \"%s\" in %s context\n",
|
1999-03-15 01:45:43 +00:00
|
|
|
|
folder, context->context));
|
|
|
|
|
@@ -4031,7 +4034,7 @@
|
1998-08-09 00:51:28 +00:00
|
|
|
|
}
|
|
|
|
|
else
|
|
|
|
|
q_status_message2(SM_ORDER, 0, 3,
|
|
|
|
|
- "Folder \"%s\" renamed to \"%s\"",
|
|
|
|
|
+ "<22><><EFBFBD>ƧX \"%s\" <20>W<EFBFBD>٧אּ \"%s\"",
|
|
|
|
|
pretty_fn(folder), pretty_fn(new_name));
|
|
|
|
|
|
1999-03-15 01:45:43 +00:00
|
|
|
|
free_folder_list(context);
|
|
|
|
|
@@ -4068,7 +4071,7 @@
|
|
|
|
|
int ret, close_opened = 0, blast_folder = 1;
|
1998-08-09 00:51:28 +00:00
|
|
|
|
|
1999-03-15 01:45:43 +00:00
|
|
|
|
if(NEWS_TEST(context)){
|
1998-08-09 00:51:28 +00:00
|
|
|
|
- static char fmt[] = "Really unsubscribe from \"%.*s\"";
|
|
|
|
|
+ static char fmt[] = "<22>T<EFBFBD>w<EFBFBD><77> \"%.*s\" <20><><EFBFBD>Ѱ<EFBFBD><D1B0>q<EFBFBD>\\<5C><>";
|
|
|
|
|
|
1999-03-15 01:45:43 +00:00
|
|
|
|
folder = folder_entry(index, FOLDERS(context))->name;
|
1998-08-09 00:51:28 +00:00
|
|
|
|
/* 4 is strlen("%.*s") */
|
1999-03-15 01:45:43 +00:00
|
|
|
|
@@ -4090,7 +4093,7 @@
|
|
|
|
|
(void) context_apply(tmp_20k_buf, context, folder);
|
1998-08-09 00:51:28 +00:00
|
|
|
|
if(!mail_unsubscribe(NULL, tmp_20k_buf)){
|
|
|
|
|
q_status_message1(SM_ORDER | SM_DING, 3, 3,
|
|
|
|
|
- "Error unsubscribing from \"%s\"", folder);
|
|
|
|
|
+ "<22><> \"%s\" <20><><EFBFBD><EFBFBD><EFBFBD>q<EFBFBD>\\<5C>ɵo<C9B5>Ϳ<EFBFBD><CDBF>~", folder);
|
|
|
|
|
return(0);
|
|
|
|
|
}
|
|
|
|
|
|
1999-03-15 01:45:43 +00:00
|
|
|
|
@@ -4107,12 +4110,12 @@
|
1998-08-09 00:51:28 +00:00
|
|
|
|
|
1999-03-15 01:45:43 +00:00
|
|
|
|
if(ps_global->readonly_pinerc && (context->use & CNTXT_INCMNG)){
|
1998-08-09 00:51:28 +00:00
|
|
|
|
q_status_message(SM_ORDER,3,5,
|
|
|
|
|
- "Deletion cancelled: config file not editable");
|
|
|
|
|
+ "<22><><EFBFBD><EFBFBD><EFBFBD>R<EFBFBD><52><EFBFBD>G<EFBFBD>L<EFBFBD>k<EFBFBD>s<EFBFBD><73><EFBFBD>]<5D>w<EFBFBD><77>");
|
|
|
|
|
return(0);
|
|
|
|
|
}
|
|
|
|
|
else if(strucmp(folder, ps_global->inbox_name) == 0 || fp->parent) {
|
|
|
|
|
q_status_message1(SM_ORDER | SM_DING, 3, 4,
|
|
|
|
|
- "Can't delete special folder \"%s\".", ps_global->inbox_name);
|
|
|
|
|
+ "<22>L<EFBFBD>k<EFBFBD>R<EFBFBD><52><EFBFBD>S<EFBFBD><53><EFBFBD><EFBFBD><EFBFBD>ƧX \"%s\"<22>C", ps_global->inbox_name);
|
|
|
|
|
return(0);
|
|
|
|
|
}
|
1999-03-15 01:45:43 +00:00
|
|
|
|
else if(context == ps_global->context_current
|
|
|
|
|
@@ -4127,7 +4130,7 @@
|
1998-08-09 00:51:28 +00:00
|
|
|
|
|
|
|
|
|
if(ret){
|
|
|
|
|
q_status_message1(SM_ORDER | SM_DING, 3, 4,
|
|
|
|
|
- "Can't delete non-empty directory \"%s\".",
|
|
|
|
|
+ "<22>L<EFBFBD>k<EFBFBD>R<EFBFBD><52><EFBFBD>D<EFBFBD>Ū<EFBFBD><C5AA>ؿ<EFBFBD> \"%s\"<22>C",
|
|
|
|
|
folder);
|
|
|
|
|
return(0);
|
|
|
|
|
}
|
1999-03-15 01:45:43 +00:00
|
|
|
|
@@ -4138,19 +4141,19 @@
|
1998-08-09 00:51:28 +00:00
|
|
|
|
*/
|
1999-03-15 01:45:43 +00:00
|
|
|
|
if(folder_index(folder, context, FI_FOLDER) >= 0
|
1998-08-09 00:51:28 +00:00
|
|
|
|
&& (ret = want_to(DIR_FOLD_PMT,'n','x',NO_HELP,WT_NORM)) != 'y'){
|
|
|
|
|
- q_status_message(SM_ORDER,0,3, (ret == 'x') ? "Delete cancelled"
|
|
|
|
|
- : "No folder deleted");
|
|
|
|
|
+ q_status_message(SM_ORDER,0,3, (ret == 'x') ? "<22><><EFBFBD><EFBFBD><EFBFBD>R<EFBFBD><52>"
|
|
|
|
|
+ : "<22>S<EFBFBD><53><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ƧX<C6A7>Q<EFBFBD>R<EFBFBD><52>");
|
|
|
|
|
return(0);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
1999-03-15 01:45:43 +00:00
|
|
|
|
if(context->use & CNTXT_INCMNG){
|
1998-08-09 00:51:28 +00:00
|
|
|
|
static ESCKEY_S delf_opts[] = {
|
|
|
|
|
- {'n', 'n', "N", "Nickname only"},
|
|
|
|
|
- {'b', 'b', "B", "Both Folder and Nickname"},
|
|
|
|
|
+ {'n', 'n', "N", "<22>Ȧ<EFBFBD><C8A6>ʺ<EFBFBD>"},
|
|
|
|
|
+ {'b', 'b', "B", "<22><><EFBFBD>ƧX<C6A7>P<EFBFBD>ʺ<EFBFBD>"},
|
|
|
|
|
{-1, 0, NULL, NULL}
|
|
|
|
|
};
|
|
|
|
|
-#define DELF_PROMPT "DELETE only Nickname or Both nickname and folder? "
|
|
|
|
|
+#define DELF_PROMPT "<22>R<EFBFBD><52><EFBFBD>u<EFBFBD>Ȧ<EFBFBD><C8A6>ʺ١v<D9A1>Ρu<CEA1><75><EFBFBD>ƧX<C6A7>P<EFBFBD>ʺ١v<D9A1>H"
|
|
|
|
|
|
|
|
|
|
switch(radio_buttons(DELF_PROMPT, -FOOTER_ROWS(ps_global),
|
|
|
|
|
delf_opts,'n','x',NO_HELP,RB_NORM)){
|
1999-03-15 01:45:43 +00:00
|
|
|
|
@@ -4159,7 +4162,7 @@
|
1998-08-09 00:51:28 +00:00
|
|
|
|
break;
|
|
|
|
|
|
|
|
|
|
case 'x' :
|
|
|
|
|
- cmd_cancelled("Delete");
|
|
|
|
|
+ cmd_cancelled("<22>R<EFBFBD><52>");
|
|
|
|
|
return(0);
|
|
|
|
|
|
|
|
|
|
default :
|
1999-03-15 01:45:43 +00:00
|
|
|
|
@@ -4167,13 +4170,13 @@
|
1998-08-09 00:51:28 +00:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
else{
|
|
|
|
|
- sprintf(ques_buf, "DELETE \"%s\"%s", folder,
|
|
|
|
|
- close_opened ? " (the currently open folder)"
|
|
|
|
|
- : fp->isdir ? " (a directory)" : "");
|
|
|
|
|
+ sprintf(ques_buf, "<22>R<EFBFBD><52> \"%s\"%s", folder,
|
|
|
|
|
+ close_opened ? " (<28>ثe<D8AB>}<7D>Ҫ<EFBFBD><D2AA><EFBFBD><EFBFBD>ƧX)"
|
|
|
|
|
+ : fp->isdir ? " (<28>ؿ<EFBFBD>)" : "");
|
|
|
|
|
|
|
|
|
|
if((ret = want_to(ques_buf, 'n', 'x', NO_HELP, WT_NORM)) != 'y'){
|
|
|
|
|
- q_status_message(SM_ORDER,0,3, (ret == 'x') ? "Delete cancelled"
|
|
|
|
|
- : "No folder deleted");
|
|
|
|
|
+ q_status_message(SM_ORDER,0,3, (ret == 'x') ? "<22><><EFBFBD><EFBFBD><EFBFBD>R<EFBFBD><52>"
|
|
|
|
|
+ : "<22>S<EFBFBD><53><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ƧX<C6A7>Q<EFBFBD>R<EFBFBD><52>");
|
|
|
|
|
return(0);
|
|
|
|
|
}
|
|
|
|
|
}
|
1999-03-15 01:45:43 +00:00
|
|
|
|
@@ -4216,13 +4219,13 @@
|
1998-08-09 00:51:28 +00:00
|
|
|
|
/*
|
|
|
|
|
* BUG: what if sent-mail or saved-messages????
|
|
|
|
|
*/
|
|
|
|
|
- q_status_message1(SM_ORDER,3,3,"Delete of \"%s\" Failed!", folder);
|
|
|
|
|
+ q_status_message1(SM_ORDER,3,3,"<22>R<EFBFBD><52> \"%s\" <20><><EFBFBD>ѡI", folder);
|
|
|
|
|
return(0);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
1999-03-15 01:45:43 +00:00
|
|
|
|
- q_status_message2(SM_ORDER, 0, 3, "%s \"%s\" deleted.",
|
1998-08-09 00:51:28 +00:00
|
|
|
|
- blast_folder ? "Folder" : "Nickname", folder);
|
1999-03-15 01:45:43 +00:00
|
|
|
|
+ q_status_message2(SM_ORDER, 0, 3, "%s \"%s\" <20>w<EFBFBD>R<EFBFBD><52><EFBFBD>C",
|
1998-08-09 00:51:28 +00:00
|
|
|
|
+ blast_folder ? "<22><><EFBFBD>ƧX" : "<22>ʺ<EFBFBD>", folder);
|
|
|
|
|
|
|
|
|
|
|
1999-03-15 01:45:43 +00:00
|
|
|
|
if(context->use & CNTXT_INCMNG){
|
|
|
|
|
@@ -4299,7 +4302,7 @@
|
1998-08-09 00:51:28 +00:00
|
|
|
|
int flags;
|
|
|
|
|
|
|
|
|
|
pat[0] = '\0';
|
|
|
|
|
- sprintf(prompt, "String in folder %s to match : ", kind);
|
|
|
|
|
+ sprintf(prompt, "<22><><EFBFBD>ƧX %s <20><><EFBFBD><EFBFBD><EFBFBD>ŦX<C5A6><58><EFBFBD>r<EFBFBD><72><EFBFBD>G", kind);
|
|
|
|
|
|
|
|
|
|
while(1){
|
|
|
|
|
flags = OE_APPEND_CURRENT | OE_DISALLOW_HELP;
|
1999-03-15 01:45:43 +00:00
|
|
|
|
@@ -4317,7 +4320,7 @@
|
1998-08-09 00:51:28 +00:00
|
|
|
|
return(1);
|
|
|
|
|
|
|
|
|
|
case 1 :
|
|
|
|
|
- cmd_cancelled("Select");
|
|
|
|
|
+ cmd_cancelled("<22><><EFBFBD><EFBFBD>");
|
|
|
|
|
|
|
|
|
|
default :
|
|
|
|
|
return(0);
|
1999-03-15 01:45:43 +00:00
|
|
|
|
@@ -4394,7 +4397,7 @@
|
1998-08-09 00:51:28 +00:00
|
|
|
|
return(1);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
- cmd_cancelled("Select");
|
|
|
|
|
+ cmd_cancelled("<22><><EFBFBD><EFBFBD>");
|
|
|
|
|
return(0);
|
|
|
|
|
}
|
|
|
|
|
|
1999-03-15 01:45:43 +00:00
|
|
|
|
@@ -4427,7 +4430,7 @@
|
1998-08-09 00:51:28 +00:00
|
|
|
|
if(!strucmp(folder = f->name, ps_global->inbox_name))
|
|
|
|
|
return(FEX_ISFILE);
|
|
|
|
|
|
|
|
|
|
- sprintf(tmp, "Scanning \"%.*s\"", 40, FLDR_NAME(f));
|
|
|
|
|
+ sprintf(tmp, "<22><><EFBFBD>b<EFBFBD><62><EFBFBD>y \"%.*s\"", 40, FLDR_NAME(f));
|
|
|
|
|
we_cancel = busy_alarm(1, tmp, NULL, 0);
|
|
|
|
|
|
|
|
|
|
mm_list_info = &ldata; /* tie down global reference */
|
1999-03-15 01:45:43 +00:00
|
|
|
|
@@ -4571,7 +4574,7 @@
|
1998-08-09 00:51:28 +00:00
|
|
|
|
return(1);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
- cmd_cancelled("Select");
|
|
|
|
|
+ cmd_cancelled("<22><><EFBFBD><EFBFBD>");
|
|
|
|
|
return(0);
|
|
|
|
|
}
|
|
|
|
|
|
1999-03-15 01:45:43 +00:00
|
|
|
|
@@ -4593,7 +4596,7 @@
|
1998-08-09 00:51:28 +00:00
|
|
|
|
while(1){
|
|
|
|
|
flags = OE_APPEND_CURRENT | OE_DISALLOW_HELP;
|
|
|
|
|
sprintf(number, "%ld", *count);
|
|
|
|
|
- sprintf(prompt, "Select folders with messages %s : ", tense[*cmp]);
|
|
|
|
|
+ sprintf(prompt, "<22><><EFBFBD>ܦ<EFBFBD><DCA6>H<EFBFBD><48> %s <20><><EFBFBD><EFBFBD><EFBFBD>ƧX<C6A7>G", tense[*cmp]);
|
|
|
|
|
r = optionally_enter(number, -FOOTER_ROWS(ps_global), 0, 31,
|
|
|
|
|
prompt, sel_num_opt, NO_HELP, &flags);
|
|
|
|
|
switch (r){
|
1999-03-15 01:45:43 +00:00
|
|
|
|
@@ -4602,7 +4605,7 @@
|
1998-08-09 00:51:28 +00:00
|
|
|
|
break;
|
|
|
|
|
else if((*count = atol(number)) < 0L)
|
|
|
|
|
q_status_message(SM_ORDER, 3, 3,
|
|
|
|
|
- "Can't have NEGATIVE message count!");
|
|
|
|
|
+ "<22><><EFBFBD>i<EFBFBD><69><EFBFBD>u<EFBFBD>t<EFBFBD><74><EFBFBD>v<EFBFBD>H<EFBFBD><48><EFBFBD>ƶq<C6B6>I");
|
|
|
|
|
else
|
|
|
|
|
return(1); /* success */
|
|
|
|
|
|
1999-03-15 01:45:43 +00:00
|
|
|
|
@@ -4763,7 +4766,7 @@
|
1998-08-09 00:51:28 +00:00
|
|
|
|
for(; i >= 0; i--)
|
1999-03-15 01:45:43 +00:00
|
|
|
|
folder_entry(i, FOLDERS(context))->scanned = 0;
|
1998-08-09 00:51:28 +00:00
|
|
|
|
|
|
|
|
|
- cmd_cancelled("Select");
|
|
|
|
|
+ cmd_cancelled("<22><><EFBFBD><EFBFBD>");
|
|
|
|
|
rv = 0;
|
|
|
|
|
break;
|
|
|
|
|
}
|
1999-03-15 01:45:43 +00:00
|
|
|
|
@@ -5712,7 +5715,7 @@
|
1998-08-09 00:51:28 +00:00
|
|
|
|
|
|
|
|
|
if(p = context_digest(c_string, dcontext, host, rcontext, view)){
|
|
|
|
|
q_status_message2(SM_ORDER | SM_DING, 3, 4,
|
|
|
|
|
- "Bad context, %s : %s", p, c_string);
|
|
|
|
|
+ "<22><><EFBFBD>~<7E><><EFBFBD><EFBFBD><EFBFBD>e<EFBFBD>A%s<>G%s", p, c_string);
|
|
|
|
|
fs_give((void **) &c_string);
|
|
|
|
|
if(nickname)
|
|
|
|
|
fs_give((void **)&nickname);
|
1999-03-15 01:45:43 +00:00
|
|
|
|
@@ -5753,14 +5756,14 @@
|
1998-07-30 12:30:41 +00:00
|
|
|
|
|
1998-08-09 00:51:28 +00:00
|
|
|
|
/* fix up label */
|
|
|
|
|
if(NEWS_TEST(c)){
|
|
|
|
|
- sprintf(tmp_20k_buf, "%sews groups%s%s",
|
|
|
|
|
- (*host) ? "N" : "Local n", (*host) ? " on " : "",
|
|
|
|
|
+ sprintf(tmp_20k_buf, "%s<><73><EFBFBD>ոs%s%s",
|
|
|
|
|
+ (*host) ? "<22>s" : "<22><><EFBFBD>a<EFBFBD><61><EFBFBD>s", (*host) ? " <20><> " : "",
|
|
|
|
|
(*host) ? host : "");
|
|
|
|
|
}
|
|
|
|
|
else{
|
|
|
|
|
p = srchstr(rcontext, "[]");
|
|
|
|
|
- sprintf(tmp_20k_buf, "%solders%s%s in %.*s%s",
|
|
|
|
|
- (*host) ? "F" : "Local f", (*host) ? " on " : "",
|
|
|
|
|
+ sprintf(tmp_20k_buf, "%s<>ƧX%s%s<>b %.*s%s",
|
|
|
|
|
+ (*host) ? "<22><>" : "<22><><EFBFBD>a<EFBFBD><61><EFBFBD><EFBFBD>", (*host) ? " <20><> " : "",
|
|
|
|
|
(*host) ? host : "", p ? p - rcontext : 0,
|
|
|
|
|
rcontext, (p && (p - rcontext) > 0) ? "" : "home directory");
|
|
|
|
|
}
|
1999-03-15 01:45:43 +00:00
|
|
|
|
@@ -6986,7 +6989,7 @@
|
1998-08-09 00:51:28 +00:00
|
|
|
|
if(error && num_in_error){
|
|
|
|
|
cnt_errs = num_in_error;
|
|
|
|
|
memset((void *)ng_error, 0, (size_t)90);
|
|
|
|
|
- sprintf(ng_error, "Unknown news group%s: ", plural(num_in_error));
|
|
|
|
|
+ sprintf(ng_error, "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>s<EFBFBD>D<EFBFBD>ոs<D5B8>G");
|
|
|
|
|
ep = ng_error + strlen(ng_error);
|
|
|
|
|
}
|
|
|
|
|
for(ntmp = nglist; ntmp; ntmp = ntmp->next){
|