view 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
line wrap: on
line source
; /* Copyright (C) 2014 by Bundesamt für Sicherheit in der Informationstechnik
; Software engineering by Intevation GmbH
;
; This file is Free Software under the GNU GPL (v>=2)
; and comes with ABSOLUTELY NO WARRANTY!
; See LICENSE.txt for details. */


SeverityNames=(Success=0x0:STATUS_SEVERITY_SUCCESS
Informational=0x1:STATUS_SEVERITY_INFORMATIONAL
Warning=0x2:STATUS_SEVERITY_WARNING
Error=0x3:STATUS_SEVERITY_ERROR
)

FacilityNames=(System=0x0:FACILITY_SYSTEM
               Runtime=0x2:FACILITY_RUNTIME
               Stubs=0x3:FACILITY_STUBS
               Io=0x4:FACILITY_IO_ERROR_CODE
              )

LanguageNames=(English=0x409:MSG00409)
LanguageNames=(German=0x407:MSG00407)

MessageIdTypedef=WORD

MessageId=0x1
SymbolicName=EVENT_CAT_TB
Language=English
Trustbridge
.
Language=German
Trustbridge
.

MessageId=0x2
SymbolicName=EVENT_CAT_CINST
Language=English
Certificate Installer2
.
Language=German
Zertifikatsinstaller
.


MessageId=0x3
SymbolicName=EVENT_CAT_NSS
Language=English
NSS
.
Language=German
NSS
.
;/* THE MESSAGES */

MessageIdTypedef=DWORD

MessageId=0x100
Severity=Informational
Facility=Runtime
SymbolicName=MSG_DEFAULT_INFO
Language=English
Test blub
.
Language=German
Schlaand Schlaand %0 blubs
.

MessageId=0x101
Severity=Error
Facility=Runtime
SymbolicName=MSG_DEFAULT_ERROR
Language=English
Test Error  blub
.
Language=German
Schlaand Schlaand %0 ERROR  blubs
.

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