| OLD | NEW |
| 1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2014, 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 /// Contains all warning messages produced by the code_transformers package. | 5 /// Contains all warning messages produced by the code_transformers package. |
| 6 library code_transformers.src.messages; | 6 library code_transformers.src.messages; |
| 7 | 7 |
| 8 import 'package:code_transformers/messages/messages.dart'; | 8 import 'package:code_transformers/messages/messages.dart'; |
| 9 | 9 |
| 10 const NO_ABSOLUTE_PATHS = const MessageTemplate( | 10 const NO_ABSOLUTE_PATHS = const MessageTemplate( |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 57 '''); | 57 '''); |
| 58 | 58 |
| 59 const IMPORT_FROM_DIFFERENT_PACKAGE = const MessageTemplate( | 59 const IMPORT_FROM_DIFFERENT_PACKAGE = const MessageTemplate( |
| 60 const MessageId('code_transformers', 5), | 60 const MessageId('code_transformers', 5), |
| 61 'Not possible to import %-toId-% from %-fromId-%', 'Cannot import asset.', | 61 'Not possible to import %-toId-% from %-fromId-%', 'Cannot import asset.', |
| 62 ''' | 62 ''' |
| 63 Assets outside of the lib folder can only be imported via relative URIs from | 63 Assets outside of the lib folder can only be imported via relative URIs from |
| 64 assets in the same package. To import an asset from another package, you need to | 64 assets in the same package. To import an asset from another package, you need to |
| 65 move it into the lib folder of your package. | 65 move it into the lib folder of your package. |
| 66 '''); | 66 '''); |
| OLD | NEW |