-
Notifications
You must be signed in to change notification settings - Fork 21
/
modLocalization.bas
176 lines (137 loc) · 6.92 KB
/
modLocalization.bas
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
Attribute VB_Name = "modLocalization"
Option Explicit
Public Language As String * 2
Public Sub LoadEnglishLocalizationfrmMain()
'Change the language of the menu
frmMain.mnuFile.Caption = "&File"
frmMain.mnuExitItem.Caption = "&Exit"
frmMain.mnuTools.Caption = "&Tools"
frmMain.mnuConfigurationItem.Caption = "&Configuration"
frmMain.mnuAddons.Caption = "&Addons"
frmMain.mnuNslookupItem.Caption = "&Nslookup"
frmMain.mnuICMPPingItem.Caption = "&ICMP ping"
frmMain.mnuPortscannerItem.Caption = "&Portscanner"
frmMain.mnuPlugins.Caption = "&Plugins"
frmMain.mnuReloadPluginsItem.Caption = "&Reload Plugins"
frmMain.mnuAttackGeneratorItem.Caption = "Attack Generator"
frmMain.mnuAttackEditorItem.Caption = "&Attack Editor"
frmMain.mnuDownloadLatestPluginsItem.Caption = "&Download latest Plugins"
frmMain.mnuDebugging.Caption = "&Debugging"
frmMain.mnuAttackResponseItem.Caption = "&Attack Response"
frmMain.mnuReporting.Caption = "&Reporting"
frmMain.mnuReportConfigurationItem.Caption = "Report &Configuration"
frmMain.mnuReportItem.Caption = "&Report"
frmMain.mnuHelp.Caption = "Help"
frmMain.mnuProjectWebSiteItem.Caption = "Project &web site"
frmMain.mnuAboutItem.Caption = "&About"
frmMain.fraPlugins.Caption = "Plugins"
frmMain.fraPluginOverview.Caption = "Plugin Overview"
frmMain.lblIDName.Caption = "ID"
frmMain.lblPortName.Caption = "Port"
frmMain.lblFamilyName.Caption = "Family"
frmMain.lblClassName.Caption = "Class"
frmMain.lblSeverityName.Caption = "Severity"
frmMain.lblDescriptionName.Caption = "Description"
End Sub
Public Sub LoadEnglishLocalizationfrmAttackEditor()
frmAttackEditor.Caption = "Attack Editor"
frmAttackEditor.fraAttackData.Caption = "Attack Data"
frmAttackEditor.lblIDName.Caption = "ID"
frmAttackEditor.lblPluginNameName.Caption = "Name"
frmAttackEditor.lblProtocolName.Caption = "Protocol"
frmAttackEditor.lblPortName.Caption = "Port"
frmAttackEditor.lblPortNote.Caption = "(Note: 0 to 65535)"
frmAttackEditor.lblRequestName.Caption = "Request"
frmAttackEditor.lblTriggerName.Caption = "Trigger"
frmAttackEditor.lblNoteName.Caption = "Note"
frmAttackEditor.lblAttackEditorNote.Caption = "This changes will only be saved until ATK is closed, the plugin is reloaded or a new one is selected."
frmAttackEditor.cmdClose.Caption = "&Close"
End Sub
Public Sub LoadEnglishLocalizationfrmAttackResponse()
frmAttackResponse.Caption = "Attack Response"
frmAttackResponse.fraLastResponse.Caption = "Last Response"
frmAttackResponse.lblHostName.Caption = "Host"
frmAttackResponse.lblPortName.Caption = "Port"
frmAttackResponse.lblTimeName.Caption = "Time"
frmAttackResponse.lblLengthName.Caption = "Length"
frmAttackResponse.lblPositionName.Caption = "Position"
frmAttackResponse.cmdSelectTrigger.Caption = "Select &Trigger"
frmAttackResponse.cmdClose.Caption = "&Close"
End Sub
Public Sub LoadEnglishLocalizationfrmReport()
frmReport.Caption = "Report"
frmReport.fraActualReport = "Actual Report"
frmReport.cmdSave.Caption = "&Save"
frmReport.cmdClose.Caption = "&Close"
End Sub
Public Sub LoadGermanLocalizationfrmMain()
'Change the language of the menu
frmMain.mnuFile.Caption = "&Datei"
frmMain.mnuExitItem.Caption = "&Beenden"
frmMain.mnuTools.Caption = "&Tools"
frmMain.mnuConfigurationItem.Caption = "&Konfiguration"
frmMain.mnuAddons.Caption = "&Addons"
frmMain.mnuNslookupItem.Caption = "&Nslookup"
frmMain.mnuICMPPingItem.Caption = "&ICMP ping"
frmMain.mnuPortscannerItem.Caption = "&Portscanner"
frmMain.mnuPlugins.Caption = "&Plugins"
frmMain.mnuReloadPluginsItem.Caption = "&Plugins neu laden"
frmMain.mnuAttackGeneratorItem.Caption = "Attack Generator"
frmMain.mnuAttackEditorItem.Caption = "&Attack Editor"
frmMain.mnuDownloadLatestPluginsItem.Caption = "Die neuesten Plugin &herunterladen"
frmMain.mnuDebugging.Caption = "&Debugging"
frmMain.mnuAttackResponseItem.Caption = "&Angriffs Rückantwort"
frmMain.mnuReporting.Caption = "&Reporting"
frmMain.mnuReportConfigurationItem.Caption = "Report &Konfiguration"
frmMain.mnuReportItem.Caption = "&Report"
frmMain.mnuHelp.Caption = "Hilfe"
frmMain.mnuProjectWebSiteItem.Caption = "Projekt &Webseite"
frmMain.mnuAboutItem.Caption = "&About"
frmMain.fraPlugins.Caption = "Plugins"
frmMain.fraPluginOverview.Caption = "Plugin Übersicht"
frmMain.lblIDName.Caption = "ID"
frmMain.lblPortName.Caption = "Port"
frmMain.lblFamilyName.Caption = "Familie"
frmMain.lblClassName.Caption = "Klasse"
frmMain.lblSeverityName.Caption = "Schweregrad"
frmMain.lblDescriptionName.Caption = "Beschreibung"
End Sub
Public Sub LoadGermanLocalizationfrmAttackEditor()
frmAttackEditor.Caption = "Attack Editor"
frmAttackEditor.fraAttackData.Caption = "Angriffsdaten"
frmAttackEditor.lblIDName.Caption = "ID"
frmAttackEditor.lblPluginNameName.Caption = "Name"
frmAttackEditor.lblProtocolName.Caption = "Protokoll"
frmAttackEditor.lblPortName.Caption = "Port"
frmAttackEditor.lblPortNote.Caption = "(Bereich 0 bis 65535)"
frmAttackEditor.lblRequestName.Caption = "Anfragen"
frmAttackEditor.lblTriggerName.Caption = "Trigger"
frmAttackEditor.lblNoteName.Caption = "Hinweis"
frmAttackEditor.lblAttackEditorNote.Caption = "This changes will only be saved until ATK is closed, the plugin is reloaded or a new one is selected."
frmAttackEditor.lblAttackEditorNote.Caption = "Diese Änderungen werden nur gespeichert, bis das ATK geschlossen, das Plugin neu oder ein anderes geladen wird."
frmAttackEditor.cmdClose.Caption = "&Schliessen"
End Sub
Public Sub LoadGermanLocalizationfrmAttackResponse()
frmAttackResponse.Caption = "Angriffs Antwort"
frmAttackResponse.fraLastResponse.Caption = "Letzte Reaktion"
frmAttackResponse.lblHostName.Caption = "Host"
frmAttackResponse.lblPortName.Caption = "Port"
frmAttackResponse.lblTimeName.Caption = "Zeit"
frmAttackResponse.lblLengthName.Caption = "Länge"
frmAttackResponse.lblPositionName.Caption = "Position"
frmAttackResponse.cmdSelectTrigger.Caption = "&Trigger"
frmAttackResponse.cmdClose.Caption = "&Schliessen"
End Sub
Public Sub LoadGermanLocalizationfrmReport()
frmReport.Caption = "Report"
frmReport.fraActualReport = "Aktueller Report"
frmReport.cmdSave.Caption = "S&peichern"
frmReport.cmdClose.Caption = "&Schliessen"
End Sub
Public Sub LoadEnglishLocalizationfrmNslookup()
frmNslookup.fraHost.Caption = "Host"
frmNslookup.fraResult.Caption = "Result"
frmNslookup.lblIPAddressName.Caption = "IP address"
frmNslookup.lblHostNameName.Caption = "Host name"
'Not done yet!
End Sub