Index: packages/intl/example/basic/messages_de.dart |
diff --git a/packages/intl/example/basic/messages_de.dart b/packages/intl/example/basic/messages_de.dart |
new file mode 100644 |
index 0000000000000000000000000000000000000000..dea00acab2e890785068aeca0543039cbdb1d843 |
--- /dev/null |
+++ b/packages/intl/example/basic/messages_de.dart |
@@ -0,0 +1,23 @@ |
+// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
+// for details. All rights reserved. Use of this source code is governed by a |
+// BSD-style license that can be found in the LICENSE file. |
+ |
+/** |
+ * This is a library that provides messages for a German locale. All the |
+ * messages from the main program should be duplicated here with the same |
+ * function name. |
+ */ |
+library messages_de; |
+ |
+import 'package:intl/intl.dart'; |
+import 'package:intl/message_lookup_by_library.dart'; |
+ |
+final messages = new MessageLookup(); |
+ |
+class MessageLookup extends MessageLookupByLibrary { |
+ get localeName => 'de'; |
+ |
+ final messages = { |
+ "runAt": (time, day) => Intl.message("Ausgedruckt am $time am $day.") |
+ }; |
+} |