From 366fc7511ec31343da28cba3ef05c2d5a5b086f4 Mon Sep 17 00:00:00 2001
From: salomovasliddin3004
<85295223+salomovasliddin3004@users.noreply.github.com>
Date: Sun, 19 Sep 2021 11:26:37 +0500
Subject: [PATCH 01/14] Update bot.py
---
bot.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/bot.py b/bot.py
index 1a970c668..5593066b4 100644
--- a/bot.py
+++ b/bot.py
@@ -1,6 +1,6 @@
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
-# (c) Shrimadhav U K
+# (c) Shrimadhav U K S A
# the logging things
import logging
From 18c2ec1e4e2cad360d8e82f4ac5e215ab64bcf27 Mon Sep 17 00:00:00 2001
From: salomovasliddin3004
<85295223+salomovasliddin3004@users.noreply.github.com>
Date: Sun, 19 Sep 2021 11:49:14 +0500
Subject: [PATCH 02/14] Update translation.py
---
translation.py | 30 +++++++++++++++---------------
1 file changed, 15 insertions(+), 15 deletions(-)
diff --git a/translation.py b/translation.py
index 53d547190..e59f9da64 100644
--- a/translation.py
+++ b/translation.py
@@ -1,13 +1,13 @@
class Translation(object):
- START_TEXT = """Hello,
-This is a Telegram URL Upload Bot!
+ START_TEXT = """Salom,
+Bu bot sizga url(havola) orqali file yuklab beradi!
-Please send me any direct download URL Link, i can upload to telegram as File/Video
+Siz bizga file/video havolasini yuboring biz sizga o'sha fileni yuklab beramiz !
-/help for more details..
+/help orqali barcha yordamni oling..
-Support Group : @InFoTelGroup
-© @SpEcHlDe , @TGBotsZ & @CWProjects"""
+Support Group : @SalomovAsliddin_2004
+© @SalomovAsliddin & @UrlUploader_SABot """
RENAME_403_ERR = "Sorry. You are not permitted to rename this file."
ABS_TEXT = " Please don't be selfish."
UPGRADE_TEXT = "👉 Create own Clone Bot.. /help for Details"
@@ -18,11 +18,11 @@ class Translation(object):
DOWNLOAD_START = "trying to download"
UPLOAD_START = "trying to upload"
RCHD_BOT_API_LIMIT = "size greater than maximum allowed size (50MB). Neverthless, trying to upload."
- RCHD_TG_API_LIMIT = "Downloaded in {} seconds.\nDetected File Size: {}\nSorry. But, I cannot upload files greater than 1.5GB due to Telegram API limitations."
- AFTER_SUCCESSFUL_UPLOAD_MSG = "Please rate me if you find me useful. Join : @TGBotsZ"
- AFTER_SUCCESSFUL_UPLOAD_MSG_WITH_TS = "Downloaded in {} seconds. \nJoin : @TGBotsZ \nUploaded in {} seconds."
- NOT_AUTH_USER_TEXT = "Please /upgrade your subscription."
- NOT_AUTH_USER_TEXT_FILE_SIZE = "Detected File Size: {}. Free Users can only upload: {}\nPlease /upgrade your subscription.\nIf you think this is a bug, please contact @SpEcHlDe"
+ RCHD_TG_API_LIMIT = "Downloaded in {} seconds.\nDetected File hajmi: {}\nUzur. Ammo siz 1.5GB dan katta file yuklay olmaysiz chunki Telegram max file hajmi 1.5GB"
+ AFTER_SUCCESSFUL_UPLOAD_MSG = "Please rate me if you find me useful. Kanalga qo'shiling : @SalomovAsliddin"
+ AFTER_SUCCESSFUL_UPLOAD_MSG_WITH_TS = "Yuklash {} sekundan keyin. \nAzo bo'ling: @SalomovAsliddin \nYuklash {} sekundan keyin ."
+ NOT_AUTH_USER_TEXT = "Please /upgrade your subscription
+ NOT_AUTH_USER_TEXT_FILE_SIZE = "Fayl hajmi: {}. Free Users can only upload: {}\nPlease /upgrade your subscription.\nIf you think this is a bug, please contact Generated valid for {} days.\n© @AnyDLBot"
+ AFTER_GET_DL_LINK = "Direct Link Generated valid for {} days.\n© @UrlUploader_SABot "
FF_MPEG_RO_BOT_RE_SURRECT_ED = """Syntax: /trim HH:MM:SS [HH:MM:SS]"""
FF_MPEG_RO_BOT_STEP_TWO_TO_ONE = "First send /downloadmedia to any media so that it can be downloaded to my local. \nSend /storageinfo to know the media, that is currently downloaded."
FF_MPEG_RO_BOT_STOR_AGE_INFO = "Video Duration: {}\nSend /clearffmpegmedia to delete this media, from my storage.\nSend /trim HH:MM:SS [HH:MM:SS] to cu[l]t a small photo / video, from the above media."
@@ -68,7 +68,7 @@ class Translation(object):
ERR_ONLY_TWO_MEDIA_IN_ALBUM = "Media Album should contain only two photos. Please re-send the media album, and then try again, or send only two photos in an album."
INVALID_UPLOAD_BOT_URL_FORMAT = "URL format is incorrect. make sure your url starts with either http:// or https://. You can set custom file name using the format link | file_name.extension"
ABUSIVE_USERS = "You are not allowed to use this bot. If you think this is a mistake, please check /me to remove this restriction."
- FF_MPEG_RO_BOT_AD_VER_TISE_MENT = "https://telegram.dog/FFMpegRoBot"
+ FF_MPEG_RO_BOT_AD_VER_TISE_MENT = "https://telegram.me/SalomovAsliddin"
EXTRACT_ZIP_INTRO_ONE = "Send a compressed file first, Then reply /unzip command to the file."
EXTRACT_ZIP_INTRO_THREE = "Analyzing received file. ⚠️ This might take some time. Please be patient. "
UNZIP_SUPPORTED_EXTENSIONS = ("zip", "rar")
From 3156f73d5fb638d14cb9ba0463ecdb9edacba0c6 Mon Sep 17 00:00:00 2001
From: salomovasliddin3004
<85295223+salomovasliddin3004@users.noreply.github.com>
Date: Sun, 19 Sep 2021 11:56:37 +0500
Subject: [PATCH 03/14] Update translation.py
---
translation.py | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/translation.py b/translation.py
index e59f9da64..dc4da3df1 100644
--- a/translation.py
+++ b/translation.py
@@ -38,15 +38,16 @@ class Translation(object):
Expires on: 31/12/2020"""
HELP_USER = """Hai am URL Uploader bot..
-1. Send url (Link|New Name with Extension).
-2. Send Custom Thumbnail (Optional).
-3. Select the button.
+1. Botga file/video url ni yuboring !
+2. O'zingizga kerakli tugamni bosing.
+3. Tugmalar vazifasi.
+
+
SVideo - Give File as video with Screenshots
DFile - Give File with Screenshots
Video - Give File as video without Screenshots
DFile - Give File without Screenshots
-👉 Create own Clone Bot : 👉 Diploy
--------
Send /me to know current plan details
From 495a1ef91edf31244237bcb3897fe7b6d24ab836 Mon Sep 17 00:00:00 2001
From: salomovasliddin3004
<85295223+salomovasliddin3004@users.noreply.github.com>
Date: Sun, 19 Sep 2021 12:03:01 +0500
Subject: [PATCH 04/14] Update translation.py
---
translation.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/translation.py b/translation.py
index dc4da3df1..b8a3092c5 100644
--- a/translation.py
+++ b/translation.py
@@ -15,8 +15,8 @@ class Translation(object):
SET_CUSTOM_USERNAME_PASSWORD = """If you want to download premium videos, provide in the following format:
URL | filename | username | password"""
NOYES_URL = "@robot URL detected. Please use https://shrtz.me/PtsVnf6 and get me a fast URL so that I can upload to Telegram, without me slowing down for other users."
- DOWNLOAD_START = "trying to download"
- UPLOAD_START = "trying to upload"
+ DOWNLOAD_START = "Server yuklanmoqda..."
+ UPLOAD_START = "Telegram yuklanmoqda..."
RCHD_BOT_API_LIMIT = "size greater than maximum allowed size (50MB). Neverthless, trying to upload."
RCHD_TG_API_LIMIT = "Downloaded in {} seconds.\nDetected File hajmi: {}\nUzur. Ammo siz 1.5GB dan katta file yuklay olmaysiz chunki Telegram max file hajmi 1.5GB"
AFTER_SUCCESSFUL_UPLOAD_MSG = "Please rate me if you find me useful. Kanalga qo'shiling : @SalomovAsliddin"
From 932d76305a73d0c15cd1eb52fababe31934ed23f Mon Sep 17 00:00:00 2001
From: salomovasliddin3004
<85295223+salomovasliddin3004@users.noreply.github.com>
Date: Sun, 19 Sep 2021 12:28:19 +0500
Subject: [PATCH 05/14] Update translation.py
---
translation.py | 122 ++++++++++++++++++-------------------------------
1 file changed, 44 insertions(+), 78 deletions(-)
diff --git a/translation.py b/translation.py
index b8a3092c5..a705ced36 100644
--- a/translation.py
+++ b/translation.py
@@ -1,84 +1,50 @@
class Translation(object):
- START_TEXT = """Salom,
-Bu bot sizga url(havola) orqali file yuklab beradi!
-
-Siz bizga file/video havolasini yuboring biz sizga o'sha fileni yuklab beramiz !
-
-/help orqali barcha yordamni oling..
-
-Support Group : @SalomovAsliddin_2004
-© @SalomovAsliddin & @UrlUploader_SABot """
- RENAME_403_ERR = "Sorry. You are not permitted to rename this file."
- ABS_TEXT = " Please don't be selfish."
- UPGRADE_TEXT = "👉 Create own Clone Bot.. /help for Details"
- FORMAT_SELECTION = "Select the desired format: file size might be approximate \nIf you want to set custom thumbnail, send photo before or quickly after tapping on any of the below buttons.\nYou can use /deletethumbnail to delete the auto-generated thumbnail."
- SET_CUSTOM_USERNAME_PASSWORD = """If you want to download premium videos, provide in the following format:
-URL | filename | username | password"""
- NOYES_URL = "@robot URL detected. Please use https://shrtz.me/PtsVnf6 and get me a fast URL so that I can upload to Telegram, without me slowing down for other users."
- DOWNLOAD_START = "Server yuklanmoqda..."
- UPLOAD_START = "Telegram yuklanmoqda..."
- RCHD_BOT_API_LIMIT = "size greater than maximum allowed size (50MB). Neverthless, trying to upload."
- RCHD_TG_API_LIMIT = "Downloaded in {} seconds.\nDetected File hajmi: {}\nUzur. Ammo siz 1.5GB dan katta file yuklay olmaysiz chunki Telegram max file hajmi 1.5GB"
- AFTER_SUCCESSFUL_UPLOAD_MSG = "Please rate me if you find me useful. Kanalga qo'shiling : @SalomovAsliddin"
- AFTER_SUCCESSFUL_UPLOAD_MSG_WITH_TS = "Yuklash {} sekundan keyin. \nAzo bo'ling: @SalomovAsliddin \nYuklash {} sekundan keyin ."
- NOT_AUTH_USER_TEXT = "Please /upgrade your subscription
- NOT_AUTH_USER_TEXT_FILE_SIZE = "Fayl hajmi: {}. Free Users can only upload: {}\nPlease /upgrade your subscription.\nIf you think this is a bug, please contact Ücretler\nÜcreti ödedikten sonra @shrimadhabot a veya @SalomovAsliddin ye ödemenin yapıldığına dair ekran görüntüsü atmalısın"
+ FORMAT_SELECTION = "İstediğiniz formatı seçin: dosya boyutu yaklaşık olaraktır \nÖzel küçük resim ayarlamak istiyorsanız, aşağıdaki düğmelerden birine dokunduktan önce veya sonra fotoğraf gönderin."
+ NOYES_URL = "@All_Url_DownloaderBot URL tespit edildi. Lütfen servisi kötüye kullanma!"
+ DOWNLOAD_START = "indirmeye çalışıyor"
+ UPLOAD_START = "yüklenmeye çalışılıyor"
+ RCHD_BOT_API_LIMIT = "izin verilen maksimum boyuttan (50MB) daha büyük Bununla birlikte, yüklemeye çalışıyorum."
+ RCHD_TG_API_LIMIT = "Afedersiniz. Ancak, Telegram API kısıtlamaları nedeniyle 1,5 GB'den büyük dosyaları yükleyemiyorum."
+ AFTER_SUCCESSFUL_UPLOAD_MSG = "Lütfen yararlı bulursanız beni değerlendirin. https://t.me/tlgrmcbot?start=anydl_bot-bot"
+ NOT_AUTH_USER_TEXT = "Lütfen üyeliğinizi /upgrade komutunu kullanarak yükseltin."
+ NOT_AUTH_USER_TEXT_FILE_SIZE = "Algılanan Dosya Boyutu: {}. Ücretsiz Kullanıcılar yalnızca yükleme yapabilir: {}\nLütfen üyeliğinizi /upgrade komutunu kullanarak yükseltin.\nEğer botta bir hata bulursanız buradan benimle iletişime geçebilirsiniz @SalomovAsliddin"
+ SAVED_CUSTOM_THUMB_NAIL = "Özel video / dosya küçük resmi kaydedildi. Bu görüntü videoda / dosyada kullanılacak."
+ DEL_ETED_CUSTOM_THUMB_NAIL = "✅ Özel küçük resim başarıyla temizlendi."
+ FF_MPEG_DEL_ETED_CUSTOM_MEDIA = "✅ Medya başarıyla temizlendi."
+ SAVED_RECVD_DOC_FILE = "Belge Başarıyla İndirildi"
CUSTOM_CAPTION_UL_FILE = " "
- NO_CUSTOM_THUMB_NAIL_FOUND = "No Custom ThumbNail found."
- NO_VOID_FORMAT_FOUND = "ERROR...\nYouTubeDL said: {}"
- USER_ADDED_TO_DB = "User {} added to {} till {}."
- CURENT_PLAN_DETAILS = """Current plan details
+ NO_CUSTOM_THUMB_NAIL_FOUND = "Özel bir küçük resim bulunamadı."
+ NO_VOID_FORMAT_FOUND = "URL’yi kontrol edebilir misiniz? URL’den video biçimini tespit edemiyorum. Eğer botta bir hata bulursanız buradan bildirebilirsiniz https://github.com/spechide/All_Url_DownloaderBot/issues"
+ USER_ADDED_TO_DB = "{} 'E kadar {}' a {} kullanıcısı eklendi.
+ CURENT_PLAN_DETAILS = """ Mevcut plan detayları
--------
Telegram ID: {}
-Plan name: Free Cloned User
-Expires on: 31/12/2020"""
- HELP_USER = """Hai am URL Uploader bot..
-
-1. Botga file/video url ni yuboring !
-2. O'zingizga kerakli tugamni bosing.
-3. Tugmalar vazifasi.
-
-
- SVideo - Give File as video with Screenshots
- DFile - Give File with Screenshots
- Video - Give File as video without Screenshots
- DFile - Give File without Screenshots
-
-
+Plan ismi: {}
+Bitiş tarihi: {}"""
+ HELP_USER = """Yapabileceğim çok şey var:
+👉 Tüm Desteklenen Video Formatları https://rg3.github.io/youtube-dl/supportedsites.html
+👉 Herhangi bir HTTP bağlantısından dosya olarak yükleyin
+👉 Herhangi bir Telegram ortamına izlenebilir Videoya Dönüştürme
+👉 Dosyaları Yeniden İsimlendirme, Özel Küçük Resim Ekleme
+👉 Herhangi bir Telegram dosyasının Yüksek Hızlı Doğrudan İndirme Bağlantısını Alın
--------
-Send /me to know current plan details
-
-Support Group : @SalomovAsliddin_2004
-© @SalomovAsliddin"""
- REPLY_TO_DOC_GET_LINK = "Reply to a Telegram media to get High Speed Direct Download Link"
- REPLY_TO_DOC_FOR_C2V = "Reply to a Telegram media to convert"
- REPLY_TO_DOC_FOR_SCSS = "Reply to a Telegram media to get screenshots"
- REPLY_TO_DOC_FOR_RENAME_FILE = "Reply to a Telegram media to /rename with custom thumbnail support"
- AFTER_GET_DL_LINK = "Direct Link Generated valid for {} days.\n© @UrlUploader_SABot "
- FF_MPEG_RO_BOT_RE_SURRECT_ED = """Syntax: /trim HH:MM:SS [HH:MM:SS]"""
- FF_MPEG_RO_BOT_STEP_TWO_TO_ONE = "First send /downloadmedia to any media so that it can be downloaded to my local. \nSend /storageinfo to know the media, that is currently downloaded."
- FF_MPEG_RO_BOT_STOR_AGE_INFO = "Video Duration: {}\nSend /clearffmpegmedia to delete this media, from my storage.\nSend /trim HH:MM:SS [HH:MM:SS] to cu[l]t a small photo / video, from the above media."
- FF_MPEG_RO_BOT_STOR_AGE_ALREADY_EXISTS = "A saved media already exists. Please send /storageinfo to know the current media details."
+/me komutunu kullanarak şuanki mevcut plan detaylarını görüntüle"""
+ REPLY_TO_DOC_GET_LINK = "Yüksek Hızlı Doğrudan İndirme Bağlantısı almak için bir Telegram ortamına yanıtlayın"
+ REPLY_TO_DOC_FOR_C2V = " Dönüştürmek için bir Telegram ortamına cevap verin"
+ REPLY_TO_DOC_FOR_RENAME_FILE = "Özel küçük resim desteğiyle (/rename) yeniden adlandırmak için bir Telegram ortamına yanıt verin"
+ AFTER_GET_DL_LINK = "Doğrudan indirme linki oluşturuldu {} gün sonra süresi dolacak.\n© @All_Url_DownloaderBot"
+ FF_MPEG_RO_BOT_RE_SURRECT_ED = """Söz Dizimi: /trim HH:MM:SS [HH:MM:SS]"""
+ FF_MPEG_RO_BOT_STEP_TWO_TO_ONE = "İlk olarak yerel ortamıma indirebilmek için herhangi bir ortama /downloadmedia komutunu gönderin. \nŞu anda indirilmiş olan medyayı tanımak için /storageinfo komutunu kullanın."
+ FF_MPEG_RO_BOT_STOR_AGE_INFO = "Video Süresi: {}\n/clearffmpegmedia komutunu kullanarak bu medyayı benim yerel ortamımdan silebilirsin.\n/trim HH:MM:SS [HH:MM:SS] komutunu kullanarak videoyu veya fotoğrafı küçük boyuna indirebilirsin kesebilirsin."
+ FF_MPEG_RO_BOT_STOR_AGE_ALREADY_EXISTS = "Kaydedilmiş bir medya zaten var. Lütfen/storageinfo komutunu kullanarak şu anki medya detaylarını öğrenebilirsin."
USER_DELETED_FROM_DB = "User {} deleted from DataBase."
- REPLY_TO_DOC_OR_LINK_FOR_RARX_SRT = "Reply to a Telegram media (MKV), to extract embedded streams"
- REPLY_TO_MEDIA_ALBUM_TO_GEN_THUMB = "Reply /generatecustomthumbnail to a media album, to generate custom thumbail"
- ERR_ONLY_TWO_MEDIA_IN_ALBUM = "Media Album should contain only two photos. Please re-send the media album, and then try again, or send only two photos in an album."
- INVALID_UPLOAD_BOT_URL_FORMAT = "URL format is incorrect. make sure your url starts with either http:// or https://. You can set custom file name using the format link | file_name.extension"
- ABUSIVE_USERS = "You are not allowed to use this bot. If you think this is a mistake, please check /me to remove this restriction."
- FF_MPEG_RO_BOT_AD_VER_TISE_MENT = "https://telegram.me/SalomovAsliddin"
- EXTRACT_ZIP_INTRO_ONE = "Send a compressed file first, Then reply /unzip command to the file."
- EXTRACT_ZIP_INTRO_THREE = "Analyzing received file. ⚠️ This might take some time. Please be patient. "
- UNZIP_SUPPORTED_EXTENSIONS = ("zip", "rar")
- EXTRACT_ZIP_ERRS_OCCURED = "Sorry. Errors occurred while processing compressed file. Please check everything again twice, and if the issue persists, report this to @SpEcHlDe"
- EXTRACT_ZIP_STEP_TWO = """Select file_name to upload from the below options.
-You can use /rename command after receiving file to rename it with custom thumbnail support."""
- CANCEL_STR = "Process Cancelled"
- ZIP_UPLOADED_STR = "Uploaded {} files in {} seconds"
- FREE_USER_LIMIT_Q_SZE = """Cannot Process.
-Free users only 1 request per 30 minutes.
-/upgrade or Try 1800 seconds later."""
- 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."
+ REPLY_TO_DOC_OR_LINK_FOR_RARX_SRT = "Gömülü altyazı çıkarmak için bir HTTP bağlantısına cevap verin"
+ REPLY_TO_MEDIA_ALBUM_TO_GEN_THUMB = "Özel bir küçük resim üretmek için /generatecustomthumbnail komutunu kullanarak medyayı cevapla."
+ ERR_ONLY_TWO_MEDIA_IN_ALBUM = "Medya Albümü yalnızca iki fotoğraf içermelidir. Lütfen medya albümünü tekrar gönderin ve tekrar deneyin veya bir albümde sadece iki fotoğraf gönderin."
+ INVALID_UPLOAD_BOT_URL_FORMAT = "URL formatı hatalıdır. Url şu şekilde olmalıdır http:// veya https://. Belirli bir dosyayı linki gönderirken isimlendirmek için bu formatı kullanın | dosya uzantısı"
+ ABUSIVE_USERS = "Bu botu kullanmana izin verilmiyor. Bunun bir hata olduğunu düşünüyorsanız, buradan @SalomovAsliddin iletişime geçin ve bu engellemeyi kaldırın."
+ FF_MPEG_RO_BOT_AD_VER_TISE_MENT = "@SalomovAsliddin "
From 50c15bf76417807daa696998d38a3693714c7c32 Mon Sep 17 00:00:00 2001
From: salomovasliddin3004
<85295223+salomovasliddin3004@users.noreply.github.com>
Date: Sun, 19 Sep 2021 12:36:24 +0500
Subject: [PATCH 06/14] Update translation.py
---
translation.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/translation.py b/translation.py
index a705ced36..be5cde173 100644
--- a/translation.py
+++ b/translation.py
@@ -19,7 +19,7 @@ class Translation(object):
CUSTOM_CAPTION_UL_FILE = " "
NO_CUSTOM_THUMB_NAIL_FOUND = "Özel bir küçük resim bulunamadı."
NO_VOID_FORMAT_FOUND = "URL’yi kontrol edebilir misiniz? URL’den video biçimini tespit edemiyorum. Eğer botta bir hata bulursanız buradan bildirebilirsiniz https://github.com/spechide/All_Url_DownloaderBot/issues"
- USER_ADDED_TO_DB = "{} 'E kadar {}' a {} kullanıcısı eklendi.
+ USER_ADDED_TO_DB = "{} 'E kadar {}' a {} kullanıcısı eklendi."
CURENT_PLAN_DETAILS = """ Mevcut plan detayları
--------
Telegram ID: {}
From 183a0cba6ef114f2e1d315e6e83ae3dccf3e3ec4 Mon Sep 17 00:00:00 2001
From: salomovasliddin3004
<85295223+salomovasliddin3004@users.noreply.github.com>
Date: Sun, 19 Sep 2021 13:35:55 +0500
Subject: [PATCH 07/14] Update translation.py
---
translation.py | 86 +++++++++++++++++++++++++-------------------------
1 file changed, 43 insertions(+), 43 deletions(-)
diff --git a/translation.py b/translation.py
index be5cde173..9e80f611d 100644
--- a/translation.py
+++ b/translation.py
@@ -1,50 +1,50 @@
class Translation(object):
- START_TEXT = "/help komutunu kullanarak beni nasıl kullanacağını öğrenebilirsin\n/upgrade komutunu kullanarak premium özelliklerine sahip olabilirsin \n© @All_Url_DownloaderBot\n Çeviri @By_Azade tarafından yapılmıştır."
- RENAME_403_ERR = "Üzgünüm. Dosyayı isimlendirmek için yeterli izinlerin yok"
- ABS_TEXT = " Lütfen bencil olma"
- UPGRADE_TEXT = "@All_Url_DownloaderBot Ücretler\nÜcreti ödedikten sonra @shrimadhabot a veya @SalomovAsliddin ye ödemenin yapıldığına dair ekran görüntüsü atmalısın"
- FORMAT_SELECTION = "İstediğiniz formatı seçin: dosya boyutu yaklaşık olaraktır \nÖzel küçük resim ayarlamak istiyorsanız, aşağıdaki düğmelerden birine dokunduktan önce veya sonra fotoğraf gönderin."
- NOYES_URL = "@All_Url_DownloaderBot URL tespit edildi. Lütfen servisi kötüye kullanma!"
- DOWNLOAD_START = "indirmeye çalışıyor"
- UPLOAD_START = "yüklenmeye çalışılıyor"
- RCHD_BOT_API_LIMIT = "izin verilen maksimum boyuttan (50MB) daha büyük Bununla birlikte, yüklemeye çalışıyorum."
- RCHD_TG_API_LIMIT = "Afedersiniz. Ancak, Telegram API kısıtlamaları nedeniyle 1,5 GB'den büyük dosyaları yükleyemiyorum."
- AFTER_SUCCESSFUL_UPLOAD_MSG = "Lütfen yararlı bulursanız beni değerlendirin. https://t.me/tlgrmcbot?start=anydl_bot-bot"
- NOT_AUTH_USER_TEXT = "Lütfen üyeliğinizi /upgrade komutunu kullanarak yükseltin."
- NOT_AUTH_USER_TEXT_FILE_SIZE = "Algılanan Dosya Boyutu: {}. Ücretsiz Kullanıcılar yalnızca yükleme yapabilir: {}\nLütfen üyeliğinizi /upgrade komutunu kullanarak yükseltin.\nEğer botta bir hata bulursanız buradan benimle iletişime geçebilirsiniz @SalomovAsliddin"
- SAVED_CUSTOM_THUMB_NAIL = "Özel video / dosya küçük resmi kaydedildi. Bu görüntü videoda / dosyada kullanılacak."
- DEL_ETED_CUSTOM_THUMB_NAIL = "✅ Özel küçük resim başarıyla temizlendi."
- FF_MPEG_DEL_ETED_CUSTOM_MEDIA = "✅ Medya başarıyla temizlendi."
- SAVED_RECVD_DOC_FILE = "Belge Başarıyla İndirildi"
+ START_TEXT = "Siz /help buyrug'i yordamida mendan qanday foydalanishni bilib olishingiz mumkin \n Siz /upgrade buyrug'i yordamida yuqori funktsiyalarga ega bo'lishingiz mumkin \n © @All_Url_DownloaderBot ."
+ RENAME_403_ERR = "Kechirasiz. Faylni nomlash uchun sizda etarli ruxsat yo'q"
+ ABS_TEXT = " Iltimos, xudbinlik qilmang"
+ UPGRADE_TEXT = "@All_Url_DownloaderBot To'lovlar \nTo'lovni to'lagandan so'ng, siz to'lovning skrinshotini @SalomovAsliddin_2oo4 yoki @SalomovAsliddinga yuborishingiz kerak."
+ FORMAT_SELECTION = "Istagan formatingizni tanlang: fayl hajmi \nAgar siz maxsus eskiz o'rnatmoqchi bo'lsangiz, quyidagi tugmalardan birini bosishdan oldin yoki keyin rasm yuboring."
+ NOYES_URL = "@All_Url_DownloaderBot URL manzili aniqlandi. Iltimos, xizmatni buzmang!"
+ DOWNLOAD_START = "Server yuklanmoqda..."
+ UPLOAD_START = "Telegram yuklanmoqda..."
+ RCHD_BOT_API_LIMIT = "Ruxsat etilgan maksimal hajmdan kattaroq (50MB) Biroq, Biz uni o'rnatishga harakat qilyapmiz."
+ RCHD_TG_API_LIMIT = "Kechirasiz. Ammo Telegram API cheklovlari tufayli 1,5 Gb dan katta fayllarni yuklay olmaymiz."
+ AFTER_SUCCESSFUL_UPLOAD_MSG = "Iltimos, menga foydali deb baho bering. https://t.me/SalomovAsliddin "
+ NOT_AUTH_USER_TEXT = "Iltimos, /upgrade buyrug'i yordamida obunangizni yangilang."
+ NOT_AUTH_USER_TEXT_FILE_SIZE = "Aniqlangan fayl hajmi: {}. Bepul foydalanuvchilar faqat yuklashi mumkin: {} \n Iltimos, /upgrade buyrug'i yordamida obunani yangilang. \n Botda xato topsangiz, bu erda men bilan bog'lanishingiz mumkin @SalomovAsliddin "
+ SAVED_CUSTOM_THUMB_NAIL = "Maxsus video/fayl eskizi saqlandi. Bu rasm video/faylda ishlatiladi."
+ DEL_ETED_CUSTOM_THUMB_NAIL = "✅ Maxsus eskiz muvaffaqiyatli o'chirildi."
+ FF_MPEG_DEL_ETED_CUSTOM_MEDIA = "✅ Media tozalandi"
+ SAVED_RECVD_DOC_FILE = "Hujjat muvaffaqiyatli yuklandi."
CUSTOM_CAPTION_UL_FILE = " "
- NO_CUSTOM_THUMB_NAIL_FOUND = "Özel bir küçük resim bulunamadı."
- NO_VOID_FORMAT_FOUND = "URL’yi kontrol edebilir misiniz? URL’den video biçimini tespit edemiyorum. Eğer botta bir hata bulursanız buradan bildirebilirsiniz https://github.com/spechide/All_Url_DownloaderBot/issues"
- USER_ADDED_TO_DB = "{} 'E kadar {}' a {} kullanıcısı eklendi."
+ NO_CUSTOM_THUMB_NAIL_FOUND = "Maxsus eskiz topilmadi."
+ NO_VOID_FORMAT_FOUND = "URLni tekshira olasizmi? URL formatidagi video formatini aniqlay olmayapman. Agar siz botda xato topsangiz, bu haqda xabar berishingiz mumkin t.me/SalomovAsliddin"
+ USER_ADDED_TO_DB = "{} ga {} gacha Foydalanuvchi {} qo'shildi."
CURENT_PLAN_DETAILS = """ Mevcut plan detayları
--------
Telegram ID: {}
-Plan ismi: {}
-Bitiş tarihi: {}"""
- HELP_USER = """Yapabileceğim çok şey var:
-👉 Tüm Desteklenen Video Formatları https://rg3.github.io/youtube-dl/supportedsites.html
-👉 Herhangi bir HTTP bağlantısından dosya olarak yükleyin
-👉 Herhangi bir Telegram ortamına izlenebilir Videoya Dönüştürme
-👉 Dosyaları Yeniden İsimlendirme, Özel Küçük Resim Ekleme
-👉 Herhangi bir Telegram dosyasının Yüksek Hızlı Doğrudan İndirme Bağlantısını Alın
+Reja nomi: {}
+Tugash sanasi: {}"""
+ HELP_USER = """Men qila oladigan ko'p narsalar bor:
+👉 Barcha qo'llab-quvvatlanadigan video formatlari https://rg3.github.io/youtube-dl/supportedsites.html
+👉 Har qanday HTTP havolasidan fayl sifatida yuklash
+👉 Telegramda ko'riladigan har qanday videoga aylantiring
+👉 Fayllarning nomini o'zgartiring, maxsus eskizlarni qo'shing
+👉 Har qanday Telegram faylining yuqori tezlikdagi to'g'ridan -to'g'ri yuklab olish havolasini oling
--------
-/me komutunu kullanarak şuanki mevcut plan detaylarını görüntüle"""
- REPLY_TO_DOC_GET_LINK = "Yüksek Hızlı Doğrudan İndirme Bağlantısı almak için bir Telegram ortamına yanıtlayın"
- REPLY_TO_DOC_FOR_C2V = " Dönüştürmek için bir Telegram ortamına cevap verin"
- REPLY_TO_DOC_FOR_RENAME_FILE = "Özel küçük resim desteğiyle (/rename) yeniden adlandırmak için bir Telegram ortamına yanıt verin"
- AFTER_GET_DL_LINK = "Doğrudan indirme linki oluşturuldu {} gün sonra süresi dolacak.\n© @All_Url_DownloaderBot"
- FF_MPEG_RO_BOT_RE_SURRECT_ED = """Söz Dizimi: /trim HH:MM:SS [HH:MM:SS]"""
- FF_MPEG_RO_BOT_STEP_TWO_TO_ONE = "İlk olarak yerel ortamıma indirebilmek için herhangi bir ortama /downloadmedia komutunu gönderin. \nŞu anda indirilmiş olan medyayı tanımak için /storageinfo komutunu kullanın."
- FF_MPEG_RO_BOT_STOR_AGE_INFO = "Video Süresi: {}\n/clearffmpegmedia komutunu kullanarak bu medyayı benim yerel ortamımdan silebilirsin.\n/trim HH:MM:SS [HH:MM:SS] komutunu kullanarak videoyu veya fotoğrafı küçük boyuna indirebilirsin kesebilirsin."
- FF_MPEG_RO_BOT_STOR_AGE_ALREADY_EXISTS = "Kaydedilmiş bir medya zaten var. Lütfen/storageinfo komutunu kullanarak şu anki medya detaylarını öğrenebilirsin."
- USER_DELETED_FROM_DB = "User {} deleted from DataBase."
- REPLY_TO_DOC_OR_LINK_FOR_RARX_SRT = "Gömülü altyazı çıkarmak için bir HTTP bağlantısına cevap verin"
- REPLY_TO_MEDIA_ALBUM_TO_GEN_THUMB = "Özel bir küçük resim üretmek için /generatecustomthumbnail komutunu kullanarak medyayı cevapla."
- ERR_ONLY_TWO_MEDIA_IN_ALBUM = "Medya Albümü yalnızca iki fotoğraf içermelidir. Lütfen medya albümünü tekrar gönderin ve tekrar deneyin veya bir albümde sadece iki fotoğraf gönderin."
- INVALID_UPLOAD_BOT_URL_FORMAT = "URL formatı hatalıdır. Url şu şekilde olmalıdır http:// veya https://. Belirli bir dosyayı linki gönderirken isimlendirmek için bu formatı kullanın | dosya uzantısı"
- ABUSIVE_USERS = "Bu botu kullanmana izin verilmiyor. Bunun bir hata olduğunu düşünüyorsanız, buradan @SalomovAsliddin iletişime geçin ve bu engellemeyi kaldırın."
+/me buyrug'i yordamida joriy reja tafsilotlarini ko'rish"""
+ REPLY_TO_DOC_GET_LINK = "Yuqori tezlikda to'g'ridan -to'g'ri yuklab olish havolasini olish uchun Telegram vositasida javob bering"
+ REPLY_TO_DOC_FOR_C2V = " Konvertatsiya qilish uchun Telegram vositasiga javob bering"
+ REPLY_TO_DOC_FOR_RENAME_FILE = "Maxsus eskiz yordamida nomini o'zgartirish uchun Telegram muhitiga javob bering (/rename)"
+ AFTER_GET_DL_LINK = " yaratilgan to'g'ridan to'g'ri yuklash havolasi {} kundan keyin tugaydi. \n © @All_Url_DownloaderBot"
+ FF_MPEG_RO_BOT_RE_SURRECT_ED = """Sintaksis: /trim HH: MM: SS [HH: MM: SS]"""
+ FF_MPEG_RO_BOT_STEP_TWO_TO_ONE = "Birinchidan, /downloadmedia buyrug'ini har qanday ommaviy axborot vositasiga yuboring, shunda men uni mahalliy muhitga yuklay olaman. \ nHozir yuklab olingan axborot vositalarini tanib olish uchun /storageinfo buyrug'idan foydalaning.."
+ FF_MPEG_RO_BOT_STOR_AGE_INFO = "Video davomiyligi: Siz bu ommaviy axborot vositasini mahalliy ommaviy axborot vositalaridan {} \n /clearffmpegmedia buyrug'i yordamida o'chirib tashlashingiz mumkin. \n /trim HH: MM: SS [HH: MM: SS] Siz buyruq yordamida video yoki rasmni kichik hajmga kesib qo'yishingiz mumkin."
+ FF_MPEG_RO_BOT_STOR_AGE_ALREADY_EXISTS = "Yozib olingan media allaqachon mavjud. Hozirgi media ma'lumotlarini bilish uchun /storageinfo buyrug'idan foydalaning."
+ USER_DELETED_FROM_DB = "Foydalanuvchi {} bazadan ochirildi."
+ REPLY_TO_DOC_OR_LINK_FOR_RARX_SRT = "Ichki taglavhalarni olish uchun HTTP ulanishiga javob bering"
+ REPLY_TO_MEDIA_ALBUM_TO_GEN_THUMB = "Maxsus eskiz yaratish uchun /generatecustomth buyrug'i yordamida ommaviy axborot vositalariga javob bering.."
+ ERR_ONLY_TWO_MEDIA_IN_ALBUM = "Media albomda faqat ikkita rasm bo'lishi kerak. Iltimos, media albomni qayta joylashtiring va qaytadan urinib ko'ring, yoki bitta albomga ikkita rasm joylashtiring."
+ INVALID_UPLOAD_BOT_URL_FORMAT = "URL formati noto'g'ri. URL http: // yoki https: // bo'lishi kerak. Havolasini joylashtirishda ma'lum bir faylga nom berish uchun ushbu formatdan foydalaning | fayl kengaytmasi"
+ ABUSIVE_USERS = "Bu botdan foydalanishga ruxsat yo'q. Agar bu xato deb o'ylasangiz, bu erda @SalomovAsliddin bilan bog'laning va uni blokdan chiqaring."
FF_MPEG_RO_BOT_AD_VER_TISE_MENT = "@SalomovAsliddin "
From 1de7a0b05497960bbf5c8aa07379919f192ef821 Mon Sep 17 00:00:00 2001
From: salomovasliddin3004
<85295223+salomovasliddin3004@users.noreply.github.com>
Date: Sun, 19 Sep 2021 14:23:17 +0500
Subject: [PATCH 08/14] Update translation.py
---
translation.py | 19 ++++++++++++++++++-
1 file changed, 18 insertions(+), 1 deletion(-)
diff --git a/translation.py b/translation.py
index 9e80f611d..a0acf67b6 100644
--- a/translation.py
+++ b/translation.py
@@ -4,12 +4,15 @@ class Translation(object):
ABS_TEXT = " Iltimos, xudbinlik qilmang"
UPGRADE_TEXT = "@All_Url_DownloaderBot To'lovlar \nTo'lovni to'lagandan so'ng, siz to'lovning skrinshotini @SalomovAsliddin_2oo4 yoki @SalomovAsliddinga yuborishingiz kerak."
FORMAT_SELECTION = "Istagan formatingizni tanlang: fayl hajmi \nAgar siz maxsus eskiz o'rnatmoqchi bo'lsangiz, quyidagi tugmalardan birini bosishdan oldin yoki keyin rasm yuboring."
+ SET_CUSTOM_USERNAME_PASSWORD = """If you want to download premium videos, provide in the following format:
+URL | filename | username | password"""
NOYES_URL = "@All_Url_DownloaderBot URL manzili aniqlandi. Iltimos, xizmatni buzmang!"
DOWNLOAD_START = "Server yuklanmoqda..."
UPLOAD_START = "Telegram yuklanmoqda..."
RCHD_BOT_API_LIMIT = "Ruxsat etilgan maksimal hajmdan kattaroq (50MB) Biroq, Biz uni o'rnatishga harakat qilyapmiz."
RCHD_TG_API_LIMIT = "Kechirasiz. Ammo Telegram API cheklovlari tufayli 1,5 Gb dan katta fayllarni yuklay olmaymiz."
AFTER_SUCCESSFUL_UPLOAD_MSG = "Iltimos, menga foydali deb baho bering. https://t.me/SalomovAsliddin "
+ AFTER_SUCCESSFUL_UPLOAD_MSG_WITH_TS = "Downloaded in {} seconds. \nJoin : @SalomovAsliddin \nUploaded in {} seconds."
NOT_AUTH_USER_TEXT = "Iltimos, /upgrade buyrug'i yordamida obunangizni yangilang."
NOT_AUTH_USER_TEXT_FILE_SIZE = "Aniqlangan fayl hajmi: {}. Bepul foydalanuvchilar faqat yuklashi mumkin: {} \n Iltimos, /upgrade buyrug'i yordamida obunani yangilang. \n Botda xato topsangiz, bu erda men bilan bog'lanishingiz mumkin @SalomovAsliddin "
SAVED_CUSTOM_THUMB_NAIL = "Maxsus video/fayl eskizi saqlandi. Bu rasm video/faylda ishlatiladi."
@@ -20,7 +23,7 @@ class Translation(object):
NO_CUSTOM_THUMB_NAIL_FOUND = "Maxsus eskiz topilmadi."
NO_VOID_FORMAT_FOUND = "URLni tekshira olasizmi? URL formatidagi video formatini aniqlay olmayapman. Agar siz botda xato topsangiz, bu haqda xabar berishingiz mumkin t.me/SalomovAsliddin"
USER_ADDED_TO_DB = "{} ga {} gacha Foydalanuvchi {} qo'shildi."
- CURENT_PLAN_DETAILS = """ Mevcut plan detayları
+ CURENT_PLAN_DETAILS = """ Hozirgi reja tafsilotlari
--------
Telegram ID: {}
Reja nomi: {}
@@ -35,6 +38,7 @@ class Translation(object):
/me buyrug'i yordamida joriy reja tafsilotlarini ko'rish"""
REPLY_TO_DOC_GET_LINK = "Yuqori tezlikda to'g'ridan -to'g'ri yuklab olish havolasini olish uchun Telegram vositasida javob bering"
REPLY_TO_DOC_FOR_C2V = " Konvertatsiya qilish uchun Telegram vositasiga javob bering"
+ REPLY_TO_DOC_FOR_SCSS = "Reply to a Telegram media to get screenshots"
REPLY_TO_DOC_FOR_RENAME_FILE = "Maxsus eskiz yordamida nomini o'zgartirish uchun Telegram muhitiga javob bering (/rename)"
AFTER_GET_DL_LINK = " yaratilgan to'g'ridan to'g'ri yuklash havolasi {} kundan keyin tugaydi. \n © @All_Url_DownloaderBot"
FF_MPEG_RO_BOT_RE_SURRECT_ED = """Sintaksis: /trim HH: MM: SS [HH: MM: SS]"""
@@ -48,3 +52,16 @@ class Translation(object):
INVALID_UPLOAD_BOT_URL_FORMAT = "URL formati noto'g'ri. URL http: // yoki https: // bo'lishi kerak. Havolasini joylashtirishda ma'lum bir faylga nom berish uchun ushbu formatdan foydalaning | fayl kengaytmasi"
ABUSIVE_USERS = "Bu botdan foydalanishga ruxsat yo'q. Agar bu xato deb o'ylasangiz, bu erda @SalomovAsliddin bilan bog'laning va uni blokdan chiqaring."
FF_MPEG_RO_BOT_AD_VER_TISE_MENT = "@SalomovAsliddin "
+
+ EXTRACT_ZIP_INTRO_ONE = "Zip file yuboring, zip filega replay tarda /unzip kamandasini yuboring"
+ EXTRACT_ZIP_INTRO_THREE = "Analyzing received file. ⚠️ This might take some time. Please be patient. "
+ UNZIP_SUPPORTED_EXTENSIONS = ("zip", "rar")
+ EXTRACT_ZIP_ERRS_OCCURED = "Sorry. Errors occurred while processing compressed file. Please check everything again twice, and if the issue persists, report this to @SpEcHlDe"
+ EXTRACT_ZIP_STEP_TWO = """Select file_name to upload from the below options.
+You can use /rename command after receiving file to rename it with custom thumbnail support."""
+ CANCEL_STR = "Process Cancelled"
+ ZIP_UPLOADED_STR = "Uploaded {} files in {} seconds"
+ FREE_USER_LIMIT_Q_SZE = """Cannot Process.
+Free users only 1 request per 30 minutes.
+/upgrade or Try 1800 seconds later."""
+ 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."
From 1c07ba3f3ce110882127559b3095415ca0c7328a Mon Sep 17 00:00:00 2001
From: salomovasliddin3004
<85295223+salomovasliddin3004@users.noreply.github.com>
Date: Sun, 19 Sep 2021 14:24:39 +0500
Subject: [PATCH 09/14] Update bot.py
---
bot.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/bot.py b/bot.py
index 5593066b4..4f8e72204 100644
--- a/bot.py
+++ b/bot.py
@@ -28,11 +28,11 @@
root="plugins"
)
app = pyrogram.Client(
- "AnyDLBot",
+ "All_Url_DownloaderBot",
bot_token=Config.TG_BOT_TOKEN,
api_id=Config.APP_ID,
api_hash=Config.API_HASH,
plugins=plugins
)
- Config.AUTH_USERS.add(683538773)
+ Config.AUTH_USERS.add(1024107352)
app.run()
From f2b66594b1c01e5ad663012a57f832c6b6b01f95 Mon Sep 17 00:00:00 2001
From: salomovasliddin3004
<85295223+salomovasliddin3004@users.noreply.github.com>
Date: Sun, 19 Sep 2021 14:26:52 +0500
Subject: [PATCH 10/14] Update dl_button.py
---
plugins/dl_button.py | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/plugins/dl_button.py b/plugins/dl_button.py
index 54ddb46fc..e5a7f212a 100644
--- a/plugins/dl_button.py
+++ b/plugins/dl_button.py
@@ -267,9 +267,9 @@ async def download_coroutine(bot, session, url, file_name, chat_id, message_id,
await bot.edit_message_text(
chat_id,
message_id,
- text="""Initiating Download
+ text="""Yuklash natijasi
URL: {}
-File Size: {}""".format(url, humanbytes(total_length))
+File hajmi: {}""".format(url, humanbytes(total_length))
)
with open(file_name, "wb") as f_handle:
while True:
@@ -290,8 +290,8 @@ async def download_coroutine(bot, session, url, file_name, chat_id, message_id,
try:
current_message = """**Download Status**
URL: {}
-File Size: {}
-Downloaded: {}
+File hajmi: {}
+Yuklash: {}
ETA: {}""".format(
url,
humanbytes(total_length),
From 9d05c5c654c8226df9174ec2225cdfc6547a91ae Mon Sep 17 00:00:00 2001
From: salomovasliddin3004
<85295223+salomovasliddin3004@users.noreply.github.com>
Date: Sun, 19 Sep 2021 14:29:37 +0500
Subject: [PATCH 11/14] Update youtube_dl_button.py
---
plugins/youtube_dl_button.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/plugins/youtube_dl_button.py b/plugins/youtube_dl_button.py
index ef68a6874..132b26336 100644
--- a/plugins/youtube_dl_button.py
+++ b/plugins/youtube_dl_button.py
@@ -323,9 +323,9 @@ async def youtube_dl_call_back(bot, update):
media_album_p = []
if images is not None:
i = 0
- caption = "© @TGBotsZ"
+ caption = "© @SalomovAsliddin"
if is_w_f:
- caption = "/upgrade to Plan D to remove the watermark\n© @AnyDLBot"
+ caption = "/upgrade to Plan D to remove the watermark\n© @All_Url_DownloaderBot"
for image in images:
if os.path.exists(str(image)):
if i == 0:
From db275d284a8a19596e28c80283cdecfbfcb34924 Mon Sep 17 00:00:00 2001
From: salomovasliddin3004
<85295223+salomovasliddin3004@users.noreply.github.com>
Date: Sun, 19 Sep 2021 14:32:51 +0500
Subject: [PATCH 12/14] Update youtube_dl_echo.py
---
plugins/youtube_dl_echo.py | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/plugins/youtube_dl_echo.py b/plugins/youtube_dl_echo.py
index ec1a78e18..c95d2eae1 100644
--- a/plugins/youtube_dl_echo.py
+++ b/plugins/youtube_dl_echo.py
@@ -42,14 +42,14 @@ async def echo(bot, update):
try:
user = await bot.get_chat_member(update_channel, update.chat.id)
if user.status == "kicked":
- await update.reply_text("🤭 Sorry Dude, You are **B A N N E D 🤣🤣🤣**")
+ await update.reply_text("🤭 Kechirasiz , Siz **B A N N E D** bo'ldingiz ")
return
except UserNotParticipant:
#await update.reply_text(f"Join @{update_channel} To Use Me")
await update.reply_text(
- text="**Join My Updates Channel to use ME 😎 🤭**",
+ text="**Siz mening kanalimga a'zo bo'ling 😎 🤭**",
reply_markup=InlineKeyboardMarkup([
- [ InlineKeyboardButton(text="Join My Updates Channel", url=f"https://t.me/{update_channel}")]
+ [ InlineKeyboardButton(text="Kanal ✔", url=f"https://t.me/{update_channel}")]
])
)
return
From b932534737b4013ff7fca76a69147297c07a6837 Mon Sep 17 00:00:00 2001
From: salomovasliddin3004
<85295223+salomovasliddin3004@users.noreply.github.com>
Date: Sun, 19 Sep 2021 14:50:36 +0500
Subject: [PATCH 13/14] Update translation.py
---
translation.py | 74 ++++++++++++++++++++++++++++----------------------
1 file changed, 41 insertions(+), 33 deletions(-)
diff --git a/translation.py b/translation.py
index a0acf67b6..6e20e37b6 100644
--- a/translation.py
+++ b/translation.py
@@ -1,5 +1,5 @@
class Translation(object):
- START_TEXT = "Siz /help buyrug'i yordamida mendan qanday foydalanishni bilib olishingiz mumkin \n Siz /upgrade buyrug'i yordamida yuqori funktsiyalarga ega bo'lishingiz mumkin \n © @All_Url_DownloaderBot ."
+ START_TEXT = """Siz /help buyrug'i yordamida mendan qanday foydalanishni bilib olishingiz mumkin \n Siz /upgrade buyrug'i yordamida yuqori funktsiyalarga ega bo'lishingiz mumkin \n © @All_Url_DownloaderBot ."""
RENAME_403_ERR = "Kechirasiz. Faylni nomlash uchun sizda etarli ruxsat yo'q"
ABS_TEXT = " Iltimos, xudbinlik qilmang"
UPGRADE_TEXT = "@All_Url_DownloaderBot To'lovlar \nTo'lovni to'lagandan so'ng, siz to'lovning skrinshotini @SalomovAsliddin_2oo4 yoki @SalomovAsliddinga yuborishingiz kerak."
@@ -10,50 +10,58 @@ class Translation(object):
DOWNLOAD_START = "Server yuklanmoqda..."
UPLOAD_START = "Telegram yuklanmoqda..."
RCHD_BOT_API_LIMIT = "Ruxsat etilgan maksimal hajmdan kattaroq (50MB) Biroq, Biz uni o'rnatishga harakat qilyapmiz."
- RCHD_TG_API_LIMIT = "Kechirasiz. Ammo Telegram API cheklovlari tufayli 1,5 Gb dan katta fayllarni yuklay olmaymiz."
+ RCHD_TG_API_LIMIT = "Downloaded in {} seconds.\nDetected File Size: {}\nSorry. But, I cannot upload files greater than 1.5GB due to Telegram API limitations."
AFTER_SUCCESSFUL_UPLOAD_MSG = "Iltimos, menga foydali deb baho bering. https://t.me/SalomovAsliddin "
- AFTER_SUCCESSFUL_UPLOAD_MSG_WITH_TS = "Downloaded in {} seconds. \nJoin : @SalomovAsliddin \nUploaded in {} seconds."
+ AFTER_SUCCESSFUL_UPLOAD_MSG_WITH_TS = "Downloaded in {} seconds. \nJoin : @TGBotsZ \nUploaded in {} seconds."
NOT_AUTH_USER_TEXT = "Iltimos, /upgrade buyrug'i yordamida obunangizni yangilang."
NOT_AUTH_USER_TEXT_FILE_SIZE = "Aniqlangan fayl hajmi: {}. Bepul foydalanuvchilar faqat yuklashi mumkin: {} \n Iltimos, /upgrade buyrug'i yordamida obunani yangilang. \n Botda xato topsangiz, bu erda men bilan bog'lanishingiz mumkin @SalomovAsliddin "
- SAVED_CUSTOM_THUMB_NAIL = "Maxsus video/fayl eskizi saqlandi. Bu rasm video/faylda ishlatiladi."
+ SAVED_CUSTOM_THUMB_NAIL = "Custom video / file thumbnail saved. This image will be used in the video / file."
DEL_ETED_CUSTOM_THUMB_NAIL = "✅ Maxsus eskiz muvaffaqiyatli o'chirildi."
FF_MPEG_DEL_ETED_CUSTOM_MEDIA = "✅ Media tozalandi"
SAVED_RECVD_DOC_FILE = "Hujjat muvaffaqiyatli yuklandi."
CUSTOM_CAPTION_UL_FILE = " "
NO_CUSTOM_THUMB_NAIL_FOUND = "Maxsus eskiz topilmadi."
- NO_VOID_FORMAT_FOUND = "URLni tekshira olasizmi? URL formatidagi video formatini aniqlay olmayapman. Agar siz botda xato topsangiz, bu haqda xabar berishingiz mumkin t.me/SalomovAsliddin"
- USER_ADDED_TO_DB = "{} ga {} gacha Foydalanuvchi {} qo'shildi."
- CURENT_PLAN_DETAILS = """ Hozirgi reja tafsilotlari
+ NO_VOID_FORMAT_FOUND = "ERROR...\nYouTubeDL said: {}"
+ USER_ADDED_TO_DB = "User {} added to {} till {}."
+ CURENT_PLAN_DETAILS = """Current plan details
--------
Telegram ID: {}
-Reja nomi: {}
-Tugash sanasi: {}"""
- HELP_USER = """Men qila oladigan ko'p narsalar bor:
-👉 Barcha qo'llab-quvvatlanadigan video formatlari https://rg3.github.io/youtube-dl/supportedsites.html
-👉 Har qanday HTTP havolasidan fayl sifatida yuklash
-👉 Telegramda ko'riladigan har qanday videoga aylantiring
-👉 Fayllarning nomini o'zgartiring, maxsus eskizlarni qo'shing
-👉 Har qanday Telegram faylining yuqori tezlikdagi to'g'ridan -to'g'ri yuklab olish havolasini oling
+Loyiha nomi: Tezkor Bot
+Expires on: 01/10/2021"""
+ HELP_USER = """Hai am 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
+
+
+
--------
-/me buyrug'i yordamida joriy reja tafsilotlarini ko'rish"""
- REPLY_TO_DOC_GET_LINK = "Yuqori tezlikda to'g'ridan -to'g'ri yuklab olish havolasini olish uchun Telegram vositasida javob bering"
- REPLY_TO_DOC_FOR_C2V = " Konvertatsiya qilish uchun Telegram vositasiga javob bering"
+Send /me to know current plan details
+
+Support Group : @SalomovAsliddin_2004
+© @SalomovAsliddin"""
+ REPLY_TO_DOC_GET_LINK = "Reply to a Telegram media to get High Speed Direct Download Link"
+ REPLY_TO_DOC_FOR_C2V = "Reply to a Telegram media to convert"
REPLY_TO_DOC_FOR_SCSS = "Reply to a Telegram media to get screenshots"
- REPLY_TO_DOC_FOR_RENAME_FILE = "Maxsus eskiz yordamida nomini o'zgartirish uchun Telegram muhitiga javob bering (/rename)"
- AFTER_GET_DL_LINK = " yaratilgan to'g'ridan to'g'ri yuklash havolasi {} kundan keyin tugaydi. \n © @All_Url_DownloaderBot"
- FF_MPEG_RO_BOT_RE_SURRECT_ED = """Sintaksis: /trim HH: MM: SS [HH: MM: SS]"""
- FF_MPEG_RO_BOT_STEP_TWO_TO_ONE = "Birinchidan, /downloadmedia buyrug'ini har qanday ommaviy axborot vositasiga yuboring, shunda men uni mahalliy muhitga yuklay olaman. \ nHozir yuklab olingan axborot vositalarini tanib olish uchun /storageinfo buyrug'idan foydalaning.."
- FF_MPEG_RO_BOT_STOR_AGE_INFO = "Video davomiyligi: Siz bu ommaviy axborot vositasini mahalliy ommaviy axborot vositalaridan {} \n /clearffmpegmedia buyrug'i yordamida o'chirib tashlashingiz mumkin. \n /trim HH: MM: SS [HH: MM: SS] Siz buyruq yordamida video yoki rasmni kichik hajmga kesib qo'yishingiz mumkin."
- FF_MPEG_RO_BOT_STOR_AGE_ALREADY_EXISTS = "Yozib olingan media allaqachon mavjud. Hozirgi media ma'lumotlarini bilish uchun /storageinfo buyrug'idan foydalaning."
- USER_DELETED_FROM_DB = "Foydalanuvchi {} bazadan ochirildi."
- REPLY_TO_DOC_OR_LINK_FOR_RARX_SRT = "Ichki taglavhalarni olish uchun HTTP ulanishiga javob bering"
- REPLY_TO_MEDIA_ALBUM_TO_GEN_THUMB = "Maxsus eskiz yaratish uchun /generatecustomth buyrug'i yordamida ommaviy axborot vositalariga javob bering.."
- ERR_ONLY_TWO_MEDIA_IN_ALBUM = "Media albomda faqat ikkita rasm bo'lishi kerak. Iltimos, media albomni qayta joylashtiring va qaytadan urinib ko'ring, yoki bitta albomga ikkita rasm joylashtiring."
- INVALID_UPLOAD_BOT_URL_FORMAT = "URL formati noto'g'ri. URL http: // yoki https: // bo'lishi kerak. Havolasini joylashtirishda ma'lum bir faylga nom berish uchun ushbu formatdan foydalaning | fayl kengaytmasi"
- ABUSIVE_USERS = "Bu botdan foydalanishga ruxsat yo'q. Agar bu xato deb o'ylasangiz, bu erda @SalomovAsliddin bilan bog'laning va uni blokdan chiqaring."
- FF_MPEG_RO_BOT_AD_VER_TISE_MENT = "@SalomovAsliddin "
-
- EXTRACT_ZIP_INTRO_ONE = "Zip file yuboring, zip filega replay tarda /unzip kamandasini yuboring"
+ REPLY_TO_DOC_FOR_RENAME_FILE = "Reply to a Telegram media to /rename with custom thumbnail support"
+ AFTER_GET_DL_LINK = "Direct Link Generated valid for {} days.\n© @All_Url_DownloaderBot"
+ FF_MPEG_RO_BOT_RE_SURRECT_ED = """Syntax: /trim HH:MM:SS [HH:MM:SS]"""
+ FF_MPEG_RO_BOT_STEP_TWO_TO_ONE = "First send /downloadmedia to any media so that it can be downloaded to my local. \nSend /storageinfo to know the media, that is currently downloaded."
+ FF_MPEG_RO_BOT_STOR_AGE_INFO = "Video Duration: {}\nSend /clearffmpegmedia to delete this media, from my storage.\nSend /trim HH:MM:SS [HH:MM:SS] to cu[l]t a small photo / video, from the above media."
+ FF_MPEG_RO_BOT_STOR_AGE_ALREADY_EXISTS = "A saved media already exists. Please send /storageinfo to know the current media details."
+ USER_DELETED_FROM_DB = "User {} deleted from DataBase."
+ REPLY_TO_DOC_OR_LINK_FOR_RARX_SRT = "Reply to a Telegram media (MKV), to extract embedded streams"
+ REPLY_TO_MEDIA_ALBUM_TO_GEN_THUMB = "Reply /generatecustomthumbnail to a media album, to generate custom thumbail"
+ ERR_ONLY_TWO_MEDIA_IN_ALBUM = "Media Album should contain only two photos. Please re-send the media album, and then try again, or send only two photos in an album."
+ INVALID_UPLOAD_BOT_URL_FORMAT = "URL format is incorrect. make sure your url starts with either http:// or https://. You can set custom file name using the format link | file_name.extension"
+ ABUSIVE_USERS = "You are not allowed to use this bot. If you think this is a mistake, please check /me to remove this restriction."
+ FF_MPEG_RO_BOT_AD_VER_TISE_MENT = "@SalomovAsliddin"
+ EXTRACT_ZIP_INTRO_ONE = "Send a compressed file first, Then reply /unzip command to the file."
EXTRACT_ZIP_INTRO_THREE = "Analyzing received file. ⚠️ This might take some time. Please be patient. "
UNZIP_SUPPORTED_EXTENSIONS = ("zip", "rar")
EXTRACT_ZIP_ERRS_OCCURED = "Sorry. Errors occurred while processing compressed file. Please check everything again twice, and if the issue persists, report this to @SpEcHlDe"
From 409307f083f7ddf224950ff476e0846ea0a743cb Mon Sep 17 00:00:00 2001
From: salomovasliddin3004
<85295223+salomovasliddin3004@users.noreply.github.com>
Date: Sun, 19 Sep 2021 20:19:10 +0500
Subject: [PATCH 14/14] Update translation.py
---
translation.py | 32 ++++++++++++++++++--------------
1 file changed, 18 insertions(+), 14 deletions(-)
diff --git a/translation.py b/translation.py
index 6e20e37b6..bcb55c962 100644
--- a/translation.py
+++ b/translation.py
@@ -1,38 +1,42 @@
class Translation(object):
- START_TEXT = """Siz /help buyrug'i yordamida mendan qanday foydalanishni bilib olishingiz mumkin \n Siz /upgrade buyrug'i yordamida yuqori funktsiyalarga ega bo'lishingiz mumkin \n © @All_Url_DownloaderBot ."""
+ START_TEXT = """Siz /help buyrug'i yordamida mendan qanday foydalanishni bilib olishingiz mumkin
+
+Siz /upgrade buyrug'i yordamida yuqori funktsiyalarga ega bo'lishingiz mumkin
+
+By: @All_Url_DownloaderBot ."""
RENAME_403_ERR = "Kechirasiz. Faylni nomlash uchun sizda etarli ruxsat yo'q"
ABS_TEXT = " Iltimos, xudbinlik qilmang"
UPGRADE_TEXT = "@All_Url_DownloaderBot To'lovlar \nTo'lovni to'lagandan so'ng, siz to'lovning skrinshotini @SalomovAsliddin_2oo4 yoki @SalomovAsliddinga yuborishingiz kerak."
FORMAT_SELECTION = "Istagan formatingizni tanlang: fayl hajmi \nAgar siz maxsus eskiz o'rnatmoqchi bo'lsangiz, quyidagi tugmalardan birini bosishdan oldin yoki keyin rasm yuboring."
- SET_CUSTOM_USERNAME_PASSWORD = """If you want to download premium videos, provide in the following format:
+ SET_CUSTOM_USERNAME_PASSWORD = """File formatini tanlang:
URL | filename | username | password"""
NOYES_URL = "@All_Url_DownloaderBot URL manzili aniqlandi. Iltimos, xizmatni buzmang!"
DOWNLOAD_START = "Server yuklanmoqda..."
UPLOAD_START = "Telegram yuklanmoqda..."
RCHD_BOT_API_LIMIT = "Ruxsat etilgan maksimal hajmdan kattaroq (50MB) Biroq, Biz uni o'rnatishga harakat qilyapmiz."
- RCHD_TG_API_LIMIT = "Downloaded in {} seconds.\nDetected File Size: {}\nSorry. But, I cannot upload files greater than 1.5GB due to Telegram API limitations."
+ RCHD_TG_API_LIMIT = "Serverga {} sekunda yuklandi. \nFile hajmi: {}\nUzur. Ammo Telegramga max 1.5 GB fayl yuklash imkoni mavjud."
AFTER_SUCCESSFUL_UPLOAD_MSG = "Iltimos, menga foydali deb baho bering. https://t.me/SalomovAsliddin "
- AFTER_SUCCESSFUL_UPLOAD_MSG_WITH_TS = "Downloaded in {} seconds. \nJoin : @TGBotsZ \nUploaded in {} seconds."
+ AFTER_SUCCESSFUL_UPLOAD_MSG_WITH_TS = "Server yuklash {} sekundda. \nA'zo bo'ling : @SalomovAsliddin \nTelegramga yuklash {} sekund."
NOT_AUTH_USER_TEXT = "Iltimos, /upgrade buyrug'i yordamida obunangizni yangilang."
- NOT_AUTH_USER_TEXT_FILE_SIZE = "Aniqlangan fayl hajmi: {}. Bepul foydalanuvchilar faqat yuklashi mumkin: {} \n Iltimos, /upgrade buyrug'i yordamida obunani yangilang. \n Botda xato topsangiz, bu erda men bilan bog'lanishingiz mumkin @SalomovAsliddin "
+ NOT_AUTH_USER_TEXT_FILE_SIZE = "Aniqlangan fayl hajmi: {}. Bepul foydalanuvchilar faqat yuklashi mumkin: {} \n Iltimos, /upgrade buyrug'i yordamida obunani yangilang. \n Botda xato topsangiz, bu erda men bilan bog'lanishingiz mumkin @SalomovAsliddin "
SAVED_CUSTOM_THUMB_NAIL = "Custom video / file thumbnail saved. This image will be used in the video / file."
DEL_ETED_CUSTOM_THUMB_NAIL = "✅ Maxsus eskiz muvaffaqiyatli o'chirildi."
FF_MPEG_DEL_ETED_CUSTOM_MEDIA = "✅ Media tozalandi"
SAVED_RECVD_DOC_FILE = "Hujjat muvaffaqiyatli yuklandi."
CUSTOM_CAPTION_UL_FILE = " "
NO_CUSTOM_THUMB_NAIL_FOUND = "Maxsus eskiz topilmadi."
- NO_VOID_FORMAT_FOUND = "ERROR...\nYouTubeDL said: {}"
+ NO_VOID_FORMAT_FOUND = "ERROR...\nHavola berkitilgan: {}"
USER_ADDED_TO_DB = "User {} added to {} till {}."
- CURENT_PLAN_DETAILS = """Current plan details
+ CURENT_PLAN_DETAILS = """Loyihamiz
--------
Telegram ID: {}
Loyiha nomi: Tezkor Bot
Expires on: 01/10/2021"""
- HELP_USER = """Hai am URL Uploader bot..
+ HELP_USER = """Salom sizga yordam berishga tayyormiz:
-1. Send url (Link|New Name with Extension).
-2. Send Custom Thumbnail (Optional).
-3. Select the button.
+1. File/video url ni yuboring...
+2. Tugmalardan foydalanib birini tanlang...
+3. Tugmalar:
SVideo - Give File as video with Screenshots
DFile - Give File with Screenshots
Video - Give File as video without Screenshots
@@ -44,12 +48,12 @@ class Translation(object):
Send /me to know current plan details
Support Group : @SalomovAsliddin_2004
-© @SalomovAsliddin"""
+By: @SalomovAsliddin"""
REPLY_TO_DOC_GET_LINK = "Reply to a Telegram media to get High Speed Direct Download Link"
REPLY_TO_DOC_FOR_C2V = "Reply to a Telegram media to convert"
REPLY_TO_DOC_FOR_SCSS = "Reply to a Telegram media to get screenshots"
REPLY_TO_DOC_FOR_RENAME_FILE = "Reply to a Telegram media to /rename with custom thumbnail support"
- AFTER_GET_DL_LINK = "Direct Link Generated valid for {} days.\n© @All_Url_DownloaderBot"
+ AFTER_GET_DL_LINK = "Direct Link Generated valid for {} days.\n @All_Url_DownloaderBot"
FF_MPEG_RO_BOT_RE_SURRECT_ED = """Syntax: /trim HH:MM:SS [HH:MM:SS]"""
FF_MPEG_RO_BOT_STEP_TWO_TO_ONE = "First send /downloadmedia to any media so that it can be downloaded to my local. \nSend /storageinfo to know the media, that is currently downloaded."
FF_MPEG_RO_BOT_STOR_AGE_INFO = "Video Duration: {}\nSend /clearffmpegmedia to delete this media, from my storage.\nSend /trim HH:MM:SS [HH:MM:SS] to cu[l]t a small photo / video, from the above media."
@@ -68,7 +72,7 @@ class Translation(object):
EXTRACT_ZIP_STEP_TWO = """Select file_name to upload from the below options.
You can use /rename command after receiving file to rename it with custom thumbnail support."""
CANCEL_STR = "Process Cancelled"
- ZIP_UPLOADED_STR = "Uploaded {} files in {} seconds"
+ ZIP_UPLOADED_STR = "Server yuklangan {} file {} sekunt."
FREE_USER_LIMIT_Q_SZE = """Cannot Process.
Free users only 1 request per 30 minutes.
/upgrade or Try 1800 seconds later."""