XMLWordPrintable

Details

    • Bug
    • Status: Open
    • Low
    • Resolution: Unresolved
    • lang.moodle.org
    • None

    Description

      upon sending https://moodle.org/plugins/view.php?plugin=block_sharing_cart to AMOS for parsing, there was below error.

      Error: AMOS threw exception mlang_parser_exception: Error: Expected T_CONSTANT_ENCAPSED_STRING array item value at line 4

      relevant lang file area below:

      $string['pluginname'] = 'Sharing Cart';
      $string['sharing_cart'] = $string['pluginname'];
      

      I think we should allow for such lang variable duplication in plugins, author is probaly thinking it might be different in future. Meanwhile, i'll advise author to simply replicate the string.

      Attachments

        1. Amos bug.png
          169 kB
          Jérôme Mouneyrac

        Activity

          People

            Unassigned Unassigned
            nebgor Aparup Banerjee
            David Mudrák (@mudrd8mz)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: