From a707f7b9e7b3df7575a3a6249ba4ead5c8618189 Mon Sep 17 00:00:00 2001 From: John Preston Date: Thu, 23 Apr 2015 19:01:43 +0300 Subject: [PATCH] 0.8.6 prepared - forwarded info display in media (except photos and stickers), grouped forwarded notification, old bg returned, critical mtproto fix --- Telegram/PrepareWin.bat | 8 ++++---- Telegram/Resources/lang.strings | 2 +- Telegram/SourceFiles/application.cpp | 4 ++-- Telegram/SourceFiles/config.h | 4 ++-- Telegram/Telegram.plist | 2 +- Telegram/Telegram.rc | Bin 5532 -> 5532 bytes Telegram/Telegram.xcodeproj/project.pbxproj | 12 ++++++------ Telegram/Version.sh | 2 +- 8 files changed, 17 insertions(+), 17 deletions(-) diff --git a/Telegram/PrepareWin.bat b/Telegram/PrepareWin.bat index f84a8dc9c..bfa070b85 100644 --- a/Telegram/PrepareWin.bat +++ b/Telegram/PrepareWin.bat @@ -1,9 +1,9 @@ @echo OFF -set "AppVersion=8005" -set "AppVersionStrSmall=0.8.5" -set "AppVersionStr=0.8.5" -set "AppVersionStrFull=0.8.5.0" +set "AppVersion=8006" +set "AppVersionStrSmall=0.8.6" +set "AppVersionStr=0.8.6" +set "AppVersionStrFull=0.8.6.0" set "DevChannel=1" if %DevChannel% neq 0 goto preparedev diff --git a/Telegram/Resources/lang.strings b/Telegram/Resources/lang.strings index 3518eaddf..226b5bb00 100644 --- a/Telegram/Resources/lang.strings +++ b/Telegram/Resources/lang.strings @@ -550,7 +550,7 @@ 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_version_text" = "— Link previews for Twitter, YouTube, Instagram and certain other links\n— Two-step verification\n— View all your Telegram sessions, terminate specific sessions"; +"lng_new_version_text" = "— New photoviewer design\n— Switch through files overview in photoviewer\n— New default chat background image (you can change it in Settings)\n— Forwarded files, videos, audios and contacts original sender name is displayed\n— Grouped notification for a bunch of forwarded messages"; "lng_menu_insert_unicode" = "Insert Unicode control character"; diff --git a/Telegram/SourceFiles/application.cpp b/Telegram/SourceFiles/application.cpp index f11e33b75..c26fdedd6 100644 --- a/Telegram/SourceFiles/application.cpp +++ b/Telegram/SourceFiles/application.cpp @@ -662,8 +662,8 @@ void Application::checkMapVersion() { psRegisterCustomScheme(); if (Local::oldMapVersion()) { QString versionFeatures; - if (DevChannel && Local::oldMapVersion() < 8005) { - versionFeatures = QString::fromUtf8("\xe2\x80\x94 New photoviewer design\n\xe2\x80\x94 Switch through files overview in photoviewer\n\xe2\x80\x94 New default chat background image").replace('@', qsl("@") + QChar(0x200D)); + if (DevChannel && Local::oldMapVersion() < 8006) { + versionFeatures = QString::fromUtf8("\xe2\x80\x94 Old default chat background image placed first in background Gallery\n\xe2\x80\x94 Forwarded files, videos, audios and contacts original sender name is displayed\n\xe2\x80\x94 Grouped notification for a bunch of forwarded messages").replace('@', qsl("@") + QChar(0x200D)); } else if (!DevChannel && Local::oldMapVersion() < 8004) { versionFeatures = lang(lng_new_version_minor).trimmed(); } diff --git a/Telegram/SourceFiles/config.h b/Telegram/SourceFiles/config.h index bd1ff2344..e4f695d07 100644 --- a/Telegram/SourceFiles/config.h +++ b/Telegram/SourceFiles/config.h @@ -17,8 +17,8 @@ Copyright (c) 2014 John Preston, https://desktop.telegram.org */ #pragma once -static const int32 AppVersion = 8005; -static const wchar_t *AppVersionStr = L"0.8.5"; +static const int32 AppVersion = 8006; +static const wchar_t *AppVersionStr = L"0.8.6"; static const bool DevChannel = true; static const wchar_t *AppNameOld = L"Telegram Win (Unofficial)"; diff --git a/Telegram/Telegram.plist b/Telegram/Telegram.plist index d06a20fff..5f9ce7c81 100644 --- a/Telegram/Telegram.plist +++ b/Telegram/Telegram.plist @@ -11,7 +11,7 @@ CFBundlePackageType APPL CFBundleShortVersionString - 0.8.5 + 0.8.6 CFBundleSignature ???? CFBundleURLTypes diff --git a/Telegram/Telegram.rc b/Telegram/Telegram.rc index d80da917582c8724a339faeaca1207c1cb39ff11..431bca1854fe90b216d90eb6ebfa1acca723c174 100644 GIT binary patch delta 50 zcmbQEJx6;(0WYK3