2020-11-29 22:08:52 +03:00
|
|
|
|
//Copyright 2020 by Leency
|
|
|
|
|
|
|
|
|
|
#ifdef LANG_RUS
|
|
|
|
|
#define DL_WINDOW_HEADER "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>㧮<EFBFBD>"
|
2020-12-03 05:56:54 +03:00
|
|
|
|
#define T_DOWNLOAD "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define T_CANCEL "<22>⬥<EFBFBD><E2ACA5>"
|
|
|
|
|
#define T_OPEN_DIR "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define T_RUN "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> 䠩<>"
|
2020-11-30 03:55:04 +03:00
|
|
|
|
#define FILE_SAVED_AS "'<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>㧮<EFBFBD>\n<><6E><EFBFBD><EFBFBD> <20><><EFBFBD>࠭<EFBFBD><E0A0AD> <20><><EFBFBD> %s' -Dt"
|
|
|
|
|
#define FILE_NOT_SAVED "'<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>㧮<EFBFBD>\n<>訡<EFBFBD><E8A8A1>! <20><><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD>࠭<EFBFBD><E0A0AD> <20><><EFBFBD>\n%s' -Et"
|
2020-11-29 22:08:52 +03:00
|
|
|
|
#define KB_RECEIVED "<22><><EFBFBD><EFBFBD> ᪠稢<E1AAA0><E7A8A2><EFBFBD><EFBFBD>... %s <20><><EFBFBD><EFBFBD>祭<EFBFBD>"
|
2021-06-22 22:41:46 +03:00
|
|
|
|
#define T_ERROR_STARTING_DOWNLOAD "'<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> ᪠稢<E1AAA0><E7A8A2><EFBFBD><EFBFBD>.\n<><EFBFBD><E0AEA2><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20> ᮥ<><E1AEA5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD>⮬.' -E"
|
2020-11-30 03:55:04 +03:00
|
|
|
|
#define T_AUTOCLOSE "<22><>⮧<EFBFBD><E2AEA7><EFBFBD><EFBFBD>⨥"
|
2020-11-29 22:08:52 +03:00
|
|
|
|
char accept_language[]= "Accept-Language: ru\n";
|
|
|
|
|
#else
|
|
|
|
|
#define DL_WINDOW_HEADER "Download Manager"
|
2020-12-03 05:56:54 +03:00
|
|
|
|
#define T_DOWNLOAD "Download"
|
|
|
|
|
#define T_CANCEL "Cancel"
|
|
|
|
|
#define T_OPEN_DIR " Show in folder "
|
|
|
|
|
#define T_RUN "Open file"
|
2020-11-29 22:08:52 +03:00
|
|
|
|
#define FILE_SAVED_AS "'Download manager\nFile saved as %s' -Dt"
|
|
|
|
|
#define FILE_NOT_SAVED "'Download manager\nError! Can\96t save file as %s' -Et"
|
|
|
|
|
#define KB_RECEIVED "Downloading... %s received"
|
2021-06-22 22:41:46 +03:00
|
|
|
|
#define T_ERROR_STARTING_DOWNLOAD "'Error while starting download process.\nCheck entered path and Internet connection.' -E"
|
2020-11-30 03:55:04 +03:00
|
|
|
|
#define T_AUTOCLOSE "Autoclose"
|
2020-11-29 22:08:52 +03:00
|
|
|
|
char accept_language[]= "Accept-Language: en\n";
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
#define GAPX 15
|
|
|
|
|
#define WIN_W 580
|
|
|
|
|
#define WIN_H 100
|
|
|
|
|
|
2020-12-04 14:58:20 +03:00
|
|
|
|
char save_dir[] = "/tmp0/1/Downloads";
|
2020-11-29 22:08:52 +03:00
|
|
|
|
char dl_shared[] = "DL";
|
2020-12-03 05:56:54 +03:00
|
|
|
|
|
|
|
|
|
enum {
|
|
|
|
|
BTN_EXIT=1,
|
|
|
|
|
BTN_START,
|
|
|
|
|
BTN_STOP,
|
|
|
|
|
BTN_DIR,
|
|
|
|
|
BTN_RUN,
|
|
|
|
|
};
|