From c0d5d988aab138bb3b90b618f40f63b3b57a2f16 Mon Sep 17 00:00:00 2001 From: Mihail Geshoski Date: Wed, 27 Oct 2021 14:20:44 +0800 Subject: [PATCH] MDL-72873 core_grades: Deprecate unused strings --- lang/en/deprecated.txt | 4 ++++ lang/en/grades.php | 9 +++++---- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/lang/en/deprecated.txt b/lang/en/deprecated.txt index a3fee41ea78..15979359d40 100644 --- a/lang/en/deprecated.txt +++ b/lang/en/deprecated.txt @@ -167,3 +167,7 @@ monthlyview,core_calendar evidence,core_badges recipientdetails,core_badges recipientidentificationproblem,core_badges +navmethod,core_grades +dropdown,core_grades +tabs,core_grades +combo,core_grades diff --git a/lang/en/grades.php b/lang/en/grades.php index 3499af3c284..05c5986a278 100644 --- a/lang/en/grades.php +++ b/lang/en/grades.php @@ -120,7 +120,6 @@ $string['categorytotal'] = 'Category total'; $string['categorytotalname'] = 'Category total name'; $string['categorytotalfull'] = '{$a->category} total'; $string['collapsecriterion'] = 'Collapse criterion'; -$string['combo'] = 'Tabs and drop-down menu'; $string['compact'] = 'Compact'; $string['componentcontrolsvisibility'] = 'Whether this grade item is hidden is controlled by the activity settings.'; $string['contract'] = 'Contract category'; @@ -155,7 +154,6 @@ $string['displaylettergrade'] = 'Display letter grades'; $string['displaypercent'] = 'Display percents'; $string['displaypoints'] = 'Display points'; $string['displayweighted'] = 'Display weighted grades'; -$string['dropdown'] = 'Drop-down menu'; $string['droplow'] = 'Drop the lowest'; $string['droplow_help'] = 'This setting enables a specified number of the lowest grades to be excluded from the aggregation.'; $string['droplowestvalue'] = 'Set drop lowest grade value'; @@ -545,7 +543,6 @@ $string['mygrades_desc'] = 'This setting allows for the option of linking to an $string['mypreferences'] = 'My preferences'; $string['myreportpreferences'] = 'My report preferences'; $string['mustchooserescaleyesorno'] = 'You must choose whether to rescale existing grades or not.'; -$string['navmethod'] = 'Navigation method'; $string['neverdeletehistory'] = 'Never delete history'; $string['newcategory'] = 'New category'; $string['newitem'] = 'New grade item'; @@ -825,7 +822,6 @@ $string['aggregatesubcatsupgradedgrades'] = 'Note: The aggregation setting "Aggr $string['upgradedgradeshidemessage'] = 'Dismiss notice'; $string['switchtofullview'] = 'Switch to full view'; $string['switchtosimpleview'] = 'Switch to simple view'; -$string['tabs'] = 'Tabs'; $string['topcategory'] = 'Super category'; $string['total'] = 'Total'; $string['totalweightnot100'] = 'The total weight is not equal to 100'; @@ -892,3 +888,8 @@ $string['xml'] = 'XML'; $string['yes'] = 'Yes'; $string['yourgrade'] = 'Your grade'; +// Deprecated since Moodle 4.0. +$string['navmethod'] = 'Navigation method'; +$string['dropdown'] = 'Drop-down menu'; +$string['tabs'] = 'Tabs'; +$string['combo'] = 'Tabs and drop-down menu';