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 * This is a library that provides messages for a German locale. All the | 6 * This is a library that provides messages for a German locale. All the |
7 * messages from the main program should be duplicated here with the same | 7 * messages from the main program should be duplicated here with the same |
8 * function name. | 8 * function name. |
9 */ | 9 */ |
10 library messages_th_TH; | 10 library messages_th_TH; |
11 import 'package:intl/intl.dart'; | 11 import 'package:intl/intl.dart'; |
12 import 'package:intl/message_lookup_by_library.dart'; | 12 import 'package:intl/message_lookup_by_library.dart'; |
13 | 13 |
14 final messages = new MessageLookup(); | 14 final messages = new MessageLookup(); |
15 | 15 |
16 class MessageLookup extends MessageLookupByLibrary { | 16 class MessageLookup extends MessageLookupByLibrary { |
17 | 17 |
18 get localeName => 'th_TH'; | 18 get localeName => 'th_TH'; |
19 | 19 |
| 20 bool localeExists(localeName) => null; |
| 21 |
20 final messages = { | 22 final messages = { |
21 "runAt" : (time, day) => Intl.message('วิ่ง $time on $day.') | 23 "runAt" : (time, day) => Intl.message('วิ่ง $time on $day.') |
22 }; | 24 }; |
23 } | 25 } |
OLD | NEW |