Added SILC Thread Queue API
[crypto.git] / apps / irssi / src / fe-text / module-formats.c
1 /*
2  module-formats.c : irssi
3
4     Copyright (C) 2000 Timo Sirainen
5
6     This program is free software; you can redistribute it and/or modify
7     it under the terms of the GNU General Public License as published by
8     the Free Software Foundation; either version 2 of the License, or
9     (at your option) any later version.
10
11     This program is distributed in the hope that it will be useful,
12     but WITHOUT ANY WARRANTY; without even the implied warranty of
13     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14     GNU General Public License for more details.
15
16     You should have received a copy of the GNU General Public License
17     along with this program; if not, write to the Free Software
18     Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
19 */
20
21 #include "module.h"
22 #include "formats.h"
23
24 FORMAT_REC gui_text_formats[] =
25 {
26         { MODULE_NAME, "Text user interface", 0 },
27
28         /* ---- */
29         { NULL, "Lastlog", 0 },
30
31         { "lastlog_too_long", "/LASTLOG would print $0 lines. If you really want to print all these lines use -force option.", 1, { 1 } },
32         { "lastlog_count", "{hilight Lastlog}: $0 lines", 1, { 1 } },
33         { "lastlog_start", "{hilight Lastlog}:", 0 },
34         { "lastlog_end", "{hilight End of Lastlog}", 0 },
35         { "lastlog_separator", "--", 0 },
36
37         /* ---- */
38         { NULL, "Windows", 0 },
39
40         { "refnum_not_found", "Window number $0 not found", 1, { 0 } },
41         { "window_too_small", "Not enough room to resize this window", 0 },
42         { "cant_hide_last", "You can't hide the last window", 0 },
43         { "cant_hide_sticky_windows", "You can't hide sticky windows (use /WINDOW STICK OFF)", 0 },
44         { "cant_show_sticky_windows", "You can't show sticky windows (use /WINDOW STICK OFF)", 0 },
45         { "window_not_sticky", "Window is not sticky", 0 },
46         { "window_set_sticky", "Window set sticky", 0 },
47         { "window_unset_sticky", "Window is not sticky anymore", 0 },
48         { "window_info_sticky", "%#Sticky  : $0", 1, { 0 } },
49         { "window_info_scroll", "%#Scroll  : $0", 1, { 0 } },
50         { "window_scroll", "Window scroll mode is now $0", 1, { 0 } },
51         { "window_scroll_unknown", "Unknown scroll mode $0, must be ON, OFF or DEFAULT", 1, { 0 } },
52
53         /* ---- */
54         { NULL, "Statusbars", 0 },
55
56         { "statusbar_list_header", "%#Name                           Type   Placement Position Visible", 0 },
57         { "statusbar_list_footer", "", 0 },
58         { "statusbar_list", "%#$[30]0 $[6]1 $[9]2 $[8]3 $4", 5, { 0, 0, 0, 1, 0 } },
59         { "statusbar_info_name", "%#Statusbar: {hilight $0}", 1, { 0 } },
60         { "statusbar_info_type", "%#Type     : $0", 1, { 0 } },
61         { "statusbar_info_placement", "%#Placement: $0", 1, { 0 } },
62         { "statusbar_info_position", "%#Position : $0", 1, { 1 } },
63         { "statusbar_info_visible", "%#Visible  : $0", 1, { 0 } },
64         { "statusbar_info_item_header", "%#Items    : Name                                Priority  Alignment", 0 },
65         { "statusbar_info_item_footer", "", 0 },
66         { "statusbar_info_item_name",  "%#         : $[35]0 $[9]1 $2", 3, { 0, 1, 0 } },
67         { "statusbar_not_found", "Statusbar doesn't exist: $0", 1, { 0 } },
68         { "statusbar_item_not_found", "Statusbar item doesn't exist: $0", 1, { 0 } },
69         { "statusbar_unknown_command", "Unknown statusbar command: $0", 1, { 0 } },
70         { "statusbar_unknown_type", "Statusbar type must be 'window' or 'root'", 1, { 0 } },
71         { "statusbar_unknown_placement", "Statusbar placement must be 'top' or 'bottom'", 1, { 0 } },
72         { "statusbar_unknown_visibility", "Statusbar visibility must be 'always', 'active' or 'inactive'", 1, { 0 } },
73
74         /* ---- */
75         { NULL, "Pasting", 0 },
76
77         { "paste_warning", "Pasting $0 lines to $1. Press Ctrl-K if you wish to do this or Ctrl-C to cancel.", 2, { 1, 0 } },
78         { "paste_prompt", "Hit Ctrl-K to paste, Ctrl-C to abort?", 0 },
79
80         { NULL, NULL, 0 }
81 };