MD Downloads: prevent search text from overlapping with the cancel search (X)
[chromium-blink-merge.git] / remoting / host / win / host_messages.mc.jinja2
blob940b7bc7a9995909fefdcaf9d13fd59f372aacf7
1 ; // Copyright 2013 The Chromium Authors. All rights reserved.
2 ; // Use of this source code is governed by a BSD-style license that can be
3 ; // found in the LICENSE file.
5 SeverityNames=(Success=0x0:STATUS_SEVERITY_SUCCESS
6                Informational=0x1:STATUS_SEVERITY_INFORMATIONAL
7                Warning=0x2:STATUS_SEVERITY_WARNING
8                Error=0x3:STATUS_SEVERITY_ERROR)
10 FacilityNames=(Host=0x0:FACILITY_HOST)
12 LanguageNames=(
13 {% for lang in languages %}
14 {{ lang | replace("-", "_") }}=0x{{ lang | GetLangId }}:MSG0{{ lang | GetLangId}}
15 {%- endfor %}
18 ; // The categories of events.
19 MessageIdTypedef=WORD
21 MessageId=0x1
22 SymbolicName=HOST_CATEGORY
23 {%- for lang in languages %}
24   {%- do SelectLanguage(lang) %}
25 Language={{ lang | replace("-", "_") }}
26 {% trans %}HOST_CATEGORY{% endtrans %}
28 {%- endfor %}
30 ; // The message definitions.
31 MessageIdTypedef=DWORD
33 MessageId=1
34 Severity=Informational
35 Facility=Host
36 SymbolicName=MSG_HOST_CLIENT_CONNECTED
37 {%- for lang in languages %}
38   {%- do SelectLanguage(lang) %}
39 Language={{ lang | replace("-", "_") }}
40 {% trans %}HOST_CLIENT_CONNECTED{% endtrans %}
42 {%- endfor %}
44 MessageId=2
45 Severity=Informational
46 Facility=Host
47 SymbolicName=MSG_HOST_CLIENT_DISCONNECTED
48 {%- for lang in languages %}
49   {%- do SelectLanguage(lang) %}
50 Language={{ lang | replace("-", "_") }}
51 {% trans %}HOST_CLIENT_DISCONNECTED{% endtrans %}
53 {%- endfor %}
55 MessageId=3
56 Severity=Error
57 Facility=Host
58 SymbolicName=MSG_HOST_CLIENT_ACCESS_DENIED
59 {%- for lang in languages %}
60   {%- do SelectLanguage(lang) %}
61 Language={{ lang | replace("-", "_") }}
62 {% trans %}HOST_CLIENT_ACCESS_DENIED{% endtrans %}
64 {%- endfor %}
66 MessageId=4
67 Severity=Informational
68 Facility=Host
69 SymbolicName=MSG_HOST_CLIENT_ROUTING_CHANGED
70 {%- for lang in languages %}
71   {%- do SelectLanguage(lang) %}
72 Language={{ lang | replace("-", "_") }}
73 {% trans %}HOST_CLIENT_ROUTING_CHANGED{% endtrans %}
75 {%- endfor %}
77 MessageId=5
78 Severity=Informational
79 Facility=Host
80 SymbolicName=MSG_HOST_STARTED
81 {%- for lang in languages %}
82   {%- do SelectLanguage(lang) %}
83 Language={{ lang | replace("-", "_") }}
84 {% trans %}HOST_STARTED{% endtrans %}
86 {%- endfor %}
88 ; // This line makes sure that mc.exe does not complain about a single '.' at
89 ; // the end of the file.