aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gncal-todo.c
diff options
context:
space:
mode:
authorTomas Ogren <stric@ing.umu.se>1999-03-24 12:26:02 +0800
committerTomas Ă–gren <stric@src.gnome.org>1999-03-24 12:26:02 +0800
commitf2f7536a16ab8787754576e388fbcc4af8526f15 (patch)
tree1371f7b7237bcfbddab4d61e2d8d72cbff182469 /calendar/gncal-todo.c
parent7a0e4d23990c3f42df8710ae8c0082d28757d785 (diff)
downloadgsoc2013-evolution-f2f7536a16ab8787754576e388fbcc4af8526f15.tar
gsoc2013-evolution-f2f7536a16ab8787754576e388fbcc4af8526f15.tar.gz
gsoc2013-evolution-f2f7536a16ab8787754576e388fbcc4af8526f15.tar.bz2
gsoc2013-evolution-f2f7536a16ab8787754576e388fbcc4af8526f15.tar.lz
gsoc2013-evolution-f2f7536a16ab8787754576e388fbcc4af8526f15.tar.xz
gsoc2013-evolution-f2f7536a16ab8787754576e388fbcc4af8526f15.tar.zst
gsoc2013-evolution-f2f7536a16ab8787754576e388fbcc4af8526f15.zip
Made clist titles i18n:able Added which views that are possible for --view
1999-03-24 Tomas Ogren <stric@ing.umu.se> * gncal-todo.c (gncal_todo_init): Made clist titles i18n:able * main.c (poptOption): Added which views that are possible for --view in the --help text (closes #367) * main.c (dump_events): Added (short) month to the strftime and made the strings i18n:able svn path=/trunk/; revision=778
Diffstat (limited to 'calendar/gncal-todo.c')
-rw-r--r--calendar/gncal-todo.c11
1 files changed, 9 insertions, 2 deletions
diff --git a/calendar/gncal-todo.c b/calendar/gncal-todo.c
index c64233ae88..669b07e07e 100644
--- a/calendar/gncal-todo.c
+++ b/calendar/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);