Subversion Repositories Kolibri OS

Rev

Rev 9471 | Rev 9535 | 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 "Удаляю..."
9510 leency 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 "Такой файл уже существует!"
8949 leency 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
 
8881 leency 38
char *kfm_func = {
8927 leency 39
	"Инфо",
40
	"Переимен.",
41
	"Просмотр",
42
	"Редакт.",
43
	"Копировать",
44
	"Переместить",
45
	"Папка",
46
	"Удалить",
47
	"Файл",
48
	" Настройки"
8947 leency 49
};
8949 leency 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  "Система "
8983 leency 61
#define T_CD   "CD-Rom "
8949 leency 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  "Неизвестно "
8983 leency 68
 
69
#define WINDOW_TITLE_PROPERTIES "Свойства"
70
#define T_CLOSE "Закрыть"
71
#define T_APPLY "Применить"
72
#define QUEST_1 "Применить ко всем вложенным"
73
#define QUEST_2 "файлам и папкам?"
74
#define PR_T_NAME "Имя:"
75
#define PR_T_DEST "Расположение:"
76
#define PR_T_SIZE "Размер:"
77
#define CREATED_OPENED_MODIFIED "Создан:\nОткрыт:\nИзменен:"
78
#define SET_6 "Файлов: "
79
#define SET_7 " Папок: "
80
#define PR_T_CONTAINS "Содержит: "
81
#define FLAGS " Аттрибуты "
82
#define PR_T_HIDDEN "Скрытый"
83
#define PR_T_SYSTEM "Системный"
84
#define PR_T_ONLY_READ "Только чтение"
85
#define SET_BYTE_LANG "байт"
86
 
87
#define TITLE_SETT "Настройки"
88
#define SHOW_DEVICE_CLASS "Выводить названия класса устройств"
89
#define SHOW_STATUS_BAR "Показывать статус бар"
90
#define BIG_ICONS "Использовать большие иконки"
91
#define COLORED_LINES "Подсвечивать четные линии в списке"
92
#define FONT_SIZE_LABEL "Размер шрифта"
93
#define LIST_LINE_HEIGHT "Высота строки в списке"
94
#define SAVE_PATH_AS_DEFAULT "Текущий путь"
95
#define SAVE_START_PATH_AS_DEFAULT "Введенный путь"
96
#define EDIT_FILE_ASSOCIATIONS "Редактировать ассоциации файлов"
97
#define START_PATH " Стартовый путь: "
98
 
8949 leency 99
//===================================================//
100
//                                                   //
101
//                      ENGLISH                      //
102
//                                                   //
103
//===================================================//
8951 leency 104
#else
8952 leency 105
#define T_FILE "Name"
8949 leency 106
#define T_TYPE "Type"
107
#define T_SIZE "Size"
108
#define T_NEW_FOLDER "New folder"
109
#define T_NEW_FILE "New file"
110
#define T_DELETE_FILE "Do you really want to delete"
111
#define T_YES "Yes"
112
#define T_NO "No"
113
#define T_CANCEL "Cancel"
114
#define T_CREATE "Create"
115
#define T_RENAME "Rename"
8953 leency 116
#define T_GOPATH "Go to"
8949 leency 117
#define FS_ITEM_ALREADY_EXISTS "'An item with that name already exists' -E"
118
#define WAIT_DELETING_FOLDER "Deleting folder. Please, wait..."
119
#define T_NOTIFY_APP_PARAM_WRONG "'Eolite param is wrong: directory does not exist!' -E"
120
#define T_COPY_WINDOW_TITLE "Copying..."
121
#define T_MOVE_WINDOW_TITLE "Moving..."
122
#define T_DELETE_WINDOW_TITLE "Deleting..."
9510 leency 123
#define T_COPY_ABORT "Abort"
124
#define T_COPY_REPLACE "Replace"
125
#define T_COPY_SKIP "Skip"
126
#define T_COPY_REMEMBER_CHOICE "Apply for all"
127
#define T_OVERWRITE_ALERT "There is already a file with such name!"
8949 leency 128
#define T_SELECT_APP_TO_OPEN_WITH "Select application to open file"
129
#define DEL_MORE_FILES_1 "selected items("
130
#define DEL_MORE_FILES_2 " pcs.)?"
131
#define T_STATUS_EVEMENTS "Dirs: %d  Files: %d"
132
#define T_STATUS_SELECTED "Selected: %d"
133
#define COPY_PATH_STR "'Directory path copied to clipboard' -I"
134
#define T_ABOUT "About"
135
#define T_USE_SHIFT_ENTER "'Use Shift+Enter to open all selected files.' -I"
136
 
8881 leency 137
char *kfm_func = {
8927 leency 138
	"Info",
139
	"Rename",
140
	"View",
141
	"Edit",
142
	"Copy",
143
	"Move",
144
	"Folder",
145
	"Delete",
146
	"File",
147
	" Settings"
8947 leency 148
};
8949 leency 149
 
