forked from X-Gorn/MangaLoader
-
Notifications
You must be signed in to change notification settings - Fork 1
/
translation.py
25 lines (21 loc) · 1.3 KB
/
translation.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
from pyrogram.types import InlineKeyboardButton
class Translation(object):
START_TEXT = "Hi {},\nI'm MangaLoader!\nYou can upload any manga to Telegram as Zipfile!\n\n/help for more details!"
HELP_TEXT = "How to use MangaLoader?!\n\n1. Send manga url from [supported resources](https://github.com/X-Gorn/MangaLoader/tree/cleandir#url-options-and-examples)\n2. Choose subdir option. (will uploaded as Zipfile)\n3. Wait a few minutes and you will receive your archived manga\n\nIf bot didn't respond, contact @xgorn"
UPLOAD = 'Choose subdirs option. (will uploaded as Zipfile)'
CLEANDIR_SUCCESS = 'Successfully cleaned your download dir, now you can sent another link'
CLEANDIR_UNSUCCESS = 'Your download dir are empty, use this command only if your bot are stuck'
upload_buttons=[
[
InlineKeyboardButton('as PDF', callback_data='pdf'),
InlineKeyboardButton('as ZIP', callback_data='zip'),
],
[InlineKeyboardButton('as Folder', callback_data='folder')],
]
start_buttons=[
[
InlineKeyboardButton('Source', url='https://github.com/X-Gorn/MangaLoader'),
InlineKeyboardButton('Project Channel', url='https://t.me/xTeamBots'),
],
[InlineKeyboardButton('Author', url='https://t.me/xgorn')],
]