Improve text to be better translatable and use CSS instead of HTML for bold text

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
This commit is contained in:
Morris Jobke 2018-11-06 10:55:32 +01:00
parent 68d39e4b92
commit ca93d73f97
No known key found for this signature in database
GPG key ID: FE03C3A163FEDE68
2 changed files with 3 additions and 2 deletions

View file

@ -189,6 +189,7 @@ thead {
#show-terms-dialog {
cursor: pointer;
font-weight: bold;
}
// hide the primary on public share on mobile

View file

@ -104,8 +104,8 @@ $maxUploadFilesize = min($upload_max_filesize, $post_max_size);
<?php if (!empty($_['disclaimer'])) { ?>
<div>
<?php
echo $l->t('By uploading files, you agree to the %s.', [
'<b id="show-terms-dialog">' . $l->t('terms of service') . '</b>'
echo $l->t('By uploading files, you agree to the %1$sterms of service%2$s.', [
'<span id="show-terms-dialog">', '</span>'
]);
?>
</div>