Commit 952cbce2 authored by Mark Nelson's avatar Mark Nelson
Browse files

MDL-59204 mod_*: removed redundant activity name from string index

Also fixed references to incorrect strings.
parent f3625f47
......@@ -41,7 +41,7 @@ class cognitive_depth extends activity_base {
* @return string
*/
public static function get_name() {
return get_string('indicator:cognitivedepthassign', 'mod_assign');
return get_string('indicator:cognitivedepth', 'mod_assign');
}
/**
......
......@@ -41,7 +41,7 @@ class social_breadth extends activity_base {
* @return string
*/
public static function get_name() {
return get_string('indicator:socialbreadthassign', 'mod_assign');
return get_string('indicator:socialbreadth', 'mod_assign');
}
/**
......
......@@ -266,8 +266,8 @@ $string['groupsnone'] = 'There are no groups in this course';
$string['hideshow'] = 'Hide/Show';
$string['hiddenuser'] = 'Participant ';
$string['inactiveoverridehelp'] = '* Student does not have the correct group or role to attempt the assignment';
$string['indicator:cognitivedepthassign'] = 'Assignment cognitive';
$string['indicator:socialbreadthassign'] = 'Assignment social';
$string['indicator:cognitivedepth'] = 'Assignment cognitive';
$string['indicator:socialbreadth'] = 'Assignment social';
$string['instructionfiles'] = 'Instruction files';
$string['introattachments'] = 'Additional files';
$string['introattachments_help'] = 'Additional files for use in the assignment, such as answer templates, may be added. Download links for the files will then be displayed on the assignment page under the description.';
......
......@@ -41,7 +41,7 @@ class cognitive_depth extends activity_base {
* @return string
*/
public static function get_name() {
return get_string('indicator:cognitivedepthbook', 'mod_book');
return get_string('indicator:cognitivedepth', 'mod_book');
}
/**
......
......@@ -41,7 +41,7 @@ class social_breadth extends activity_base {
* @return string
*/
public static function get_name() {
return get_string('indicator:socialbreadthbook', 'mod_book');
return get_string('indicator:socialbreadth', 'mod_book');
}
/**
......
......@@ -55,8 +55,8 @@ $string['eventchapterupdated'] = 'Chapter updated';
$string['eventchapterviewed'] = 'Chapter viewed';
$string['editchapter'] = 'Edit chapter "{$a}"';
$string['hidechapter'] = 'Hide chapter "{$a}"';
$string['indicator:cognitivedepthbook'] = 'Book cognitive';
$string['indicator:socialbreadthbook'] = 'Book social';
$string['indicator:cognitivedepth'] = 'Book cognitive';
$string['indicator:socialbreadth'] = 'Book social';
$string['movechapterup'] = 'Move chapter up "{$a}"';
$string['movechapterdown'] = 'Move chapter down "{$a}"';
$string['search:activity'] = 'Book - resource information';
......
......@@ -41,7 +41,7 @@ class cognitive_depth extends activity_base {
* @return string
*/
public static function get_name() {
return get_string('indicator:cognitivedepthchat', 'mod_chat');
return get_string('indicator:cognitivedepth', 'mod_chat');
}
/**
......
......@@ -41,7 +41,7 @@ class social_breadth extends activity_base {
* @return string
*/
public static function get_name() {
return get_string('indicator:socialbreadthchat', 'mod_chat');
return get_string('indicator:socialbreadth', 'mod_chat');
}
/**
......
......@@ -67,8 +67,8 @@ $string['entermessage'] = "Enter your message";
$string['eventmessagesent'] = 'Message sent';
$string['eventsessionsviewed'] = 'Sessions viewed';
$string['idle'] = 'Idle';
$string['indicator:cognitivedepthchat'] = 'Chat cognitive';
$string['indicator:socialbreadthchat'] = 'Chat social';
$string['indicator:cognitivedepth'] = 'Chat cognitive';
$string['indicator:socialbreadth'] = 'Chat social';
$string['inputarea'] = 'Input area';
$string['invalidid'] = 'Could not find that chat room!';
$string['list_all_sessions'] = 'List all sessions.';
......
......@@ -41,7 +41,7 @@ class cognitive_depth extends activity_base {
* @return string
*/
public static function get_name() {
return get_string('indicator:cognitivedepthchoice', 'mod_choice');
return get_string('indicator:cognitivedepth', 'mod_choice');
}
/**
......
......@@ -41,7 +41,7 @@ class social_breadth extends activity_base {
* @return string
*/
public static function get_name() {
return get_string('indicator:socialbreadthchoice', 'mod_choice');
return get_string('indicator:socialbreadth', 'mod_choice');
}
/**
......
......@@ -71,8 +71,8 @@ $string['chooseaction'] = 'Choose an action ...';
$string['chooseoption'] = 'Choose: {$a}';
$string['description'] = 'Description';
$string['includeinactive'] = 'Include responses from inactive/suspended users';
$string['indicator:cognitivedepthchoice'] = 'Choice cognitive';
$string['indicator:socialbreadthchoice'] = 'Choice social';
$string['indicator:cognitivedepth'] = 'Choice cognitive';
$string['indicator:socialbreadth'] = 'Choice social';
$string['limit'] = 'Limit';
$string['limitno'] = 'Limit {no}';
$string['limitanswers'] = 'Limit the number of responses allowed';
......
......@@ -41,7 +41,7 @@ class cognitive_depth extends activity_base {
* @return string
*/
public static function get_name() {
return get_string('indicator:cognitivedepthdata', 'mod_data');
return get_string('indicator:cognitivedepth', 'mod_data');
}
/**
......
......@@ -41,7 +41,7 @@ class social_breadth extends activity_base {
* @return string
*/
public static function get_name() {
return get_string('indicator:socialbreadthdata', 'mod_data');
return get_string('indicator:socialbreadth', 'mod_data');
}
/**
......
......@@ -203,8 +203,8 @@ $string['importsuccess'] = 'The preset has been successfully applied.';
$string['includeapproval'] = 'Include approval status';
$string['includetime'] = 'Include time added/modified';
$string['includeuserdetails'] = 'Include user details';
$string['indicator:cognitivedepthdata'] = 'Database cognitive';
$string['indicator:socialbreadthdata'] = 'Database social';
$string['indicator:cognitivedepth'] = 'Database cognitive';
$string['indicator:socialbreadth'] = 'Database social';
$string['insufficiententries'] = 'more entries needed to view this database';
$string['intro'] = 'Description';
$string['invalidaccess'] = 'This page was not accessed correctly';
......
......@@ -41,7 +41,7 @@ class cognitive_depth extends activity_base {
* @return string
*/
public static function get_name() {
return get_string('indicator:cognitivedepthfeedback', 'mod_feedback');
return get_string('indicator:cognitivedepth', 'mod_feedback');
}
/**
......
......@@ -41,7 +41,7 @@ class social_breadth extends activity_base {
* @return string
*/
public static function get_name() {
return get_string('indicator:socialbreadthfeedback', 'mod_feedback');
return get_string('indicator:socialbreadth', 'mod_feedback');
}
/**
......
......@@ -139,8 +139,8 @@ $string['downloadresponseas'] = 'Download all responses as:';
$string['importfromthisfile'] = 'Import from this file';
$string['import_questions'] = 'Import questions';
$string['import_successfully'] = 'Import successfully';
$string['indicator:cognitivedepthfeedback'] = 'Feedback cognitive';
$string['indicator:socialbreadthfeedback'] = 'Feedback social';
$string['indicator:cognitivedepth'] = 'Feedback cognitive';
$string['indicator:socialbreadth'] = 'Feedback social';
$string['info'] = 'Information';
$string['infotype'] = 'Information type';
$string['insufficient_responses_for_this_group'] = 'There are insufficient responses for this group';
......
......@@ -41,7 +41,7 @@ class cognitive_depth extends activity_base {
* @return string
*/
public static function get_name() {
return get_string('indicator:cognitivedepthfolder', 'mod_folder');
return get_string('indicator:cognitivedepth', 'mod_folder');
}
/**
......
......@@ -41,7 +41,7 @@ class social_breadth extends activity_base {
* @return string
*/
public static function get_name() {
return get_string('indicator:socialbreadthfolder', 'mod_folder');
return get_string('indicator:socialbreadth', 'mod_folder');
}
/**
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment