Rev 8954 | Rev 9287 | 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 "Открыть файл" |
||
9246 | leency | 9 | #define T_SPEED_TEST "Тест скорости" |
8281 | leency | 10 | #define FILE_SAVED_AS "'Менеджер загрузок\nФайл сохранен как %s' -Dt" |
11 | #define FILE_NOT_SAVED "'Менеджер загрузок\nОшибка! Файл не может быть сохранен как\n%s' -Et" |
||
8278 | leency | 12 | #define KB_RECEIVED "Идет скачивание... %s получено" |
8926 | leency | 13 | #define T_ERROR_STARTING_DOWNLOAD "'Невозможно начать скачивание.\nПроверьте введенный путь и соединение с Интернетом.' -E" |
8281 | leency | 14 | #define T_AUTOCLOSE "Автозакрытие" |
9246 | leency | 15 | #define SPEED_TEST_INFO_MESSAGE "'Скорость загрузки отображается в поле Download программы Network status.'-Id" |
8278 | leency | 16 | char accept_language[]= "Accept-Language: ru\n"; |
17 | #else |
||
18 | #define DL_WINDOW_HEADER "Download Manager" |
||
8305 | leency | 19 | #define T_DOWNLOAD "Download" |
20 | #define T_CANCEL "Cancel" |
||
21 | #define T_OPEN_DIR " Show in folder " |
||
22 | #define T_RUN "Open file" |
||
9246 | leency | 23 | #define T_SPEED_TEST "Speed test" |
8278 | leency | 24 | #define FILE_SAVED_AS "'Download manager\nFile saved as %s' -Dt" |
25 | #define FILE_NOT_SAVED "'Download manager\nError! Can\96t save file as %s' -Et" |
||
26 | #define KB_RECEIVED "Downloading... %s received" |
||
8926 | leency | 27 | #define T_ERROR_STARTING_DOWNLOAD "'Error while starting download process.\nCheck entered path and Internet connection.' -E" |
8281 | leency | 28 | #define T_AUTOCLOSE "Autoclose" |
9246 | leency | 29 | #define SPEED_TEST_INFO_MESSAGE "'Download speed is shown after `Download`\nlabel in the Network status program.'-Id" |
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 | |
9246 | leency | 40 | #define URL_SPEED_TEST "http://speedtest.tele2.net/100MB.zip" |
41 | |||
8305 | leency | 42 | enum { |
43 | BTN_EXIT=1, |
||
44 | BTN_START, |
||
45 | BTN_STOP, |
||
46 | BTN_DIR, |
||
47 | BTN_RUN, |
||
48 | }; |