OLD | NEW |
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2012, 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 /** | 5 /** |
6 * In order to avoid needing to import the libraries for each locale | 6 * In order to avoid needing to import the libraries for each locale |
7 * individually in each program file, we make a separate library that imports | 7 * individually in each program file, we make a separate library that imports |
8 * all of them. In this example there's only one program file, so it doesn't | 8 * all of them. In this example there's only one program file, so it doesn't |
9 * make very much difference. | 9 * make very much difference. |
10 */ | 10 */ |
11 library messages_all; | 11 #library('messages_all.dart'); |
12 | 12 |
13 import 'messages_th_th.dart' as th_TH; | 13 #import('messages_th_th.dart', prefix: 'th_TH'); |
14 import 'messages_de.dart' as de; | 14 #import('messages_de.dart', prefix: 'de'); |
OLD | NEW |