src/apoint.c: Change the status message displayed when editing a duration

The duration format has recently changed to allow durations of the
form "2d18h42m", but the status message didn't advertize this new
possibility.

Signed-off-by: Baptiste Jonglez <baptiste--git@jonglez.org>
Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
This commit is contained in:
Baptiste Jonglez 2012-05-02 16:19:29 +02:00 committed by Lukas Fleischer
parent 1691d562a3
commit 6fd0ae2ea7

View File

@ -607,7 +607,7 @@ static int
day_edit_duration (int start, int dur, unsigned *new_duration)
{
char *timestr = date_sec2date_str (start + dur, "%H:%M");
const char *msg_time = _("Enter the new time ([hh:mm]) or duration ([+hh:mm]): ");
const char *msg_time = _("Enter new end time ([hh:mm]) or duration ([+hh:mm], [+xxxdxxhxxm] or [+mm]) : ");
const char *enter_str = _("Press [Enter] to continue");
const char *fmt_msg = _("You entered an invalid time, should be [hh:mm]");
long newtime;