MDL-63187 tool_dataprivacy: Improve confirm message lang strings
authorJun Pataleta <jun@moodle.com>
Thu, 23 Aug 2018 08:53:03 +0000 (16:53 +0800)
committerJun Pataleta <jun@moodle.com>
Thu, 23 Aug 2018 08:53:03 +0000 (16:53 +0800)
* Updated the delete confirmation messages so that the category/purpose
names are shown in italics. This makes it easier for the privacy officer
to see the category/purpose that is being deleted.

admin/tool/dataprivacy/lang/en/tool_dataprivacy.php

index da31030..017b5d5 100644 (file)
@@ -78,10 +78,10 @@ $string['daterequested'] = 'Date requested';
 $string['daterequesteddetail'] = 'Date requested:';
 $string['defaultsinfo'] = 'Default categories and purposes are applied to all newly created instances.';
 $string['deletecategory'] = 'Delete category';
-$string['deletecategorytext'] = 'Are you sure you want to delete the category "{$a}"?';
+$string['deletecategorytext'] = 'Are you sure you want to delete the following category?<p><em>{$a}</em></p>';
 $string['deleteexpiredcontextstask'] = 'Delete expired contexts';
 $string['deletepurpose'] = 'Delete purpose';
-$string['deletepurposetext'] = 'Are you sure you want to delete the purpose "{$a}"?';
+$string['deletepurposetext'] = 'Are you sure you want to delete the following purpose?<p><em>{$a}</em></p>';
 $string['defaultssaved'] = 'Defaults saved';
 $string['deny'] = 'Deny';
 $string['denyrequest'] = 'Deny request';