| 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. Note that the library name is significant, as it's looked | 8 * function name. |
| 9 * up based on a naming convention. | |
| 10 */ | 9 */ |
| 10 library messages_th_TH; |
| 11 import 'package:intl/intl.dart'; |
| 12 import 'package:intl/message_lookup_by_library.dart'; |
| 11 | 13 |
| 12 library messages_th_TH; | 14 final messages = new MessageLookup(); |
| 13 import '../../lib/intl.dart'; | |
| 14 | 15 |
| 15 runAt(time, day) => | 16 class MessageLookup extends MessageLookupByLibrary { |
| 16 Intl.message('วิ่ง $time on $day.', name: 'runAt', args: [time, day]); | |
| 17 | 17 |
| 18 get localeName => 'th_TH'; |
| 19 |
| 20 final messages = { |
| 21 "runAt" : (time, day) => Intl.message('วิ่ง $time on $day.') |
| 22 }; |
| 23 } |
| OLD | NEW |