use automake 1.11, autoconf 2.65
[abook.git] / help.h
blobcda0ec5c3677bc63e384c302d16d95482308c344
1 #ifndef _HELP_H
2 #define _HELP_H
4 #ifdef HAVE_CONFIG_H
5 # include "config.h"
6 #endif
8 /* TODO gettext: handle key and description separately? */
9 static char *mainhelp[] = {
11 N_(" ? help\n"),
12 N_(" q quit\n"),
13 N_(" Q quit without saving\n"),
14 N_(" P quit and output selected item(s) to stderr\n"),
15 N_(" ^L refresh screen\n"),
16 "\n",
17 N_(" arrows / j,k scroll list\n"),
18 N_(" enter view/edit item\n"),
19 N_(" a add item\n"),
20 N_(" r / del remove selected items\n"),
21 N_(" D duplicate item\n"),
22 "\n",
23 N_(" space select item\n"),
24 N_(" + select all\n"),
25 N_(" - unselect all\n"),
26 N_(" * invert selection\n"),
27 "\n",
28 N_(" w write database to disk\n"),
29 N_(" l read database from disk\n"),
30 N_(" C clear whole database\n"),
31 N_(" i import database\n"),
32 N_(" e export database\n"),
33 N_(" p print database\n"),
34 N_(" o open database\n"),
35 "\n",
36 N_(" s sort database\n"),
37 N_(" S \"surname sort\"\n"),
38 N_(" F sort by field (defined in configuration file)\n"),
39 "\n",
40 N_(" / search\n"),
41 N_(" \\ search next occurrence\n"),
42 "\n",
43 N_(" A move current item up\n"),
44 N_(" Z move current item down\n"),
45 "\n",
46 N_(" m send mail with mutt\n"),
47 N_(" v view URL with web browser\n"),
48 NULL
52 static char *editorhelp[] = {
54 "\n",
55 N_(" arrows/h,l change tab\n"),
56 "\n",
57 N_(" q quit to main screen\n"),
58 "\n",
59 N_(" 1 - 5 A - Z edit fields\n"),
60 "\n",
61 N_(" k or < previous item\n"),
62 N_(" j or > next item\n"),
63 "\n",
64 N_(" r roll e-mail addresses up\n"),
65 N_(" ESC-r roll e-mail addresses down\n"),
66 "\n",
67 N_(" u undo\n"),
68 "\n",
69 N_(" m send mail with mutt\n"),
70 N_(" v view url with web browser\n"),
71 "\n",
72 NULL
76 #endif