Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(85)

Side by Side Diff: pkg/dart_messages/lib/shared_messages.dart

Issue 1514333002: Add dart_messages package. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Minor fixes (long line...) Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698