Chromium Code Reviews| 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_de; | 10 library messages_de; |
| 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 => 'de'; | 18 get localeName => 'de'; |
| 19 | 19 |
| 20 bool localeExists(localeName) => null; | |
|
Alan Knight
2013/04/18 19:42:25
In normal usage these will be generated files, so
nweiz
2013/04/18 19:59:23
Done.
Alan Knight
2013/04/18 20:07:18
Then they also should be deleted from this and the
| |
| 21 | |
| 20 final messages = { | 22 final messages = { |
| 21 "runAt" : (time, day) => Intl.message("Ausgedruckt am $time am $day.") | 23 "runAt" : (time, day) => Intl.message("Ausgedruckt am $time am $day.") |
| 22 }; | 24 }; |
| 23 } | 25 } |
| 24 | 26 |
| OLD | NEW |