forked from OrudoCA/qBitDownload-Bot
Set English as default language
This commit is contained in:
parent
50fa098102
commit
c43d195d35
29
Readme.md
29
Readme.md
|
@ -2,45 +2,44 @@
|
|||
|
||||
![](https://cloud.orudo.ru/apps/files_sharing/publicpreview/pgxm2mKT5KHEHFE?file=/&fileId=23795&x=1920&y=1200&a=true&etag=430e9d84364f13b79e42991fede6609a)
|
||||
|
||||
## Telegram бот, предназначенный для удаленного добавление загрузок в очередь на qBitTorrent сервер
|
||||
|
||||
## Telegram bot designed to remotely add downloads to the queue on qBitTorrent server
|
||||
| [**git.orudo.ru**](https://git.orudo.ru/OrudoCA/qBitDownload-Bot) | [**GitHub**](https://github.com/OrudoCA/qBitDownload-Bot) | [**DockerHub**](https://hub.docker.com/r/orudoca/qbitdownload-bot) |
|
||||
| ---------------- | ---------- | ------------- |
|
||||
| [![](https://cloud.orudo.ru/apps/files_sharing/publicpreview/AmggNTQWgR6KkyB?file=/&fileId=23836&x=1920&y=1200&a=true&etag=0ef9694cea6e4d85c05aef9be72b927a)](https://git.orudo.ru/OrudoCA/qBitDownload-Bot) | [![](https://cloud.orudo.ru/apps/files_sharing/publicpreview/ip5qtGcwKHMPMAG?file=/&fileId=23819&x=1920&y=1200&a=true&etag=c540068d990ac47217a31f7450afc0ee)](https://github.com/OrudoCA/qBitDownload-Bot) |[![](https://cloud.orudo.ru/apps/files_sharing/publicpreview/7AEeEAzHYikFd5B?file=/&fileId=23806&x=1920&y=1200&a=true&etag=59894ecdfa7aaa6fb832cc4bf99c418d)](https://hub.docker.com/r/orudoca/qbitdownload-bot) |
|
||||
|
||||
### Для работы бота требуется [**qBitTorrent**](https://www.qbittorrent.org/) сервер
|
||||
### Bot requires [**qBitTorrent**](https://www.qbittorrent.org/) server
|
||||
|
||||
---
|
||||
|
||||
### Текущие фичи:
|
||||
### Current features:
|
||||
---
|
||||
- **Авторизация по паролю**
|
||||
- **Добавление загрузок в очередь через .torrent файлы / Magnet-ссылки**
|
||||
- **Добавление/Удаление директорий для загрузок**
|
||||
- **Authorization by password**
|
||||
- **Adding downloads to the queue via .torrent files / Magnet-links**
|
||||
- **Add/Delete download directories**
|
||||
- **Multiple language support**
|
||||
|
||||
---
|
||||
|
||||
### В образе используется ["fedarovich/qbittorrent-cli"](https://github.com/fedarovich/qbittorrent-cli)
|
||||
### Image uses ["fedarovich/qbittorrent-cli"](https://github.com/fedarovich/qbittorrent-cli)
|
||||
|
||||
---
|
||||
|
||||
[![](https://cloud.orudo.ru/apps/files_sharing/publicpreview/rRcdSnCEaA85tWf?file=/&fileId=23784&x=1920&y=1200&a=true&etag=32928842bc4e76adaba194cdd9ec1351)](https://hub.docker.com/r/orudoca/qbitdownload-bot)
|
||||
|
||||
## Развертывание через Docker:
|
||||
#### 1. Соберите образ или склонируйте образ с [Dockerhub](https://hub.docker.com/r/orudoca/qbitdownload-bot)
|
||||
## Deploy with Docker
|
||||
#### 1. Build image or clone it from [Dockerhub](https://hub.docker.com/r/orudoca/qbitdownload-bot)
|
||||
|
||||
**Склонировать репозиторий и перейти в его директорию**
|
||||
**Clone a repository and go to its directory**
|
||||
```bash
|
||||
git clone https://git.orudo.ru/OrudoCA/qBitDownload-Bot.git && cd qBitDownload-Bot
|
||||
```
|
||||
|
||||
**Сбор образа**
|
||||
**Build image**
|
||||
```bash
|
||||
docker build -t <IMAGE_NAME> .
|
||||
```
|
||||
|
||||
#### 2. Развернуть через docker-cli или docker-compose
|
||||
|
||||
#### 2. Deploy via docker-cli or docker-compose
|
||||
**Docker-cli**
|
||||
```bash
|
||||
docker run \
|
||||
|
@ -56,7 +55,7 @@ docker run \
|
|||
-d your_image_here
|
||||
```
|
||||
|
||||
##### или
|
||||
##### or
|
||||
|
||||
**docker-compose**
|
||||
```yml
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
import os
|
||||
|
||||
langs = ['RU','ENG']
|
||||
langs = ['ENG','RU']
|
||||
|
||||
# Russian
|
||||
RU = {
|
||||
|
@ -50,5 +50,5 @@ ENG = {
|
|||
}
|
||||
|
||||
for i in langs:
|
||||
if i == os.environ.get('LANG','RU'):
|
||||
if i == os.environ.get('LANG','ENG'):
|
||||
LANG = globals()[i]
|
||||
|
|
Loading…
Reference in New Issue