Commit daf99dab authored by Ghada El-Zoghbi's avatar Ghada El-Zoghbi Committed by Robert Lyon
Browse files

bug1425424 - Fix bugs for:

1. Note blocktype: lang string 'title1' is causing issues with the
admin/stats/pages. It is expecting 'title'.

2. Resume blocktype: same as above.

Change-Id: I4967d13405031303d25e6728baaccb9eb4d0443f
parent f6873e78
......@@ -11,7 +11,7 @@
defined('INTERNAL') || die();
$string['title1'] = 'Note';
$string['title'] = 'Note';
$string['description'] = 'Add notes to your page';
$string['blockcontent'] = 'Block content';
$string['usecontentfromanothertextbox1'] = 'Use content from another note';
......
......@@ -14,7 +14,7 @@ defined('INTERNAL') || die();
class PluginBlocktypeTextbox extends PluginBlocktype {
public static function get_title() {
return get_string('title1', 'blocktype.internal/textbox');
return get_string('title', 'blocktype.internal/textbox');
}
public static function get_description() {
......
......@@ -11,7 +11,7 @@
defined('INTERNAL') || die();
$string['title1'] = 'My entire résumé';
$string['title'] = 'My entire résumé';
$string['description'] = 'A quick way to show your whole résumé';
$string['History'] = 'History';
......@@ -14,7 +14,7 @@ defined('INTERNAL') || die();
class PluginBlocktypeEntireresume extends PluginBlocktype {
public static function get_title() {
return get_string('title1', 'blocktype.resume/entireresume');
return get_string('title', 'blocktype.resume/entireresume');
}
public static function get_description() {
......
Markdown is supported
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