@@ -154,13 +154,13 @@ void ConfirmApproval(
154154 ? tr::lng_suggest_accept_text (
155155 tr::now,
156156 lt_from,
157- Ui::Text::Bold (item->from ()->shortName ()),
158- Ui::Text::WithEntities )
157+ tr::bold (item->from ()->shortName ()),
158+ tr::marked )
159159 : tr::lng_suggest_accept_text_to (
160160 tr::now,
161161 lt_channel,
162- Ui::Text::Bold (channelName),
163- Ui::Text::WithEntities );
162+ tr::bold (channelName),
163+ tr::marked );
164164 if (price) {
165165 text.append (" \n\n " ).append (admin
166166 ? (scheduleDate
@@ -171,23 +171,23 @@ void ConfirmApproval(
171171 lt_count_decimal,
172172 amount.value (),
173173 lt_channel,
174- Ui::Text::Bold (channelName),
174+ tr::bold (channelName),
175175 lt_percent,
176176 TextWithEntities{ commission },
177177 lt_date,
178- Ui::Text::Bold (date),
179- Ui::Text::RichLangValue )
178+ tr::bold (date),
179+ tr::rich )
180180 : (amount.stars ()
181181 ? tr::lng_suggest_accept_receive_now_stars
182182 : tr::lng_suggest_accept_receive_now_ton)(
183183 tr::now,
184184 lt_count_decimal,
185185 amount.value (),
186186 lt_channel,
187- Ui::Text::Bold (channelName),
187+ tr::bold (channelName),
188188 lt_percent,
189189 TextWithEntities{ commission },
190- Ui::Text::RichLangValue ))
190+ tr::rich ))
191191 : (scheduleDate
192192 ? (amount.stars ()
193193 ? tr::lng_suggest_accept_pay_stars
@@ -196,25 +196,25 @@ void ConfirmApproval(
196196 lt_count_decimal,
197197 amount.value (),
198198 lt_date,
199- Ui::Text::Bold (date),
200- Ui::Text::RichLangValue )
199+ tr::bold (date),
200+ tr::rich )
201201 : (amount.stars ()
202202 ? tr::lng_suggest_accept_pay_now_stars
203203 : tr::lng_suggest_accept_pay_now_ton)(
204204 tr::now,
205205 lt_count_decimal,
206206 amount.value (),
207- Ui::Text::RichLangValue )));
207+ tr::rich )));
208208 if (admin) {
209209 text.append (' ' ).append (
210210 tr::lng_suggest_accept_receive_if (
211211 tr::now,
212- Ui::Text::RichLangValue ));
212+ tr::rich ));
213213 if (price.stars ()) {
214214 text.append (" \n\n " ).append (
215215 tr::lng_suggest_options_stars_warning (
216216 tr::now,
217- Ui::Text::RichLangValue ));
217+ tr::rich ));
218218 }
219219 }
220220 }
@@ -321,12 +321,12 @@ void RequestDeclineComment(
321321 .text = (admin
322322 ? tr::lng_suggest_decline_text (
323323 lt_from,
324- rpl::single (Ui::Text::Bold (item->from ()->shortName ())),
325- Ui::Text::WithEntities )
324+ rpl::single (tr::bold (item->from ()->shortName ())),
325+ tr::marked )
326326 : tr::lng_suggest_decline_text_to (
327327 lt_channel,
328- rpl::single (Ui::Text::Bold (channelName)),
329- Ui::Text::WithEntities )),
328+ rpl::single (tr::bold (channelName)),
329+ tr::marked )),
330330 .confirmed = [=](Fn<void ()> close) { (*callback)(); close (); },
331331 .confirmText = tr::lng_suggest_action_decline (),
332332 .confirmStyle = &st::attentionBoxButton,
0 commit comments