Uploaded image for project: 'Plugins'
  1. Plugins
  2. CONTRIB-6817

Course shortname should pass through format_string (and maybe other stuff, too)

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Minor Minor
    • 3.3
    • 3.2.2
    • Module: Scheduler
    • None
    • MOODLE_32_STABLE
    • MOODLE_33_STABLE

      Dear Henning,

      Since you are in the process of updating your great plugin, let me give you another improvement wish. We're working on a multilingual Moodle installation and therefore work with multilang filters a lot. We see something not affected by filters in scheduler. In datelist.php for example, course shortname (and location, too, probably). It shouldn't be a great deal of calling format_string and having the filter applied.

      format_string(HEREISTHESHORTNAMEFROMDB, true, array('context' => $context))
      

      I attach a screenshot for you. What you see is the multilang2 filter syntax.

      It would mean a lot to us if you could implement this. If you prefer, I could also prepare a Pull Request for you.

       

            bostelm Henning Bostelmann
            lucaboesch Luca Bösch
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.