150
#define T_DEVICES "Devices"
151
#define T_ACTIONS "Actions"
152
char *actions[] = {
153
	59, "New file", "F9",
154
	57, "New folder", "F7",
155
	60, "Settings", "F10",
156
	0,0,0
157
};
158
#define T_PROG "Programs "
159
#define T_SYS  "System "
8983 leency 160
#define T_CD   "CD-Rom "
8949 leency 161
#define T_FD   "Floppy disk "
162
#define T_HD   "Hard disk "
163
#define T_SATA "SATA disk "
164
#define T_USB  "USB disk "
165
#define T_RAM  "RAM disk "
166
#define T_UNC  "Unknown "
8983 leency 167
 
168
#define WINDOW_TITLE_PROPERTIES "Properties"
169
#define T_CLOSE "Close"
170
#define T_APPLY "Apply"
171
#define QUEST_1 "Apply to all subfolders"
172
#define QUEST_2 "files and Folders?"
173
#define PR_T_NAME "Name:"
174
#define PR_T_DEST "Destination:"
175
#define PR_T_SIZE "Size:"
176
#define CREATED_OPENED_MODIFIED "Created:\nOpened:\nModified:"
177
#define SET_6 "Files: "
178
#define SET_7 " Folders: "
179
#define PR_T_CONTAINS "Contains: "
180
#define FLAGS " Attributes "
181
#define PR_T_HIDDEN "Hidden"
182
#define PR_T_SYSTEM "System"
183
#define PR_T_ONLY_READ "Read-only"
184
#define SET_BYTE_LANG "byte"
185
 
186
#define TITLE_SETT "Settings"
187
#define SHOW_DEVICE_CLASS "Show device class name"
188
#define SHOW_STATUS_BAR "Show status bar"
189
#define BIG_ICONS "Big icons in list"
190
#define COLORED_LINES "Highlight even lines in list"
191
#define FONT_SIZE_LABEL "Font size"
192
#define LIST_LINE_HEIGHT "List line height"
193
#define SAVE_PATH_AS_DEFAULT "Current path"
194
#define SAVE_START_PATH_AS_DEFAULT "Typed path"
195
#define EDIT_FILE_ASSOCIATIONS "Edit file associations"
196
#define START_PATH " Start path: "
197
 
5698 leency 198
#endif
8854 leency 199
 
8949 leency 200
//===================================================//
201
//                                                   //
202
//                      GLOBAL                       //
203
//                                                   //
204
//===================================================//
205
 
8947 leency 206
//Button IDs
207
enum {
208
	POPUP_BTN1 = 201,
209
	POPUP_BTN2 = 202,
210
	KFM_DEV_DROPDOWN_1 = 205,
211
	KFM_DEV_DROPDOWN_2 = 207,
8953 leency 212
	BTN_PATH = 210,
213
	BTN_BREADCRUMB = 214,
8947 leency 214
	BREADCRUMB_ID = 300,
215
 
216
	BACK_BTN = 400,
217
	FWRD_BTN,
218
	GOUP_BTN,
219
	COPY_BTN,
220
	CUT_BTN,
221
	PASTE_BTN,
222
	KFM_FUNC_ID = 450
223
};
224
 
8983 leency 225
#define B_SETINGS_APPLY_SUBFOLDER 301
226
#define B_SETINGS_APPLY_NO_SUBFOLDER 302
227
#define B_APPLY 11
228
#define B_CLOSE 12
229
 
8947 leency 230
//OpenDir options
231
enum {
232
	WITH_REDRAW,
233
	ONLY_OPEN
8951 leency 234
};
235
 
8953 leency 236
//OpenDir options
237
enum {
238
	POPIN_PATH=1,
239
	POPIN_NEW_FILE,
240
	POPIN_NEW_FOLDER,
241
	POPIN_RENAME,
242
	POPIN_DELETE,
243
	POPIN_DISK,
244
	POPIN_BREADCR
245
};
246
 
247
 
8951 leency 248
char *devinfo = {
8981 leency 249
	"sy", 0, T_SYS,
250
	"rd", 0, T_SYS,
251
	"ko", 1, T_PROG,
252
	"fd", 2, T_FD,
253
	"cd", 3, T_CD,
254
	"hd", 4, T_HD,
255
	"bd", 4, T_HD,
256
	"sd", 4, T_SATA,
257
	"tm", 5, T_RAM,
258
	"us", 6, T_USB,
8951 leency 259
 
260
};
261
 
262
#define DEV_H 17
8952 leency 263
#define DDW 110
8951 leency 264
#define KFM2_DEVH 20
8952 leency 265
#define SELECTY 10
8953 leency 266
#define POPIN_W 260
9349 leency 267
//Sidebar width
268
#define SIDEBAR_W 192
269
//Sidebar padding
270
#define SBPAD 15
271
//Block width inside Sidebar
272
#define SB_BLOCKX SBPAD+2
273
#define SB_BLOCKW SIDEBAR_W-SBPAD-SB_BLOCKX
8953 leency 274
 
8983 leency 275
int toolbar_buttons_x[7]={9,46,85,134,167,203};