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

Apostrophes are replicated when editing language files in version 1.8.2

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.8.2
    • Fix Version/s: 1.8.3, 1.9
    • Component/s: Language
    • Labels:
      None
    • Environment:
      Windows server 2003 MS SQL server 2000
    • Database:
      MySQL
    • Affected Branches:
      MOODLE_18_STABLE
    • Fixed Branches:
      MOODLE_18_STABLE, MOODLE_19_STABLE

      Description

      This appears to be an error creeping back. When saving language files using the editor interface in Moodle version 1.8.2 (2007021520) apostrophes are doubled each time the file is saved. Example below:

      <?PHP // $Id$
      // moodle.php - created with Moodle 1.8.2 (2007021520)
      // local modifications from http://192.168.137.163:8081/moodle18

      $string['actions'] = 'Action\'\'\'\'s';
      $string['addnousersrecip'] = 'Add users who haven\'\'\'\'t accessed this $a to recipient list';
      $string['adminprimarynoedit'] = 'You may not change the primary admin\'\'\'\'s password';
      $string['assignstudentspass'] = 'All you may need to do is notify your students of the enrolment key for this course, which is currently set to: \'\'\'\'$a\'\'\'\'';
      $string['autosubscribeno'] = 'No: don\'\'\'\'t automatically subscribe me to forums';
      $string['backupfailed'] = 'Some of your courses weren\'\'\'\'t saved!!';
      $string['backupnoneusersinfo'] = 'Notice: You have selected to backup no users (\"none\"), so all the modules backup have been switched to \"without user data\" mode. Please note that the \"exercise\" and \"workshop\" modules aren\'\'\'\'t compatible with this type of backup, so they have been deactivated completely.';

      etc. This behaviour was evident in version 1.7.1+ but does not appear in a 1.8.2+ version downloaded today. This issue was also discussed in http://tracker.moodle.org/browse/MDL-9835

        Attachments

          Activity

            People

            Assignee:
            stronk7 Eloy Lafuente (stronk7)
            Reporter:
            dbrighton David Brighton
            Tester:
            Nobody
            Participants:
            Component watchers:
            David Mudrák (@mudrd8mz), Helen Foster, Víctor Déniz Falcón
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              11/Oct/07