aboutsummaryrefslogtreecommitdiffstats
path: root/src/ui-todo.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-todo.c
parent616677fb347607a84d4879d78d0a2dc8e1bc3f91 (diff)
downloadcalcurse-a3d43ead87a742e6c1ffa24c9528608cc68c7e52.tar.gz
calcurse-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-todo.c')
-rw-r--r--src/ui-todo.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/ui-todo.c b/src/ui-todo.c
index 0e3852c..60838af 100644
--- a/src/ui-todo.c
+++ b/src/ui-todo.c
@@ -45,9 +45,9 @@ static char *msgsav;
void ui_todo_add(void)
{
int ch = 0;
- const char *mesg = _("Enter the new ToDo item : ");
+ const char *mesg = _("Enter the new TODO item:");
const char *mesg_id =
- _("Enter the ToDo priority [1 (highest) - 9 (lowest)] :");
+ _("Enter the TODO priority [1 (highest) - 9 (lowest)]:");
char todo_input[BUFSIZ] = "";
status_mesg(mesg, "");
@@ -62,14 +62,14 @@ void ui_todo_add(void)
}
}
-/* Delete an item from the ToDo list. */
+/* Delete an item from the TODO list. */
void ui_todo_delete(void)
{
const char *del_todo_str =
- _("Do you really want to delete this task ?");
+ _("Do you really want to delete this task?");
const char *erase_warning =
_("This item has a note attached to it. "
- "Delete (t)odo or just its (n)ote ?");
+ "Delete (t)odo or just its (n)ote?");
const char *erase_choice = _("[tn]");
const int nb_erase_choice = 2;
int answer;
@@ -113,7 +113,7 @@ void ui_todo_delete(void)
void ui_todo_edit(void)
{
struct todo *i;
- const char *mesg = _("Enter the new ToDo description :");
+ const char *mesg = _("Enter the new TODO description:");
status_mesg(mesg, "");
i = todo_get_item(ui_todo_hilt());
@@ -250,7 +250,7 @@ display_todo_item(int incolor, char *msg, int prio, int note, int width,
custom_remove_attr(w, ATTR_HIGHEST);
}
-/* Updates the ToDo panel. */
+/* Updates the TODO panel. */
void ui_todo_update_panel(int which_pan)
{
llist_item_t *i;