MDL-65059 messaging: don't refer to block plugin type

AMOS BEGIN
 CPY [block,core],[blockuserconfirmbutton,core_message]
AMOS END
This commit is contained in:
Jan Dageförde 2019-03-12 13:57:01 +01:00 committed by Eloy Lafuente (stronk7)
parent a67f9a9b0c
commit f422e24d9c
2 changed files with 2 additions and 1 deletions

View File

@ -36,6 +36,7 @@ $string['blockcontact'] = 'Block contact';
$string['blockedusers'] = 'Blocked users';
$string['blockuser'] = 'Block user';
$string['blockuserconfirm'] = 'Are you sure you want to block {$a}?';
$string['blockuserconfirmbutton'] = 'Block';
$string['blocknoncontacts'] = 'Prevent non-contacts from messaging me';
$string['canceledit'] = 'Cancel editing messages';
$string['contactableprivacy'] = 'Accept messages from:';

View File

@ -39,7 +39,7 @@
<h3 class="h6 hidden" data-region="dialogue-header"></h3>
<p class="text-muted" data-region="dialogue-text"></p>
<button type="button" class="btn btn-primary btn-block hidden" data-action="confirm-block">
<span data-region="dialogue-button-text">{{#str}} block, core {{/str}}</span>
<span data-region="dialogue-button-text">{{#str}} blockuserconfirmbutton, core_message {{/str}}</span>
<span class="hidden" data-region="loading-icon-container">{{> core/loading }}</span>
</button>
<button type="button" class="btn btn-primary btn-block hidden" data-action="confirm-unblock">