separate strings for activity in the drop down, and general name

separate strings for activity in the drop down, and general name

by John Booker -
Number of replies: 1
I have a noun that I want to use for my activity name "emboodle." However, it's not very decription, so I'd like for the dropdown of activities when you are editing a course to show "insert an embeddable object."

Is there any way to set this? All I see are ['modulename'] and ['modulenameplural'] in the language resource files.
Average of ratings: -
In reply to John Booker

Re: separate strings for activity in the drop down, and general name

by Joseph Rézeau -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers Picture of Translators
Hi John,
Well, in the moodle/mod/emboodle/lang/en_utf8/emboodle.php file, just write:
$string['modulename'] = 'Insert an embeddable object';
$string['modulenameplural'] = 'Insert an embeddable object';
See result in attached screenshot.
Joseph
Attachment image00.jpg