I'm currently working on Moodle to change the spelling of enrol to enroll. I've completed almost every single screen except two places. Here is the code Github. To dig more, I need to know how do I find where to find the output of line 47 and what is the output? I have very little knowledge on coding, please excuse if the question is not clear
get_string(STRING_NAME, COMPONENT)
takes english strings from /lang/en/COMPONENT.php
In your example, you would find the output for get_string('enrolmentinstances', 'enrol')
in /lang/en/enrol.php (see https://github.com/moodle/moodle/blob/master/lang/en/enrol.php#L60 - $string['enrolmentinstances'] = 'Enrolment methods';
)