aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorBaptiste Jonglez <baptiste--git@jonglez.org>2012-05-02 16:19:29 +0200
committerLukas Fleischer <calcurse@cryptocrack.de>2012-05-02 17:10:58 +0200
commit6fd0ae2ea74b1dbb713e822de425bb415217de14 (patch)
treeab0680295b3c39539c5e47aa788e7c038ca98211 /src
parent1691d562a3bcb8e84a7a88145f99156615021522 (diff)
downloadcalcurse-6fd0ae2ea74b1dbb713e822de425bb415217de14.tar.gz
calcurse-6fd0ae2ea74b1dbb713e822de425bb415217de14.zip
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>
Diffstat (limited to 'src')
-rw-r--r--src/day.c2
1 files changed, 1 insertions, 1 deletions
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;