Subversion Repositories Kolibri OS

Rev

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