Subversion Repositories Kolibri OS

Rev

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