Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 1.9.3
    • Fix Version/s: 2.0.2
    • Component/s: Language
    • Labels:
      None
    • Affected Branches:
      MOODLE_19_STABLE
    • Fixed Branches:
      MOODLE_20_STABLE

      Description

      Sometimes, a string definition is duplicated. I.e. in the same file a $string['id'] = 'value' appears twice. It is not a real issue as it does not influence PHP functionality (later definition wins). But it may break grep filtering and other automatic lang pack manipulation tools.

      I discovered some of them this when I compared the numbers of strings as shown by the new Language manipulation API functions and their count as returned by grep filter.

        Gliffy Diagrams

          Attachments

            Activity

            Hide
            mudrd8mz David Mudrák added a comment -

            First fixes in the CVS:
            lang/en_utf8/enrol_mnet.php
            lang/en_utf8/quiz_overview.php
            lang/en_utf8/qtype_multichoice.php

            Show
            mudrd8mz David Mudrák added a comment - First fixes in the CVS: lang/en_utf8/enrol_mnet.php lang/en_utf8/quiz_overview.php lang/en_utf8/qtype_multichoice.php
            Hide
            mudrd8mz David Mudrák added a comment -

            Fixed the rest in PULL-244

            Show
            mudrd8mz David Mudrák added a comment - Fixed the rest in PULL-244
            Hide
            tsala Helen Foster added a comment -

            Thanks David.

            Show
            tsala Helen Foster added a comment - Thanks David.

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  21/Feb/11