in db/access.php
defined('MOODLE_INTERNAL') || die();
$capabilities = array(
'local/mypluginname:mycapability' => array(
'captype' => 'write',
'contextlevel' => CONTEXT_SYSTEM,
'archetypes' => array(
'user' => CAP_ALLOW
)
)
);
in capability listing (/admin/tool/capability/index.php) I get ??? as output instead of the [some "Hello World" text]
<option value="local/mypluginname:mycapability" selected="" id="somerandomid">local/mypluginname:mycapability: local/mypluginname:mycapability ???</option>
Do not really know what I am missing.
Other texts, without the colon; from the lang file, are being shown properly.
Thank you in advance.