forked from KolibriOS/kolibrios
39 lines
1.4 KiB
C
39 lines
1.4 KiB
C
|
//Copyright 2020 by Leency
|
|||
|
|
|||
|
#ifndef AUTOBUILD
|
|||
|
#include "lang.h--"
|
|||
|
#endif
|
|||
|
|
|||
|
#ifdef LANG_RUS
|
|||
|
#define DL_WINDOW_HEADER "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>㧮<EFBFBD>"
|
|||
|
#define START_DOWNLOADING "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
|||
|
#define STOP_DOWNLOADING "<22>⬥<EFBFBD><E2ACA5>"
|
|||
|
#define SHOW_IN_FOLDER "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD>"
|
|||
|
#define OPEN_FILE_TEXT "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> 䠩<>"
|
|||
|
#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><E0A0AD> <20><><EFBFBD>\n%s' -Et"
|
|||
|
#define KB_RECEIVED "<22><><EFBFBD><EFBFBD> ᪠稢<E1AAA0><E7A8A2><EFBFBD><EFBFBD>... %s <20><><EFBFBD><EFBFBD>祭<EFBFBD>"
|
|||
|
#define T_ERROR_STARTING_DOWNLOAD "'<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> ᪠稢<E1AAA0><E7A8A2><EFBFBD><EFBFBD>.\n<><6E><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20><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"
|
|||
|
char accept_language[]= "Accept-Language: ru\n";
|
|||
|
#else
|
|||
|
#define DL_WINDOW_HEADER "Download Manager"
|
|||
|
#define START_DOWNLOADING "Start downloading"
|
|||
|
#define STOP_DOWNLOADING "Cancel"
|
|||
|
#define SHOW_IN_FOLDER "Show in folder"
|
|||
|
#define OPEN_FILE_TEXT "Open file"
|
|||
|
#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.\nPlease, check entered path and Internet connection.' -E"
|
|||
|
char accept_language[]= "Accept-Language: en\n";
|
|||
|
#endif
|
|||
|
|
|||
|
#define GAPX 15
|
|||
|
#define WIN_W 580
|
|||
|
#define WIN_H 100
|
|||
|
|
|||
|
#define URL_SIZE 4000
|
|||
|
|
|||
|
char save_to[] = "/tmp0/1/Downloads";
|
|||
|
char dl_shared[] = "DL";
|