Rev 5609 | Rev 5621 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 5609 | Rev 5620 | ||
---|---|---|---|
Line 24... | Line 24... | ||
24 | #include "imgs\toolbar.txt" |
24 | #include "imgs\toolbar.txt" |
25 | #include "imgs\left_p.txt" |
25 | #include "imgs\left_p.txt" |
26 | #include "imgs\icons.txt" |
26 | #include "imgs\icons.txt" |
Line 27... | Line 27... | ||
27 | 27 | ||
28 | #ifdef LANG_RUS |
28 | #ifdef LANG_RUS |
29 | ?define T_FILE " ©«" |
29 | ?define T_FILE "Файл" |
30 | ?define T_TYPE "¨¯" |
30 | ?define T_TYPE "Тип" |
31 | ?define T_SIZE " §¬¥à" |
31 | ?define T_SIZE "Размер" |
32 | ?define T_NEW_FOLDER "®¢ ï ¯ ¯ª " |
32 | ?define T_NEW_FOLDER "Новая папка" |
33 | ?define T_NEW_FILE "®¢ë© ä ©«" |
33 | ?define T_NEW_FILE "Новый файл" |
34 | ?define T_DELETE_FILE "ë ¤¥©áâ¢¨â¥«ì® å®â¨â¥ 㤠«¨âì" |
34 | ?define T_DELETE_FILE "Вы действительно хотите удалить" |
35 | ?define T_YES " " |
35 | ?define T_YES "Да" |
36 | ?define T_NO "¥â" |
36 | ?define T_NO "Нет" |
37 | ?define T_CANCEL "⬥ " |
37 | ?define T_CANCEL "Отмена" |
38 | ?define T_CREATE "®§¤ âì" |
38 | ?define T_CREATE "Создать" |
39 | ?define T_RENAME "¥à¥¨¬¥®¢ âì" |
- | |
40 | ?define FILE_EXISTS " ©« á â ª¨¬ ¨¬¥¥¬ áãé¥áâ¢ã¥â" |
39 | ?define T_RENAME "Переименовать" |
41 | ?define FOLDER_EXISTS " ¯ª á â ª¨¬ ¨¬¥¥¬ áãé¥áâ¢ã¥â" |
40 | ?define FS_ITEM_ALREADY_EXISTS "'Элемент с таким именем уже существует' -E" |
42 | ?define T_DEL_ERROR_1 "訡ª . ¯ª ¥ ¯ãáâ ï." |
41 | ?define T_DEL_ERROR_1 "Ошибка. Папка не пустая." |
43 | ?define WAIT_DELETING_FOLDER "¤ «ï¥âáï ¯ ¯ª . ®¤®¦¨â¥..." |
42 | ?define WAIT_DELETING_FOLDER "Удаляется папка. Подожите..." |
44 | ?define NOT_CREATE_FOLDER "¥ 㤠«®áì ᮧ¤ âì ¯ ¯ªã." |
43 | ?define NOT_CREATE_FOLDER "Не удалось создать папку." |
45 | ?define NOT_CREATE_FILE "¥ 㤠«®áì ᮧ¤ âì ä ©«." |
44 | ?define NOT_CREATE_FILE "Не удалось создать файл." |
46 | ?define ERROR_1 "訡ª ¯à¨ § £à㧪¥ ¡¨¡«¨®â¥ª¨ /rd/1/lib/box_lib.obj" |
45 | ?define ERROR_1 "Ошибка при загрузке библиотеки /rd/1/lib/box_lib.obj" |
47 | ?define T_PASTE_WINDOW_TITLE "®¯¨àãî..." |
46 | ?define T_PASTE_WINDOW_TITLE "Копирую..." |
48 | ?define T_PASTE_WINDOW_TEXT "®¯¨àã¥âáï ä ©«:" |
47 | ?define T_PASTE_WINDOW_TEXT "Копируется файл:" |
49 | ?define T_PASTE_WINDOW_BUTTON "à¥à¢ âì" |
48 | ?define T_PASTE_WINDOW_BUTTON "Прервать" |
50 | ?define INFO_AFTER_COPY "®¯¨à®¢ ¨¥ § ¢¥à襮" |
49 | ?define INFO_AFTER_COPY "Копирование завершено" |
51 | ?define T_CANCEL_PASTE "®¯¨à®¢ ¨¥ ¯à¥ªà 饮. ¯ª ᪮¯¨à®¢ ¥ ¯®«®áâìî." |
50 | ?define T_CANCEL_PASTE "Копирование прекращено. Папка скопирована не полностью." |
52 | ?define T_SELECT_APP_TO_OPEN_WITH "ë¡¥à¨â¥ ¯à®£à ¬¬ã ¤«ï ®âªàëâ¨ï ä ©« " |
51 | ?define T_SELECT_APP_TO_OPEN_WITH "Выберите программу для открытия файла" |
53 | ?define DEL_MORE_FILES_1 "¢ë¡à ë¥ í«¥¬¥âë (" |
52 | ?define DEL_MORE_FILES_1 "выбранные элементы (" |
54 | ?define DEL_MORE_FILES_2 " èâ.)?" |
53 | ?define DEL_MORE_FILES_2 " шт.)?" |
55 | #elif LANG_EST |
54 | #elif LANG_EST |
56 | ?define T_FILE "Fail" |
55 | ?define T_FILE "Fail" |
57 | ?define T_TYPE "Tüüp" |
56 | ?define T_TYPE "T№№p" |
58 | ?define T_SIZE "Suurus" |
57 | ?define T_SIZE "Suurus" |
59 | ?define T_NEW_FOLDER "Uus kataloog" |
58 | ?define T_NEW_FOLDER "Uus kataloog" |
60 | ?define T_NEW_FILE "Uus fail" |
59 | ?define T_NEW_FILE "Uus fail" |
61 | ?define T_DELETE_FILE "Kas sa tahad tõesti kustutada" |
60 | ?define T_DELETE_FILE "Kas sa tahad tїesti kustutada" |
62 | ?define T_YES "Jah" |
61 | ?define T_YES "Jah" |
63 | ?define T_NO "Ei" |
62 | ?define T_NO "Ei" |
64 | ?define T_CANCEL "Cancel" |
63 | ?define T_CANCEL "Cancel" |
65 | ?define T_CREATE "Create" |
64 | ?define T_CREATE "Create" |
66 | ?define T_RENAME "Rename" |
65 | ?define T_RENAME "Rename" |
67 | ?define FILE_EXISTS "The file with the same name exists" |
- | |
68 | ?define FOLDER_EXISTS "A folder with the same name exists" |
66 | ?define FS_ITEM_ALREADY_EXISTS "'An item with that name already exists' -E" |
69 | ?define T_DEL_ERROR_1 "Viga. Kataloog ei ole tühi." |
67 | ?define T_DEL_ERROR_1 "Viga. Kataloog ei ole t№hi." |
70 | ?define WAIT_DELETING_FOLDER "Deleting folder. Please, wait..." |
68 | ?define WAIT_DELETING_FOLDER "Deleting folder. Please, wait..." |
71 | ?define NOT_CREATE_FOLDER "Kataloogi ei saa luua." |
69 | ?define NOT_CREATE_FOLDER "Kataloogi ei saa luua." |
72 | ?define NOT_CREATE_FILE "Faili ei saa luua." |
70 | ?define NOT_CREATE_FILE "Faili ei saa luua." |
73 | ?define ERROR_1 "Viga teegi laadimisel /rd/1/lib/box_lib.obj" |
71 | ?define ERROR_1 "Viga teegi laadimisel /rd/1/lib/box_lib.obj" |
Line 89... | Line 87... | ||
89 | ?define T_YES "Yes" |
87 | ?define T_YES "Yes" |
90 | ?define T_NO "No" |
88 | ?define T_NO "No" |
91 | ?define T_CANCEL "Cancel" |
89 | ?define T_CANCEL "Cancel" |
92 | ?define T_CREATE "Create" |
90 | ?define T_CREATE "Create" |
93 | ?define T_RENAME "Rename" |
91 | ?define T_RENAME "Rename" |
94 | ?define FILE_EXISTS "The file with the same name exists" |
92 | ?define FS_ITEM_ALREADY_EXISTS "'An item with that name already exists' -E" |
95 | ?define FOLDER_EXISTS "A folder with the same name exists" |
- | |
96 | ?define T_DEL_ERROR_1 "Error. Folder isn't empty." |
93 | ?define T_DEL_ERROR_1 "Error. Folder isn't empty." |
97 | ?define WAIT_DELETING_FOLDER "Deleting folder. Please, wait..." |
94 | ?define WAIT_DELETING_FOLDER "Deleting folder. Please, wait..." |
98 | ?define NOT_CREATE_FOLDER "Folder can not be created." |
95 | ?define NOT_CREATE_FOLDER "Folder can not be created." |
99 | ?define NOT_CREATE_FILE "File can not be created." |
96 | ?define NOT_CREATE_FILE "File can not be created." |
100 | ?define ERROR_1 "Error while loading library /rd/1/lib/box_lib.obj" |
97 | ?define ERROR_1 "Error while loading library /rd/1/lib/box_lib.obj" |
Line 109... | Line 106... | ||
109 | #endif |
106 | #endif |
Line 110... | Line 107... | ||
110 | 107 | ||
111 | enum {ONLY_SHOW, WITH_REDRAW, ONLY_OPEN}; //OpenDir |
108 | enum {ONLY_SHOW, WITH_REDRAW, ONLY_OPEN}; //OpenDir |
Line 112... | Line 109... | ||
112 | enum { CREATE_FILE=1, CREATE_FOLDER, RENAME_ITEM }; //NewElement |
109 | enum { CREATE_FILE=1, CREATE_FOLDER, RENAME_ITEM }; //NewElement |
113 | 110 | ||
114 | #define TITLE "Eolite File Manager v2.83" |
111 | #define TITLE "Eolite File Manager v2.84" |
Line 115... | Line 112... | ||
115 | #define ABOUT_TITLE "Eolite v2.83" |
112 | #define ABOUT_TITLE "Eolite v2.84" |
116 | dword col_padding, col_selec, col_lpanel; |
113 | dword col_padding, col_selec, col_lpanel; |
Line 1056... | Line 1053... | ||
1056 | ShowMessage(NOT_CREATE_FILE, 150); |
1053 | ShowMessage(NOT_CREATE_FILE, 150); |
1057 | } |
1054 | } |
1058 | } |
1055 | } |
1059 | else |
1056 | else |
1060 | { |
1057 | { |
1061 | notify(FILE_EXISTS); |
1058 | notify(FS_ITEM_ALREADY_EXISTS); |
1062 | } |
1059 | } |
1063 | break; |
1060 | break; |
1064 | case CREATE_FOLDER: |
1061 | case CREATE_FOLDER: |
1065 | if (info_result==5) |
1062 | if (info_result==5) |
1066 | { |
1063 | { |
Line 1071... | Line 1068... | ||
1071 | ShowMessage(NOT_CREATE_FOLDER, 150); |
1068 | ShowMessage(NOT_CREATE_FOLDER, 150); |
1072 | } |
1069 | } |
1073 | } |
1070 | } |
1074 | else |
1071 | else |
1075 | { |
1072 | { |
1076 | notify(FOLDER_EXISTS); |
1073 | notify(FS_ITEM_ALREADY_EXISTS); |
1077 | } |
1074 | } |
1078 | break; |
1075 | break; |
1079 | case RENAME_ITEM: |
1076 | case RENAME_ITEM: |
1080 | if (info_result==5) |
1077 | if (info_result==5) |
1081 | { |
1078 | { |
Line 1104... | Line 1101... | ||
1104 | } |
1101 | } |
1105 | } |
1102 | } |
1106 | } |
1103 | } |
1107 | else |
1104 | else |
1108 | { |
1105 | { |
1109 | notify(FILE_EXISTS); |
1106 | notify(FS_ITEM_ALREADY_EXISTS); |
1110 | } |
1107 | } |
1111 | } |
1108 | } |
1112 | new_element_active = 0; |
1109 | new_element_active = 0; |
1113 | Open_Dir(#path,WITH_REDRAW); |
1110 | Open_Dir(#path,WITH_REDRAW); |
1114 | SelectFile(new_file_ed.text); |
1111 | SelectFile(new_file_ed.text); |