-
Notifications
You must be signed in to change notification settings - Fork 2
/
text.h
142 lines (116 loc) · 5.98 KB
/
text.h
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
/* File Shredder deletes files on a hard disk drive in a manner that is
intended to make any recovery of the data impossible
Copyright (C) 2019 Alan Entwistle
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 3 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.
You should have received a copy of the GNU General Public License
along with this program. If not, see https://www.gnu.org/licenses. */
#ifndef TEXT_H
#define TEXT_H
//Global language definitions
#define PROGRAM_NAME "File Shredder"
#define ABOUT_PROGRAM_NAME "About File Shredder"
#define REGISTER_PROGRAM "Register File Shredder"
#define SHREDDING_TITLE "File Shredding"
#define SHREDDING_MESSAGE "Proceed with shredding files?\r\n\
(recovery of shredded data is not possible)"
#define MENU_OPTIONS "&Options"
#define MENU_MODE "M&ode"
#define MENU_SILENT "&Silent"
#define MENU_CONFIRM "&Request confirmation"
#define MENU_VERBOSE "&Verbose"
#define MENU_METHOD "Mðod"
#define MENU_OVERT "&Delete selected files directly"
#define MENU_COVERT "&Hide files before deletion"
#define MENU_CLOSE "&Close"
#define MENU_ABOUT "&About"
//Registry text
#define REG_SHREDDER_SETTINGS "Software\\File Shredder\\Settings"
#define REG_USER_STARTUP "Software\\Microsoft\\Windows\\CurrentVersion\\Run"
#define REG_USER_AGREEMENT "registration details"
#define REG_DISPLAY_MODE "display mode"
#define REG_DISPLAY_METHOD "display method"
#define REG_TOP_GUI_CORNER "top_GUI_corner"
#define REG_LEFT_GUI_CORNER "left_GUI_corner"
#define REG_TOP_VERBOSE_CORNER "top_verbose_GUI_corner"
#define REG_LEFT_VERBOSE_CORNER "left_verbose_GUI_corner"
#define REG_DELETE_TEMP_FOLDER "delete temp folder"
#define REG_DEL_PROGRAM_FOLDER "delete program folder"
#define REG_TEMP_FOLDER_NAME "delete on startup"
#define REG_PROGRAM_NAME "File Shredder.exe"
//complete unfinished hidden shredding
#define COMPLETE_SHREDDING "Complete_shredding"
//Main GUI text
#define SHRED_HEADER "A brief guide."
#define SHRED_HELP_00 "File Shredder deletes files on a hard disk \
drive in a \r\nmanner that is intended to make any recovery of the \r\ndata \
impossible."
#define SHRED_HELP_01 "To shred files; select all the files and \
folders to be shredded"
#define SHRED_HELP_02a ", \r\n"
#define SHRED_HELP_02b " \r\nand "
#define SHRED_HELP_04 "drag these over the 'File Shredder' icon"
#define SHRED_HELP_05a " and then confirm \r\nthat you wish to shred \
them when prompted to do so."
#define SHRED_HELP_05b "."
#define SHRED_HELP_06 "There are three modes of operation offering \
different levels \r\nof feedback to users and two methods, either hiding all \
the \r\nfiles before deleting them or removing the files one by one."
#define REGISTER_HELP_01 "This program has the capability to delete \
files that \r\n\
are essential if Windows is to keep running. I have \r\n\
read the above and I accept and agree that any \r\n\
licence to use this program is only granted on the \r\n\
understanding that it performs 'as is'."
#define BUTTON_DECLINE "decline"
#define BUTTON_ACCEPT "accept"
//Verbose window text
#define VERBOSE_HEADER "Shredding "
#define MOVE_FILE_HEADER "Moving Data "
#define MOVE_FILE "File "
#define ONE_OF " of "
#define MOVE_FILES " files."
#define SYMBOLIC_TEXT "0 1 1 1 0 0 1 0 0 1 0 1 1 0 1 1 0 0 1 0 0 0 \
1 0 1 1 1 0 0 1 0 0 1 0 1 1 0 1 1 0 0 1 0 0 0 1 0 1 0 0 1 0 1 1 0 1 0 1 1 1 0 \
0 1 0 0 1 0 1 1 0 1 1 0 0 1 0 0 0 1 1 0 1 1 0 0 1 0 0 0 1 1 1 0 1 1 0 0 1 0 0 \
0 1 0 1 1 1 0 0 1 0 0 1 0 1 1 0 1 1 0 0 1 0 0 0 1 1 1 0 0 1 0 0 1 0 1 1 0 1 1 \
0 0 1 0 0 0 1 0 1 1 1 1 0 1 1 0 1 1 0 0 1 0 0 0 1 0 1 0 0 1 0 1 1 0 1 0 1 1 1 \
0 1 0 0 1 0 1 1 0 1 0 1 1 1 0 0 0 1 1 0 1 1 0 0 1 0 0 0 1 1 1 0 1 1 "
//File and folder paths
#define PATH_TEMP "\\temp"
#define PATH_PROGRAM "\\File Shredder"
//About window text
#define FILE_SHREDDER_VERSION "File Shredder, version 001.00.030"
#define FILE_SHREDDER_COPYRIGHT "File Shredder, copyright © 2019 Alan Entwistle"
#define CURRENT_VERSION "version 001.00"
#define ABOUT_USAGE "Licence && terms of useage"
#define ABOUT_CREDITS "Random numbers are generated using a Mersenne \
Twister © 2003 \r\nwritten by Richard J. Wagner, building on work by \
Makoto Matsumoto, \r\nTakuji Nishimura, and Shawn Cokus. Many thanks to \
these people \r\nfor making their excellent work so easily accessible."
#define CALENDAR_REG "Registered at "
#define CALENDAR_ONT " on the "
#define CALENDAR_COL ":"
#define CALENDAR_JAN "January "
#define CALENDAR_FEB "February "
#define CALENDAR_MAR "March "
#define CALENDAR_APR "April "
#define CALENDAR_MAY "May "
#define CALENDAR_JUN "June "
#define CALENDAR_JLY "July "
#define CALENDAR_AUG "August "
#define CALENDAR_SEP "September "
#define CALENDAR_OCT "October "
#define CALENDAR_NOV "November "
#define CALENDAR_DEC "December "
#define CALENDAR_ST "st of "
#define CALENDAR_ND "nd of "
#define CALENDAR_RD "rd of "
#define CALENDAR_TH "th of "
#endif