diff --git a/hikka/langpacks/de.yml b/hikka/langpacks/de.yml index a92b1be..8022030 100644 --- a/hikka/langpacks/de.yml +++ b/hikka/langpacks/de.yml @@ -415,7 +415,7 @@ heroku_info: description: "ℹ Dies wird keine persönlichen Informationen preisgeben" _ihandle_doc_info: "Sende Informationen zum Userbot" up-to-date: "😌 Aktuelle Version" - update_required: "😕 Update erforderlich .update" + update_required: "😕 Update erforderlich {prefix}update" _cfg_cst_msg: "Benutzerdefinierter Nachrichtentext in info. Kann Schlüsselwörter {me}, {version}, {build}, {prefix}, {platform}, {upd}, {uptime}, {cpu_usage}, {ram_usage}, {branch} enthalten" _cfg_cst_btn: "Benutzerdefinierte Schaltfläche in der Nachricht in info. Lasse es leer, um die Schaltfläche zu entfernen" _cfg_banner: "Link zum Banner-Bild" diff --git a/hikka/langpacks/en.yml b/hikka/langpacks/en.yml index d1ed859..4d903aa 100644 --- a/hikka/langpacks/en.yml +++ b/hikka/langpacks/en.yml @@ -438,7 +438,7 @@ heroku_info: send_info: "Send userbot info" description: "ℹ This will not compromise any sensitive info" up-to-date: "😌 Up-to-date" - update_required: "😕 Update required .update" + update_required: "😕 Update required {prefix}update" setinfo_no_args: "😢 You need to specify text to change info to" setinfo_success: "🎉 Info changed successfully" _cfg_cst_msg: "Custom message for info. May contain {me}, {version}, {build}, {prefix}, {platform}, {upd}, {uptime}, {cpu_usage}, {ram_usage}, {branch} keywords" diff --git a/hikka/langpacks/ru.yml b/hikka/langpacks/ru.yml index d44e25f..de7ccde 100644 --- a/hikka/langpacks/ru.yml +++ b/hikka/langpacks/ru.yml @@ -406,7 +406,7 @@ heroku_info: description: "ℹ Это не раскроет никакой личной информации" _ihandle_doc_info: "Отправить информацию о юзерботе" up-to-date: "😌 Актуальная версия" - update_required: "😕 Требуется обновление .update" + update_required: "😕 Требуется обновление {prefix}update" _cfg_cst_msg: "Кастомный текст сообщения в info. Может содержать ключевые слова {me}, {version}, {build}, {prefix}, {platform}, {upd}, {uptime}, {cpu_usage}, {ram_usage}, {branch}" _cfg_cst_btn: "Кастомная кнопка в сообщении в info. Оставь пустым, чтобы убрать кнопку" _cfg_banner: "Ссылка на баннер-картинку" diff --git a/hikka/langpacks/ua.yml b/hikka/langpacks/ua.yml index 26b9444..b10628a 100644 --- a/hikka/langpacks/ua.yml +++ b/hikka/langpacks/ua.yml @@ -415,7 +415,7 @@ heroku_info: description: "ℹ Це не розкриє жодної особистої інформації" _ihandle_doc_info: "Надіслати інформацію про юзербота" up-to-date: "😌 Актуальна версія" - update_required: "😕 Потрібне оновлення .update" + update_required: "😕 Потрібне оновлення {prefix}update" _cfg_cst_msg: "Кастомний текст повідомлення в info. Може містити ключові слова {me}, {version}, {build}, {prefix}, {platform}, {upd}, {uptime}, {cpu_usage}, {ram_usage}, {branch}" _cfg_cst_btn: "Кастомна кнопка в повідомленні в info. Залиш порожнім, щоб прибрати кнопку" _cfg_banner: "Посилання на банер-картинку" diff --git a/hikka/modules/heroku_info.py b/hikka/modules/heroku_info.py index a36c352..242804a 100644 --- a/hikka/modules/heroku_info.py +++ b/hikka/modules/heroku_info.py @@ -45,7 +45,7 @@ class HerokuInfoMod(loader.Module): repo = git.Repo(search_parent_directories=True) diff = repo.git.log([f"HEAD..origin/{version.branch}", "--oneline"]) upd = ( - self.strings("update_required") if diff else self.strings("up-to-date") + self.strings("update_required").format(prefix=self.get_prefix()) if diff else self.strings("up-to-date") ) except Exception: upd = ""