diff --git a/modules/farm/farm_livestock/farm_livestock_weight/farm_livestock_weight.report.inc b/modules/farm/farm_livestock/farm_livestock_weight/farm_livestock_weight.report.inc index f939bb300..5e773cd0c 100644 --- a/modules/farm/farm_livestock/farm_livestock_weight/farm_livestock_weight.report.inc +++ b/modules/farm/farm_livestock/farm_livestock_weight/farm_livestock_weight.report.inc @@ -22,9 +22,9 @@ function farm_livestock_weight_individual_report(FarmAsset $farm_asset) { // Check if the asset has a weight recorded. if (empty($current_weight)) { - $output .= t('

No weight recorded for asset

'); + $output .= '

' . t('No weight recorded for asset') . '

'; } else { - $output .= t('

Current Weight: ') . $current_weight['value'] . ' ' . $current_weight['units'] . '

'; + $output .= '

' . t('Current weight') . ': ' . $current_weight['value'] . ' ' . $current_weight['units'] . '

'; // Load the daily live weight gain. $dlwg = farm_livestock_weight_dlwg($farm_asset); @@ -41,7 +41,7 @@ function farm_livestock_weight_individual_report(FarmAsset $farm_asset) { if (!empty($weights)) { // Simple html table of weights. - $output .= t('

All Weights

'); + $output .= '

' . t('All weights') . '

'; $header = array(t('Date'), t('Value'), t('Units')); $table_data = array(); @@ -68,7 +68,7 @@ function farm_livestock_weight_individual_report(FarmAsset $farm_asset) { // Create a Weight Report Graph $graph = array( - 'name' => htmlspecialchars(entity_label('farm_asset', $farm_asset)) . t(' Weight Report'), + 'name' => htmlspecialchars(entity_label('farm_asset', $farm_asset)) . ' ' . t('Weight report'), 'id' => 'farm-report-weight-graph', 'data' => $weights, );