mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 05:58:34 +01:00
MDL-55767 competency: Deprecate langstring and replace
This commit is contained in:
parent
aac3b0bebb
commit
dbab30b127
@ -42,7 +42,8 @@ class invalid_persistent_exception extends \moodle_exception {
|
||||
$debuginfo[] = "$key: $message";
|
||||
$forhumans[] = $message;
|
||||
}
|
||||
parent::__construct('invalidpersistent', 'core_competency', null, implode(', ', $forhumans), implode(' - ', $debuginfo));
|
||||
parent::__construct('invalidpersistenterror', 'core_competency', null,
|
||||
implode(', ', $forhumans), implode(' - ', $debuginfo));
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -103,7 +103,7 @@ $string['evidence_manualoverrideincourse'] = 'The competency rating was manually
|
||||
$string['evidence_manualoverrideinplan'] = 'The competency rating was manually set in the learning plan \'{$a}\'.';
|
||||
$string['invalidevidencedesc'] = 'Invalid evidence description';
|
||||
$string['invalidgrade'] = 'Invalid rating';
|
||||
$string['invalidpersistent'] = 'Error: {$a}';
|
||||
$string['invalidpersistenterror'] = 'Error: {$a}';
|
||||
$string['invalidplan'] = 'Invalid learning plan';
|
||||
$string['invalidtaxonomy'] = 'Invalid taxonomy: {$a}';
|
||||
$string['invalidurl'] = 'The URL is not valid. Make sure it starts with \'http://\' or \'https://\'.';
|
||||
@ -151,3 +151,6 @@ $string['usercompetencystatus_idle'] = 'Idle';
|
||||
$string['usercompetencystatus_inreview'] = 'In review';
|
||||
$string['usercompetencystatus_waitingforreview'] = 'Waiting for review';
|
||||
$string['userplans'] = 'Learning plans';
|
||||
|
||||
// Deprecated since Moodle 3.2.
|
||||
$string['invalidpersistent'] = 'Invalid persistent';
|
||||
|
@ -32,4 +32,5 @@ downloadexcel,core_table
|
||||
downloadods,core_table
|
||||
downloadoptions,core_table
|
||||
downloadtsv,core_table
|
||||
downloadxhtml,core_table
|
||||
downloadxhtml,core_table
|
||||
invalidpersistent,core_competency
|
||||
|
Loading…
x
Reference in New Issue
Block a user