Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mahara
mahara
Commits
66f30d3f
Commit
66f30d3f
authored
Nov 29, 2007
by
Nigel McNie
Browse files
Allow 'fill out your resume' string to be translated. Fixes #1728
parent
f56c49a1
Changes
2
Show whitespace changes
Inline
Side-by-side
htdocs/artefact/resume/blocktype/resumefield/lang/en.utf8/blocktype.resumefield.php
View file @
66f30d3f
...
...
@@ -30,4 +30,6 @@ $string['title'] = 'One Resume Field';
$string
[
'description'
]
=
'Display any resume information'
;
$string
[
'fieldtoshow'
]
=
'Field to show'
;
$string
[
'filloutyourresume'
]
=
'%sFill out your resume%s in order to add more fields!'
;
?>
htdocs/artefact/resume/blocktype/resumefield/lib.php
View file @
66f30d3f
...
...
@@ -72,7 +72,7 @@ class PluginBlocktypeResumefield extends PluginBlocktype {
$form
[]
=
self
::
artefactchooser_element
((
isset
(
$configdata
[
'artefactid'
]))
?
$configdata
[
'artefactid'
]
:
null
);
$form
[
'message'
]
=
array
(
'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
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment