blob: 940b7bc7a9995909fefdcaf9d13fd59f372aacf7 (
plain)
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
|
; // Copyright 2013 The Chromium Authors. All rights reserved.
; // Use of this source code is governed by a BSD-style license that can be
; // found in the LICENSE file.
SeverityNames=(Success=0x0:STATUS_SEVERITY_SUCCESS
Informational=0x1:STATUS_SEVERITY_INFORMATIONAL
Warning=0x2:STATUS_SEVERITY_WARNING
Error=0x3:STATUS_SEVERITY_ERROR)
FacilityNames=(Host=0x0:FACILITY_HOST)
LanguageNames=(
{% for lang in languages %}
{{ lang | replace("-", "_") }}=0x{{ lang | GetLangId }}:MSG0{{ lang | GetLangId}}
{%- endfor %}
)
; // The categories of events.
MessageIdTypedef=WORD
MessageId=0x1
SymbolicName=HOST_CATEGORY
{%- for lang in languages %}
{%- do SelectLanguage(lang) %}
Language={{ lang | replace("-", "_") }}
{% trans %}HOST_CATEGORY{% endtrans %}
.
{%- endfor %}
; // The message definitions.
MessageIdTypedef=DWORD
MessageId=1
Severity=Informational
Facility=Host
SymbolicName=MSG_HOST_CLIENT_CONNECTED
{%- for lang in languages %}
{%- do SelectLanguage(lang) %}
Language={{ lang | replace("-", "_") }}
{% trans %}HOST_CLIENT_CONNECTED{% endtrans %}
.
{%- endfor %}
MessageId=2
Severity=Informational
Facility=Host
SymbolicName=MSG_HOST_CLIENT_DISCONNECTED
{%- for lang in languages %}
{%- do SelectLanguage(lang) %}
Language={{ lang | replace("-", "_") }}
{% trans %}HOST_CLIENT_DISCONNECTED{% endtrans %}
.
{%- endfor %}
MessageId=3
Severity=Error
Facility=Host
SymbolicName=MSG_HOST_CLIENT_ACCESS_DENIED
{%- for lang in languages %}
{%- do SelectLanguage(lang) %}
Language={{ lang | replace("-", "_") }}
{% trans %}HOST_CLIENT_ACCESS_DENIED{% endtrans %}
.
{%- endfor %}
MessageId=4
Severity=Informational
Facility=Host
SymbolicName=MSG_HOST_CLIENT_ROUTING_CHANGED
{%- for lang in languages %}
{%- do SelectLanguage(lang) %}
Language={{ lang | replace("-", "_") }}
{% trans %}HOST_CLIENT_ROUTING_CHANGED{% endtrans %}
.
{%- endfor %}
MessageId=5
Severity=Informational
Facility=Host
SymbolicName=MSG_HOST_STARTED
{%- for lang in languages %}
{%- do SelectLanguage(lang) %}
Language={{ lang | replace("-", "_") }}
{% trans %}HOST_STARTED{% endtrans %}
.
{%- endfor %}
; // This line makes sure that mc.exe does not complain about a single '.' at
; // the end of the file.
|