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

Unified Diff: pkg/intl/test/message_extraction/make_hardcoded_translation.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/make_hardcoded_translation.dart
diff --git a/pkg/intl/test/message_extraction/make_hardcoded_translation.dart b/pkg/intl/test/message_extraction/make_hardcoded_translation.dart
index e9585647fd8f322c5d5decc0a6acf9ab1a2df0e0..543ed6c0fe59e7fd8852f7537a932b28728528c8 100644
--- a/pkg/intl/test/message_extraction/make_hardcoded_translation.dart
+++ b/pkg/intl/test/message_extraction/make_hardcoded_translation.dart
@@ -97,6 +97,11 @@ var french = {
['female', 'femme'],
['other', 'autre'],
], null)),
+ "pluralThatFailsParsing" : writer.write(new Plural.from("noOfThings",
+ [
+ ['one', '1 chose:'],
+ ['other', '\$noOfThings choses:']
+ ], null)),
"nestedOuter" : writer.write ( new Plural.from("number",
[
['other', new Gender.from("gen",
@@ -183,6 +188,11 @@ var german = {
['female', 'Frau'],
['other', 'andere'],
], null)),
+ "pluralThatFailsParsing" : writer.write(new Plural.from("noOfThings",
+ [
+ ['one', 'eins:'],
+ ['other', '\$noOfThings Dinge:']
+ ], null)),
"nestedOuter" : writer.write (new Plural.from("number",
[
['other', new Gender.from("gen",
« no previous file with comments | « pkg/intl/test/message_extraction/foo_messages_fr.dart ('k') | pkg/intl/test/message_extraction/sample_with_messages.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698