forked from KolibriOS/kolibrios
5bb70bb219
git-svn-id: svn://kolibrios.org@8949 a494cfbc-eb01-0410-851d-a64ba20cac60
180 lines
5.0 KiB
C
180 lines
5.0 KiB
C
#ifdef LANG_RUS
|
||
//===================================================//
|
||
// //
|
||
// CYRILLIC //
|
||
// //
|
||
//===================================================//
|
||
#define T_FILE "” ©«"
|
||
#define T_TYPE "’¨¯"
|
||
#define T_SIZE "<22> §¬¥à"
|
||
#define T_NEW_FOLDER "<22>®¢ ï ¯ ¯ª "
|
||
#define T_NEW_FILE "<22>®¢ë© ä ©«"
|
||
#define T_DELETE_FILE "‚ë ¤¥©áâ¢¨â¥«ì® å®â¨â¥ 㤠«¨âì"
|
||
#define T_YES "„ "
|
||
#define T_NO "<22>¥â"
|
||
#define T_CANCEL "Žâ¬¥ "
|
||
#define T_CREATE "‘®§¤ âì"
|
||
#define T_RENAME "<22>¥à¥ §¢ âì"
|
||
#define FS_ITEM_ALREADY_EXISTS "'<27>«¥¬¥â á â ª¨¬ ¨¬¥¥¬ 㦥 áãé¥áâ¢ã¥â' -E"
|
||
#define NOT_CREATE_FOLDER "'<27>¥ 㤠«®áì ᮧ¤ âì ¯ ¯ªã.' -E"
|
||
#define NOT_CREATE_FILE "'<27>¥ 㤠«®áì ᮧ¤ âì ä ©«.' -E"
|
||
#define T_NOTIFY_APP_PARAM_WRONG "'<27> à ¬¥âà ¤«ï § ¯ã᪠Eolite ¥ ¢¥à¥: ¯ ¯ª ¥ áãé¥áâ¢ã¥â!' -E"
|
||
#define T_COPY_WINDOW_TITLE "Š®¯¨àãî..."
|
||
#define T_MOVE_WINDOW_TITLE "<22>¥à¥¬¥é î..."
|
||
#define T_DELETE_WINDOW_TITLE "“¤ «ïî..."
|
||
#define T_ABORT_WINDOW_BUTTON "<22>à¥à¢ âì"
|
||
#define T_SELECT_APP_TO_OPEN_WITH "‚ë¡¥à¨â¥ ¯à®£à ¬¬ã ¤«ï ®âªàëâ¨ï ä ©« "
|
||
#define DEL_MORE_FILES_1 "¢ë¡à ë¥ í«¥¬¥âë ("
|
||
#define DEL_MORE_FILES_2 " èâ.)?"
|
||
#define T_STATUS_EVEMENTS "<22> ¯®ª: %d ” ©«®¢: %d"
|
||
#define T_STATUS_SELECTED "‚뤥«¥®: %d"
|
||
#define COPY_PATH_STR "'<27>ãâì ¯ ¯ª¨ ᪮¯¨à®¢ ¢ ¡ãä¥à ®¡¬¥ ' -I"
|
||
#define T_ABOUT "Ž ¯à®£à ¬¬¥"
|
||
#define T_USE_SHIFT_ENTER "'ˆá¯®«ì§ã©â¥ Shift+Enter çâ®¡ë ®âªàëâì ¢á¥ ¢ë¤¥«¥ë¥ ä ©«ë.' -I"
|
||
|
||
char *kfm_func = {
|
||
"ˆä®",
|
||
"<EFBFBD>¥à¥¨¬¥.",
|
||
"<EFBFBD>à®á¬®âà",
|
||
"<EFBFBD>¥¤ ªâ.",
|
||
"Š®¯¨à®¢ âì",
|
||
"<EFBFBD>¥à¥¬¥áâ¨âì",
|
||
"<EFBFBD> ¯ª ",
|
||
"“¤ «¨âì",
|
||
"” ©«",
|
||
" <20> áâனª¨"
|
||
};
|
||
|
||
#define T_DEVICES "“áâனá⢠"
|
||
#define T_ACTIONS "„¥©á⢨ï"
|
||
char *actions[] = {
|
||
59, "<EFBFBD>®¢ë© ä ©«", "F9",
|
||
57, "<EFBFBD>®¢ ï ¯ ¯ª ", "F7",
|
||
60, "<EFBFBD> áâனª¨", "F10",
|
||
0,0,0
|
||
};
|
||
#define T_PROG "<22>à®£à ¬¬ë "
|
||
#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 "<22>¥¨§¢¥áâ® "
|
||
#else
|
||
//===================================================//
|
||
// //
|
||
// ENGLISH //
|
||
// //
|
||
//===================================================//
|
||
#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 //
|
||
// //
|
||
//===================================================//
|
||
|
||
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
|
||
};
|
||
|
||
//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
|
||
}; |