comparison common/events.mc @ 620:bc02ee484067

Add dummy logging with ressourced messages. The hack in icon.rc is necessary as with mingw 3.0 there appears to be a problem to include multiple resources after another. The data is included but the sections are not detected correctly in windows. Combining them in a single resource fixes this.
author Andre Heinecke <andre.heinecke@intevation.de>
date Thu, 19 Jun 2014 17:48:10 +0200
parents 63a128400bf3
children c0f988e3df9f
comparison
equal deleted inserted replaced
619:e780405f8150 620:bc02ee484067
3 ; 3 ;
4 ; This file is Free Software under the GNU GPL (v>=2) 4 ; This file is Free Software under the GNU GPL (v>=2)
5 ; and comes with ABSOLUTELY NO WARRANTY! 5 ; and comes with ABSOLUTELY NO WARRANTY!
6 ; See LICENSE.txt for details. */ 6 ; See LICENSE.txt for details. */
7 7
8 MessageIdTypedef=DWORD
9 8
10 SeverityNames=(Success=0x0:STATUS_SEVERITY_SUCCESS 9 SeverityNames=(Success=0x0:STATUS_SEVERITY_SUCCESS
11 Informational=0x1:STATUS_SEVERITY_INFORMATIONAL 10 Informational=0x1:STATUS_SEVERITY_INFORMATIONAL
12 Warning=0x2:STATUS_SEVERITY_WARNING 11 Warning=0x2:STATUS_SEVERITY_WARNING
13 Error=0x3:STATUS_SEVERITY_ERROR 12 Error=0x3:STATUS_SEVERITY_ERROR
14 ) 13 )
15 14
15 FacilityNames=(System=0x0:FACILITY_SYSTEM
16 Runtime=0x2:FACILITY_RUNTIME
17 Stubs=0x3:FACILITY_STUBS
18 Io=0x4:FACILITY_IO_ERROR_CODE
19 )
20
16 LanguageNames=(English=0x409:MSG00409) 21 LanguageNames=(English=0x409:MSG00409)
17 LanguageNames=(German=0x407:MSG00407) 22 LanguageNames=(German=0x407:MSG00407)
18 23
24 MessageIdTypedef=WORD
25
26 MessageId=0x1
27 SymbolicName=EVENT_CAT_TB
28 Language=English
29 Trustbridge
30 .
31 Language=German
32 Trustbridge
33 .
34
35 MessageId=0x2
36 SymbolicName=EVENT_CAT_CINST
37 Language=English
38 Certificate Installer2
39 .
40 Language=German
41 Zertifikatsinstaller
42 .
43
44
45 MessageId=0x3
46 SymbolicName=EVENT_CAT_NSS
47 Language=English
48 NSS
49 .
50 Language=German
51 NSS
52 .
19 ;/* THE MESSAGES */ 53 ;/* THE MESSAGES */
20 54
21 MessageId=0x1 55 MessageIdTypedef=DWORD
56
57 MessageId=0x100
22 Severity=Informational 58 Severity=Informational
23 Facility=Application 59 Facility=Runtime
24 SymbolicName=MSG_DEFAULT_INFO 60 SymbolicName=MSG_DEFAULT_INFO
25 Language=English 61 Language=English
26 Test %0 blub 62 Test blub
27 . 63 .
28 Language=German 64 Language=German
29 Schlaand Schlaand %0 blubs 65 Schlaand Schlaand %0 blubs
30 . 66 .
67
68 MessageId=0x101
69 Severity=Error
70 Facility=Runtime
71 SymbolicName=MSG_DEFAULT_ERROR
72 Language=English
73 Test Error blub
74 .
75 Language=German
76 Schlaand Schlaand %0 ERROR blubs
77 .

http://wald.intevation.org/projects/trustbridge/