diff --git a/Telegram/PrepareWin.bat b/Telegram/PrepareWin.bat index fcc56d33b..049052937 100644 --- a/Telegram/PrepareWin.bat +++ b/Telegram/PrepareWin.bat @@ -1,10 +1,10 @@ @echo OFF -set "AppVersion=7020" -set "AppVersionStrSmall=0.7.20" -set "AppVersionStr=0.7.20" -set "AppVersionStrFull=0.7.20.0" -set "DevChannel=0" +set "AppVersion=7021" +set "AppVersionStrSmall=0.7.21" +set "AppVersionStr=0.7.21" +set "AppVersionStrFull=0.7.21.0" +set "DevChannel=1" if %DevChannel% neq 0 goto preparedev diff --git a/Telegram/Resources/lang.strings b/Telegram/Resources/lang.strings index c360a9267..7701f24f2 100644 --- a/Telegram/Resources/lang.strings +++ b/Telegram/Resources/lang.strings @@ -387,8 +387,8 @@ Copyright (c) 2014 John Preston, https://desktop.telegram.org "lng_context_copy_email" = "Copy email address"; "lng_context_open_hashtag" = "Search by hashtag"; "lng_context_copy_hashtag" = "Copy hashtag"; -"lng_context_open_mention" = "Open {user} profile"; -"lng_context_copy_mention" = "Copy mention"; +"lng_context_open_mention" = "Open profile"; +"lng_context_copy_mention" = "Copy username"; "lng_context_open_image" = "Open Image"; "lng_context_save_image" = "Save Image As.."; "lng_context_forward_image" = "Forward Image"; @@ -487,8 +487,8 @@ Copyright (c) 2014 John Preston, https://desktop.telegram.org "lng_new_version_wrap" = "Telegram Desktop was updated to version {version}\n\n{changes}\n\nFull version history is available here:\n{link}"; "lng_new_version_minor" = "— Bug fixes and other minor improvements"; -"lng_new_version7020" = "— Lock your app with a passcode"; -"lng_new_version7020_appstore" = "— Lock your app with a passcode\n— Change the chat background\n— New «open with» menu for files\n— Added Korean language"; +"lng_new_version7022" = "— Reply to specific messages in groups\n— Mention @usernames in groups to notify multiple users"; +"lng_new_version7022_appstore" = "— Reply to specific messages in groups\n— Mention @usernames in groups to notify multiple users"; "lng_menu_insert_unicode" = "Insert Unicode control character"; diff --git a/Telegram/Resources/style.txt b/Telegram/Resources/style.txt index 139d0c245..cf83938bc 100644 --- a/Telegram/Resources/style.txt +++ b/Telegram/Resources/style.txt @@ -976,7 +976,7 @@ replyColor: #377aae; replyHeight: 49px; replyTop: 8px; replyBottom: 6px; -replyIconPos: point(13px, 15px); +replyIconPos: point(13px, 13px); replyIcon: sprite(174px, 195px, 24px, 24px); replyCancel: iconedButton(btnDefIconed) { icon: sprite(165px, 24px, 14px, 14px); diff --git a/Telegram/SourceFiles/art/sprite.png b/Telegram/SourceFiles/art/sprite.png index b2686c0a6..c5b674a5d 100644 Binary files a/Telegram/SourceFiles/art/sprite.png and b/Telegram/SourceFiles/art/sprite.png differ diff --git a/Telegram/SourceFiles/art/sprite_200x.png b/Telegram/SourceFiles/art/sprite_200x.png index ef428efa5..b273cb73c 100644 Binary files a/Telegram/SourceFiles/art/sprite_200x.png and b/Telegram/SourceFiles/art/sprite_200x.png differ diff --git a/Telegram/SourceFiles/historywidget.cpp b/Telegram/SourceFiles/historywidget.cpp index a38fd024e..12a488a3a 100644 --- a/Telegram/SourceFiles/historywidget.cpp +++ b/Telegram/SourceFiles/historywidget.cpp @@ -719,7 +719,7 @@ void HistoryList::showContextMenu(QContextMenuEvent *e, bool showFromTouch) { _menu->addAction(lang(lng_context_copy_email), this, SLOT(copyContextUrl()))->setEnabled(true); } else if (_contextMenuLnk && dynamic_cast(_contextMenuLnk.data())) { if (!_menu) _menu = new ContextMenu(historyWidget); - _menu->addAction(lng_context_open_mention(lt_user, _contextMenuLnk->encoded()), this, SLOT(openContextUrl()))->setEnabled(true); + _menu->addAction(lang(lng_context_open_mention), this, SLOT(openContextUrl()))->setEnabled(true); _menu->addAction(lang(lng_context_copy_mention), this, SLOT(copyContextUrl()))->setEnabled(true); } else if (_contextMenuLnk && dynamic_cast(_contextMenuLnk.data())) { if (!_menu) _menu = new ContextMenu(historyWidget);