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

Hardcoded "operation" language string in backup async helper

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 3.9.16, 3.11.9, 4.0.3
    • 4.0.6, 4.1.1
    • Backup, Language

    Description

      The string 

       asyncmessagebodydefault | core_backup 

      with the text:

      Hi {user_firstname},​<br/> Your {operation} (ID: {backupid}) has completed successfully. <br/><br/>You can access it here: {link}.

      contains a hard coded word.

      What shows up for the string {operation} can't be translated.

      The same goes for the subject line: asyncmessagesubjectdefault | core_backup 

      Moodle {operation} completed successfully

       

      These are the only occurences of {operation} in the language pack, so I think that should be all.

       

      Steps to reproduce:

      1. Change your default language to something else then English
      2. Duplicate a course
      3. The notification email that is send when the copy is done, will contain the word "copy" in English, both in subject and body.

      I can't find the strings for what goes in "operation" for the Dutch language pack. It's 100% complete.

       

       

      Attachments

        Issue Links

          Activity

            People

              pholden Paul Holden
              koen Koen Roggemans
              Huong Nguyen Huong Nguyen
              Andrew Lyons Andrew Lyons
              CiBoT CiBoT
              Adrian Greeve, David Woloszyn, Huong Nguyen, Jake Dallimore, Meirza, Michael Hawkins, Raquel Ortega, Safat Shahin, Stevani Andolo, David Woloszyn, Huong Nguyen, Jake Dallimore, Meirza, Michael Hawkins, Raquel Ortega, Safat Shahin, Stevani Andolo
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                16/Jan/23

                Time Tracking

                  Estimated:
                  Original Estimate - 0 minutes
                  0m
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 50 minutes
                  50m