From ca93d73f97ee667bb8c3745954ac563e3e91a1e2 Mon Sep 17 00:00:00 2001 From: Morris Jobke Date: Tue, 6 Nov 2018 10:55:32 +0100 Subject: Improve text to be better translatable and use CSS instead of HTML for bold text Signed-off-by: Morris Jobke --- apps/files_sharing/css/public.scss | 1 + apps/files_sharing/templates/public.php | 4 ++-- 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);
t('By uploading files, you agree to the %s.', [ - '' . $l->t('terms of service') . '' + echo $l->t('By uploading files, you agree to the %1$sterms of service%2$s.', [ + '', '' ]); ?>
-- cgit v1.2.3