diff --git a/includes/view/User_view.php b/includes/view/User_view.php index baa02591..1824a1c4 100644 --- a/includes/view/User_view.php +++ b/includes/view/User_view.php @@ -23,11 +23,11 @@ function User_shift_mode_render($shift_mode) { if ($shift_mode == 0) return '' . _("Free") . ''; if ($shift_mode > 8 * 3600) - return '' . sprintf(_("Next shift in %s min"), floor($shift_mode / 60)) . ''; + return '' . _("Next shift in") . ''; if ($shift_mode > 0) - return '' . sprintf(_("Next shift in %s min"), floor($shift_mode / 60)) . ''; + return '' . _("Next shift in") . ''; if ($shift_mode < 0) - return '' . sprintf(_("Current ends in %s min"), floor($shift_mode / 60)) . ''; + return '' . _("Current shift ends in") . ''; } function User_view($user_source, $admin_user_privilege, $freeloader, $user_shift_mode, $user_angeltypes, $user_groups, $shifts, $its_me) {