diff options
author | Tomas Ogren <stric@ing.umu.se> | 1999-03-24 12:26:02 +0800 |
---|---|---|
committer | Tomas Ă–gren <stric@src.gnome.org> | 1999-03-24 12:26:02 +0800 |
commit | f2f7536a16ab8787754576e388fbcc4af8526f15 (patch) | |
tree | 1371f7b7237bcfbddab4d61e2d8d72cbff182469 /calendar/main.c | |
parent | 7a0e4d23990c3f42df8710ae8c0082d28757d785 (diff) | |
download | gsoc2013-evolution-f2f7536a16ab8787754576e388fbcc4af8526f15.tar.gz 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/main.c')
-rw-r--r-- | calendar/main.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/calendar/main.c b/calendar/main.c index 6818eb8d23..76736acfbe 100644 --- a/calendar/main.c +++ b/calendar/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} |