forked from AswanthVK/mass
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtranslation.py
57 lines (31 loc) · 1.97 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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
class Translation(object):
START_TEXT = """Hello,
This is a Telegram URL Upload Bot!
<b>Please send me any Direct download URL link, I can upload to telegram as File/Video</b>
/help for more details..
Support Group : @NP_technology
"""
HELP_USER = """Hai I'am a URL Uploader bot..
1. Send url (Link | New Name with Extension).
2. Send Custom Thumbnail (Optional).
3. Select the button.
SVideo - Give File as video with Screenshots
DFile - Give File with Screenshots
Video - Give File as video without Screenshots
DFile - Give File without Screenshots
Support Group : @NP_technology
"""
FORMAT_SELECTION = """Select the desired format: <a href='{}'>file size might be approximate</a>
Send your custum thumbnail if required.
You can use /deletethumbnail to delete the auto-generated thumbnail."""
DOWNLOAD_START = "Trying to download your file from Web..."
UPLOAD_START = "Uploading now to Telegram.."
AFTER_SUCCESSFUL_UPLOAD_MSG_WITH_TS = "Downloaded in {} seconds. \n\nUploaded in {} seconds."
RCHD_TG_API_LIMIT = "Downloaded in {} seconds.\nDetected File Size: {}\nSorry. But, I cannot upload files greater than 1.95GB due to Telegram API limitations."
SAVED_CUSTOM_THUMB_NAIL = "Custom thumbnail saved. This will be permanent.\n\nUse /deletethumbnail to clear it."
DEL_ETED_CUSTOM_THUMB_NAIL = "Custom thumbnail cleared succesfully."
CUSTOM_CAPTION_UL_FILE = " "
SLOW_URL_DECED = "Gosh that seems to be a very slow URL. Since you were screwing my home, I am in no mood to download this file. Meanwhile, why don't you try this:==> https://shrtz.me/PtsVnf6 and get me a fast URL so that I can upload to Telegram, without me slowing down for other users."
NO_VOID_FORMAT_FOUND = "ERROR...\n<b>YouTubeDL</b> said: {}"
SHOW_THUMB = "Use /deletethumbnail to clear this thumbnail."
NO_THUMB = "No saved thumbnails Found!!\n\nSend an image to save it as your thumbnail permanently."