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

Unified Diff: lib/i18n/intl_message.dart

Issue 10692022: Reapply r9192 and 9194, with the change of making locale a public field. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 6 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 | « lib/i18n/intl.dart ('k') | tests/lib/i18n/bidi_format_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/i18n/intl_message.dart
===================================================================
--- lib/i18n/intl_message.dart (revision 9195)
+++ lib/i18n/intl_message.dart (working copy)
@@ -7,10 +7,10 @@
*
*
* _message example:
- * '''I see ${Intl.plural(num_people,
- * {'0': 'no one at all',
- * '1': 'one other person',
- * 'other': '$num_people other people'})} in $place.''''
+ * '''I see ${Intl.plural(num_people,
+ * {'0': 'no one at all',
+ * '1': 'one other person',
+ * 'other': '$num_people other people'})} in $place.''''
*
* Usage examples:
* today(date) => intl.message(
@@ -29,14 +29,11 @@
*
* Calling `msg({'num_people': 2, 'place': 'Athens'});` would
* produce "I see 2 other people in Athens." as output.
- * <!-- TODO(efortuna): documentation example involving the offset parameter.
- * -->
*
* See tests/message_format_test.dart for more examples.
*/
+ //TODO(efortuna): documentation example involving the offset parameter?
-#library('intl_message');
-
class IntlMessage {
/** String describing the use case for this message. */
« no previous file with comments | « lib/i18n/intl.dart ('k') | tests/lib/i18n/bidi_format_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698