doujiao1981 2017-10-13 11:44
浏览 61

如何找到此处列出的getstring的输出:https://github.com/moodle/moodle/blob/master/enrol/instances.php

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

  • 写回答

1条回答 默认 最新

  • duanlangwen9597 2017-10-13 12:02
    关注

    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';)

    评论

报告相同问题?

悬赏问题

  • ¥15 STM32驱动继电器
  • ¥15 Windows server update services
  • ¥15 关于#c语言#的问题:我现在在做一个墨水屏设计,2.9英寸的小屏怎么换4.2英寸大屏
  • ¥15 模糊pid与pid仿真结果几乎一样
  • ¥15 java的GUI的运用
  • ¥15 我想付费需要AKM公司DSP开发资料及相关开发。
  • ¥15 怎么配置广告联盟瀑布流
  • ¥15 Rstudio 保存代码闪退
  • ¥20 win系统的PYQT程序生成的数据如何放入云服务器阿里云window版?
  • ¥50 invest生境质量模块