Commit d176e864 authored by Robert Lyon's avatar Robert Lyon

Bug 1547441: Fixing hardcoded lang string for tinymce image editor

Slightly different fix for 15.04 branch

behatnotneeded

Change-Id: Idff6237c5c07f43d9c3a17f3d50aaafd83a07846
Signed-off-by: Robert Lyon's avatarRobert Lyon <robertl@catalyst.net.nz>
parent 3d469dff
......@@ -800,6 +800,7 @@ $string['clamnotset'] = 'You have activated virus checking, but have not set a "
$string['clamfailed'] = 'ClamAV has failed to run. The return error message was %s. Here is the output from ClamAV:';
$string['clamunknownerror'] = 'There was an unknown error with ClamAV.';
$string['image'] = 'Image';
$string['imageformattingoptions'] = 'Image formatting options';
$string['filenotimage'] = 'The file you uploaded is not a valid image. It must be a PNG, JPEG or GIF file.';
$string['uploadedfiletoobig'] = 'The file was too big. Please ask your administrator for more information.';
$string['notphpuploadedfile'] = 'The file was lost in the upload process. This should not happen. Please contact your administrator for more information.';
......
......@@ -128,7 +128,7 @@ class ImageBrowser {
$elements['toggleformatting'] = array(
'type' => 'html',
'class' => 'toggleablecontainer',
'value' => '<div id="formattingoptionstoggle" class="retracted arrow"><label>Image formatting options</label></div>',
'value' => '<div id="formattingoptionstoggle" class="retracted arrow"><label>' . get_string('imageformattingoptions') . '</label></div>',
);
$elements ['formattingoptions'] = array (
'type' => 'container',
......
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