]> git.deb.at Git - pkg/abook.git/blob - help.h
Revert "Add fix_spelling_error_in_binary.diff patch"
[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 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_("    M               merge selected items (into top one)\n"),
22 N_("    D               duplicate item\n"),
23 N_("    U               remove duplicates\n"),
24 "\n",
25 N_("    space           select item\n"),
26 N_("    +               select all\n"),
27 N_("    -               unselect all\n"),
28 N_("    *               invert selection\n"),
29 "\n",
30 N_("    w               write database to disk\n"),
31 N_("    l               read database from disk\n"),
32 N_("    C               clear whole database\n"),
33 N_("    i               import database\n"),
34 N_("    e               export database\n"),
35 N_("    p               print database\n"),
36 N_("    o               open database\n"),
37 "\n",
38 N_("    s               sort database\n"),
39 N_("    S               \"surname sort\"\n"),
40 N_("    F               sort by field (defined in configuration file)\n"),
41 "\n",
42 N_("    /               search\n"),
43 N_("    \\              search next occurrence\n"),
44 "\n",
45 N_("    A               move current item up\n"),
46 N_("    Z               move current item down\n"),
47 "\n",
48 N_("    m               send mail with mutt\n"),
49 N_("    v               view URL with web browser\n"),
50 NULL
51
52 };
53
54 static char *editorhelp[] = {
55
56 "\n",
57 N_("    arrows/h,l              change tab\n"),
58 "\n",
59 N_("    q                       quit to main screen\n"),
60 "\n",
61 N_("    1 - 5 A - Z             edit fields\n"),
62 "\n",
63 N_("    k or <                  previous item\n"),
64 N_("    j or >                  next item\n"),
65 "\n",
66 N_("    r                       roll e-mail addresses up\n"),
67 N_("    ESC-r                   roll e-mail addresses down\n"),
68 "\n",
69 N_("    u                       undo\n"),
70 "\n",
71 N_("    m                       send mail with mutt\n"),
72 N_("    v                       view url with web browser\n"),
73 "\n",
74 NULL
75
76 };
77
78 #endif