Commit ff807dec authored by Robert Lyon's avatar Robert Lyon Committed by Gerrit Code Review

Merge "Moving hard coded text string to language string package (Bug #1179299)"

parents 191661df e02ff2e3
......@@ -154,6 +154,7 @@ $string['resultsperpage'] = 'Results per page';
// License metadata
$string['license'] = 'License';
$string['licenseother'] = 'Other license (enter URL)';
$string['licensedesc'] = 'The license for this content.';
$string['licensenone'] = 'None selected';
$string['licensingadvanced'] = 'Advanced licensing';
......
......@@ -112,7 +112,7 @@ function license_form_el_basic($artefact, $always_allow_none=false) {
);
if (get_config('licenseallowcustom')) {
$res['allowother'] = true;
$res['options']['other'] = 'Other license (enter URL)';
$res['options']['other'] = get_string('licenseother');
}
if (!isset($options[''])) {
$res['rules'] = array('required' => true);
......
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