diff --git a/Telegram/Resources/langs/lang.strings b/Telegram/Resources/langs/lang.strings index 0569a664c7..bdf04cba7e 100644 --- a/Telegram/Resources/langs/lang.strings +++ b/Telegram/Resources/langs/lang.strings @@ -1546,6 +1546,8 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL "lng_broadcast_ph" = "Broadcast a message..."; "lng_broadcast_silent_ph" = "Silent broadcast..."; "lng_send_anonymous_ph" = "Send anonymously..."; +"lng_send_as_title" = "Send message as..."; +"lng_send_as_anonymous_admin" = "Anonymous admin"; "lng_record_cancel" = "Release outside this field to cancel"; "lng_record_lock_cancel_sure" = "Are you sure you want to stop recording and discard your voice message?"; "lng_record_listen_cancel_sure" = "Are you sure you want to discard your recorded voice message?"; diff --git a/Telegram/SourceFiles/ui/chat/choose_send_as.cpp b/Telegram/SourceFiles/ui/chat/choose_send_as.cpp index 4b88a7a3f9..4daea99562 100644 --- a/Telegram/SourceFiles/ui/chat/choose_send_as.cpp +++ b/Telegram/SourceFiles/ui/chat/choose_send_as.cpp @@ -64,7 +64,7 @@ std::unique_ptr ListController::createRow( result->setCustomStatus( tr::lng_group_call_join_as_personal(tr::now)); } else if (peer->isMegagroup()) { - result->setCustomStatus(u"Anonymous admin"_q); + result->setCustomStatus(tr::lng_send_as_anonymous_admin(tr::now)); } else if (const auto channel = peer->asChannel()) { result->setCustomStatus(tr::lng_chat_status_subscribers( tr::now, @@ -111,7 +111,7 @@ void ChooseSendAsBox( Expects(done != nullptr); box->setWidth(st::groupCallJoinAsWidth); - box->setTitle(rpl::single(u"Send message as..."_q)); + box->setTitle(tr::lng_send_as_title()); const auto &labelSt = st::confirmPhoneAboutLabel; box->addRow(object_ptr( box,