diff options
author | Georg Ehrke <developer@georgehrke.com> | 2019-01-27 21:49:01 +0300 |
---|---|---|
committer | Julius Härtl <jus@bitgrid.net> | 2019-02-01 12:06:32 +0300 |
commit | ea1f6f6aef2c9bedada637836b54115f1a933802 (patch) | |
tree | 7a45bce4c13e960470a073ad5c1ffb48c3310207 /apps/dav/templates | |
parent | 6c49dd169b65b831191f001b6f96d59e646cdf19 (diff) |
make text in Groupware Settings translateable
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
Diffstat (limited to 'apps/dav/templates')
-rw-r--r-- | apps/dav/templates/settings-admin-caldav.php | 19 |
1 files changed, 16 insertions, 3 deletions
diff --git a/apps/dav/templates/settings-admin-caldav.php b/apps/dav/templates/settings-admin-caldav.php index 072633e54d3..87b159923d2 100644 --- a/apps/dav/templates/settings-admin-caldav.php +++ b/apps/dav/templates/settings-admin-caldav.php @@ -30,8 +30,21 @@ script('dav', [ ?> <form id="CalDAV" class="section"> <h2><?php p($l->t('Calendar server')); ?></h2> - <p class="settings-hint">Also install the <a target="_blank" href="../apps/office/calendar">Calendar app</a>, or - <a target="_blank" href="<?php p(link_to_docs('user-sync-calendars')) ?>" rel="noreferrer noopener">connect your desktop & mobile for syncing</a>.</p> + <p class="settings-hint"> + <?php print_unescaped(str_replace( + [ + '{calendarappstoreopen}', + '{calendardocopen}', + '{linkclose}', + ], + [ + '<a target="_blank" href="../apps/office/calendar">', + '<a target="_blank" href="' . link_to_docs('user-sync-calendars') . '" rel="noreferrer noopener">', + '</a>', + ], + $l->t('Also install the {calendarappstoreopen}Calendar app{linkclose}, or {calendardocopen}connect your desktop & mobile for syncing ↗{linkclose}.') + )); ?> + </p> <p> <input type="checkbox" name="caldav_send_invitations" id="caldavSendInvitations" class="checkbox" <?php ($_['send_invitations'] === 'yes') ? print_unescaped('checked="checked"') : null ?>/> @@ -47,7 +60,7 @@ script('dav', [ '<a href="../admin#mail_general_settings">', '</a>', ], - $l->t('Please make sure to properly set up {emailopen}the email server↗{linkclose}.') + $l->t('Please make sure to properly set up {emailopen}the email server{linkclose}.') )); ?> </em> </p> |