mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-30 22:25:12 +00:00
Move Send As phrases to the langpack.
This commit is contained in:
@@ -1546,6 +1546,8 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
|
|||||||
"lng_broadcast_ph" = "Broadcast a message...";
|
"lng_broadcast_ph" = "Broadcast a message...";
|
||||||
"lng_broadcast_silent_ph" = "Silent broadcast...";
|
"lng_broadcast_silent_ph" = "Silent broadcast...";
|
||||||
"lng_send_anonymous_ph" = "Send anonymously...";
|
"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_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_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?";
|
"lng_record_listen_cancel_sure" = "Are you sure you want to discard your recorded voice message?";
|
||||||
|
@@ -64,7 +64,7 @@ std::unique_ptr<PeerListRow> ListController::createRow(
|
|||||||
result->setCustomStatus(
|
result->setCustomStatus(
|
||||||
tr::lng_group_call_join_as_personal(tr::now));
|
tr::lng_group_call_join_as_personal(tr::now));
|
||||||
} else if (peer->isMegagroup()) {
|
} 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()) {
|
} else if (const auto channel = peer->asChannel()) {
|
||||||
result->setCustomStatus(tr::lng_chat_status_subscribers(
|
result->setCustomStatus(tr::lng_chat_status_subscribers(
|
||||||
tr::now,
|
tr::now,
|
||||||
@@ -111,7 +111,7 @@ void ChooseSendAsBox(
|
|||||||
Expects(done != nullptr);
|
Expects(done != nullptr);
|
||||||
|
|
||||||
box->setWidth(st::groupCallJoinAsWidth);
|
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;
|
const auto &labelSt = st::confirmPhoneAboutLabel;
|
||||||
box->addRow(object_ptr<Ui::FlatLabel>(
|
box->addRow(object_ptr<Ui::FlatLabel>(
|
||||||
box,
|
box,
|
||||||
|
Reference in New Issue
Block a user