2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-09-04 00:15:42 +00:00

Separate phrase for paid messages placeholder.

This commit is contained in:
John Preston
2025-07-01 22:10:14 +04:00
parent 0f0e14132a
commit c3cc3fa9bd
4 changed files with 11 additions and 16 deletions

View File

@@ -6107,11 +6107,9 @@ void HistoryWidget::updateFieldPlaceholder() {
&& !_keyboard->placeholder().isEmpty()) {
return rpl::single(_keyboard->placeholder());
} else if (const auto stars = peer->starsPerMessageChecked()) {
return tr::lng_message_paid_ph(
lt_amount,
tr::lng_prize_credits_amount(
lt_count,
rpl::single(stars * 1.)));
return tr::lng_message_stars_ph(
lt_count,
rpl::single(stars * 1.));
} else if (const auto channel = peer->asChannel()) {
const auto topic = resolveReplyToTopic();
const auto topicRootId = topic