Commit 4a9c3841 authored by Rebecca Blundell's avatar Rebecca Blundell Committed by Rebecca Blundell
Browse files

Bug 1830654: Fix language strings not translatable

-Add lang strings for:
"Edit saved framework"
"Copy existing framework"
in the SmartEvidence editor


Change-Id: Ic5436cb4184896791ccf07f7be5be29c8e982012
parent dc407372
......@@ -137,6 +137,8 @@ else if ($upload) {
'parentelementdesc' => 'module.framework',
'standardelementsdescription' => 'module.framework',
'all' => 'module.framework',
'copyexistingframework' => 'module.framework',
'editsavedframework' => 'module.framework'
//set up variables for correct selection of framework from dropdowns
......@@ -79,7 +79,9 @@ $string['showelementdetails'] = 'Click to show standard element details.';
$string['statusdetail'] = 'Page "%s": %s';
//json editor strings
$string['copyframework'] = 'Select a framework to copy';
$string['copyexistingframework'] = 'Copy existing framework';
$string['editframework'] = 'Select a framework to edit';
$string['editsavedframework'] = 'Edit saved framework';
$string['editdescription1'] = 'To be editable, a framework needs to be inactive and not currently used in a collection.';
$string['editdescription2'] = 'If you edit a framework, you will change the saved data for that framework.';
$string['copyframeworkdescription'] = 'You can copy any framework that is installed and use it as basis for a new framework file.';
......@@ -4,15 +4,15 @@
<button type="submit" class="btn-primary submitcancel submit btn" name="submit" tabindex="0">
{str tag='save'}
<button id='preview' class='btn-default button btn'>Preview</button>
<button id='preview' class='btn-default button btn'>{str tag="Preview" section="view"}</button>
<input type="submit" id='cancel' class="btn-default submitcancel cancel" name="cancel_submit" tabindex="0" value="{str tag='cancel'}">
<div id='edit_framework' class="select form-group"><label for=edit>Edit saved framework</label>
<div id='edit_framework' class="select form-group"><label for=edit>{str tag="editsavedframework" section="module.framework"}</label>
<select id='edit' class="select form-control">{foreach from=$fw_edit key=fw_edk item=fw_ed}<option value={$fw_edk}>{$fw_ed}</option>{/foreach}</select>
<div class="description">
<div id='copy_framework' class="select form-group"><label for="copy">Copy existing framework</label>
<div id='copy_framework' class="select form-group"><label for="copy">{str tag="copyexistingframework" section="module.framework"}</label>
<select id='copy' class="select form-control">{foreach from=$fw key=fw_k item=fw}<option value={$fw_k}>{$fw}</option>{/foreach}</select>
<div class="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