Subversion Repositories Kolibri OS

Rev

Rev 9582 | 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"
9582 vitalkrilo 20
#define T_NOTIFY_APP_PARAM_WRONG "'Параметр для запуска Eolite неверен: папка не существует!' -E"
8949 leency 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"
9582 vitalkrilo 33
#define T_STATUS_SELECTED "Выделено: %d"
8949 leency 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 "файлам и папкам?"
9693 leency 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"
8983 leency 79
#define CREATED_OPENED_MODIFIED "Создан:\nОткрыт:\nИзменен:"
9693 leency 80
 
9582 vitalkrilo 81
#define FLAGS " Атрибуты "
9693 leency 82
#define PR_T_ONLY_READ "Только чтение"
8983 leency 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
 
8949 leency 98
//===================================================//
99
//                                                   //
100
//                      ENGLISH                      //
101
//                                                   //
102
//===================================================//
8951 leency 103
#else
8952 leency 104
#define T_FILE "Name"
8949 leency 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"
8953 leency 115
#define T_GOPATH "Go to"
8949 leency 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..."
9510 leency 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!"
8949 leency 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
 
8881 leency 136
char *kfm_func = {
8927 leency 137
	"Info",
138
	"Rename",
139
	"View",
140
	"Edit",
141
	"Copy",
142
	"Move",
143
	"Folder",
144
	"Delete",
145
	"File",
146
	" Settings"
8947 leency 147
};
8949 leency 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 "
8983 leency 159
#define T_CD   "CD-Rom "
8949 leency 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 "
8983 leency 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?"
9693 leency 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"
8983 leency 177
#define CREATED_OPENED_MODIFIED "Created:\nOpened:\nModified:"
9693 leency 178
 
8983 leency 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
 
5698 leency 196
#endif
8854 leency 197
 
8949 leency 198
//===================================================//
199
//                                                   //
200
//                      GLOBAL                       //
201
//                                                   //
202
//===================================================//
203
 
8947 leency 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,
8953 leency 210
	BTN_PATH = 210,
211
	BTN_BREADCRUMB = 214,
8947 leency 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
 
8983 leency 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
 
8947 leency 228
//OpenDir options
229
enum {
230
	WITH_REDRAW,
231
	ONLY_OPEN
8951 leency 232
};
233
 
8953 leency 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
 
8951 leency 246
char *devinfo = {
8981 leency 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,
8951 leency 257
 
258
};
259
 
260
#define DEV_H 17
8952 leency 261
#define DDW 110
8951 leency 262
#define KFM2_DEVH 20
8952 leency 263
#define SELECTY 10
8953 leency 264
#define POPIN_W 260
9349 leency 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
8953 leency 272
 
8983 leency 273
int toolbar_buttons_x[7]={9,46,85,134,167,203};