Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(239)

Side by Side Diff: pkg/intl/example/basic/messages_de.dart

Issue 13817008: Fix some warnings in pub and pkg packages. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Code review change Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698