From e9503664f5cacca8a539ad120938060f843d8ad4 Mon Sep 17 00:00:00 2001 From: Jonathan Kawohl Date: Mon, 24 Oct 2016 15:09:25 +0200 Subject: [PATCH] fix for https://github.com/owncloud/client/issues/1251 --- admin/osx/macosx.pkgproj | 24 ++++++++++++------------ src/libsync/owncloudtheme.cpp | 5 +++-- src/libsync/theme.cpp | 7 ++++--- 3 files changed, 19 insertions(+), 17 deletions(-) diff --git a/admin/osx/macosx.pkgproj b/admin/osx/macosx.pkgproj index 9b9b891bc..4883a4e90 100644 --- a/admin/osx/macosx.pkgproj +++ b/admin/osx/macosx.pkgproj @@ -22,7 +22,7 @@ GID 80 PATH - @APPLICATION_EXECUTABLE@.app + owncloud.app PATH_TYPE 3 PERMISSIONS @@ -474,14 +474,14 @@ POSTINSTALL_PATH PATH - @CMAKE_CURRENT_BINARY_DIR@/post_install.sh + /Users/jonathankawohl/github/client/admin/osx/post_install.sh PATH_TYPE 0 PREINSTALL_PATH PATH - @CMAKE_CURRENT_BINARY_DIR@/pre_install.sh + /Users/jonathankawohl/github/client/admin/osx/pre_install.sh PATH_TYPE 0 @@ -495,13 +495,13 @@ CONCLUSION_ACTION 0 IDENTIFIER - @APPLICATION_REV_DOMAIN_INSTALLER@ + com.ownCloud.client NAME - @APPLICATION_NAME_XML_ESCAPED@ + ownCloud OVERWRITE_PERMISSIONS VERSION - @MIRALL_VERSION_FULL@ + 2.3.0.0 UUID 7D7219B7-1897-48C3-8533-842BDEC46F71 @@ -1029,7 +1029,7 @@ OVERWRITE_PERMISSIONS VERSION - @MIRALL_VERSION_FULL@ + 2.3.0.0 TYPE 0 @@ -1065,12 +1065,12 @@ BACKGROUND_PATH PATH - @MAC_INSTALLER_BACKGROUND_FILE@ + /Users/jonathankawohl/github/client/admin/osx/installer-background.png PATH_TYPE 0 CUSTOM - @MAC_INSTALLER_DO_CUSTOM_BACKGROUND@ + 1 SCALING 0 @@ -1245,7 +1245,7 @@ LANGUAGE English VALUE - @APPLICATION_NAME_XML_ESCAPED@ Client + ownCloud Client @@ -1445,9 +1445,9 @@ NAME - @APPLICATION_NAME_XML_ESCAPED@ Installer + ownCloud Installer REFERENCE_FOLDER_PATH - @CMAKE_INSTALL_DIR@ + SHARED_GLOBAL_DATA diff --git a/src/libsync/owncloudtheme.cpp b/src/libsync/owncloudtheme.cpp index 09121acd6..6809d0426 100644 --- a/src/libsync/owncloudtheme.cpp +++ b/src/libsync/owncloudtheme.cpp @@ -45,8 +45,9 @@ QString ownCloudTheme::about() const { QString devString; devString = trUtf8("

Version %2. For more information visit %4

" - "

By Klaas Freitag, Daniel Molkentin, Jan-Christoph Borchardt, " - "Olivier Goffart, Markus Götz and others.

" + "

For known issues and help, please visit: central.owncloud.org

" + "

By Klaas Freitag, Daniel Molkentin,Olivier Goffart, Markus Götz" + ", Jan-Christoph Borchardt, and others.

" "

Copyright ownCloud GmbH

" "

Licensed under the GNU General Public License (GPL) Version 2.0
" "ownCloud and the ownCloud Logo are registered trademarks of ownCloud GmbH " diff --git a/src/libsync/theme.cpp b/src/libsync/theme.cpp index 53e850b99..9b67f88f8 100644 --- a/src/libsync/theme.cpp +++ b/src/libsync/theme.cpp @@ -285,7 +285,8 @@ QString Theme::gitSHA1() const const QString gitSha1(QLatin1String(GIT_SHA1)); devString = QCoreApplication::translate("ownCloudTheme::about()", "

Built from Git revision %2" - " on %3, %4 using Qt %5, %6

") + " on %3, %4 using Qt %5, %6") + .arg(githubPrefix+gitSha1).arg(gitSha1.left(6)) .arg(__DATE__).arg(__TIME__) .arg(QT_VERSION_STR) @@ -300,11 +301,11 @@ QString Theme::about() const re = tr("

Version %1. For more information please visit %3.

") .arg(MIRALL_VERSION_STRING).arg("http://" MIRALL_STRINGIFY(APPLICATION_DOMAIN)) .arg(MIRALL_STRINGIFY(APPLICATION_DOMAIN)); - + re += tr("

Copyright ownCloud GmbH

"); re += tr("

Distributed by %1 and licensed under the GNU General Public License (GPL) Version 2.0.
" "%2 and the %2 logo are registered trademarks of %1 in the " - "United States, other countries, or both.

") + "United States, other countries, or both.
") .arg(APPLICATION_VENDOR).arg(APPLICATION_NAME); re += gitSHA1();