Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-45635

Some javascript confirmation windows can not be localised

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide
      • open the JS console
      • for each of the following dialogues, confirm:
        • that the strings are shown without placeholders

          // Setup
          Y.use('moodle-core-notification');
           
          // Confirmation dialogue
          a = new M.core.confirm({});
          // Confirm that the title, yes, and no buttons are correct
          // Confirm that the title on the [X] is correct.
          a.destroy();
           
          // ajax Exception dialogue
          a = new M.core.ajaxException({});
          // Confirm that the title, and default message (Unknonw error) are correct
          // Confirm that the title on the [X] is correct.
          a.destroy();
           
          // standard dialogue
          a = new M.core.dialogue({});
          // Confirm that the title is correct
          // Confirm that the title on the [X] is correct.
          a.destroy();
          

      • Repeat in at least one other language. Note: the following strings probably won't have been translated yet unless we have very eager translators:
        • "Are you sure?";
        • "Close" (the [X] title); and
        • "Unknown error".
      Show
      open the JS console for each of the following dialogues, confirm: that the strings are shown without placeholders // Setup Y.use('moodle-core-notification');   // Confirmation dialogue a = new M.core.confirm({}); // Confirm that the title, yes, and no buttons are correct // Confirm that the title on the [X] is correct. a.destroy();   // ajax Exception dialogue a = new M.core.ajaxException({}); // Confirm that the title, and default message (Unknonw error) are correct // Confirm that the title on the [X] is correct. a.destroy();   // standard dialogue a = new M.core.dialogue({}); // Confirm that the title is correct // Confirm that the title on the [X] is correct. a.destroy(); Repeat in at least one other language. Note: the following strings probably won't have been translated yet unless we have very eager translators: "Are you sure?"; "Close" (the [X] title); and "Unknown error".
    • Affected Branches:
      MOODLE_26_STABLE
    • Fixed Branches:
      MOODLE_26_STABLE, MOODLE_27_STABLE
    • Pull Master Branch:
      MDL-45635-master

      Description

      I met with several windows for confirmation, which can not be localised. That is big problem for projects requiring the local language.

        Attachments

        1. b.jpg
          91 kB
          Bohumil Havel

          Activity

            People

            Assignee:
            dobedobedoh Andrew Lyons
            Reporter:
            bhavel Bohumil Havel
            Integrator:
            Sam Hemelryk Sam Hemelryk
            Tester:
            Jason Fowler Jason Fowler
            Participants:
            Component watchers:
            Andrew Lyons, Dongsheng Cai, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze, David Mudrák (@mudrd8mz), Helen Foster, Víctor Déniz Falcón
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              14/Jul/14