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

HTML tags in English strings are not shown on Language customisation page

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.7, 3.7 regressions, 3.8
    • Fix Version/s: 3.7.1
    • Component/s: Language
    • Labels:
    • Testing Instructions:
      Hide
      1. Login as admin
      2. Navigate to Site Administration -> Language -> Language packs
      3. Install the French language pack
      4. Navigate to Site Administration -> Language -> Language customisation
      5. Select the French (Français) language pack and open the language pack for editing
      6. Choose the admin.php file and enter "agedigitalconsentverification_desc" in the "String identifier" field, and then click on the "Show strings" button.
      7. Verify that the text you see on the "Standard text" column (both the French and the English translations) contains a "<a>" html tag and the text is not displayed as a clickable link.
      Show
      Login as admin Navigate to Site Administration -> Language -> Language packs Install the French language pack Navigate to Site Administration -> Language -> Language customisation Select the French (Français) language pack and open the language pack for editing Choose the admin.php file and enter "agedigitalconsentverification_desc" in the "String identifier" field, and then click on the "Show strings" button. Verify  that the text you see on the "Standard text" column (both the French and the English translations) contains a "<a>" html tag and the text is not displayed as a clickable link.
    • Workaround:
      Hide

      Manually add HTML tags to the local customisation.

      Show
      Manually add HTML tags to the local customisation.
    • Affected Branches:
      MOODLE_37_STABLE, MOODLE_38_STABLE
    • Fixed Branches:
      MOODLE_37_STABLE
    • Pull from Repository:
    • Pull 3.7 Branch:
    • Pull Master Branch:
      MDL-65728-master
    • Sprint:
      Internationals - 3.8 Sprint 2

      Description

      HTML tags in the English strings are not shown on the Language customisation page if the string is already translated into chosen language pack. See screenshos

        Attachments

        1. Mdl.png
          Mdl.png
          15 kB
        2. MDL-65728.jpg
          MDL-65728.jpg
          98 kB
        3. Mdl8.png
          Mdl8.png
          15 kB

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  8/Jul/19

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 hour, 1 minute
                  1h 1m