From 658ad69fa061c91412268e7605fa05166bd1f523 Mon Sep 17 00:00:00 2001 From: Tim Hunt Date: Thu, 22 Dec 2011 16:11:34 +0000 Subject: [PATCH] MDL-27200 missing {} in various lang strings. --- lang/en/grades.php | 2 +- mod/lti/lang/en/lti.php | 6 +++--- question/type/calculated/lang/en/qtype_calculated.php | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/lang/en/grades.php b/lang/en/grades.php index 1fc68898146..b583effe671 100644 --- a/lang/en/grades.php +++ b/lang/en/grades.php @@ -236,7 +236,7 @@ $string['gradeexportdecimalpoints'] = 'Grade export decimal points'; $string['gradeexportdecimalpoints_desc'] = 'The number of decimal points to display for export. This can be overridden during export.'; $string['gradeexportdisplaytype'] = 'Grade export display type'; $string['gradeexportdisplaytype_desc'] = 'Grades can be shown as real grades, as percentages (in reference to the minimum and maximum grades) or as letters (A, B, C etc..) during export. This can be overridden during export.'; -$string['gradeforstudent'] = '{$a->student}
{$a->item}$a->feedback'; +$string['gradeforstudent'] = '{$a->student}
{$a->item}{$a->feedback}'; $string['gradehelp'] = 'Grade help'; $string['gradehistorylifetime'] = 'Grade history lifetime'; $string['gradehistorylifetime_help'] = 'This specifies the length of time you want to keep history of changes in grade related tables. It is recommended to keep it as long as possible. If you experience performance problems or have limited database space, try to set lower value.'; diff --git a/mod/lti/lang/en/lti.php b/mod/lti/lang/en/lti.php index d7e166e8122..37ca31d2878 100644 --- a/mod/lti/lang/en/lti.php +++ b/mod/lti/lang/en/lti.php @@ -172,7 +172,7 @@ Three icons are available after the External tool type dropdown list: * **Edit** - Select a course level tool type from the dropdown, then click this icon. The details of the tool configuration may be edited. * **Delete** - Remove the selected course level tool type.'; $string['external_tool_types'] = 'External Tool Types'; -$string['failedtoconnect'] = 'Moodle was unable to communicate with the \"$a\" system'; +$string['failedtoconnect'] = 'Moodle was unable to communicate with the "{$a}" system'; $string['filter_basiclti_configlink'] = 'Configure your preferred sites and their passwords'; $string['filter_basiclti_password'] = 'Password is mandatory'; $string['filterconfig'] = 'LTI administration'; @@ -225,7 +225,7 @@ $string['lti:manage'] = 'Edit LTI activities'; $string['lti:requesttooladd'] = 'Submit a tool to admins for configuration'; $string['lti:view'] = 'View LTI activities'; $string['lti_administration'] = 'LTI Administration'; -$string['lti_errormsg'] = 'The tool returned the following error message: \"$a\"'; +$string['lti_errormsg'] = 'The tool returned the following error message: "{$a}"'; $string['lti_launch_error'] = 'An error occured when launching the external tool: '; $string['lti_launch_error_tool_request'] = '

To submit a request for an administrator to complete the tool configuration, click here. @@ -255,7 +255,7 @@ Tool types listed on this page are separated into three categories: Moodle instance. Instructors may still use tools from these providers if they have a consumer key and shared secret, or if none is required.'; $string['miscellaneous'] = 'Miscellaneous'; $string['misconfiguredtools'] = 'Misconfigured tool instances were detected'; -$string['missingparameterserror'] = 'The page is misconfigured: \"$a\"'; +$string['missingparameterserror'] = 'The page is misconfigured: "{$a}"'; $string['module_class_type'] = 'Moodle module type'; $string['modulename'] = 'External Tool'; $string['modulename_help'] = 'External tools allow Moodle users to interact with learning resources and activities on other web sites. For instance, an diff --git a/question/type/calculated/lang/en/qtype_calculated.php b/question/type/calculated/lang/en/qtype_calculated.php index dd168796c6f..ffa61b9b3a4 100644 --- a/question/type/calculated/lang/en/qtype_calculated.php +++ b/question/type/calculated/lang/en/qtype_calculated.php @@ -64,7 +64,7 @@ $string['functiontakesoneortwoargs'] = 'The function {$a} must have either one o $string['functiontakestwoargs'] = 'The function {$a} must have exactly two arguments'; $string['generatevalue'] = 'Generate a new value between'; $string['getnextnow'] = 'Get new \'Item to Add\' now'; -$string['hexanotallowed'] = 'Dataset {$a->name} hexadecimal format value $a->value is not allowed'; +$string['hexanotallowed'] = 'Dataset {$a->name} hexadecimal format value {$a->value} is not allowed'; $string['illegalformulasyntax'] = 'Illegal formula syntax starting with \'{$a}\''; $string['incorrectfeedback'] = 'For any incorrect response'; $string['item(s)'] = 'item(s)';