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

Unified Diff: pkg/intl/test/message_extraction/foo_messages_de_DE.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
« no previous file with comments | « pkg/intl/lib/generate_localized.dart ('k') | pkg/intl/test/message_extraction/foo_messages_fr.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/intl/test/message_extraction/foo_messages_de_DE.dart
diff --git a/pkg/intl/test/message_extraction/foo_messages_de_DE.dart b/pkg/intl/test/message_extraction/foo_messages_de_DE.dart
index c790ed53dbc9c32ee95e5a51e6c53f8f0c8c032b..b561a3cdcd0c9398f417129f08d28696f4583393 100644
--- a/pkg/intl/test/message_extraction/foo_messages_de_DE.dart
+++ b/pkg/intl/test/message_extraction/foo_messages_de_DE.dart
@@ -46,6 +46,8 @@ class MessageLookup extends MessageLookupByLibrary {
static outerSelect(currency, amount) => "${Intl.select(currency, {'CDN': '$amount Kanadischen dollar', 'other': '$amount einige Währung oder anderen.', })}";
+ static pluralThatFailsParsing(noOfThings) => "${Intl.plural(noOfThings, one: 'eins:', other: '$noOfThings Dinge:')}";
+
static plurals(num) => "${Intl.plural(num, zero: 'Ist Null Plural?', one: 'Dies ist einmalig', other: 'Dies ist Plural ($num).')}";
static staticMessage() => "Dies ergibt sich aus einer statischen Methode";
@@ -74,10 +76,11 @@ class MessageLookup extends MessageLookupByLibrary {
"outerGender" : outerGender,
"outerPlural" : outerPlural,
"outerSelect" : outerSelect,
+ "pluralThatFailsParsing" : pluralThatFailsParsing,
"plurals" : plurals,
"staticMessage" : staticMessage,
"trickyInterpolation" : trickyInterpolation,
"types" : types,
"whereTheyWentMessage" : whereTheyWentMessage
};
-}
+}
« no previous file with comments | « pkg/intl/lib/generate_localized.dart ('k') | pkg/intl/test/message_extraction/foo_messages_fr.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698