2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-09-01 06:55:58 +00:00

Moving build / lang scripts from Telegram to subfolders.

Travis build tested with -j param.
Xcode / QtCreator / qmake builds could be broken.
This commit is contained in:
John Preston
2016-04-27 15:02:17 +03:00
parent 77e5925cf0
commit 745f89dbb9
51 changed files with 262 additions and 5235 deletions

View File

@@ -467,8 +467,8 @@ void Application::startUpdateCheck(bool forceWait) {
QUrl url(cUpdateURL());
if (cBetaVersion()) {
url.setQuery(qsl("version=%1&beta=%2").arg(AppVersion).arg(cBetaVersion()));
} else if (cDevVersion()) {
url.setQuery(qsl("version=%1&dev=1").arg(AppVersion));
} else if (cAlphaVersion()) {
url.setQuery(qsl("version=%1&alpha=1").arg(AppVersion));
} else {
url.setQuery(qsl("version=%1").arg(AppVersion));
}
@@ -1031,7 +1031,7 @@ void AppClass::checkMapVersion() {
if (Local::oldMapVersion() < AppVersion) {
if (Local::oldMapVersion()) {
QString versionFeatures;
if ((cDevVersion() || cBetaVersion()) && Local::oldMapVersion() < 9041) {
if ((cAlphaVersion() || cBetaVersion()) && Local::oldMapVersion() < 9041) {
versionFeatures = QString::fromUtf8("\xe2\x80\x94 Select and copy text in photo / video captions and web page previews\n\xe2\x80\x94 Media player shortcuts are enabled only when player is opened");
// versionFeatures = langNewVersionText();
} else if (Local::oldMapVersion() < 9041) {
@@ -1040,7 +1040,7 @@ void AppClass::checkMapVersion() {
versionFeatures = lang(lng_new_version_minor).trimmed();
}
if (!versionFeatures.isEmpty()) {
versionFeatures = lng_new_version_wrap(lt_version, QString::fromStdWString(AppVersionStr), lt_changes, versionFeatures, lt_link, qsl("https://desktop.telegram.org/#changelog"));
versionFeatures = lng_new_version_wrap(lt_version, QString::fromLatin1(AppVersionStr.c_str()), lt_changes, versionFeatures, lt_link, qsl("https://desktop.telegram.org/#changelog"));
_window->serviceNotification(versionFeatures);
}
}