Subversion Repositories Kolibri OS

Rev

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

Rev Author Line No. Line
8278 leency 1
//Copyright 2020 by Leency
2
 
3
#ifdef LANG_RUS
4
	#define DL_WINDOW_HEADER "Менеджер загрузок"
8305 leency 5
	#define T_DOWNLOAD "Скачать"
6
	#define T_CANCEL "Отмена"
7
	#define T_OPEN_DIR "Показать в папке"
8
	#define T_RUN "Открыть файл"
8281 leency 9
	#define FILE_SAVED_AS "'Менеджер загрузок\nФайл сохранен как %s' -Dt"
10
	#define FILE_NOT_SAVED "'Менеджер загрузок\nОшибка! Файл не может быть сохранен как\n%s' -Et"
8278 leency 11
	#define KB_RECEIVED "Идет скачивание... %s получено"
8926 leency 12
	#define T_ERROR_STARTING_DOWNLOAD "'Невозможно начать скачивание.\nПроверьте введенный путь и соединение с Интернетом.' -E"
8281 leency 13
	#define T_AUTOCLOSE "Автозакрытие"
8278 leency 14
	char accept_language[]= "Accept-Language: ru\n";
15
#else
16
	#define DL_WINDOW_HEADER "Download Manager"
8305 leency 17
	#define T_DOWNLOAD "Download"
18
	#define T_CANCEL "Cancel"
19
	#define T_OPEN_DIR " Show in folder "
20
	#define T_RUN "Open file"
8278 leency 21
	#define FILE_SAVED_AS "'Download manager\nFile saved as %s' -Dt"
22
	#define FILE_NOT_SAVED "'Download manager\nError! Can\96t save file as %s' -Et"
23
	#define KB_RECEIVED "Downloading... %s received"
8926 leency 24
	#define T_ERROR_STARTING_DOWNLOAD "'Error while starting download process.\nCheck entered path and Internet connection.' -E"
8281 leency 25
	#define T_AUTOCLOSE "Autoclose"
8278 leency 26
	char accept_language[]= "Accept-Language: en\n";
27
#endif
28
 
29
#define GAPX 15
30
#define WIN_W 580
31
#define WIN_H 100
32
 
8319 leency 33
char save_dir[] = "/tmp0/1/Downloads";
8278 leency 34
char dl_shared[] = "DL";
8305 leency 35
 
36
enum {
37
	BTN_EXIT=1,
38
	BTN_START,
39
	BTN_STOP,
40
	BTN_DIR,
41
	BTN_RUN,
42
};