Use "Open" non-upper-case.

This commit is contained in:
John Preston 2024-11-29 22:27:53 +04:00
parent 18d9484ab1
commit 0bccb35cb0
2 changed files with 2 additions and 3 deletions

View file

@ -1220,8 +1220,7 @@ void InnerWidget::paintEvent(QPaintEvent *e) {
const auto it = _rightButtons.find(user->id);
if (it == _rightButtons.end()) {
auto rightButton = RightButton();
const auto text
= tr::lng_profile_open_app_short(tr::now).toUpper();
const auto text = tr::lng_profile_open_app_short(tr::now);
rightButton.text.setText(st::dialogRowOpenBotTextStyle, text);
const auto size = QSize(
rightButton.text.maxWidth()

View file

@ -194,7 +194,7 @@ RecentRow::RecentRow(not_null<PeerData*> peer)
if (user->botInfo && user->botInfo->hasMainApp) {
return std::make_unique<Ui::Text::String>(
st::dialogRowOpenBotTextStyle,
tr::lng_profile_open_app_short(tr::now).toUpper());
tr::lng_profile_open_app_short(tr::now));
}
}
return nullptr;