kolibrios-fun/programs/cmm/downloader/const.h
Kirill Lipatov (Leency) 7015aadd71 System Panel:
- add Network Speed test (thanks Coldy for the idea)
- add AMDtemp, also add app icon into icons32.png

git-svn-id: svn://kolibrios.org@9246 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-11-03 22:53:03 +00:00

48 lines
1.8 KiB
C
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

//Copyright 2020 by Leency
#ifdef LANG_RUS
#define DL_WINDOW_HEADER "Œ¥­¥¤¦¥à § £à㧮ª"
#define T_DOWNLOAD "‘ª ç âì"
#define T_CANCEL "Žâ¬¥­ "
#define T_OPEN_DIR "<22>®ª § âì ¢ ¯ ¯ª¥"
#define T_RUN "Žâªàëâì ä ©«"
#define T_SPEED_TEST "’¥áâ ᪮à®áâ¨"
#define FILE_SAVED_AS "'Œ¥­¥¤¦¥à § £à㧮ª\n” ©« á®åà ­¥­ ª ª %s' -Dt"
#define FILE_NOT_SAVED "'Œ¥­¥¤¦¥à § £à㧮ª\nŽè¨¡ª ! ” ©« ­¥ ¬®¦¥â ¡ëâì á®åà ­¥­ ª ª\n%s' -Et"
#define KB_RECEIVED "ˆ¤¥â ᪠稢 ­¨¥... %s ¯®«ã祭®"
#define T_ERROR_STARTING_DOWNLOAD "'<27>¥¢®§¬®¦­® ­ ç âì ᪠稢 ­¨¥.\n<>஢¥àì⥠¢¢¥¤¥­­ë© ¯ãâì ¨ ᮥ¤¨­¥­¨¥ á ˆ­â¥à­¥â®¬.' -E"
#define T_AUTOCLOSE "€¢â®§ ªàë⨥"
#define SPEED_TEST_INFO_MESSAGE "'‘ª®à®áâì § £à㧪¨ ®â®¡à ¦ ¥âáï ¢ ¯®«¥ Download ¯à®£à ¬¬ë Network status.'-Id"
char accept_language[]= "Accept-Language: ru\n";
#else
#define DL_WINDOW_HEADER "Download Manager"
#define T_DOWNLOAD "Download"
#define T_CANCEL "Cancel"
#define T_OPEN_DIR " Show in folder "
#define T_RUN "Open file"
#define T_SPEED_TEST "Speed test"
#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"
#define T_ERROR_STARTING_DOWNLOAD "'Error while starting download process.\nCheck entered path and Internet connection.' -E"
#define T_AUTOCLOSE "Autoclose"
#define SPEED_TEST_INFO_MESSAGE "'Download speed is shown after `Download`\nlabel in the Network status program.'-Id"
char accept_language[]= "Accept-Language: en\n";
#endif
#define GAPX 15
#define WIN_W 580
#define WIN_H 100
char save_dir[] = "/tmp0/1/Downloads";
char dl_shared[] = "DL";
#define URL_SPEED_TEST "http://speedtest.tele2.net/100MB.zip"
enum {
BTN_EXIT=1,
BTN_START,
BTN_STOP,
BTN_DIR,
BTN_RUN,
};