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

Side by Side Diff: lib/i18n/intl.dart

Issue 10700013: revert 9192,9194 (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 5 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
« no previous file with comments | « lib/i18n/date_format.dart ('k') | lib/i18n/intl_message.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
3 // BSD-style license that can be found in the LICENSE file.
4
5 #library('intl');
6
7 #import('dart:web');
8
9 #source('intl_message.dart');
10 #source('date_format.dart');
11 #source('bidi_formatter.dart');
12 #source('bidi_utils.dart');
13
14 /** 1 /**
2 * Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
3 * for details. All rights reserved. Use of this source code is governed by a
4 * BSD-style license that can be found in the LICENSE file.
5 *
15 * Internationalization object providing access to message formatting objects, 6 * Internationalization object providing access to message formatting objects,
16 * date formatting, parsing, bidirectional text relative to a specific locale. 7 * date formatting, parsing, bidirectional text relative to a specific locale.
17 */ 8 */
18 9
10 #library('Intl');
11
12 #import('intl_message.dart');
13 #import('date_format.dart');
14
19 class Intl { 15 class Intl {
20 16
21 /** 17 /**
22 * String indicating the locale code with which the message is to be 18 * String indicating the locale code with which the message is to be
23 * formatted (such as en-CA). 19 * formatted (such as en-CA).
24 */ 20 */
25 static String _locale; 21 static String _locale;
26 22
27 IntlMessage intlMsg; 23 IntlMessage intlMsg;
28 24
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
112 108
113 /** 109 /**
114 * Accessor for the current locale. This should always == the default locale, 110 * Accessor for the current locale. This should always == the default locale,
115 * unless for some reason this gets called inside a message that resets the 111 * unless for some reason this gets called inside a message that resets the
116 * locale. 112 * locale.
117 */ 113 */
118 static String getCurrentLocale() { 114 static String getCurrentLocale() {
119 return _locale; 115 return _locale;
120 } 116 }
121 } 117 }
OLDNEW
« no previous file with comments | « lib/i18n/date_format.dart ('k') | lib/i18n/intl_message.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698