//===================================================// // // // CYRILLIC // // // //===================================================// #ifdef LANG_RUS #define T_FILE "Файл" #define T_TYPE "Тип" #define T_SIZE "Размер" #define T_NEW_FOLDER "Новая папка" #define T_NEW_FILE "Новый файл" #define T_DELETE_FILE "Вы действительно хотите удалить" #define T_YES "Да" #define T_NO "Нет" #define T_CANCEL "Отмена" #define T_CREATE "Создать" #define T_RENAME "Переназвать" #define FS_ITEM_ALREADY_EXISTS "'Элемент с таким именем уже существует' -E" #define NOT_CREATE_FOLDER "'Не удалось создать папку.' -E" #define NOT_CREATE_FILE "'Не удалось создать файл.' -E" #define T_NOTIFY_APP_PARAM_WRONG "'Параметр для запуска Eolite не верен: папка не существует!' -E" #define T_COPY_WINDOW_TITLE "Копирую..." #define T_MOVE_WINDOW_TITLE "Перемещаю..." #define T_DELETE_WINDOW_TITLE "Удаляю..." #define T_ABORT_WINDOW_BUTTON "Прервать" #define T_SELECT_APP_TO_OPEN_WITH "Выберите программу для открытия файла" #define DEL_MORE_FILES_1 "выбранные элементы (" #define DEL_MORE_FILES_2 " шт.)?" #define T_STATUS_EVEMENTS "Папок: %d Файлов: %d" #define T_STATUS_SELECTED "Выделенно: %d" #define COPY_PATH_STR "'Путь папки скопирован в буфер обмена' -I" #define T_ABOUT "О программе" #define T_USE_SHIFT_ENTER "'Используйте Shift+Enter чтобы открыть все выделенные файлы.' -I" char *kfm_func = { "Инфо", "Переимен.", "Просмотр", "Редакт.", "Копировать", "Переместить", "Папка", "Удалить", "Файл", " Настройки" }; #define T_DEVICES "Устройства" #define T_ACTIONS "Действия" char *actions[] = { 59, "Новый файл", "F9", 57, "Новая папка", "F7", 60, "Настройки", "F10", 0,0,0 }; #define T_PROG "Программы " #define T_SYS "Система " #define T_CD "CD-ROM " #define T_FD "Дискета " #define T_HD "Жесткий диск " #define T_SATA "SATA диск " #define T_USB "USB диск " #define T_RAM "RAM диск " #define T_UNC "Неизвестно " //===================================================// // // // ENGLISH // // // //===================================================// #else #define T_FILE "File" #define T_TYPE "Type" #define T_SIZE "Size" #define T_NEW_FOLDER "New folder" #define T_NEW_FILE "New file" #define T_DELETE_FILE "Do you really want to delete" #define T_YES "Yes" #define T_NO "No" #define T_CANCEL "Cancel" #define T_CREATE "Create" #define T_RENAME "Rename" #define FS_ITEM_ALREADY_EXISTS "'An item with that name already exists' -E" #define WAIT_DELETING_FOLDER "Deleting folder. Please, wait..." #define NOT_CREATE_FOLDER "'Folder can not be created.' -E" #define NOT_CREATE_FILE "'File can not be created.' -E" #define T_NOTIFY_APP_PARAM_WRONG "'Eolite param is wrong: directory does not exist!' -E" #define T_COPY_WINDOW_TITLE "Copying..." #define T_MOVE_WINDOW_TITLE "Moving..." #define T_DELETE_WINDOW_TITLE "Deleting..." #define T_ABORT_WINDOW_BUTTON "Abort" #define T_SELECT_APP_TO_OPEN_WITH "Select application to open file" #define DEL_MORE_FILES_1 "selected items(" #define DEL_MORE_FILES_2 " pcs.)?" #define T_STATUS_EVEMENTS "Dirs: %d Files: %d" #define T_STATUS_SELECTED "Selected: %d" #define COPY_PATH_STR "'Directory path copied to clipboard' -I" #define T_ABOUT "About" #define T_USE_SHIFT_ENTER "'Use Shift+Enter to open all selected files.' -I" char *kfm_func = { "Info", "Rename", "View", "Edit", "Copy", "Move", "Folder", "Delete", "File", " Settings" }; #define T_DEVICES "Devices" #define T_ACTIONS "Actions" char *actions[] = { 59, "New file", "F9", 57, "New folder", "F7", 60, "Settings", "F10", 0,0,0 }; #define T_PROG "Programs " #define T_SYS "System " #define T_CD "CD-ROM " #define T_FD "Floppy disk " #define T_HD "Hard disk " #define T_SATA "SATA disk " #define T_USB "USB disk " #define T_RAM "RAM disk " #define T_UNC "Unknown " #endif //===================================================// // // // GLOBAL // // // //===================================================// //Button IDs enum { PATH_BTN = 10, POPUP_BTN1 = 201, POPUP_BTN2 = 202, KFM_DEV_DROPDOWN_1 = 205, KFM_DEV_DROPDOWN_2 = 207, BREADCRUMB_ID = 300, BACK_BTN = 400, FWRD_BTN, GOUP_BTN, COPY_BTN, CUT_BTN, PASTE_BTN, KFM_FUNC_ID = 450 }; //NewElement options enum { CREATE_FILE=1, CREATE_FOLDER, RENAME_ITEM }; //OpenDir options enum { WITH_REDRAW, ONLY_OPEN }; char *devinfo = { "r", 0, T_SYS, "k", 1, T_PROG, "f", 2, T_FD, "c", 3, T_CD, "h", 4, T_HD, "b", 4, T_HD, "s", 4, T_SATA, "t", 5, T_RAM, "u", 6, T_USB, 0 }; #define DEV_H 17 #define DDW 120 #define KFM2_DEVH 20