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

Unified Diff: pkg/intl/test/message_extraction/foo_messages_fr.dart

Issue 165873005: Do not overwrite values on plurals/genders with the results of constant evaluation (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 10 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/test/message_extraction/foo_messages_fr.dart
diff --git a/pkg/intl/test/message_extraction/foo_messages_fr.dart b/pkg/intl/test/message_extraction/foo_messages_fr.dart
index 58c71ceb5f11a5267f3c903daca5f6d9af3a809b..b57a2516f15af59b63ec532482602cfcd591157c 100644
--- a/pkg/intl/test/message_extraction/foo_messages_fr.dart
+++ b/pkg/intl/test/message_extraction/foo_messages_fr.dart
@@ -48,6 +48,8 @@ class MessageLookup extends MessageLookupByLibrary {
static outerSelect(currency, amount) => "${Intl.select(currency, {'CDN': '$amount dollars Canadiens', 'other': '$amount certaine devise ou autre.', })}";
+ static pluralThatFailsParsing(noOfThings) => "${Intl.plural(noOfThings, one: '1 chose:', other: '$noOfThings choses:')}";
+
static plurals(num) => "${Intl.plural(num, zero: 'Est-ce que nulle est pluriel?', one: 'C\'est singulier', other: 'C\'est pluriel ($num).')}";
static staticMessage() => "Cela vient d\'une méthode statique";
@@ -77,10 +79,11 @@ class MessageLookup extends MessageLookupByLibrary {
"outerGender" : outerGender,
"outerPlural" : outerPlural,
"outerSelect" : outerSelect,
+ "pluralThatFailsParsing" : pluralThatFailsParsing,
"plurals" : plurals,
"staticMessage" : staticMessage,
"trickyInterpolation" : trickyInterpolation,
"types" : types,
"whereTheyWentMessage" : whereTheyWentMessage
};
-}
+}

Powered by Google App Engine
This is Rietveld 408576698