Subversion Repositories Kolibri OS

Rev

Rev 9582 | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed

  1. //===================================================//
  2. //                                                   //
  3. //                     CYRILLIC                      //
  4. //                                                   //
  5. //===================================================//
  6. #ifdef LANG_RUS
  7. #define T_FILE "ˆ¬ï"
  8. #define T_TYPE "’¨¯"
  9. #define T_SIZE " §¬¥à"
  10. #define T_NEW_FOLDER "®¢ ï ¯ ¯ª "
  11. #define T_NEW_FILE "®¢ë© ä ©«"
  12. #define T_DELETE_FILE "‚ë ¤¥©á⢨⥫쭮 å®â¨â¥ 㤠«¨âì"
  13. #define T_YES "„ "
  14. #define T_NO "¥â"
  15. #define T_CANCEL "Žâ¬¥­ "
  16. #define T_CREATE "‘®§¤ âì"
  17. #define T_RENAME "¥à¥­ §¢ âì"
  18. #define T_GOPATH "¥à¥©â¨"
  19. #define FS_ITEM_ALREADY_EXISTS "'«¥¬¥­â á â ª¨¬ ¨¬¥­¥¬ 㦥 áãé¥áâ¢ã¥â' -E"
  20. #define T_NOTIFY_APP_PARAM_WRONG "' à ¬¥âà ¤«ï § ¯ã᪠ Eolite ­¥¢¥à¥­: ¯ ¯ª  ­¥ áãé¥áâ¢ã¥â!' -E"
  21. #define T_COPY_WINDOW_TITLE "Š®¯¨àãî..."
  22. #define T_MOVE_WINDOW_TITLE "¥à¥¬¥é î..."
  23. #define T_DELETE_WINDOW_TITLE "“¤ «ïî..."
  24. #define T_COPY_ABORT "à¥à¢ âì"
  25. #define T_COPY_REPLACE "‡ ¬¥­¨âì"      
  26. #define T_COPY_SKIP "à®¯ãáâ¨âì"
  27. #define T_COPY_REMEMBER_CHOICE "„«ï ¢á¥å"
  28. #define T_OVERWRITE_ALERT "’ ª®© ä ©« 㦥 áãé¥áâ¢ã¥â!"
  29. #define T_SELECT_APP_TO_OPEN_WITH "‚ë¡¥à¨â¥ ¯à®£à ¬¬ã ¤«ï ®âªàëâ¨ï ä ©« "
  30. #define DEL_MORE_FILES_1 "¢ë¡à ­­ë¥ í«¥¬¥­âë ("
  31. #define DEL_MORE_FILES_2 " èâ.)?"
  32. #define T_STATUS_EVEMENTS " ¯®ª: %d  ” ©«®¢: %d"
  33. #define T_STATUS_SELECTED "‚뤥«¥­®: %d"
  34. #define COPY_PATH_STR "'ãâì ¯ ¯ª¨ ᪮¯¨à®¢ ­ ¢ ¡ãä¥à ®¡¬¥­ ' -I"
  35. #define T_ABOUT "Ž ¯à®£à ¬¬¥"
  36. #define T_USE_SHIFT_ENTER "'ˆá¯®«ì§ã©â¥ Shift+Enter çâ®¡ë ®âªàëâì ¢á¥ ¢ë¤¥«¥­­ë¥ ä ©«ë.' -I"
  37.  
  38. char *kfm_func = {
  39.         "ˆ­ä®",
  40.         "¥à¥¨¬¥­.",
  41.         "à®á¬®âà",
  42.         "¥¤ ªâ.",
  43.         "Š®¯¨à®¢ âì",
  44.         "¥à¥¬¥áâ¨âì",
  45.         " ¯ª ",
  46.         "“¤ «¨âì",
  47.         "” ©«",
  48.         "  áâனª¨"
  49. };
  50.  
  51. #define T_DEVICES "“áâனá⢠"
  52. #define T_ACTIONS "„¥©á⢨ï"
  53. char *actions[] = {
  54.         59, "®¢ë© ä ©«", "F9",
  55.         57, "®¢ ï ¯ ¯ª ", "F7",
  56.         60, " áâனª¨", "F10",
  57.         0,0,0
  58. };
  59. #define T_PROG "à®£à ¬¬ë "
  60. #define T_SYS  "‘¨á⥬  "
  61. #define T_CD   "CD-Rom "
  62. #define T_FD   "„¨áª¥â  "
  63. #define T_HD   "†¥á⪨© ¤¨áª "
  64. #define T_SATA "SATA ¤¨áª "
  65. #define T_USB  "USB ¤¨áª "
  66. #define T_RAM  "RAM ¤¨áª "
  67. #define T_UNC  "¥¨§¢¥áâ­® "
  68.  
  69. #define WINDOW_TITLE_PROPERTIES "‘¢®©á⢠"
  70. #define T_CLOSE "‡ ªàëâì"
  71. #define T_APPLY "à¨¬¥­¨âì"
  72. #define QUEST_1 "à¨¬¥­¨âì ª® ¢á¥¬ ¢«®¦¥­­ë¬"
  73. #define QUEST_2 "ä ©« ¬ ¨ ¯ ¯ª ¬?"
  74. #define T_NAME "ˆ¬ï:"
  75. #define T_DATA "„ ­­ë¥"
  76. #define T_BULK_SELECTION "‚뤥«¥­® ­¥áª®«ìª® í«¥¬¥­â®¢"
  77. #define T_PATH_SIZE "ãâì:\n §¬¥à:\n‚ ¡ ©â å:\n‘®¤¥à¦¨â:"
  78. #define T_FILES_FOLDERS "” ©«®¢ %i,  ¯®ª %i"
  79. #define CREATED_OPENED_MODIFIED "‘®§¤ ­:\nŽâªàëâ:\nˆ§¬¥­¥­:"
  80.  
  81. #define FLAGS " €âਡãâë "
  82. #define PR_T_ONLY_READ "’®«ìª® ç⥭¨¥"
  83. #define PR_T_HIDDEN "‘ªàëâë©"
  84. #define PR_T_SYSTEM "‘¨á⥬­ë©"
  85.  
  86. #define TITLE_SETT " áâனª¨"
  87. #define SHOW_DEVICE_CLASS "‚뢮¤¨âì ­ §¢ ­¨ï ª« áá  ãáâனáâ¢"
  88. #define SHOW_STATUS_BAR "®ª §ë¢ âì áâ âãá ¡ à"
  89. #define BIG_ICONS "ˆá¯®«ì§®¢ âì ¡®«ì訥 ¨ª®­ª¨"
  90. #define COLORED_LINES "®¤á¢¥ç¨¢ âì ç¥â­ë¥ «¨­¨¨ ¢ ᯨ᪥"
  91. #define FONT_SIZE_LABEL " §¬¥à èà¨äâ "
  92. #define LIST_LINE_HEIGHT "‚ëá®â  áâப¨ ¢ ᯨ᪥"
  93. #define SAVE_PATH_AS_DEFAULT "’¥ªã騩 ¯ãâì"
  94. #define SAVE_START_PATH_AS_DEFAULT "‚¢¥¤¥­­ë© ¯ãâì"
  95. #define EDIT_FILE_ASSOCIATIONS "¥¤ ªâ¨à®¢ âì  áá®æ¨ æ¨¨ ä ©«®¢"
  96. #define START_PATH " ‘â àâ®¢ë© ¯ãâì: "
  97.  
  98. //===================================================//
  99. //                                                   //
  100. //                      ENGLISH                      //
  101. //                                                   //
  102. //===================================================//
  103. #else
  104. #define T_FILE "Name"
  105. #define T_TYPE "Type"
  106. #define T_SIZE "Size"
  107. #define T_NEW_FOLDER "New folder"
  108. #define T_NEW_FILE "New file"
  109. #define T_DELETE_FILE "Do you really want to delete"
  110. #define T_YES "Yes"
  111. #define T_NO "No"
  112. #define T_CANCEL "Cancel"
  113. #define T_CREATE "Create"
  114. #define T_RENAME "Rename"
  115. #define T_GOPATH "Go to"
  116. #define FS_ITEM_ALREADY_EXISTS "'An item with that name already exists' -E"
  117. #define WAIT_DELETING_FOLDER "Deleting folder. Please, wait..."
  118. #define T_NOTIFY_APP_PARAM_WRONG "'Eolite param is wrong: directory does not exist!' -E"
  119. #define T_COPY_WINDOW_TITLE "Copying..."
  120. #define T_MOVE_WINDOW_TITLE "Moving..."
  121. #define T_DELETE_WINDOW_TITLE "Deleting..."
  122. #define T_COPY_ABORT "Abort"   
  123. #define T_COPY_REPLACE "Replace"       
  124. #define T_COPY_SKIP "Skip"
  125. #define T_COPY_REMEMBER_CHOICE "Apply for all"
  126. #define T_OVERWRITE_ALERT "There is already a file with such name!"
  127. #define T_SELECT_APP_TO_OPEN_WITH "Select application to open file"
  128. #define DEL_MORE_FILES_1 "selected items("
  129. #define DEL_MORE_FILES_2 " pcs.)?"
  130. #define T_STATUS_EVEMENTS "Dirs: %d  Files: %d"
  131. #define T_STATUS_SELECTED "Selected: %d"
  132. #define COPY_PATH_STR "'Directory path copied to clipboard' -I"
  133. #define T_ABOUT "About"
  134. #define T_USE_SHIFT_ENTER "'Use Shift+Enter to open all selected files.' -I"
  135.  
  136. char *kfm_func = {
  137.         "Info",
  138.         "Rename",
  139.         "View",
  140.         "Edit",
  141.         "Copy",
  142.         "Move",
  143.         "Folder",
  144.         "Delete",
  145.         "File",
  146.         " Settings"
  147. };
  148.  
  149. #define T_DEVICES "Devices"
  150. #define T_ACTIONS "Actions"
  151. char *actions[] = {
  152.         59, "New file", "F9",
  153.         57, "New folder", "F7",
  154.         60, "Settings", "F10",
  155.         0,0,0
  156. };
  157. #define T_PROG "Programs "
  158. #define T_SYS  "System "
  159. #define T_CD   "CD-Rom "
  160. #define T_FD   "Floppy disk "
  161. #define T_HD   "Hard disk "
  162. #define T_SATA "SATA disk "
  163. #define T_USB  "USB disk "
  164. #define T_RAM  "RAM disk "
  165. #define T_UNC  "Unknown "
  166.  
  167. #define WINDOW_TITLE_PROPERTIES "Properties"
  168. #define T_CLOSE "Close"
  169. #define T_APPLY "Apply"
  170. #define QUEST_1 "Apply to all subfolders"
  171. #define QUEST_2 "files and Folders?"
  172. #define T_NAME "Name:"
  173. #define T_DATA "Data"
  174. #define T_BULK_SELECTION "A bunch of items is selected"
  175. #define T_PATH_SIZE "Location:\nSize:\nBytes:\nContains:"
  176. #define T_FILES_FOLDERS "Files %i, Folders %i"
  177. #define CREATED_OPENED_MODIFIED "Created:\nOpened:\nModified:"
  178.  
  179. #define FLAGS " Attributes "
  180. #define PR_T_HIDDEN "Hidden"
  181. #define PR_T_SYSTEM "System"
  182. #define PR_T_ONLY_READ "Read-only"
  183.  
  184. #define TITLE_SETT "Settings"
  185. #define SHOW_DEVICE_CLASS "Show device class name"
  186. #define SHOW_STATUS_BAR "Show status bar"
  187. #define BIG_ICONS "Big icons in list"
  188. #define COLORED_LINES "Highlight even lines in list"
  189. #define FONT_SIZE_LABEL "Font size"
  190. #define LIST_LINE_HEIGHT "List line height"
  191. #define SAVE_PATH_AS_DEFAULT "Current path"
  192. #define SAVE_START_PATH_AS_DEFAULT "Typed path"
  193. #define EDIT_FILE_ASSOCIATIONS "Edit file associations"
  194. #define START_PATH " Start path: "
  195.  
  196. #endif
  197.  
  198. //===================================================//
  199. //                                                   //
  200. //                      GLOBAL                       //
  201. //                                                   //
  202. //===================================================//
  203.  
  204. //Button IDs
  205. enum {
  206.         POPUP_BTN1 = 201,
  207.         POPUP_BTN2 = 202,
  208.         KFM_DEV_DROPDOWN_1 = 205,
  209.         KFM_DEV_DROPDOWN_2 = 207,
  210.         BTN_PATH = 210,
  211.         BTN_BREADCRUMB = 214,
  212.         BREADCRUMB_ID = 300,
  213.  
  214.         BACK_BTN = 400,
  215.         FWRD_BTN,
  216.         GOUP_BTN,
  217.         COPY_BTN,
  218.         CUT_BTN,
  219.         PASTE_BTN,
  220.         KFM_FUNC_ID = 450
  221. };
  222.  
  223. #define B_SETINGS_APPLY_SUBFOLDER 301
  224. #define B_SETINGS_APPLY_NO_SUBFOLDER 302
  225. #define B_APPLY 11
  226. #define B_CLOSE 12
  227.  
  228. //OpenDir options
  229. enum {
  230.         WITH_REDRAW,
  231.         ONLY_OPEN
  232. };
  233.  
  234. //OpenDir options
  235. enum {
  236.         POPIN_PATH=1,
  237.         POPIN_NEW_FILE,
  238.         POPIN_NEW_FOLDER,
  239.         POPIN_RENAME,
  240.         POPIN_DELETE,
  241.         POPIN_DISK,
  242.         POPIN_BREADCR
  243. };
  244.  
  245.  
  246. char *devinfo = {
  247.         "sy", 0, T_SYS,
  248.         "rd", 0, T_SYS,
  249.         "ko", 1, T_PROG,
  250.         "fd", 2, T_FD,
  251.         "cd", 3, T_CD,
  252.         "hd", 4, T_HD,
  253.         "bd", 4, T_HD,
  254.         "sd", 4, T_SATA,
  255.         "tm", 5, T_RAM,
  256.         "us", 6, T_USB,
  257.         0
  258. };
  259.  
  260. #define DEV_H 17
  261. #define DDW 110
  262. #define KFM2_DEVH 20
  263. #define SELECTY 10
  264. #define POPIN_W 260
  265. //Sidebar width
  266. #define SIDEBAR_W 192
  267. //Sidebar padding
  268. #define SBPAD 15
  269. //Block width inside Sidebar
  270. #define SB_BLOCKX SBPAD+2
  271. #define SB_BLOCKW SIDEBAR_W-SBPAD-SB_BLOCKX
  272.  
  273. int toolbar_buttons_x[7]={9,46,85,134,167,203};
  274.