-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathlang.py
128 lines (121 loc) · 3.23 KB
/
lang.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
from dataclasses import dataclass
from typing import List
@dataclass
class Language:
lang_key: str
channel_id: int
footer: str
breaking: str
announce: str
advertise: str
username: str
chat_id: int = None
lang_key_deepl: str = None
# captcha:str
GERMAN = Language(
"de", # German
-1001240262412, # https://t.me/MilitaerNews
"🔰 <b>Verpasse nichts!</b>\nAbonniere hier: <b>@MilitaerNews</b>",
"EILMELDUNG",
"MITTEILUNG",
"WERBUNG",
"MilitaerNews",
-1001526741474, # https://t.me/MNChat
)
ENGLISH = Language(
"en", # English - en-us
-1001258430463, # https://t.me/MilitaryNewsEN
"🔰 <b>Don't miss out!</b>\nSubscribe here: <b>@MilitaryNewsEN</b>",
"BREAKING",
"ANNOUNCEMENT",
"ADVERTISEMENT",
"MilitaryNewsEN",
-1001382962633, # https://t.me/MilitaryChatEN
lang_key_deepl="en-us"
)
languages: List[Language] = [
ENGLISH,
Language(
"tr", # Turkish
-1001712502236, # https://t.me/MilitaryNewsTR
"🔰 @MilitaryNewsTR'e abone olun",
"SON_DAKİKA",
"DUYURU",
"ADVERTISING",
"MilitaryNewsTR",
),
Language(
"fa", # Persian
-1001568841775, # https://t.me/MilitaryNewsFA
"\nعضو شوید:\n🔰 @MilitaryNewsFA",
"خبرفوری",
"اعلامیه",
"تبلیغات",
"MilitaryNewsFA",
),
Language(
"ru", # Russian
-1001330302325, # https://t.me/MilitaryNewsRU
"🔰 Подписывайтесь на @MilitaryNewsRU",
"СРОЧНЫЕ_НОВОСТИ",
"ОБЪЯВЛЕНИЕ",
"РЕКЛАМА",
"MilitaryNewsRU",
),
Language(
"pt", # Portugese - pt-br
-1001614849485, # https://t.me/MilitaryNewsBR
"🔰 Se inscreva no @MilitaryNewsBR",
"NOTÍCIAS_URGENTES",
"MENSAGEM",
"PUBLICIDADE",
"MilitaryNewsBR",
lang_key_deepl="pt-br"
),
Language(
"es", # Spanish
-1001715032604, # https://t.me/MilitaryNewsES
"🔰 Suscríbete a @MilitaryNewsES",
"ÚLTIMA_HORA",
"ANUNCIO",
"PUBLICIDAD",
"MilitaryNewsES",
),
Language(
"fr", # French
-1001337262241, # https://t.me/MilitaryNewsFR
"🔰 Abonnez-vous à @MilitaryNewsFR",
"BREAKING_NEWS",
"ANNONCE",
"PUBLICITÉ",
"MilitaryNewsFR",
),
Language(
"it", # Italian
-1001632091535, # https://t.me/MilitaryNewsITA
"🔰 iscriviti a @MilitaryNewsITA",
"ULTIME_NOTIZIE",
"ANNUNCIO",
"PUBBLICITÀ",
"MilitaryNewsITA",
),
Language(
"ar", # Arabic
-1001972272205, # https://t.me/MilitaryNewsAR
"@MilitaryNewsAR اشترك ب أخبار عسكرية بالعربية 🔰\n",
"معلومات",
"إشعار",
"إعلان",
"MilitaryNewsAR",
),
Language(
"id", # Indonesian
-1002089283993, # https://t.me/MilitaryNewsIDN
"🔰 Berlangganan @MilitaryNewsIDN",
"BERITA_TERBARU",
"KOMUNIKASI",
"ADVERTISEMENT",
"MilitaryNewsIDN",
lang_key_deepl="id"
),
]