aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/gui')
-rw-r--r--calendar/gui/gncal-todo.c11
-rw-r--r--calendar/gui/main.c12
2 files changed, 15 insertions, 8 deletions
diff --git a/calendar/gui/gncal-todo.c b/calendar/gui/gncal-todo.c
index c64233ae88..669b07e07e 100644
--- a/calendar/gui/gncal-todo.c
+++ b/calendar/gui/gncal-todo.c
@@ -377,7 +377,14 @@ gncal_todo_init (GncalTodo *todo)
GtkWidget *w;
GtkWidget *sw;
GtkWidget *hbox;
- gchar *titles[2] = {"Summary","Due Date"};
+ gchar *titles[2] = {
+ N_("Summary"),
+ N_("Due Date")
+ };
+ char *tmp[2];
+ tmp[0] = _(titles[0]);
+ tmp[1] = _(titles[1]);
+
gtk_box_set_spacing (GTK_BOX (todo), 4);
/* Label */
@@ -395,7 +402,7 @@ gncal_todo_init (GncalTodo *todo)
gtk_widget_show (sw);
- w = gtk_clist_new_with_titles(2, titles);
+ w = gtk_clist_new_with_titles(2, tmp);
todo->clist = GTK_CLIST (w);
gtk_clist_set_selection_mode (todo->clist, GTK_SELECTION_BROWSE);
diff --git a/calendar/gui/main.c b/calendar/gui/main.c
index 6818eb8d23..76736acfbe 100644
--- a/calendar/gui/main.c
+++ b/calendar/gui/main.c
@@ -640,14 +640,14 @@ dump_events (void)
te = *localtime (&co->ev_end);
if (same_day (&today, &ts))
- format = "%H:%M";
+ format = N_("%H:%M");
else
- format = "%A %d, %H:%M";
- strftime (start, sizeof (start), format, &ts);
+ format = N_("%A %b %d, %H:%M");
+ strftime (start, sizeof (start), _(format), &ts);
if (!same_day (&ts, &te))
- format = "%A %d, %H:%M";
- strftime (end, sizeof (start), format, &te);
+ format = N_("%A %b %d, %H:%M");
+ strftime (end, sizeof (start), _(format), &te);
printf ("%s -- %s\n", start, end);
printf (" %s\n", co->ico->summary);
@@ -715,7 +715,7 @@ static const struct poptOption options [] = {
{ "file", 'F', POPT_ARG_STRING, NULL, 'F', N_("File to load calendar from"), N_("FILE") },
{ "userfile", '\0', POPT_ARG_NONE, NULL, USERFILE_KEY, N_("Load the user calendar"), NULL },
{ "geometry", '\0', POPT_ARG_STRING, NULL, GEOMETRY_KEY, N_("Geometry for starting up"), N_("GEOMETRY") },
- { "view", '\0', POPT_ARG_STRING, NULL, VIEW_KEY, N_("The startup view mode"), N_("VIEW") },
+ { "view", '\0', POPT_ARG_STRING, NULL, VIEW_KEY, N_("The startup view mode (dayview, weekview, monthview, yearview)"), N_("VIEW") },
{ "to", 't', POPT_ARG_STRING, NULL, 't', N_("Specifies ending date [for --events]"), N_("DATE") },
{ "hidden", 0, POPT_ARG_NONE, NULL, HIDDEN_KEY, N_("If used, starts in iconic mode"), NULL },
{ NULL, '\0', 0, NULL, 0}