Hi all,
Could someone give me some pointers on how to insert variables into language pack strings? There are a lot of examples in the Moodle language packs that go something like:
$string['periodnminutes'] = 'last $a minutes';
(This example is taken from the Online Users block)
How and where is $a defined? I can't see anything obvious - the relevant php files don't have anything like:
$a = <code to generate minutes>;
Am I missing something really blatant? If there's a doc page I've overlooked then please let me know!