summaryrefslogtreecommitdiff
path: root/src/ui-day.c
diff options
context:
space:
mode:
authorLukas Fleischer <calcurse@cryptocrack.de>2013-05-14 11:50:28 +0200
committerLukas Fleischer <calcurse@cryptocrack.de>2013-05-14 12:03:04 +0200
commita3d43ead87a742e6c1ffa24c9528608cc68c7e52 (patch)
treeb2bed4578c8c44c961517a007061fd1da6018ec5 /src/ui-day.c
parent616677fb347607a84d4879d78d0a2dc8e1bc3f91 (diff)
downloadcalcurse-a3d43ead87a742e6c1ffa24c9528608cc68c7e52.zip
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 <calcurse@cryptocrack.de>
Diffstat (limited to 'src/ui-day.c')
-rw-r--r--src/ui-day.c16
1 files changed, 8 insertions, 8 deletions
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;