| Index: pkg/intl/lib/intl.dart
|
| ===================================================================
|
| --- pkg/intl/lib/intl.dart (revision 13199)
|
| +++ pkg/intl/lib/intl.dart (working copy)
|
| @@ -86,7 +86,7 @@
|
| static String message(String message_str, [final String desc='',
|
| final Map examples=const {}, String locale, String name,
|
| List<String> args]) {
|
| - return _messageLookup.lookupMessage(
|
| + return messageLookup.lookupMessage(
|
| message_str, desc, examples, locale, name, args);
|
| }
|
|
|
| @@ -203,23 +203,4 @@
|
| if (_defaultLocale == null) _defaultLocale = systemLocale;
|
| return _defaultLocale;
|
| }
|
| -}
|
| -
|
| -/**
|
| - * The internal mechanism for looking up messages. We expect this to be set
|
| - * by the implementing package so that we're not dependent on its
|
| - * implementation.
|
| - */
|
| -var _messageLookup = const
|
| - UninitializedLocaleData('initializeMessages(<locale>)');
|
| -
|
| -/**
|
| - * Initialize the message lookup mechanism. This is for internal use only.
|
| - * User applications should import message_lookup_local.dart and call
|
| - * initializeMessages
|
| - */
|
| -void initializeInternalMessageLookup(Function lookupFunction) {
|
| - if (_messageLookup is UninitializedLocaleData) {
|
| - _messageLookup = lookupFunction();
|
| - }
|
| }
|
|
|