Commit 1d8cdcd8 authored by Amalie Hendy's avatar Amalie Hendy Committed by Robert Lyon

Bug 1688452: Changing 'Make public' lang string for comments

To make it clear that it is the comment being public and not the page
the comment is on.

behatnotneeded - to come

Change-Id: I43fcafba192d21083b44be488f40c0dbe30cfb4a
Signed-off-by: default avatarAmalie Hendy <amaliehendy9@gmail.com>
parent 3f51bb2a
......@@ -70,7 +70,7 @@ else {
}
$elements['ispublic'] = array(
'type' => 'switchbox',
'title' => get_string('makepublic', 'artefact.comment'),
'title' => get_string('makecommentpublic', 'artefact.comment'),
'defaultvalue' => !$comment->get('private'),
);
if (get_config('licensemetadata')) {
......
......@@ -48,7 +48,7 @@ $string['commentsubmittedprivateanon'] = 'Private comment submitted';
$string['forcepubliccomment'] = 'Public';
$string['forceprivatecomment'] = 'Private: This reply will only be visible to you and the author of the preceeding comment.';
$string['lastcomment'] = 'Last comment';
$string['makepublic'] = 'Make public';
$string['makecommentpublic'] = 'Make comment public';
$string['makepublicnotallowed'] = 'You are not allowed to make this comment public';
$string['makepublicrequestsubject'] = 'Request to change private comment to public';
$string['makepublicrequestbyauthormessage'] = '%s has requested that you make their comment public.';
......
......@@ -948,7 +948,7 @@ class ArtefactTypeComment extends ArtefactType {
}
$form['elements']['ispublic'] = array(
'type' => 'switchbox',
'title' => get_string('makepublic', 'artefact.comment'),
'title' => get_string('makecommentpublic', 'artefact.comment'),
'defaultvalue' => !$defaultprivate,
);
if (get_config('licensemetadata')) {
......@@ -1003,7 +1003,7 @@ class ArtefactTypeComment extends ArtefactType {
'usebuttontag' => true,
'class' => 'btn-link btn-xs',
'name' => 'make_public_submit',
'value' => '<span class="icon icon-lock text-default left" role="presentation" aria-hidden="true"></span>' . get_string('makepublic', 'artefact.comment'),
'value' => '<span class="icon icon-lock text-default left" role="presentation" aria-hidden="true"></span>' . get_string('makecommentpublic', 'artefact.comment'),
),
),
);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment