Rev 8954 | Rev 9287 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 8954 | Rev 9246 | ||
---|---|---|---|
Line 4... | Line 4... | ||
4 | #define DL_WINDOW_HEADER "¥¥¤¦¥à § £à㧮ª" |
4 | #define DL_WINDOW_HEADER "¥¥¤¦¥à § £à㧮ª" |
5 | #define T_DOWNLOAD "ª ç âì" |
5 | #define T_DOWNLOAD "ª ç âì" |
6 | #define T_CANCEL "⬥ " |
6 | #define T_CANCEL "⬥ " |
7 | #define T_OPEN_DIR "®ª § âì ¢ ¯ ¯ª¥" |
7 | #define T_OPEN_DIR "®ª § âì ¢ ¯ ¯ª¥" |
8 | #define T_RUN "âªàëâì ä ©«" |
8 | #define T_RUN "âªàëâì ä ©«" |
- | 9 | #define T_SPEED_TEST "¥áâ ᪮à®áâ¨" |
|
9 | #define FILE_SAVED_AS "'¥¥¤¦¥à § £à㧮ª\n ©« á®åà ¥ ª ª %s' -Dt" |
10 | #define FILE_SAVED_AS "'¥¥¤¦¥à § £à㧮ª\n ©« á®åà ¥ ª ª %s' -Dt" |
10 | #define FILE_NOT_SAVED "'¥¥¤¦¥à § £à㧮ª\n訡ª ! ©« ¥ ¬®¦¥â ¡ëâì á®åà ¥ ª ª\n%s' -Et" |
11 | #define FILE_NOT_SAVED "'¥¥¤¦¥à § £à㧮ª\n訡ª ! ©« ¥ ¬®¦¥â ¡ëâì á®åà ¥ ª ª\n%s' -Et" |
11 | #define KB_RECEIVED "¤¥â ᪠稢 ¨¥... %s ¯®«ã祮" |
12 | #define KB_RECEIVED "¤¥â ᪠稢 ¨¥... %s ¯®«ã祮" |
12 | #define T_ERROR_STARTING_DOWNLOAD "'¥¢®§¬®¦® ç âì ᪠稢 ¨¥.\n஢¥àì⥠¢¢¥¤¥ë© ¯ãâì ¨ ᮥ¤¨¥¨¥ á â¥à¥â®¬.' -E" |
13 | #define T_ERROR_STARTING_DOWNLOAD "'¥¢®§¬®¦® ç âì ᪠稢 ¨¥.\n஢¥àì⥠¢¢¥¤¥ë© ¯ãâì ¨ ᮥ¤¨¥¨¥ á â¥à¥â®¬.' -E" |
13 | #define T_AUTOCLOSE "¢â®§ ªàë⨥" |
14 | #define T_AUTOCLOSE "¢â®§ ªàë⨥" |
- | 15 | #define SPEED_TEST_INFO_MESSAGE "'ª®à®áâì § £à㧪¨ ®â®¡à ¦ ¥âáï ¢ ¯®«¥ Download ¯à®£à ¬¬ë Network status.'-Id" |
|
14 | char accept_language[]= "Accept-Language: ru\n"; |
16 | char accept_language[]= "Accept-Language: ru\n"; |
15 | #else |
17 | #else |
16 | #define DL_WINDOW_HEADER "Download Manager" |
18 | #define DL_WINDOW_HEADER "Download Manager" |
17 | #define T_DOWNLOAD "Download" |
19 | #define T_DOWNLOAD "Download" |
18 | #define T_CANCEL "Cancel" |
20 | #define T_CANCEL "Cancel" |
19 | #define T_OPEN_DIR " Show in folder " |
21 | #define T_OPEN_DIR " Show in folder " |
20 | #define T_RUN "Open file" |
22 | #define T_RUN "Open file" |
- | 23 | #define T_SPEED_TEST "Speed test" |
|
21 | #define FILE_SAVED_AS "'Download manager\nFile saved as %s' -Dt" |
24 | #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" |
25 | #define FILE_NOT_SAVED "'Download manager\nError! Can\96t save file as %s' -Et" |
23 | #define KB_RECEIVED "Downloading... %s received" |
26 | #define KB_RECEIVED "Downloading... %s received" |
24 | #define T_ERROR_STARTING_DOWNLOAD "'Error while starting download process.\nCheck entered path and Internet connection.' -E" |
27 | #define T_ERROR_STARTING_DOWNLOAD "'Error while starting download process.\nCheck entered path and Internet connection.' -E" |
25 | #define T_AUTOCLOSE "Autoclose" |
28 | #define T_AUTOCLOSE "Autoclose" |
- | 29 | #define SPEED_TEST_INFO_MESSAGE "'Download speed is shown after `Download`\nlabel in the Network status program.'-Id" |
|
26 | char accept_language[]= "Accept-Language: en\n"; |
30 | char accept_language[]= "Accept-Language: en\n"; |
27 | #endif |
31 | #endif |
Line 28... | Line 32... | ||
28 | 32 | ||
29 | #define GAPX 15 |
33 | #define GAPX 15 |
30 | #define WIN_W 580 |
34 | #define WIN_W 580 |
Line 31... | Line 35... | ||
31 | #define WIN_H 100 |
35 | #define WIN_H 100 |
32 | 36 | ||
Line -... | Line 37... | ||
- | 37 | char save_dir[] = "/tmp0/1/Downloads"; |
|
- | 38 | char dl_shared[] = "DL"; |
|
33 | char save_dir[] = "/tmp0/1/Downloads"; |
39 | |
34 | char dl_shared[] = "DL"; |
40 | #define URL_SPEED_TEST "http://speedtest.tele2.net/100MB.zip" |
35 | 41 | ||
36 | enum { |
42 | enum { |
37 | BTN_EXIT=1, |
43 | BTN_EXIT=1, |