summaryrefslogtreecommitdiffstats
path: root/apps/updatenotification
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2016-06-29 12:08:26 +0200
committerMorris Jobke <hey@morrisjobke.de>2016-06-29 16:05:51 +0200
commit409672d981fe1e91d8536d2d924c016a870d9121 (patch)
treee1d22fc4c786ef48b58d435c67b01c470a81dff1 /apps/updatenotification
parentcf798edfecd4688858ed0abe42ff87ea3ef5dd60 (diff)
downloadnextcloud-server-409672d981fe1e91d8536d2d924c016a870d9121.tar.gz
nextcloud-server-409672d981fe1e91d8536d2d924c016a870d9121.zip
Fix update notification text
* thanks to ungesundes_halbwissen @ transifex
Diffstat (limited to 'apps/updatenotification')
-rw-r--r--apps/updatenotification/templates/admin.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/apps/updatenotification/templates/admin.php b/apps/updatenotification/templates/admin.php
index 0be070cac30..b1cc76534e3 100644
--- a/apps/updatenotification/templates/admin.php
+++ b/apps/updatenotification/templates/admin.php
@@ -47,7 +47,9 @@
<input name="oca_updatenotification_groups_list" type="hidden" id="oca_updatenotification_groups_list" value="<?php p($_['notify_groups']) ?>" style="width: 400px">
<em class="<?php if (!in_array($currentChannel, ['daily', 'git'])) p('hidden'); ?>">
<br />
- <?php p($l->t('Only notification for app updates are available, because the selected update channel for the server itself does not allow notifications.')); ?>
+ <?php p($l->t('Only notification for app updates are available.')); ?>
+ <?php if ($currentChannel === 'daily') p($l->t('The selected update channel makes dedicated notifications for the server obsolete.')); ?>
+ <?php if ($currentChannel === 'git') p($l->t('The selected update channel does not support updates of the server.')); ?>
</em>
</p>
</form>