The global help key CTRL-g has changed to F1.
[cboard.git] / src / strings.h
blob9154a325ae7011165f03a8f55221be0e63a72d1b
1 /* vim:tw=78:ts=8:sw=4:set ft=c: */
2 /*
3 Copyright (C) 2002-2006 Ben Kibbey <bjk@luxsci.net>
5 This program is free software; you can redistribute it and/or modify
6 it under the terms of the GNU General Public License as published by
7 the Free Software Foundation; either version 2 of the License, or
8 (at your option) any later version.
10 This program is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 GNU General Public License for more details.
15 You should have received a copy of the GNU General Public License
16 along with this program; if not, write to the Free Software
17 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
20 * The help dialog box strings are found in the other header files.
22 #ifndef STRINGS_H
23 #define STRINGS_H
25 #define GAME_FIND_EXPRESSION_TITLE "Find Game by Tag Expression"
26 #define GAME_FIND_EXPRESSION_PROMPT "[name expression:]value expression"
27 #define GAME_JUMP_TITLE "Jump to Game Number"
28 #define GAME_HISTORY_JUMP_TITLE "Jump to Move Number"
29 #define GAME_NOTSAVED "*delete*"
30 #define GAME_SAVE_OVERWRITE_PROMPT "'a' to append, 'o' to overwrite"
31 #define GAME_SAVE_MULTI_PROMPT "Type 'c' or 'a' or any other key " \
32 "to abort"
33 #define GAME_SAVE_MULTI_TEXT "There is more than one game " \
34 "loaded. You can save only the current game by pressing 'c', or all " \
35 "games by pressing 'a'."
36 #define GAME_SAVE_FROM_HISTORY_TITLE "Save From History"
37 #define GAME_SAVE_FROM_HISTORY_PROMPT "Type 'c' or any other key"
38 #define GAME_SAVE_FROM_HISTORY_TEXT "This game number is in history mode. You can " \
39 "save all moves up to and including the current move by pressing 'c'. " \
40 "Any other key will save the entire move history."
41 #define GAME_RESUME_HISTORY_TEXT "Resuming a game from previous " \
42 "history will remove all future moves. Do you really want to resume " \
43 "from history?"
44 #define GAME_DELETE_ALL_TEXT "Delete all games marked for deletion?"
45 #define GAME_DELETE_GAME_TEXT "Delete the current game?"
46 #define GAME_NEW_PROMPT "Really start a new game from scratch?"
47 #define GAME_NEW_TEXT "Use the 'N' command to start a new game or the 'r' " \
48 "command to load a previous game"
49 #define GAME_HELP_INDEX_TITLE "Command Key Index"
50 #define GAME_HELP_REPEAT " (* = can take a repeat count)"
51 #define GAME_HELP_INDEX_PROMPT "p/h/e/g or any other key to quit"
52 #define GAME_HELP_HISTORY_TITLE "History Mode Keys" GAME_HELP_REPEAT
53 #define GAME_HELP_PLAY_TITLE "Play Mode Keys" GAME_HELP_REPEAT
54 #define GAME_HELP_EDIT_TITLE "Edit Mode Keys" GAME_HELP_REPEAT
55 #define GAME_HELP_GAME_TITLE "Other Game Keys" GAME_HELP_REPEAT
56 #define GAME_LOAD_TITLE "Load Filename"
57 #define GAME_SAVE_TITLE "Save Game Filename"
58 #define GAME_HELP_PROMPT "Type F1 for help"
59 #define GAME_EDIT_TITLE "Insert Piece"
60 #define GAME_EDIT_PROMPT "P=pawn, R=rook, N=knight, B=bishop, "\
61 "Q=queen, K=king, X=en passant"
62 #define GAME_EDIT_TEXT "Type the piece letter to insert. Lowercase " \
63 "for a black piece, uppercase for a white piece."
65 /* Error strings. */
66 #define E_TAG_NAMETOOLONG "Cannot add tag. Name too long."
67 #define E_REGCOMP_TITLE "Error Compiling Regular Expression"
68 #define E_REGEXEC_TITLE "Error Matching Regular Expression"
69 #define E_RESUME_BLACK "Cannot resume a game with black starting position " \
70 "(yet)."
71 #define E_HOME_ENV "The HOME environment variable is unset."
72 #define E_TAG_DATE_FMT "The \"Date\" tag must be in YYYY.MM.DD format."
73 #define E_FILEEXISTS "File exists:"
74 #define E_REMOVE_STR "Cannot remove the Seven Tag Roster"
75 #define E_DUPLICATE_TAG "Could not add duplicate tag"
76 #define E_DELETE_GAME "Cannot delete last game."
77 #define E_A2A4_PARSE "Parse error. Probably a bug."
78 #define E_PGN_PARSE "PGN parse error."
79 #define E_FEN_PARSE "FEN parse error."
80 #define E_BROKEN_PIPE "Broken pipe. Quitting."
81 #define E_NOTADIR "Not a directory."
82 #define E_NOTAREGFILE "Not a regular file."
83 #define E_INITCURSES "Could not initialize curses."
84 #define E_SAVE_COMPRESS "Cannot append to compressed file."
85 #define E_INVALID_MOVE "Invalid move"
86 #define E_INVALID_COMMAND "Invalid engine command or move"
87 #define E_SELECT_TURN "It is not your turn to move. You can switch sides " \
88 "by pressing 'w' or force the engine to make the next move by " \
89 "pressing 'g'."
91 /* The notification line in the status window. */
92 #define NOTIFY_SAVED "Game saved."
93 #define NOTIFY_SAVE_ABORTED "Save game aborted."
94 #define NOTIFY_SAVE_FAILED "Save game failed."
95 #define NOTIFY_CHECK "Check!"
96 #define NOTIFY_GAMEOVER_WWINS "Game over! White wins."
97 #define NOTIFY_GAMEOVER_BWINS "Game over! Black wins."
98 #define NOTIFY_GAMEOVER_DRAW "Game over! Draw."
99 #define NOTIFY_ENPASSANT "En Passant"
100 #define NOTIFY_PROMOTION "Promotion!"
101 #define NOTIFY_BCASTLEQ "Black castles queen side"
102 #define NOTIFY_BCASTLEK "Black castles king side"
103 #define NOTIFY_WCASTLEQ "White castles queen side"
104 #define NOTIFY_WCASTLEK "White castles king side"
106 /* Pawn promotion window. */
107 #define PROMOTION_TITLE "Select Pawn Promotion Piece"
108 #define PROMOTION_PROMPT "R/N/B/Q"
109 #define PROMOTION_TEXT "R = Rook, N = Knight, B = Bishop, Q = Queen"
111 /* Book methods ('b' command). These are sent to the engine (GNU Chess). */
112 #define BOOK_OFF_STR "off"
113 #define BOOK_PREFER_STR "prefer"
114 #define BOOK_BEST_STR "best"
115 #define BOOK_WORST_STR "worst"
116 #define BOOK_RANDOM_STR "random"
118 /* Window titles. */
119 #define HISTORY_WINDOW_TITLE "Move History"
120 #define TAG_WINDOW_TITLE "Seven Tag Roster"
121 #define STATUS_WINDOW_TITLE "Game Status"
123 /* Annotation viewing and editing windows. */
124 #define ANNOTATION_VIEW_TITLE "Viewing Annotation for"
125 #define ANNOTATION_EDIT_TITLE "Editing Annotation for"
127 /* NAG editing window. */
128 #define NAG_PROMPT "Type CTRL-t to edit NAG"
129 #define NAG_EDIT_TITLE "Numeric Annotation Glyphs"
130 #define NAG_EDIT_PROMPT "Type F1 for help"
131 #define NAG_EDIT_HELP "NAG Menu Keys"
133 /* The input window. */
134 #define INPUT_HELP_PROMPT GAME_HELP_PROMPT
135 #define INPUT_HELP_TITLE "Line Editing Keys"
137 /* Country code menu window when editing the "Site" tag. */
138 #define CC_PROMPT "Type CTRL-t for country codes"
139 #define CC_TITLE "Country Codes"
140 #define CC_KEY_HELP "Country Code Keys"
142 /* Tag editing and viewing windows. */
143 #define TAG_VIEW_TITLE "Viewing Roster Tags"
144 #define TAG_VIEW_HELP "Tag Viewing Keys"
145 #define TAG_EDIT_TITLE "Editing Roster Tags"
146 #define TAG_EDIT_HELP "Tag Editing Keys"
147 #define TAG_EDIT_TAG_TITLE "Editing Tag"
148 #define TAG_VIEW_TAG_TITLE "Viewing Tag"
149 #define TAG_NEW_TITLE "New Tag Name"
150 #define TAG_RESULT_FANCY_WHITE "white wins"
151 #define TAG_RESULT_FANCY_BLACK "black wins"
152 #define TAG_RESULT_FANCY_DRAW "draw"
153 #define TAG_RESULT_FANCY_NA "undetermined"
155 /* The file browser. */
156 #define BROWSER_HELP "File Browser Keys"
157 #define BROWSER_CHDIR_TITLE "Change Directory"
158 #define BROWSER_PROMPT "Type TAB for file browser"
160 /* Miscellaneous strings. */
161 #define PRESS_ENTER "Press ENTER"
162 #define FIND_REGEXP "Find Move Text Expression"
163 #define COPY_DATAFILE "Copying"
164 #define NONE "none"
165 #define x_grid_chars "abcdefgh"
166 #define ANYKEY "[ press any key to continue ]"
167 #define YESNO "[ Yes or No ]"
168 #define ERROR "[ ERROR ]"
169 #define CONFIRM "[ CONFIRM ]"
170 #define UNKNOWN "(empty value)"
171 #define UNAVAILABLE "not available"
172 #define HELP_PROMPT "Type F1 for help"
173 #define ENGINE_CMD_TITLE "Engine Command"
174 #define N_OF_N_STR "of"
175 #define WHITE_STR "white"
176 #define BLACK_STR "black"
178 /* Status window strings. */
179 #define STATUS_FILE_STR "File:"
180 #define STATUS_MODE_STR "Mode:"
181 #define STATUS_GAME_STR "Game:"
182 #define STATUS_ENGINE_STR "Engine:"
183 #define STATUS_DEPTH_STR "Depth:"
184 #define STATUS_BOOK_STR "Book:"
185 #define STATUS_TURN_STR "Turn:"
187 /* Engine status strings. */
188 #define ENGINE_READY_STR "ready"
189 #define ENGINE_THINKING_STR "thinking..."
190 #define ENGINE_OFFLINE_STR "offline"
191 #define ENGINE_INITIALIZING_STR "initializing..."
193 /* Mode status strings. */
194 #define MODE_HISTORY_STR "move history"
195 #define MODE_EDIT_STR "edit"
196 #define MODE_PLAY_STR "play"
198 /* History window strings. */
199 #define HISTORY_MOVE_STEP " (half step)"
200 #define HISTORY_MOVE_STR "Move:"
201 #define HISTORY_MOVE_NEXT_STR "Next move:"
202 #define HISTORY_MOVE_PREV_STR "Prev move:"
204 /* White and black window strings. */
205 #define BW_NAME_STR "Name:"
206 #define BW_CAPTURE_STR "Captures:"
208 /* These are displayed in menu status/prompt bars. */
209 #define MENU_ITEM_STR "Item"
210 #define MENU_TAG_STR "Tag"
212 #endif