Subversion Repositories Kolibri OS

Rev

Rev 8951 | Rev 8953 | 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 "Переназвать"
18
#define FS_ITEM_ALREADY_EXISTS "'Элемент с таким именем уже существует' -E"
19
#define NOT_CREATE_FOLDER "'Не удалось создать папку.' -E"
20
#define NOT_CREATE_FILE "'Не удалось создать файл.' -E"
21
#define T_NOTIFY_APP_PARAM_WRONG "'Параметр для запуска Eolite не верен: папка не существует!' -E"
22
#define T_COPY_WINDOW_TITLE "Копирую..."
23
#define T_MOVE_WINDOW_TITLE "Перемещаю..."
24
#define T_DELETE_WINDOW_TITLE "Удаляю..."
25
#define T_ABORT_WINDOW_BUTTON "Прервать"
26
#define T_SELECT_APP_TO_OPEN_WITH "Выберите программу для открытия файла"
27
#define DEL_MORE_FILES_1 "выбранные элементы ("
28
#define DEL_MORE_FILES_2 " шт.)?"
29
#define T_STATUS_EVEMENTS "Папок: %d  Файлов: %d"
30
#define T_STATUS_SELECTED "Выделенно: %d"
31
#define COPY_PATH_STR "'Путь папки скопирован в буфер обмена' -I"
32
#define T_ABOUT "О программе"
33
#define T_USE_SHIFT_ENTER "'Используйте Shift+Enter чтобы открыть все выделенные файлы.' -I"
34
 
8881 leency 35
char *kfm_func = {
8927 leency 36
	"Инфо",
37
	"Переимен.",
38
	"Просмотр",
39
	"Редакт.",
40
	"Копировать",
41
	"Переместить",
42
	"Папка",
43
	"Удалить",
44
	"Файл",
45
	" Настройки"
8947 leency 46
};
8949 leency 47
 
48
#define T_DEVICES "Устройства"
49
#define T_ACTIONS "Действия"
50
char *actions[] = {
51
	59, "Новый файл", "F9",
52
	57, "Новая папка", "F7",
53
	60, "Настройки", "F10",
54
	0,0,0
55
};
56
#define T_PROG "Программы "
57
#define T_SYS  "Система "
58
#define T_CD   "CD-ROM "
59
#define T_FD   "Дискета "
60
#define T_HD   "Жесткий диск "
61
#define T_SATA "SATA диск "
62
#define T_USB  "USB диск "
63
#define T_RAM  "RAM диск "
64
#define T_UNC  "Неизвестно "
65
//===================================================//
66
//                                                   //
67
//                      ENGLISH                      //
68
//                                                   //
69
//===================================================//
8951 leency 70
#else
8952 leency 71
#define T_FILE "Name"
8949 leency 72
#define T_TYPE "Type"
73
#define T_SIZE "Size"
74
#define T_NEW_FOLDER "New folder"
75
#define T_NEW_FILE "New file"
76
#define T_DELETE_FILE "Do you really want to delete"
77
#define T_YES "Yes"
78
#define T_NO "No"
79
#define T_CANCEL "Cancel"
80
#define T_CREATE "Create"
81
#define T_RENAME "Rename"
82
#define FS_ITEM_ALREADY_EXISTS "'An item with that name already exists' -E"
83
#define WAIT_DELETING_FOLDER "Deleting folder. Please, wait..."
84
#define NOT_CREATE_FOLDER "'Folder can not be created.' -E"
85
#define NOT_CREATE_FILE "'File can not be created.' -E"
86
#define T_NOTIFY_APP_PARAM_WRONG "'Eolite param is wrong: directory does not exist!' -E"
87
#define T_COPY_WINDOW_TITLE "Copying..."
88
#define T_MOVE_WINDOW_TITLE "Moving..."
89
#define T_DELETE_WINDOW_TITLE "Deleting..."
90
#define T_ABORT_WINDOW_BUTTON "Abort"
91
#define T_SELECT_APP_TO_OPEN_WITH "Select application to open file"
92
#define DEL_MORE_FILES_1 "selected items("
93
#define DEL_MORE_FILES_2 " pcs.)?"
94
#define T_STATUS_EVEMENTS "Dirs: %d  Files: %d"
95
#define T_STATUS_SELECTED "Selected: %d"
96
#define COPY_PATH_STR "'Directory path copied to clipboard' -I"
97
#define T_ABOUT "About"
98
#define T_USE_SHIFT_ENTER "'Use Shift+Enter to open all selected files.' -I"
99
 
8881 leency 100
char *kfm_func = {
8927 leency 101
	"Info",
102
	"Rename",
103
	"View",
104
	"Edit",
105
	"Copy",
106
	"Move",
107
	"Folder",
108
	"Delete",
109
	"File",
110
	" Settings"
8947 leency 111
};
8949 leency 112
 
113
#define T_DEVICES "Devices"
114
#define T_ACTIONS "Actions"
115
char *actions[] = {
116
	59, "New file", "F9",
117
	57, "New folder", "F7",
118
	60, "Settings", "F10",
119
	0,0,0
120
};
121
#define T_PROG "Programs "
122
#define T_SYS  "System "
123
#define T_CD   "CD-ROM "
124
#define T_FD   "Floppy disk "
125
#define T_HD   "Hard disk "
126
#define T_SATA "SATA disk "
127
#define T_USB  "USB disk "
128
#define T_RAM  "RAM disk "
129
#define T_UNC  "Unknown "
5698 leency 130
#endif
8854 leency 131
 
8949 leency 132
//===================================================//
133
//                                                   //
134
//                      GLOBAL                       //
135
//                                                   //
136
//===================================================//
137
 
8947 leency 138
//Button IDs
139
enum {
140
	PATH_BTN = 10,
141
	POPUP_BTN1 = 201,
142
	POPUP_BTN2 = 202,
143
	KFM_DEV_DROPDOWN_1 = 205,
144
	KFM_DEV_DROPDOWN_2 = 207,
145
	BREADCRUMB_ID = 300,
146
 
147
	BACK_BTN = 400,
148
	FWRD_BTN,
149
	GOUP_BTN,
150
	COPY_BTN,
151
	CUT_BTN,
152
	PASTE_BTN,
153
	KFM_FUNC_ID = 450
154
};
155
 
156
//NewElement options
157
enum {
158
	CREATE_FILE=1,
159
	CREATE_FOLDER,
160
	RENAME_ITEM
161
};
162
 
163
//OpenDir options
164
enum {
165
	WITH_REDRAW,
166
	ONLY_OPEN
8951 leency 167
};
168
 
169
char *devinfo = {
170
	"r", 0, T_SYS,
171
	"k", 1, T_PROG,
172
	"f", 2, T_FD,
173
	"c", 3, T_CD,
174
	"h", 4, T_HD,
175
	"b", 4, T_HD,
176
	"s", 4, T_SATA,
177
	"t", 5, T_RAM,
178
	"u", 6, T_USB,
179
 
180
};
181
 
182
#define DEV_H 17
8952 leency 183
#define DDW 110
8951 leency 184
#define KFM2_DEVH 20
8952 leency 185
#define SELECTY 10