| Index: samples/polymer_intl/web/messages_pt.dart
|
| diff --git a/pkg/intl/example/basic/messages_de.dart b/samples/polymer_intl/web/messages_pt.dart
|
| similarity index 52%
|
| copy from pkg/intl/example/basic/messages_de.dart
|
| copy to samples/polymer_intl/web/messages_pt.dart
|
| index d18c98113972cc84dd97e6ed10c3441b512905fa..646ef1e708e656cdaef4ac42ceeef16df60ac79b 100644
|
| --- a/pkg/intl/example/basic/messages_de.dart
|
| +++ b/samples/polymer_intl/web/messages_pt.dart
|
| @@ -1,24 +1,25 @@
|
| -// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| +// Copyright (c) 2013, 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
|
| + * DO NOT EDIT. This is code generated via pkg/intl/generate_localized.dart
|
| + * This is a library that provides messages for a pt 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';
|
| +
|
| +library messages_pt;
|
| import 'package:intl/message_lookup_by_library.dart';
|
|
|
| final messages = new MessageLookup();
|
|
|
| class MessageLookup extends MessageLookupByLibrary {
|
|
|
| - get localeName => 'de';
|
| + get localeName => 'pt';
|
| + static helloWorld() => "Olá, mundo do Dart!";
|
|
|
| - final messages = {
|
| - "runAt" : (time, day) => Intl.message("Ausgedruckt am $time am $day.")
|
| + final messages = const {
|
| + "helloWorld" : helloWorld
|
| };
|
| -}
|
| -
|
| +}
|
|
|