From a49c1be7c94888468e90ab067aa8a9f2ae47afcc Mon Sep 17 00:00:00 2001 From: Tobias Diekershoff Date: Tue, 7 Nov 2017 06:32:10 +0100 Subject: [PATCH] add version info to notification text --- mod/admin.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mod/admin.php b/mod/admin.php index e4f205e5c5..e0fe0166a8 100644 --- a/mod/admin.php +++ b/mod/admin.php @@ -620,7 +620,7 @@ function admin_page_summary(App $a) { if (Config::get('system', 'check_new_version_url', 'none') != 'none' ) { $gitversion = Config::get('system','git_friendica_version'); if (version_compare(FRIENDICA_VERSION, $gitversion) < 0) { - $warningtext[] = t('There is a new version of Friendica available for download.'); + $warningtext[] = sprintf(t('There is a new version of Friendica available for download. Your current version is %1$s, upstream version is %2$s'), $FRIENDICA_VERSION, $gitversion); $showwarning = true; } }