Improve "Daily liveweight gain" translation. Separate markup from string. Close P tag.

This commit is contained in:
Michael Stenta 2020-08-27 08:31:08 -04:00
parent 00695591d8
commit 06735fc3ce
1 changed files with 1 additions and 1 deletions

View File

@ -157,7 +157,7 @@ function farm_livestock_weight_dlwg($asset) {
);
// Assemble markup.
$markup = t('<p><strong>Daily Liveweight Gain: </strong>') . $dlwg_text . ' (' . $observed_text . ')';
$markup = '<p><strong>' . t('Daily liveweight gain') . ':</strong> ' . $dlwg_text . ' (' . $observed_text . ')</p>';
// Build array to return.
$dlwg = array("latest_log" => $latest_log, "previous_log" => $previous_log, "value" => $dlwg_value, "units" => $units, 'markup' => $markup);