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

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

Issue 12733003: Adds facilities for extracting Intl.message calls and generating code from translations (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 9 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
Index: pkg/intl/lib/src/intl_helpers.dart
diff --git a/pkg/intl/lib/src/intl_helpers.dart b/pkg/intl/lib/src/intl_helpers.dart
index d431584fdea98f2384c5aa1fe6e7279e483600d9..c1133ea47c9e2eaba505b943c66872e9769cf483 100644
--- a/pkg/intl/lib/src/intl_helpers.dart
+++ b/pkg/intl/lib/src/intl_helpers.dart
@@ -24,7 +24,13 @@ class UninitializedLocaleData<F> {
operator [](String key) =>
(key == 'en_US') ? fallbackData : _throwException();
+
+ String lookupMessage(String message_str, [final String desc='',
+ final Map examples=const {}, String locale,
+ String name, List<String> args]) => _throwException();
+
List get keys => _throwException();
+
bool containsKey(String key) => (key == 'en_US') ? true : _throwException();
_throwException() {

Powered by Google App Engine
This is Rietveld 408576698