]> git.deb.at Git - pkg/abook.git/blob - help.h
- correct a typo
[pkg/abook.git] / help.h
1 #ifndef _HELP_H
2 #define _HELP_H
3
4 #ifdef HAVE_CONFIG_H
5 #       include "config.h"
6 #endif
7
8 /* TODO gettext: handle key and description separately? */
9 static char *mainhelp[] = {
10
11 N_("    ?               help\n"),
12 N_("    q               quit\n"),
13 N_("    Q               quit without saving\n"),
14 N_("    P               quit and print 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_("    -               select none\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_("    /               find\n"),
41 N_("    \\              find next\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_("    u               view URL with www browser\n"),
48 NULL
49
50 };
51
52 static char *editorhelp[] = {
53
54 "\n",
55 N_("    a,c,p,o,C/arrows/h,l    change tab\n"),
56 "\n",
57 N_("    1 - 5                   edit fields\n"),
58 "\n",
59 N_("    k or <                  previous item\n"),
60 N_("    j or >                  next item\n"),
61 "\n",
62 N_("    r                       roll e-mail addresses\n"),
63 "\n",
64 N_("    u                       undo\n"),
65 "\n",
66 N_("    m                       send mail with mutt\n"),
67 N_("    v                       view url with WWW browser\n"),
68 "\n",
69 NULL
70
71 };
72
73 #endif