mirror of
https://github.com/moodle/moodle.git
synced 2025-03-14 12:40:01 +01:00
MDL-50267 lang: Remove deprecated strings in 2.9
This commit is contained in:
parent
90a8bdbfc0
commit
fb77333453
@ -24,30 +24,3 @@
|
||||
|
||||
$string['pluginname'] = 'Quiz results (disabled)';
|
||||
$string['quiz_results:addinstance'] = 'Add a new quiz results block';
|
||||
|
||||
// Deprecated since Moodle 2.9.
|
||||
$string['bestgrade'] = 'The highest grade:';
|
||||
$string['bestgrades'] = 'The {$a} highest grades:';
|
||||
$string['bestgroupgrade'] = 'The group with the highest average:';
|
||||
$string['bestgroupgrades'] = 'The {$a} groups with the highest average:';
|
||||
$string['config_format_absolute'] = 'Absolute numbers';
|
||||
$string['config_format_fraction'] = 'Fractions';
|
||||
$string['config_format_percentage'] = 'Percentages';
|
||||
$string['config_grade_format'] = 'Display grades as:';
|
||||
$string['config_name_format'] = 'Privacy level for displayed results:';
|
||||
$string['config_names_anon'] = 'Anonymous results';
|
||||
$string['config_names_full'] = 'Display full names';
|
||||
$string['config_names_id'] = 'Display only ID numbers';
|
||||
$string['config_no_quizzes_in_course'] = 'This course does not contain any quiz activities . You must add at least one before you are able to use this block correctly.';
|
||||
$string['config_select_quiz'] = 'Which quiz should this block display results from?';
|
||||
$string['config_show_best'] = 'How many of the highest grades should be shown (0 to disable)?';
|
||||
$string['config_show_worst'] = 'How many of the lowest grades should be shown (0 to disable)?';
|
||||
$string['configuredtoshownothing'] = 'This block\'s configuration currently does not allow it to show any results. You may want to either configure it or hide it.';
|
||||
$string['config_use_groups'] = 'Show groups instead of students (only if the quiz supports groups)?';
|
||||
$string['error_emptyquizid'] = 'Please configure this block and select which quiz it should display results from.';
|
||||
$string['error_emptyquizrecord'] = 'There is an error right now with this block: the selected quiz does not seem to exist in the database.';
|
||||
$string['error_nogroupsexist'] = 'There is an error right now with this block: it is set to display grades in group mode, but the course has no defined groups.';
|
||||
$string['worstgrade'] = 'The lowest grade:';
|
||||
$string['worstgrades'] = 'The {$a} lowest grades:';
|
||||
$string['worstgroupgrade'] = 'The group with the lowest average:';
|
||||
$string['worstgroupgrades'] = 'The {$a} groups with the lowest average:';
|
||||
|
@ -1,25 +0,0 @@
|
||||
bestgrade,block_quiz_results
|
||||
bestgrades,block_quiz_results
|
||||
bestgroupgrade,block_quiz_results
|
||||
bestgroupgrades,block_quiz_results
|
||||
config_format_absolute,block_quiz_results
|
||||
config_format_fraction,block_quiz_results
|
||||
config_format_percentage,block_quiz_results
|
||||
config_grade_format,block_quiz_results
|
||||
config_name_format,block_quiz_results
|
||||
config_names_anon,block_quiz_results
|
||||
config_names_full,block_quiz_results
|
||||
config_names_id,block_quiz_results
|
||||
config_no_quizzes_in_course,block_quiz_results
|
||||
config_select_quiz,block_quiz_results
|
||||
config_show_best,block_quiz_results
|
||||
config_show_worst,block_quiz_results
|
||||
configuredtoshownothing,block_quiz_results
|
||||
config_use_groups,block_quiz_results
|
||||
error_emptyquizid,block_quiz_results
|
||||
error_emptyquizrecord,block_quiz_results
|
||||
error_nogroupsexist,block_quiz_results
|
||||
worstgrade,block_quiz_results
|
||||
worstgrades,block_quiz_results
|
||||
worstgroupgrade,block_quiz_results
|
||||
worstgroupgrades,block_quiz_results
|
@ -184,6 +184,3 @@ $string['wrongpostid'] = 'Wrong blog post id';
|
||||
$string['page-blog-edit'] = 'Blog editing pages';
|
||||
$string['page-blog-index'] = 'Blog listing pages';
|
||||
$string['page-blog-x'] = 'All blog pages';
|
||||
|
||||
// Deprecated since Moodle 2.9.
|
||||
$string['siteblog'] = 'Site blog: {$a}';
|
||||
|
@ -177,8 +177,3 @@ $string['unsupportedmode'] = 'Unsupported mode';
|
||||
$string['untestable'] = 'Untestable';
|
||||
$string['userinputsharingkey'] = 'Custom key for sharing';
|
||||
$string['userinputsharingkey_help'] = 'Enter your own private key here. When you set up other stores on other sites you wish to share data with make sure you set the exact same key there.';
|
||||
|
||||
// Deprecated since 2.9.
|
||||
$string['lockingmeans'] = 'Locking mechanism';
|
||||
$string['lockmethod'] = 'Lock method';
|
||||
$string['lockmethod_help'] = 'This is the method used for locking when required of this store.';
|
||||
|
@ -1,8 +1,3 @@
|
||||
lockingmeans,core_cache
|
||||
lockmethod,core_cache
|
||||
lockmethod_help,core_cache
|
||||
personalrepositories,core_repository
|
||||
siteblog,core_blog
|
||||
mybackpack,core_badges
|
||||
mybadges,core_badges
|
||||
myfiles,core
|
||||
|
@ -242,6 +242,3 @@ $string['unzipped'] = 'Unzipped successfully';
|
||||
$string['wrongcontext'] = 'You cannot access to this context';
|
||||
$string['xhtmlerror'] = 'You are probably using an XHTML strict header. Certain YUI components don\'t work in this mode; please turn it off.';
|
||||
$string['ziped'] = 'Compress folder successfully';
|
||||
|
||||
// Deprecated since Moodle 2.9.
|
||||
$string['personalrepositories'] = 'Available repository instances';
|
||||
|
@ -75,11 +75,11 @@ class core_string_manager_standard_testcase extends advanced_testcase {
|
||||
$this->assertFalse($stringman->string_deprecated('hidden', 'grades'));
|
||||
|
||||
// Check deprecated string.
|
||||
$this->assertTrue($stringman->string_deprecated('timelimitmin', 'mod_quiz'));
|
||||
$this->assertTrue($stringman->string_exists('timelimitmin', 'mod_quiz'));
|
||||
$this->assertTrue($stringman->string_deprecated('modchooserenable', 'core'));
|
||||
$this->assertTrue($stringman->string_exists('modchooserenable', 'core'));
|
||||
$this->assertDebuggingNotCalled();
|
||||
$this->assertEquals('Time limit (minutes)', get_string('timelimitmin', 'mod_quiz'));
|
||||
$this->assertDebuggingCalled('String [timelimitmin,mod_quiz] is deprecated. '.
|
||||
$this->assertEquals('Activity chooser on', get_string('modchooserenable', 'core'));
|
||||
$this->assertDebuggingCalled('String [modchooserenable,core] is deprecated. '.
|
||||
'Either you should no longer be using that string, or the string has been incorrectly deprecated, in which case you should report this as a bug. '.
|
||||
'Please refer to https://docs.moodle.org/dev/String_deprecation');
|
||||
}
|
||||
|
@ -1,5 +1,3 @@
|
||||
essayemailmessage,mod_lesson
|
||||
lessonattempted,mod_lesson
|
||||
clicktopost,mod_lesson
|
||||
configmaxhighscores,mod_lesson
|
||||
configactionaftercorrectanswer,mod_lesson
|
||||
|
@ -510,11 +510,6 @@ $string['yourcurrentgradeis'] = 'Your current grade is {$a}';
|
||||
$string['yourcurrentgradeisoutof'] = 'Your current grade is {$a->grade} out of {$a->total}';
|
||||
$string['youshouldview'] = 'You should answer at least: {$a}';
|
||||
|
||||
// Deprecated since Moodle 2.9.
|
||||
|
||||
$string['essayemailmessage'] = '<p>Essay prompt:<blockquote>{$a->question}</blockquote></p><p>Your response:<blockquote><em>{$a->response}</em></blockquote></p><p>{$a->teacher}\'s comments:<blockquote><em>{$a->comment}</em></blockquote></p><p>You have received {$a->earned} out of {$a->outof} for this essay question.</p><p>Your grade for the lesson has been changed to {$a->newgrade}%.</p>';
|
||||
$string['lessonattempted'] = 'Lesson attempted';
|
||||
|
||||
// Deprecated since Moodle 3.0.
|
||||
$string['clicktopost'] = 'Click here to post your grade on the High Scores list.';
|
||||
$string['configmaxhighscores'] = 'Number of high scores displayed';
|
||||
|
@ -1,2 +0,0 @@
|
||||
timelimitmin,mod_quiz
|
||||
timelimitsec,mod_quiz
|
@ -936,8 +936,3 @@ $string['wronguse'] = 'You can not use this page like that';
|
||||
$string['xhtml'] = 'XHTML';
|
||||
$string['youneedtoenrol'] = 'You need to enrol in this course before you can attempt this quiz';
|
||||
$string['yourfinalgradeis'] = 'Your final grade for this quiz is {$a}.';
|
||||
|
||||
// Deprecated since Moodle 2.9.
|
||||
|
||||
$string['timelimitmin'] = 'Time limit (minutes)';
|
||||
$string['timelimitsec'] = 'Time limit (seconds)';
|
||||
|
Loading…
x
Reference in New Issue
Block a user