Details
-
Bug
-
Status: Open
-
Low
-
Resolution: Unresolved
-
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.