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

Unified Diff: pkg/intl/lib/intl.dart

Issue 11783009: Big merge from experimental to bleeding edge. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 11 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « pkg/intl/lib/date_symbol_data_local.dart ('k') | pkg/intl/lib/intl_standalone.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/intl/lib/intl.dart
diff --git a/pkg/intl/lib/intl.dart b/pkg/intl/lib/intl.dart
index e2cd831abf8483ea9eb9757729e5a131a79e7e86..9214b662a3a5cc84120163b9c86683feda9946b5 100644
--- a/pkg/intl/lib/intl.dart
+++ b/pkg/intl/lib/intl.dart
@@ -16,6 +16,7 @@
*/
library intl;
+import 'dart:async';
import 'src/intl_helpers.dart';
import 'dart:math';
import 'date_symbols.dart';
@@ -127,7 +128,7 @@ class Intl {
* will be extracted automatically but for the time being it must be passed
* explicitly in the [name] and [args] arguments.
*/
- static String message(String message_str, {final String desc: '',
+ static Future<String> message(String message_str, {final String desc: '',
final Map examples: const {}, String locale, String name,
List<String> args}) {
return messageLookup.lookupMessage(
@@ -270,4 +271,4 @@ class Intl {
if (_defaultLocale == null) _defaultLocale = systemLocale;
return _defaultLocale;
}
-}
+}
« no previous file with comments | « pkg/intl/lib/date_symbol_data_local.dart ('k') | pkg/intl/lib/intl_standalone.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698