-
Notifications
You must be signed in to change notification settings - Fork 19
/
translation.py
163 lines (96 loc) · 3.99 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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
from pyrogram.types import InlineKeyboardMarkup, InlineKeyboardButton
START_MESSAGE = '''**Hi, {}**
I am EZ4Short bot, bulk link converter with your posts/messages. I can convert & earn money directly from your links.
'''
HELP_MESSAGE = '''**Hi, {}**
A bot to short link support bulk link conversion. I can convert links directly from your EZ4Short account.
1. Go To 👉 https://bit.ly/EZ4Short
2. Then Copy API Key
3. Then long press /api command then paste your API Key (see example to understand more...)
**/api Your API Key
(See Example.👇)
Example:** `/api de303d5270f481aec928f39883da7b7f9a8812ac `
**➕ Hit** 👉 /features To know more features of this bot.
**💁♀️ Hit** 👉 /help To get help.
**➕ Hit** 👉 /footer Adding your custom footer to bot.
**Contact** 👉 @Jakeedot (For support)
'''
ABOUT_TEXT = '''**Hey! My name is @EZ4ShortBot.**
**⚡Features⚡**
• I can **Convert any** links or posts to your **EZ4Short** link / post. (Button Links Posts, Hidden links/Hyperlinks All Are Supported)
• I Can **auto** add custom **footer text** to your every post. Hit 👉 /footer To know more...
• I Can **auto** add custom **Header text** to your every post. Hit 👉 /header To know more...
• I Can **Automatically Replace** Your **Banner** Image To images in the post. Hit 👉/banner_image To Know More...
• **No** need to share **password or email** to convert links.**
**Contact** 👉 @Jakeedot (For support)
**Click On Custom Alias To Create Custom Link**
'''
CUSTOM_ALIAS_MESSAGE = """For Custom Alias, `[link] | [custom_alias]`, Send in this format
This feature works only in private mode only
Ex: https://t.me/reUpdates | Updates"""
ADMINS_MESSAGE = """
List of Admins who has access to this Bot
{admin_list}
"""
ABOUT_REPLY_MARKUP = InlineKeyboardMarkup([
[
InlineKeyboardButton('Custom Alias', callback_data=f'alias_conf')
],
])
HELP_REPLY_MARKUP = InlineKeyboardMarkup([
[
InlineKeyboardButton('More Features', callback_data=f'about_command')
],
])
START_MESSAGE_REPLY_MARKUP = InlineKeyboardMarkup([
[
InlineKeyboardButton('Get Api', url=f'https://bit.ly/EZ4Short')
]
])
BACK_REPLY_MARKUP = InlineKeyboardMarkup([
[
InlineKeyboardButton('Back', callback_data=f'about_command')
],
])
USER_ABOUT_MESSAGE = """
- Website: [{base_site}](https://ez4short.com/ref/jakeedot)
- Site Link {base_site} Current Linked API: {shortener_api}
- Replace Channel Username: @{username}
- Header Text:
{header_text}
- Footer Text:
{footer_text}
- Banner Image: {banner_image}
"""
SHORTENER_API_MESSAGE = """To add or update your Shortner Website API,
`/api [Your API Token]`
Ex: `/api de303d5270f481aec928f39883da7b7f9a8812ac `
Get API From [{base_site}](https://ez4short.com/ref/jakeedot)
Current API: `{shortener_api}`"""
HEADER_MESSAGE = """**Reply to the Header Text You Want**
This Text will be added to the top of every message **caption** or text
For adding **line break** use \n
To Remove Header Text: `/header remove`"""
FOOTER_MESSAGE = """**Reply to the Footer Text You Want**
This Text will be added to the **bottom** of every message **caption** or text
For adding **line break** use \n
To Remove Footer Text: `/footer remove`"""
USERNAME_TEXT = """**Hi! {}, I am EZ4Short bot, bulk link converter bot From Linked Your EZ4Short Account,**
**🌟 Type** /channel (channel link or username)
**example:**
/channel @EZ4Short
Or
/channel https://t.me/EZ4Short
**🤘 Hit** 👉 /features To Know More Features Of This Bot.
**- Message @Jakeedot For More Help -**"""
BANNER_IMAGE = """
**Usage:** `/banner_image image_url` or reply to any Image with this command
This image will be automatically replaced with other images in the post
To remove custom image, `/banner_image remove`
Eg: `/banner_image https://telegra.ph/file/5e96340a91470256b387a.jpg`"""
BANNED_USER_TXT = """
Usage: `/ban [User ID]`
Usage: `/unban [User ID]`
List of users that are banned:
{users}
"""