From 5bf17607b391257ced9339b969c5da6164ead495 Mon Sep 17 00:00:00 2001 From: Morris Jobke Date: Wed, 7 Sep 2016 16:38:12 +0200 Subject: Fix layout of success message and text --- apps/updatenotification/lib/Controller/AdminController.php | 2 +- apps/updatenotification/templates/admin.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/updatenotification/lib/Controller/AdminController.php b/apps/updatenotification/lib/Controller/AdminController.php index ebb3fa642f1..9f10f1b32f2 100644 --- a/apps/updatenotification/lib/Controller/AdminController.php +++ b/apps/updatenotification/lib/Controller/AdminController.php @@ -128,7 +128,7 @@ class AdminController extends Controller implements ISettings { public function setChannel($channel) { \OCP\Util::setChannel($channel); $this->config->setAppValue('core', 'lastupdatedat', 0); - return new DataResponse(['status' => 'success', 'data' => ['message' => $this->l10n->t('Updated channel')]]); + return new DataResponse(['status' => 'success', 'data' => ['message' => $this->l10n->t('Channel updated')]]); } /** diff --git a/apps/updatenotification/templates/admin.php b/apps/updatenotification/templates/admin.php index 3c3d6cbd4cd..68ef1d423b4 100644 --- a/apps/updatenotification/templates/admin.php +++ b/apps/updatenotification/templates/admin.php @@ -32,7 +32,7 @@ - +

t('You can always update to a newer version / experimental channel. But you can never downgrade to a more stable channel.')); ?> -- cgit v1.2.3