Skip to content

Commit 6fb97a7

Browse files
committed
make text in Groupware Settings translateable
Signed-off-by: Georg Ehrke <[email protected]>
1 parent 159035f commit 6fb97a7

File tree

1 file changed

+16
-3
lines changed

1 file changed

+16
-3
lines changed

apps/dav/templates/settings-admin-caldav.php

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,21 @@
3030
?>
3131
<form id="CalDAV" class="section">
3232
<h2><?php p($l->t('Calendar server')); ?></h2>
33-
<p class="settings-hint">Also install the <a target="_blank" href="../apps/office/calendar">Calendar app</a>, or
34-
<a target="_blank" href="<?php p(link_to_docs('user-sync-calendars')) ?>" rel="noreferrer noopener">connect your desktop & mobile for syncing</a>.</p>
33+
<p class="settings-hint">
34+
<?php print_unescaped(str_replace(
35+
[
36+
'{calendarappstoreopen}',
37+
'{calendardocopen}',
38+
'{linkclose}',
39+
],
40+
[
41+
'<a target="_blank" href="../apps/office/calendar">',
42+
'<a target="_blank" href="' . link_to_docs('user-sync-calendars') . '" rel="noreferrer noopener">',
43+
'</a>',
44+
],
45+
$l->t('Also install the {calendarappstoreopen}Calendar app{linkclose}, or {calendardocopen}connect your desktop & mobile for syncing ↗{linkclose}.')
46+
)); ?>
47+
</p>
3548
<p>
3649
<input type="checkbox" name="caldav_send_invitations" id="caldavSendInvitations" class="checkbox"
3750
<?php ($_['send_invitations'] === 'yes') ? print_unescaped('checked="checked"') : null ?>/>
@@ -47,7 +60,7 @@
4760
'<a href="../admin#mail_general_settings">',
4861
'</a>',
4962
],
50-
$l->t('Please make sure to properly set up {emailopen}the email server{linkclose}.')
63+
$l->t('Please make sure to properly set up {emailopen}the email server{linkclose}.')
5164
)); ?>
5265
</em>
5366
</p>

0 commit comments

Comments
 (0)