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. 4 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) 9 10 FacilityNames=(Host=0x0:FACILITY_HOST) 11 12 LanguageNames=( 13 {% for lang in languages %} 14 {{ lang | replace("-", "_") }}=0x{{ lang | GetLangId }}:MSG0{{ lang | GetLangId}} 15 {%- endfor %} 16 ) 17 18 ; // The categories of events. 19 MessageIdTypedef=WORD 20 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 %} 27 . 28 {%- endfor %} 29 30 ; // The message definitions. 31 MessageIdTypedef=DWORD 32 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 %} 41 . 42 {%- endfor %} 43 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 %} 52 . 53 {%- endfor %} 54 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 %} 63 . 64 {%- endfor %} 65 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 %} 74 . 75 {%- endfor %} 76 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 %} 85 . 86 {%- endfor %} 87 88 ; // This line makes sure that mc.exe does not complain about a single '.' at 89 ; // the end of the file. 90