Commit 66f30d3f authored by Nigel McNie's avatar Nigel McNie
Browse files

Allow 'fill out your resume' string to be translated. Fixes #1728

parent f56c49a1
...@@ -30,4 +30,6 @@ $string['title'] = 'One Resume Field'; ...@@ -30,4 +30,6 @@ $string['title'] = 'One Resume Field';
$string['description'] = 'Display any resume information'; $string['description'] = 'Display any resume information';
$string['fieldtoshow'] = 'Field to show'; $string['fieldtoshow'] = 'Field to show';
$string['filloutyourresume'] = '%sFill out your resume%s in order to add more fields!';
?> ?>
...@@ -72,7 +72,7 @@ class PluginBlocktypeResumefield extends PluginBlocktype { ...@@ -72,7 +72,7 @@ class PluginBlocktypeResumefield extends PluginBlocktype {
$form[] = self::artefactchooser_element((isset($configdata['artefactid'])) ? $configdata['artefactid'] : null); $form[] = self::artefactchooser_element((isset($configdata['artefactid'])) ? $configdata['artefactid'] : null);
$form['message'] = array( $form['message'] = array(
'type' => 'html', 'type' => 'html',
'value' => '<a href="' . get_config('wwwroot') . 'artefact/resume/">Fill out your resume</a> in order to add more fields!' 'value' => get_string('filloutyourresume', 'blocktype.resume/resumefield', '<a href="' . get_config('wwwroot') . 'artefact/resume/">', '</a>'),
); );
return $form; return $form;
......
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