From a3d43ead87a742e6c1ffa24c9528608cc68c7e52 Mon Sep 17 00:00:00 2001 From: Lukas Fleischer Date: Tue, 14 May 2013 11:50:28 +0200 Subject: Fix a couple of translatable strings * Remove space before punctuation. * Use "TODO" instead of "ToDo". * Strip some formats to make sure lines are <=80 characters wide. Signed-off-by: Lukas Fleischer --- src/ui-day.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'src/ui-day.c') diff --git a/src/ui-day.c b/src/ui-day.c index a9dca9a..08248e6 100644 --- a/src/ui-day.c +++ b/src/ui-day.c @@ -45,7 +45,7 @@ static int day_edit_time(int time, unsigned *new_hour, { char *timestr = date_sec2date_str(time, "%H:%M"); const char *msg_time = - _("Enter the new time ([hh:mm] or [hhmm]) : "); + _("Enter start time ([hh:mm] or [hhmm]):"); const char *enter_str = _("Press [Enter] to continue"); const char *fmt_msg = _("You entered an invalid time, should be [hh:mm] or [hhmm]"); @@ -70,7 +70,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 new end time ([hh:mm], [hhmm]) or duration ([+hh:mm], [+xxxdxxhxxm] or [+mm]) : "); + _("Enter end time ([hh:mm], [hhmm]) or duration ([+hh:mm], [+xxxdxxhxxm]):"); const char *enter_str = _("Press [Enter] to continue"); const char *fmt_msg = _("You entered an invalid time, should be [hh:mm] or [hhmm]"); @@ -431,10 +431,10 @@ void ui_day_item_add(void) #define LTIME 6 #define LDUR 12 const char *mesg_1 = - _("Enter start time ([hh:mm] or [hhmm]), leave blank for an all-day event : "); + _("Enter start time ([hh:mm] or [hhmm]), leave blank for an all-day event:"); const char *mesg_2 = - _("Enter end time ([hh:mm] or [hhmm]) or duration ([+hh:mm], [+xxxdxxhxxm] or [+mm]) : "); - const char *mesg_3 = _("Enter description :"); + _("Enter end time ([hh:mm], [hhmm]) or duration ([+hh:mm], [+xxxdxxhxxm]):"); + const char *mesg_3 = _("Enter description:"); const char *format_message_1 = _("You entered an invalid start time, should be [hh:mm] or [hhmm]"); const char *format_message_2 = @@ -537,17 +537,17 @@ void ui_day_item_delete(unsigned *nb_events, unsigned *nb_apoints, unsigned reg) { const char *del_app_str = - _("Do you really want to delete this item ?"); + _("Do you really want to delete this item?"); const char *erase_warning = _("This item is recurrent. " - "Delete (a)ll occurences or just this (o)ne ?"); + "Delete (a)ll occurences or just this (o)ne?"); const char *erase_choices = _("[ao]"); const int nb_erase_choices = 2; const char *note_warning = _("This item has a note attached to it. " - "Delete (i)tem or just its (n)ote ?"); + "Delete (i)tem or just its (n)ote?"); const char *note_choices = _("[in]"); const int nb_note_choices = 2; -- cgit v1.2.3-54-g00ecf