Skip to content

Commit

Permalink
Lang pack cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
brendanheywood committed Aug 18, 2023
1 parent 4eecae7 commit a1b0c6f
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 8 deletions.
2 changes: 1 addition & 1 deletion dkim.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
$selector = required_param('selector', PARAM_TEXT);
$manager = new dkim_manager($domain, $selector);
$manager->delete_selector();
redirect($baseurl, get_string('selectordeleted', 'tool_emailutils'), null, \core\output\notification::NOTIFY_SUCCESS);
redirect($baseurl, get_string('selectordeleted', 'tool_emailutils'), null, \core\output\notification::NOTIFY_WARNING);
}

if ($action == 'activate') {
Expand Down
3 changes: 1 addition & 2 deletions lang/en/tool_emailutils.php
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,6 @@

$string['mxtoolbox'] = 'MXtoolbox links';
$string['selectoractive'] = 'Active selector';
$string['selectoractiveactions'] = 'You cannot';
$string['selectoractivate'] = 'Activate key pair';
$string['selectoractivated'] = 'Selector was activated';
$string['selectoractivateconfirm'] = 'This will set $CFG->emaildkimselector to this selector and it will be used for signing outgoing emails.';
Expand All @@ -78,7 +77,7 @@
$string['selectordeactivateconfirm'] = 'This will unset $CFG->emaildkimselector so emails will no longer be signed.';
$string['selectormissing'] = 'No DKIM selector certificates found';
$string['selectordelete'] = 'Delete key pair';
$string['selectordeleted'] = 'Inactive selector has been deleted';
$string['selectordeleted'] = 'Key pair has been deleted';
$string['selectordeleteconfirm'] = 'This will permanently delete this selector\'s private and public keys and is irreversable.';

// Complaints list strings.
Expand Down
3 changes: 0 additions & 3 deletions templates/dkimselector.mustache
Original file line number Diff line number Diff line change
Expand Up @@ -77,9 +77,6 @@
<li><a href='{{dkimurl}}' target='_blank'>DKIM</a>
<li><a href='{{dkimrawurl}}' target='_blank'>Raw TXT</a>
</ul>
{{#selectoractive}}
{{#str}} selectoractiveactions, tool_emailutils {{/str}}
{{/selectoractive}}
<p>{{{selectoractivate}}}</p>
<p>{{{selectordeactivate}}}</p>
<p>{{{selectordelete}}}</p>
Expand Down
4 changes: 2 additions & 2 deletions version.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@

defined('MOODLE_INTERNAL') || die();

$plugin->version = 2023081801;
$plugin->release = 2023081801;
$plugin->version = 2023081802;
$plugin->release = 2023081802;
$plugin->requires = 2020061500;
$plugin->component = 'tool_emailutils';
$plugin->dependencies = [
Expand Down

0 comments on commit a1b0c6f

Please sign in to comment.