MDL-21941, change language strings for comments api

This commit is contained in:
Dongsheng Cai
2010-04-08 01:53:48 +00:00
parent 0a1b830c42
commit 535b4a51c1
3 changed files with 2 additions and 3 deletions
+1 -1
View File
@@ -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);
-1
View File
@@ -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';
+1 -1
View File
@@ -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':