aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2018-11-06 10:55:32 +0100
committerMorris Jobke <hey@morrisjobke.de>2018-11-07 10:19:20 +0100
commitca93d73f97ee667bb8c3745954ac563e3e91a1e2 (patch)
tree1a8c352a10472dd9ff64accdbb2bd391864ec5f2
parent68d39e4b92094913009daecccad9983f6b054e52 (diff)
downloadnextcloud-server-ca93d73f97ee667bb8c3745954ac563e3e91a1e2.tar.gz
nextcloud-server-ca93d73f97ee667bb8c3745954ac563e3e91a1e2.zip
Improve text to be better translatable and use CSS instead of HTML for bold text
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
-rw-r--r--apps/files_sharing/css/public.scss1
-rw-r--r--apps/files_sharing/templates/public.php4
2 files changed, 3 insertions, 2 deletions
diff --git a/apps/files_sharing/css/public.scss b/apps/files_sharing/css/public.scss
index 835c7f1e9e8..b8a5dbf4f38 100644
--- a/apps/files_sharing/css/public.scss
+++ b/apps/files_sharing/css/public.scss
@@ -189,6 +189,7 @@ thead {
#show-terms-dialog {
cursor: pointer;
+ font-weight: bold;
}
// hide the primary on public share on mobile
diff --git a/apps/files_sharing/templates/public.php b/apps/files_sharing/templates/public.php
index 4d4d96bbdcc..8795318c1c3 100644
--- a/apps/files_sharing/templates/public.php
+++ b/apps/files_sharing/templates/public.php
@@ -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>