2000-04-26 08:03:38 +00:00
/*
module - formats . c : irssi
Copyright ( C ) 2000 Timo Sirainen
This program is free software ; you can redistribute it and / or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation ; either version 2 of the License , or
( at your option ) any later version .
This program is distributed in the hope that it will be useful ,
but WITHOUT ANY WARRANTY ; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
GNU General Public License for more details .
2007-05-08 18:41:10 +00:00
You should have received a copy of the GNU General Public License along
with this program ; if not , write to the Free Software Foundation , Inc . ,
51 Franklin Street , Fifth Floor , Boston , MA 02110 - 1301 USA .
2000-04-26 08:03:38 +00:00
*/
# include "module.h"
2019-05-01 16:33:47 +02:00
# include <irssi/src/fe-common/core/formats.h>
2000-04-26 08:03:38 +00:00
2022-02-05 22:31:24 +01:00
FORMAT_REC gui_text_formats [ ] = {
/* clang-format off */
2000-05-15 08:25:45 +00:00
{ MODULE_NAME , " Text user interface " , 0 } ,
2000-04-26 08:03:38 +00:00
2002-02-15 21:42:31 +00:00
/* ---- */
{ NULL , " Lastlog " , 0 } ,
2001-03-03 17:45:35 +00:00
{ " lastlog_too_long " , " /LASTLOG would print $0 lines. If you really want to print all these lines use -force option. " , 1 , { 1 } } ,
2001-10-19 11:59:27 +00:00
{ " lastlog_count " , " {hilight Lastlog}: $0 lines " , 1 , { 1 } } ,
2000-10-28 01:52:16 +00:00
{ " lastlog_start " , " {hilight Lastlog}: " , 0 } ,
{ " lastlog_end " , " {hilight End of Lastlog} " , 0 } ,
2002-01-20 16:57:06 +00:00
{ " lastlog_separator " , " -- " , 0 } ,
2015-02-08 16:58:30 +02:00
{ " lastlog_date " , " %%F " , 0 } ,
2000-05-04 10:32:42 +00:00
2002-02-15 21:42:31 +00:00
/* ---- */
{ NULL , " Windows " , 0 } ,
2001-02-10 04:43:21 +00:00
{ " refnum_not_found " , " Window number $0 not found " , 1 , { 0 } } ,
2000-05-15 08:25:45 +00:00
{ " window_too_small " , " Not enough room to resize this window " , 0 } ,
{ " cant_hide_last " , " You can't hide the last window " , 0 } ,
2017-04-25 00:42:53 +02:00
{ " cant_hide_sticky_windows " , " You can't hide sticky windows (use /SET autounstick_windows ON) " , 0 } ,
{ " cant_show_sticky_windows " , " You can't show sticky windows (use /SET autounstick_windows ON) " , 0 } ,
2001-02-10 04:43:21 +00:00
{ " window_not_sticky " , " Window is not sticky " , 0 } ,
{ " window_set_sticky " , " Window set sticky " , 0 } ,
{ " window_unset_sticky " , " Window is not sticky anymore " , 0 } ,
2002-04-28 11:30:31 +00:00
{ " window_info_sticky " , " %#Sticky : $0 " , 1 , { 0 } } ,
{ " window_info_scroll " , " %#Scroll : $0 " , 1 , { 0 } } ,
2001-08-14 01:14:26 +00:00
{ " window_scroll " , " Window scroll mode is now $0 " , 1 , { 0 } } ,
{ " window_scroll_unknown " , " Unknown scroll mode $0, must be ON, OFF or DEFAULT " , 1 , { 0 } } ,
2017-09-08 15:19:40 +02:00
{ " window_hidelevel " , " Window hidden level is now $0 " , 1 , { 0 } } ,
2000-05-15 08:25:45 +00:00
2002-02-15 21:42:31 +00:00
/* ---- */
{ NULL , " Statusbars " , 0 } ,
2002-02-16 07:30:57 +00:00
2002-04-26 15:43:09 +00:00
{ " statusbar_list_header " , " %#Name Type Placement Position Visible " , 0 } ,
2002-02-16 07:30:57 +00:00
{ " statusbar_list_footer " , " " , 0 } ,
2002-04-26 15:43:09 +00:00
{ " statusbar_list " , " %#$[30]0 $[6]1 $[9]2 $[8]3 $4 " , 5 , { 0 , 0 , 0 , 1 , 0 } } ,
{ " statusbar_info_name " , " %#Statusbar: {hilight $0} " , 1 , { 0 } } ,
{ " statusbar_info_type " , " %#Type : $0 " , 1 , { 0 } } ,
{ " statusbar_info_placement " , " %#Placement: $0 " , 1 , { 0 } } ,
{ " statusbar_info_position " , " %#Position : $0 " , 1 , { 1 } } ,
{ " statusbar_info_visible " , " %#Visible : $0 " , 1 , { 0 } } ,
{ " statusbar_info_item_header " , " %#Items : Name Priority Alignment " , 0 } ,
2002-02-16 07:30:57 +00:00
{ " statusbar_info_item_footer " , " " , 0 } ,
2002-04-26 15:43:09 +00:00
{ " statusbar_info_item_name " , " %# : $[35]0 $[9]1 $2 " , 3 , { 0 , 1 , 0 } } ,
2002-02-16 07:30:57 +00:00
{ " statusbar_not_found " , " Statusbar doesn't exist: $0 " , 1 , { 0 } } ,
2018-03-20 17:59:11 +01:00
{ " statusbar_not_found " , " Statusbar is disabled: $0 " , 1 , { 0 } } ,
2002-02-15 21:42:31 +00:00
{ " statusbar_item_not_found " , " Statusbar item doesn't exist: $0 " , 1 , { 0 } } ,
{ " statusbar_unknown_command " , " Unknown statusbar command: $0 " , 1 , { 0 } } ,
2002-02-15 22:18:48 +00:00
{ " statusbar_unknown_type " , " Statusbar type must be 'window' or 'root' " , 1 , { 0 } } ,
{ " statusbar_unknown_placement " , " Statusbar placement must be 'top' or 'bottom' " , 1 , { 0 } } ,
{ " statusbar_unknown_visibility " , " Statusbar visibility must be 'always', 'active' or 'inactive' " , 1 , { 0 } } ,
2002-02-15 21:42:31 +00:00
2003-11-17 14:09:15 +00:00
/* ---- */
{ NULL , " Pasting " , 0 } ,
2022-02-05 22:31:24 +01:00
{ " paste_warning " , " Pasting $0 lines to $1. Press Ctrl-K if you wish to do this or Ctrl-C to cancel. Ctrl-P to print the paste content, Ctrl-E to insert the paste in the input line, Ctrl-U to pass the paste to a signal handler. " , 2 , { 1 , 0 } } ,
2003-11-21 18:15:11 +00:00
{ " paste_prompt " , " Hit Ctrl-K to paste, Ctrl-C to abort? " , 0 } ,
2022-02-05 22:31:24 +01:00
{ " paste_content " , " %_>%_ $0 " , 1 , { 0 } } ,
2003-11-17 14:09:15 +00:00
2017-11-01 15:48:35 +01:00
/* ---- */
{ NULL , " Welcome " , 0 } ,
{ " irssi_banner " ,
2022-06-06 21:47:19 +02:00
" ___ _%: "
" |_ _|_ _ _____(_)%: "
" | || '_(_-<_-< |%: "
" |___|_| /__/__/_|%: "
" Irssi v$J - https://irssi.org " , 0 } ,
2017-11-01 15:48:35 +01:00
{ " welcome_firsttime " ,
" - - - - - - - - - - - - - - - - - - - - - - - - - - - - \n "
" Hi there! If this is your first time using Irssi, you%: "
" might want to go to our website and read the startup%: "
" documentation to get you going.%:%: "
" Our community and staff are available to assist you or%: "
" to answer any questions you may have.%:%: "
" Use the /HELP command to get detailed information about%: "
" the available commands.%: "
" - - - - - - - - - - - - - - - - - - - - - - - - - - - - " , 0 } ,
{ " welcome_init_settings " , " The following settings were initialized " , 0 } ,
2000-05-15 08:25:45 +00:00
{ NULL , NULL , 0 }
2022-02-05 22:31:24 +01:00
/* clang-format on */
2000-04-26 08:03:38 +00:00
} ;