Commit 15708a6c authored by Clare Lenihan's avatar Clare Lenihan
Browse files

fix for bug #1622

made strings translatable
parent d9843f75
......@@ -28,5 +28,9 @@ defined('INTERNAL') || die();
$string['title'] = 'External Video';
$string['description'] = 'Embed Youtube/Google videos';
$string['videoURL'] = 'Video URL';
$string['videoURLdescription'] = 'Paste the URL of the page where the video is located';
$string['width'] = 'Width';
$string['height'] = 'Height';
?>
......@@ -80,8 +80,8 @@ class PluginBlocktypeExternalvideo extends SystemBlocktype {
return array(
'videoid' => array(
'type' => 'text',
'title' => 'Video URL',
'description' => 'Paste the URL of the page where the video is located',
'title' => get_string('videoURL','blocktype.externalvideo'),
'description' => get_string('videoURLdescription','blocktype.externalvideo'),
'width' => '90%',
'defaultvalue' => $configdata['videoid'],
'rules' => array(
......@@ -90,7 +90,7 @@ class PluginBlocktypeExternalvideo extends SystemBlocktype {
),
'width' => array(
'type' => 'text',
'title' => 'Width',
'title' => get_string('width','blocktype.externalvideo'),
'size' => 3,
//'rules' => array(
// 'minvalue' => 100,
......@@ -100,7 +100,7 @@ class PluginBlocktypeExternalvideo extends SystemBlocktype {
),
'height' => array(
'type' => 'text',
'title' => 'Height',
'title' => get_string('height','blocktype.externalvideo'),
'size' => 3,
//'rules' => array(
// 'minvalue' => 100,
......
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