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

Details

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

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              nebgor Aparup Banerjee
              nebgor Aparup Banerjee
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Clockify

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