Skip to content

Commit

Permalink
Fixed issue: Untranslated text in multitext array question sum function
Browse files Browse the repository at this point in the history
  • Loading branch information
c-schmitz committed Jul 2, 2014
1 parent eb7a98e commit 7d0bd77
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions application/helpers/qanda_helper.php
Expand Up @@ -4963,7 +4963,7 @@ function do_array_multitext($ia)
}
$num_class = ' numbers-only';
$extraclass.=" numberonly";
$caption.=$clang->gT("Each answers are number. ");
$caption.=$clang->gT("Each answer is a number. ");
switch ($aQuestionAttributes['show_totals'])
{
case 'R':
Expand All @@ -4973,19 +4973,19 @@ function do_array_multitext($ia)
<input name="[[ROW_NAME]]_total" title="[[ROW_NAME]] total" size="[[INPUT_WIDTH]]" value="" type="text" disabled="disabled" class="disabled" />
</label>
</td>';
$col_head = ' <th class="total">Total</th>';
$col_head = ' <th class="total">'.$clang->gT('Total').'</th>';
if($show_grand == true)
{
$row_head = '
<th class="answertext total">Grand total</th>';
<th class="answertext total">'.$clang->gT('Grand total').'</th>';
$col_total = '
<td>&nbsp;</td>';
$grand_total = '
<td class="total grand information-item">
<input type="text" size="[[INPUT_WIDTH]]" value="" disabled="disabled" class="disabled" />
</td>';
};
$caption.=$clang->gT("The last row show the total for the column. ");
$caption.=$clang->gT("The last row shows the total for the column. ");
break;
case 'C':
$totals_class = $show_totals = 'col';
Expand All @@ -5005,7 +5005,7 @@ function do_array_multitext($ia)
<input type="text" size="[[INPUT_WIDTH]]" value="" disabled="disabled" class="disabled" />
</td>';
};
$caption.=$clang->gT("The last column show the total for the row. ");
$caption.=$clang->gT("The last column shows the total for the row. ");
break;
case 'B':
$totals_class = $show_totals = 'both';
Expand All @@ -5018,7 +5018,7 @@ function do_array_multitext($ia)
<td class="total information-item">
<input type="text" size="[[INPUT_WIDTH]]" value="" disabled="disabled" class="disabled" />
</td>';
$col_head = ' <th class="total">Total</th>';
$col_head = ' <th class="total">'.$clang->gT('Total').'</th>';
$row_head = '
<th class="answertext">Total</th>';
if($show_grand == true)
Expand All @@ -5033,7 +5033,7 @@ function do_array_multitext($ia)
$grand_total = '
<td>&nbsp;</td>';
};
$caption.=$clang->gT("The last row show the total for the column and the last column show the total for the row. ");
$caption.=$clang->gT("The last row shows the total for the column and the last column shows the total for the row. ");
break;
};
if(!empty($totals_class))
Expand Down

0 comments on commit 7d0bd77

Please sign in to comment.