Subversion Repositories Kolibri OS

Rev

Rev 8952 | Rev 8981 | 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  "Система "
57
#define T_CD   "CD-ROM "
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  "Неизвестно "
64
//===================================================//
65
//                                                   //
66
//                      ENGLISH                      //
67
//                                                   //
68
//===================================================//
8951 leency 69
#else
8952 leency 70
#define T_FILE "Name"
8949 leency 71
#define T_TYPE "Type"
72
#define T_SIZE "Size"
73
#define T_NEW_FOLDER "New folder"
74
#define T_NEW_FILE "New file"
75
#define T_DELETE_FILE "Do you really want to delete"
76
#define T_YES "Yes"
77
#define T_NO "No"
78
#define T_CANCEL "Cancel"
79
#define T_CREATE "Create"
80
#define T_RENAME "Rename"
8953 leency 81
#define T_GOPATH "Go to"
8949 leency 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 T_NOTIFY_APP_PARAM_WRONG "'Eolite param is wrong: directory does not exist!' -E"
85
#define T_COPY_WINDOW_TITLE "Copying..."
86
#define T_MOVE_WINDOW_TITLE "Moving..."
87
#define T_DELETE_WINDOW_TITLE "Deleting..."
88
#define T_ABORT_WINDOW_BUTTON "Abort"
89
#define T_SELECT_APP_TO_OPEN_WITH "Select application to open file"
90
#define DEL_MORE_FILES_1 "selected items("
91
#define DEL_MORE_FILES_2 " pcs.)?"
92
#define T_STATUS_EVEMENTS "Dirs: %d  Files: %d"
93
#define T_STATUS_SELECTED "Selected: %d"
94
#define COPY_PATH_STR "'Directory path copied to clipboard' -I"
95
#define T_ABOUT "About"
96
#define T_USE_SHIFT_ENTER "'Use Shift+Enter to open all selected files.' -I"
97
 
8881 leency 98
char *kfm_func = {
8927 leency 99
	"Info",
100
	"Rename",
101
	"View",
102
	"Edit",
103
	"Copy",
104
	"Move",
105
	"Folder",
106
	"Delete",
107
	"File",
108
	" Settings"
8947 leency 109
};
8949 leency 110
 
111
#define T_DEVICES "Devices"
112
#define T_ACTIONS "Actions"
113
char *actions[] = {
114
	59, "New file", "F9",
115
	57, "New folder", "F7",
116
	60, "Settings", "F10",
117
	0,0,0
118
};
119
#define T_PROG "Programs "
120
#define T_SYS  "System "
121
#define T_CD   "CD-ROM "
122
#define T_FD   "Floppy disk "
123
#define T_HD   "Hard disk "
124
#define T_SATA "SATA disk "
125
#define T_USB  "USB disk "
126
#define T_RAM  "RAM disk "
127
#define T_UNC  "Unknown "
5698 leency 128
#endif
8854 leency 129
 
8949 leency 130
//===================================================//
131
//                                                   //
132
//                      GLOBAL                       //
133
//                                                   //
134
//===================================================//
135
 
8947 leency 136
//Button IDs
137
enum {
138
	POPUP_BTN1 = 201,
139
	POPUP_BTN2 = 202,
140
	KFM_DEV_DROPDOWN_1 = 205,
141
	KFM_DEV_DROPDOWN_2 = 207,
8953 leency 142
	BTN_PATH = 210,
143
	BTN_BREADCRUMB = 214,
8947 leency 144
	BREADCRUMB_ID = 300,
145
 
146
	BACK_BTN = 400,
147
	FWRD_BTN,
148
	GOUP_BTN,
149
	COPY_BTN,
150
	CUT_BTN,
151
	PASTE_BTN,
152
	KFM_FUNC_ID = 450
153
};
154
 
155
//OpenDir options
156
enum {
157
	WITH_REDRAW,
158
	ONLY_OPEN
8951 leency 159
};
160
 
8953 leency 161
//OpenDir options
162
enum {
163
	POPIN_PATH=1,
164
	POPIN_NEW_FILE,
165
	POPIN_NEW_FOLDER,
166
	POPIN_RENAME,
167
	POPIN_DELETE,
168
	POPIN_DISK,
169
	POPIN_BREADCR
170
};
171
 
172
 
8951 leency 173
char *devinfo = {
174
	"r", 0, T_SYS,
175
	"k", 1, T_PROG,
176
	"f", 2, T_FD,
177
	"c", 3, T_CD,
178
	"h", 4, T_HD,
179
	"b", 4, T_HD,
180
	"s", 4, T_SATA,
181
	"t", 5, T_RAM,
182
	"u", 6, T_USB,
183
 
184
};
185
 
186
#define DEV_H 17
8952 leency 187
#define DDW 110
8951 leency 188
#define KFM2_DEVH 20
8952 leency 189
#define SELECTY 10
8953 leency 190
#define POPIN_W 260
191
 
192
int toolbar_buttons_x[7]={9,46,85,134,167,203};