diff --git a/app/common.php b/app/common.php index 3526e80..83ae061 100644 --- a/app/common.php +++ b/app/common.php @@ -167,17 +167,17 @@ if (!function_exists('get_time_difference_str')) { ); } if (!empty($difference['hours']) || !empty($value)) { - $value .= $difference['hours'] . $str . __( + $value .= $str . $difference['hours'] . $str . __( 'controller.parking_space.hours' ); } if (!empty($difference['minutes']) || !empty($value)) { - $value .= $difference['minutes'] . $str . __( + $value .= $str . $difference['minutes'] . $str . __( 'controller.parking_space.minutes' ); } if (!empty($difference['seconds']) || !empty($value)) { - $value .= $difference['seconds'] . $str . __( + $value .= $str . $difference['seconds'] . $str . __( 'controller.parking_space.seconds' ); } @@ -222,7 +222,7 @@ if (!function_exists('get_minutes')) { 'controller.parking_space.minutes' ); $hoursStr = $hours . $str . __('controller.parking_space.hours'); - return $hoursStr . $minutesStr; + return $hoursStr . $str . $minutesStr; } } }