MDL-21941, change language strings for comments api
This commit is contained in:
+1
-1
@@ -55,7 +55,7 @@ M.core_comment = {
|
||||
return false;
|
||||
}, this);
|
||||
CommentHelper.confirmoverlay = new Y.Overlay({
|
||||
bodyContent: '<a href="#" id="confirmdelete-'+this.client_id+'">'+M.str.moodle.sure+'</a> <a href="#" id="canceldelete-'+this.client_id+'">'+M.str.moodle.cancel+'</a>',
|
||||
bodyContent: '<a href="#" id="confirmdelete-'+this.client_id+'">'+M.str.moodle.yes+'</a> <a href="#" id="canceldelete-'+this.client_id+'">'+M.str.moodle.no+'</a>',
|
||||
visible: false
|
||||
});
|
||||
CommentHelper.confirmoverlay.render(document.body);
|
||||
|
||||
@@ -1614,7 +1614,6 @@ $string['success'] = 'Success';
|
||||
$string['summary'] = 'Summary';
|
||||
$string['summaryof'] = 'Summary of $a';
|
||||
$string['supplyinfo'] = 'More details';
|
||||
$string['sure'] = 'Sure';
|
||||
$string['switchrolereturn'] = 'Return to my normal role';
|
||||
$string['switchroleto'] = 'Switch role to...';
|
||||
$string['tag'] = 'Tag';
|
||||
|
||||
@@ -365,7 +365,7 @@ class page_requirements_manager {
|
||||
$module = array('name' => 'core_comment',
|
||||
'fullpath' => '/comment/comment.js',
|
||||
'requires' => array('base', 'io', 'node', 'json', 'yui2-animation', 'overlay'),
|
||||
'strings' => array(array('confirmdeletecomments', 'admin'), array('sure', 'moodle'), array('cancel', 'moodle'))
|
||||
'strings' => array(array('confirmdeletecomments', 'admin'), array('yes', 'moodle'), array('no', 'moodle'))
|
||||
);
|
||||
break;
|
||||
case 'core_role':
|
||||
|
||||
Reference in New Issue
Block a user