1,46 → 1,4 |
#ifdef LANG_RUS |
?define WINDOW_TITLE_PROPERTIES "¢®©á⢠" |
?define T_CLOSE " ªàëâì" |
?define T_APPLY "ਬ¥¨âì" |
?define QUEST_1 "ਬ¥¨âì ª® ¢á¥¬ ¢«®¦¥ë¬" |
?define QUEST_2 "ä ©« ¬ ¨ ¯ ¯ª ¬?" |
?define PR_T_NAME "•:" |
?define PR_T_DEST " ᯮ«®¦¥¨¥:" |
?define PR_T_SIZE " §¬¥à:" |
?define CREATED_OPENED_MODIFIED "®§¤ :\nâªàëâ:\n§¬¥¥:" |
?define SET_6 " ©«®¢: " |
?define SET_7 " ¯®ª: " |
?define PR_T_CONTAINS "®¤¥à¦¨â: " |
?define FLAGS " ââਡãâë " |
?define PR_T_HIDDEN "ªàëâë©" |
?define PR_T_SYSTEM "¨á⥬ë©" |
?define PR_T_ONLY_READ "®«ìª® ç⥨¥" |
?define SET_BYTE_LANG "¡ ©â" |
#else // Apply to all subfolders |
?define WINDOW_TITLE_PROPERTIES "Properties" |
?define T_CLOSE "Close" |
?define T_APPLY "Apply" |
?define QUEST_1 "Apply to all subfolders" |
?define QUEST_2 "files and Folders?" |
?define PR_T_NAME "Name:" |
?define PR_T_DEST "Destination:" |
?define PR_T_SIZE "Size:" |
?define CREATED_OPENED_MODIFIED "Created:\nOpened:\nModified:" |
?define SET_6 "Files: " |
?define SET_7 " Folders: " |
?define PR_T_CONTAINS "Contains: " |
?define FLAGS " Attributes " |
?define PR_T_HIDDEN "Hidden" |
?define PR_T_SYSTEM "System" |
?define PR_T_ONLY_READ "Read-only" |
?define SET_BYTE_LANG "byte" |
#endif |
|
#define B_SETINGS_APPLY_SUBFOLDER 301 |
#define B_SETINGS_APPLY_NO_SUBFOLDER 302 |
#define B_APPLY 11 |
#define B_CLOSE 12 |
|
char path_to_file[4096]; |
char file_name2[4096]; |
edit_box file_name_ed = {230,59,32,0xffffff,0x94AECE,0xFFFfff,0xffffff,0x10000000,sizeof(file_name2)-2,#file_name2,NULL, 0b,2,2}; |
109,7 → 67,7 |
if (SET_PROPERTIES_ALL_SUBFOLDER == mode) |
|| (SET_PROPERTIES_NO_SUBFOLDER == mode) |
{ |
if (selected_count) |
if (getSelectedCount()) |
{ |
for (i=0; i<files.count; i++) |
{ |
174,7 → 132,7 |
{ |
int id; |
|
if (selected_count) |
if (getSelectedCount()) |
{ |
more_files_count.get(NULL); |
GetSizeMoreFiles(path); |
280,7 → 238,7 |
|
WriteText(10, 97, 0x90, sc.work_text, PR_T_SIZE); |
|
if (selected_count) |
if (getSelectedCount()) |
{ |
PropertiesDrawIcon(NULL, "<lot>"); |
sprintf(#folder_info,"%s%d%s%d",SET_6,more_files_count.files,SET_7,more_files_count.folders); |
334,7 → 292,7 |
|
void EventApplyProperties() |
{ |
if (selected_count) || (itdir) { |
if (getSelectedCount()) || (itdir) { |
ShowConfirmQuestionPopin(); |
} else { |
SetProperties(SET_PROPERTIES_SINGLE_FILE); |