fix: replace string

fix: update submodules
This commit is contained in:
ZavaruKitsu 2023-09-01 17:59:57 +03:00
parent 96461b91c5
commit ef60e12f19
5 changed files with 5 additions and 4 deletions

View file

@ -4175,4 +4175,5 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
"ayu_ContextCopyCallbackData" = "Copy Callback Data";
"ayu_LocalPremiumNotice" = "You're using **local** Telegram Premium.\nIt **won't** give you any benefits, except translator.\n**Enjoy the star near your nickname!**";
"ayu_SettingsWatermark" = "AyuGram developed and maintained by Radolyn Labs.";
"ayu_UpdateAyuGram" = "Update AyuGram";
"ayu_UtilityRestartRequired" = "App will close in 5 seconds.";

View file

@ -1339,7 +1339,7 @@ void Widget::checkUpdateStatus() {
}
_updateTelegram.create(
this,
tr::lng_update_telegram(tr::now),
tr::ayu_UpdateAyuGram(tr::now),
st::dialogsUpdateButton,
st::dialogsInstallUpdate,
st::dialogsInstallUpdateOver);

View file

@ -235,7 +235,7 @@ void Controller::Unsupported::setup(not_null<UserData*> user) {
_button = std::make_unique<Ui::RoundButton>(
wrap,
tr::lng_update_telegram(),
tr::ayu_UpdateAyuGram(),
st::storiesUnsupportedUpdate);
_button->setTextTransform(Ui::RoundButton::TextTransform::NoTransform);
_button->show();

View file

@ -143,7 +143,7 @@ void SetupUpdate(not_null<Ui::VerticalLayout*> container) {
st::settingsButtonNoIcon);
const auto update = Ui::CreateChild<Button>(
check.get(),
tr::lng_update_telegram(),
tr::ayu_UpdateAyuGram(),
st::settingsUpdate);
update->hide();
check->widthValue() | rpl::start_with_next([=](int width) {

@ -1 +1 @@
Subproject commit 12b4a546842f538511753827c4c601b83b280d1c
Subproject commit c5898e580de3dfb81a76d0c583af773f224d9250