OLD | NEW |
1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file |
2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
4 | 4 |
5 // This file is parsed by JavaScript and must not use fancy Dart constructs. | 5 // This file is parsed by JavaScript and must not use fancy Dart constructs. |
6 // It can contain JSON like constructs and "//" comments (but not "/*" "*/"). | 6 // It can contain JSON like constructs and "//" comments (but not "/*" "*/"). |
7 // It must have one assignment (`final MESSAGES =`). | 7 // It must have one assignment (`final MESSAGES =`). |
8 // All strings must be raw strings. | 8 // All strings must be raw strings. |
9 | 9 |
10 // The messages in this file should meet the following guide lines: | 10 // The messages in this file should meet the following guide lines: |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
52 // describe the problem, not criticize for violating the specification. | 52 // describe the problem, not criticize for violating the specification. |
53 // | 53 // |
54 // Other things to keep in mind: | 54 // Other things to keep in mind: |
55 // | 55 // |
56 // Generally, we want to provide messages that consists of three sentences: | 56 // Generally, we want to provide messages that consists of three sentences: |
57 // 1. what is wrong, 2. why is it wrong, 3. how do I fix it. However, we | 57 // 1. what is wrong, 2. why is it wrong, 3. how do I fix it. However, we |
58 // combine the first two in [template] and the last in [howToFix]. | 58 // combine the first two in [template] and the last in [howToFix]. |
59 | 59 |
60 final MESSAGES = { | 60 final MESSAGES = { |
61 }; | 61 }; |
OLD | NEW |