-
Notifications
You must be signed in to change notification settings - Fork 4
/
tstrings.c
203 lines (183 loc) · 6.02 KB
/
tstrings.c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
/**
* @namespace biew
* @file tstrings.c
* @brief This file contains start of work for NLS support by BIEW.
* @version -
* @remark this source file is part of Binary vIEW project (BIEW).
* The Binary vIEW (BIEW) is copyright (C) 1995 Nickols_K.
* All rights reserved. This software is redistributable under the
* licence given in the file "Licence.en" ("Licence.ru" in russian
* translation) distributed in the BIEW archive.
* @note Requires POSIX compatible development system
*
* @author Nickols_K
* @since 1995
* @note Development, fixes and improvements
**/
#include "stdint.h"
#include "tstrings.h"
#include "libbeye/beyelib.h" /* for INT64_C */
/** English release for all messages */
const char msgAboutText[] =
" Multiplatform portable Binary file vIEWer\n"
"with built-in x86/i386/Amd64/AVX/FMA/XOP, Java\n"
"AVR,ARM/XScale,PPC-64 disassemblers and editor\n"
"for bin-hex-disas modes. Highlights opcodes\n"
"and supports multiple executable structures.\n";
const char * BiewPicture[] = {
"ÜÜÜÜ ÜÜÜ ÜÜÜÜ ÜÜÜ ÜÜÜ",
" Ü Ü Ü Ü Ü Ü Ü",
" ÜÜÜ Ü ÜÜ Ü Ü Ü",
" Ü Ü Ü Ü Ü Ü Ü Ü",
"ÜÜÜÜ ÜÜÜ ÜÜÜÜ Ü Ü"
};
const char * CompPicture[] = {
" ÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜ",
" Û Û",
" Û Û",
" Û Û",
" Û Û",
" ßßßßßßÛÛÛßßßßßß",
"ÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛ"
};
const char *MBoardPicture[] =
{
"ÄÄÄ¿³³³³³³³ÚÄÄÄÙ",
"¿ ÚÄ",
"ÏÍ ÍÏÍ",
"ÍÍ ÍÍÍ",
"ÑÍ ÍÑÍ",
"Ù ÀÄ",
"ÄÄÄÙ³³³³³³³ÀÄÄÄ¿"
};
const char *ConnectorPicture[] =
{
"ÚÄÄÄ¿",
"´ Æ",
"µ Æ",
"µ Æ",
"µ Æ",
"´ Æ",
"ÀÄÄÄÙ"
};
const char *BitStreamPicture[] =
{
"01010101",
"10011100",
"00001110",
"01010000",
"11001111",
"11001100",
"10010000"
};
const char *BiewerPicture[] =
{
"ÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜ",
"Û Û",
"Û Û",
"Û Û",
"Û Û",
"Û Û",
"ßßßßßßßßßßßßßßß"
};
const char *BiewerScreenPicture[] =
{
"pushf ",
"push cs ",
"push ax ",
"iret ",
"int3 ",
};
const char * CompScreenPicture[] = {
"0001001001100",
"1001000101011",
"0110001110000",
"1010010011111",
};
const char * msgTypeComments[] =
{
" Mode :",
" [ ] - Put structures ",
" Type of comments: ",
" ( ) - None ",
" ( ) - NASM (*.asm) "
};
const char *msgTypeBitness[] =
{
" Select bitness: ",
" ( ) 8-bit (nothing) ",
" ( ) 16-bit (word swap) ",
" ( ) 32-bit (dword swap) ",
" ( ) 64-bit (qword swap) "
};
const char * msgFindOpt[] =
{
" [ ] - Match Case ",
" [ ] - Match Whole Word Only ",
" [ ] - Reverse search "
};
const char * msgFindOpt2[] =
{
" [ ] - Search for hex ",
" [ ] - Use wildcards ( *? ) ",
" [ ] - Use plugin's output "
};
const char UNDEFINE[]= "Undefined";
const char FATAL_ERROR[]= " *** FATAL ERROR *** : ";
const char ISR_JUMP[]= " Jump to ISR ";
const char INT_NUMBER[]= " Interrupt number : ";
const char GO_ABS_SHIFT[]= " Go to absolute offset ";
const char GO_REL_SHIFT[]= " Go to relative offset ";
const char TYPE_SHIFT[]= "Enter new offsets : ";
const char DIG_EVALUTOR[]= " Digital evaluator (hexadecimal) ";
const char DIG_OPERATORS[]= " Known Operators - ()+-*/% ~|&^ ";
const char EXPRESSION[]= "Expression:";
const char RESULT[]= "Result:";
const char TYPE_HEX_FORM[]= "Enter parameters in hexadecimal form:";
const char FILE_PRMT[]= "File :";
const char XLAT_PRMT[]= "Xlat (eXtend Looking At Table) file:";
const char START_PRMT[]= "Start:";
const char LENGTH_PRMT[]= "Length:";
const char INIT_MASK[]= " Initialize mask ";
const char INPUT_MASK[]= "Enter new value of XX:";
const char ERROR_MSG[]= " Error ";
const char WARN_MSG[]= " Warning ";
const char NOTE_MSG[]= " Note ";
const char HOW_SEE[]= " How to look ";
const char NOT_ENTRY[]= "Entry not found";
const char BAD_ENTRY[]= " Bad entry ";
const char NO_ENTRY[]= "Entry does not refer to physical page of this file";
const char UNK_SIGNATURE[]= "Unknown type of signature : ";
const char UNK_HEADER[]= " Unknown header ";
const char MOD_REFER[]= " Detected Module References : ";
const char EXT_REFER[]= " External References : ";
const char EXP_TABLE[]= " Export Table : ";
const char RES_NAMES[]= " Resident Names : ";
const char NORES_NAMES[]= " Non-Resident Names : ";
const char IMPPROC_TABLE[]= " Import Procedures Table : ";
const char CORRUPT_BIN_MSG[]= "??? *** Binary format is corrupt or internal error *** ???";
const char BUILD_REFS[]= "Building reference chains";
const char SYSTEM_BUSY[]= " System is busy ";
const char BACKWARD[]= "Backward";
const char FORWARD[]= "Forward ";
const char FIND_STR[]= " Find string ";
const char TYPE_STR[]= "Enter string to search (for control letters hold ALT down + NumPads):";
const char PLEASE_WAIT[]= "Please wait ... ";
const char SEARCHING[]= " Searching ";
const char STR_NOT_FOUND[]= "String not found";
const char SEARCH_MSG[]= " Search ";
const char SYS_INFO[]= " System information";
const char CPU_INFO[]= " CPU information ";
const char PAGEBOX_SUB[]= " [PgUp]/[PgDn] - Move [ENTER] - Go Entry ";
const char SPAGEBOX_SUB[]= " [PgUp]/[PgDn] - Move ";
const char NAME_OF_EXP_FILE[]= " Name of export file ";
const char NAME_MSG[]= " Name : ";
const char ACCESS_DENIED[]= " Access denied ";
const char READ_FAIL[]= " Can't read from file ";
const char WRITE_FAIL[]= " Can't write into file ";
const char OPEN_FAIL[]= " Can't open file ";
const char DUP_FAIL[]= " Can't dup file ";
const char RESIZE_FAIL[]= " Can't change size of file ";
const char EXPAND_FAIL[]= " Can't expand file ";
const char TRUNC_FAIL[]= " Can't truncate file ";
const char NOTHING_EDIT[]= " Can't edit zero file ";