Uploaded image for project: 'Moodle Community Sites'
  1. Moodle Community Sites
  2. MDLSITE-2330 META: learn.moodle.net
  3. MDLSITE-2493

All strings in popup notifications are not translatable

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Fixed
    • Icon: Low Low
    • learn.moodle.org
    • None

      This started off as a simple task to change 'Ok' to 'OK' during glossary filter popups for Helen.

      In trying to fix this properly, the file lib/Yui/src/notification/js/notification.js which extends ALERT should use M.util.get_String('ok', 'moodle') to provide the strings (among other strings[close,confirm etc).

      The issue here is that 'ok' is not a string that is loaded at all in many pages. no one does $PAGE->strings_for_js() and includes 'ok' and 'close' etc... we need to include it at the notification.js level.. somehow.

      right now, all notifications buttons are actually not translated.

            nebgor Aparup Banerjee
            nebgor Aparup Banerjee
            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.