Commit 3830bb54 authored by Mitsuhiro Yoshida's avatar Mitsuhiro Yoshida Committed by Robert Lyon
Browse files

Bug 1942268: Making 'Delete standard' and 'Delete standard element' button on...

Bug 1942268: Making 'Delete standard' and 'Delete standard element' button on SmartEvidence Editor translatable.

Change-Id: Iffd89fee53ec9427ecaf92afc638322a8e480dbc
(cherry picked from commit 206866fe)
parent e5255a37
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -166,7 +166,8 @@ function edit_framework_section() {
        'all' => 'module.framework',
        'copyexistingframework' => 'module.framework',
        'editsavedframework' => 'module.framework',
        'removestandardorelementconfirm' => 'module.framework'
        'removestandardorelementconfirm' => 'module.framework',
        'delete' => 'module.framework'
    );

    //set up variables for correct selection of framework from dropdowns
+1 −0
Original line number Diff line number Diff line
@@ -53,6 +53,7 @@ jQuery(function($) {
    JSONEditor.defaults.languages.en.button_move_up_title = get_string('moveleft');
    JSONEditor.defaults.languages.en.button_delete_all_title = get_string('deleteall');
    JSONEditor.defaults.languages.en.remove_element_message = get_string('removestandardorelementconfirm');
    JSONEditor.defaults.languages.en.button_delete_row_title = get_string('delete','module.framework','{{0}}');

    // Enable select2
    JSONEditor.plugins.select2.enable = true;
+2 −1
Original line number Diff line number Diff line
@@ -131,3 +131,4 @@ $string['removestandardorelementconfirm'] = 'Are you sure you want to remove thi
$string['noframeworkfoundondb'] = 'The framework could not be found on the database';
$string['missingparamframeworkid'] = 'The parameter framework id is missing';
$string['missingrecordsdb'] = 'The following records could not be found on the DB: %s';
$string['delete'] = 'Delete %s';