Subversion Repositories Kolibri OS

Rev

Rev 8983 | Rev 9471 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
8949 leency 1
//===================================================//
2
//                                                   //
3
//                     CYRILLIC                      //
4
//                                                   //
5
//===================================================//
8951 leency 6
#ifdef LANG_RUS
8952 leency 7
#define T_FILE "Имя"
8949 leency 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 "Переназвать"
8953 leency 18
#define T_GOPATH "Перейти"
8949 leency 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
 
8881 leency 34
char *kfm_func = {
8927 leency 35
	"Инфо",
36
	"Переимен.",
37
	"Просмотр",
38
	"Редакт.",
39
	"Копировать",
40
	"Переместить",
41
	"Папка",
42
	"Удалить",
43
	"Файл",
44
	" Настройки"
8947 leency 45
};
8949 leency 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  "Система "
8983 leency 57
#define T_CD   "CD-Rom "
8949 leency 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  "Неизвестно "
8983 leency 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
 
8949 leency 95
//===================================================//
96
//                                                   //
97
//                      ENGLISH                      //
98
//                                                   //
99
//===================================================//
8951 leency 100
#else
8952 leency 101
#define T_FILE "Name"
8949 leency 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"
8953 leency 112
#define T_GOPATH "Go to"
8949 leency 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
 
8881 leency 129
char *kfm_func = {
8927 leency 130
	"Info",
131
	"Rename",
132
	"View",
133
	"Edit",
134
	"Copy",
135
	"Move",
136
	"Folder",
137
	"Delete",
138
	"File",
139
	" Settings"
8947 leency 140
};
8949 leency 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 "
8983 leency 152
#define T_CD   "CD-Rom "
8949 leency 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 "
8983 leency 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
 
5698 leency 190
#endif
8854 leency 191
 
8949 leency 192
//===================================================//
193
//                                                   //
194
//                      GLOBAL                       //
195
//                                                   //
196
//===================================================//
197
 
8947 leency 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,
8953 leency 204
	BTN_PATH = 210,
205
	BTN_BREADCRUMB = 214,
8947 leency 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
 
8983 leency 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
 
8947 leency 222
//OpenDir options
223
enum {
224
	WITH_REDRAW,
225
	ONLY_OPEN
8951 leency 226
};
227
 
8953 leency 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
 
8951 leency 240
char *devinfo = {
8981 leency 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,
8951 leency 251
 
252
};
253
 
254
#define DEV_H 17
8952 leency 255
#define DDW 110
8951 leency 256
#define KFM2_DEVH 20
8952 leency 257
#define SELECTY 10
8953 leency 258
#define POPIN_W 260
9349 leency 259
//Sidebar width
260
#define SIDEBAR_W 192
261
//Sidebar padding
262
#define SBPAD 15
263
//Block width inside Sidebar
264
#define SB_BLOCKX SBPAD+2
265
#define SB_BLOCKW SIDEBAR_W-SBPAD-SB_BLOCKX
8953 leency 266
 
8983 leency 267
int toolbar_buttons_x[7]={9,46,85,134,167,203};