Subversion Repositories Kolibri OS

Rev

Rev 8947 | Rev 8951 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
5698 leency 1
#ifdef LANG_RUS
8949 leency 2
//===================================================//
3
//                                                   //
4
//                     CYRILLIC                      //
5
//                                                   //
6
//===================================================//
7
#define T_FILE "Файл"
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  "Неизвестно "
5698 leency 65
#else
8949 leency 66
//===================================================//
67
//                                                   //
68
//                      ENGLISH                      //
69
//                                                   //
70
//===================================================//
71
#define T_FILE "File"
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
 
138
char *devinfo = {
139
	"r", 0, T_SYS,
140
	"k", 1, T_PROG,
141
	"f", 2, T_FD,
142
	"c", 3, T_CD,
143
	"h", 4, T_HD,
144
	"b", 4, T_HD,
145
	"s", 4, T_SATA,
146
	"t", 5, T_RAM,
147
	"u", 6, T_USB,
148
 
149
};
150
 
8947 leency 151
//Button IDs
152
enum {
153
	PATH_BTN = 10,
154
	POPUP_BTN1 = 201,
155
	POPUP_BTN2 = 202,
156
	KFM_DEV_DROPDOWN_1 = 205,
157
	KFM_DEV_DROPDOWN_2 = 207,
158
	BREADCRUMB_ID = 300,
159
 
160
	BACK_BTN = 400,
161
	FWRD_BTN,
162
	GOUP_BTN,
163
	COPY_BTN,
164
	CUT_BTN,
165
	PASTE_BTN,
166
	KFM_FUNC_ID = 450
167
};
168
 
169
//NewElement options
170
enum {
171
	CREATE_FILE=1,
172
	CREATE_FOLDER,
173
	RENAME_ITEM
174
};
175
 
176
//OpenDir options
177
enum {
178
	WITH_REDRAW,
179
	ONLY_OPEN
180
};