Subversion Repositories Kolibri OS

Rev

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