From 6fd0ae2ea74b1dbb713e822de425bb415217de14 Mon Sep 17 00:00:00 2001
From: Baptiste Jonglez <baptiste--git@jonglez.org>
Date: Wed, 2 May 2012 16:19:29 +0200
Subject: 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>
---
 src/day.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'src')

diff --git a/src/day.c b/src/day.c
index 6828c94..2660fee 100644
--- a/src/day.c
+++ b/src/day.c
@@ -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;
-- 
cgit v1.2.3-70-g09d2