mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-29 13:39:06 +00:00
Use "Open" non-upper-case.
This commit is contained in:
parent
18d9484ab1
commit
0bccb35cb0
@ -1220,8 +1220,7 @@ void InnerWidget::paintEvent(QPaintEvent *e) {
|
|||||||
const auto it = _rightButtons.find(user->id);
|
const auto it = _rightButtons.find(user->id);
|
||||||
if (it == _rightButtons.end()) {
|
if (it == _rightButtons.end()) {
|
||||||
auto rightButton = RightButton();
|
auto rightButton = RightButton();
|
||||||
const auto text
|
const auto text = tr::lng_profile_open_app_short(tr::now);
|
||||||
= tr::lng_profile_open_app_short(tr::now).toUpper();
|
|
||||||
rightButton.text.setText(st::dialogRowOpenBotTextStyle, text);
|
rightButton.text.setText(st::dialogRowOpenBotTextStyle, text);
|
||||||
const auto size = QSize(
|
const auto size = QSize(
|
||||||
rightButton.text.maxWidth()
|
rightButton.text.maxWidth()
|
||||||
|
@ -194,7 +194,7 @@ RecentRow::RecentRow(not_null<PeerData*> peer)
|
|||||||
if (user->botInfo && user->botInfo->hasMainApp) {
|
if (user->botInfo && user->botInfo->hasMainApp) {
|
||||||
return std::make_unique<Ui::Text::String>(
|
return std::make_unique<Ui::Text::String>(
|
||||||
st::dialogRowOpenBotTextStyle,
|
st::dialogRowOpenBotTextStyle,
|
||||||
tr::lng_profile_open_app_short(tr::now).toUpper());
|
tr::lng_profile_open_app_short(tr::now));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return nullptr;
|
return nullptr;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user