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

Unified Diff: pkg/intl/lib/generate_localized.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/extract_messages.dart ('k') | pkg/intl/test/message_extraction/foo_messages_de_DE.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/intl/lib/generate_localized.dart
diff --git a/pkg/intl/lib/generate_localized.dart b/pkg/intl/lib/generate_localized.dart
index 0dbd4bc8cbd01c5cfabb5439020d894842ceb090..f17e7c48969ea1c82c84e14ef2fcbfa0ff8ee4b6 100644
--- a/pkg/intl/lib/generate_localized.dart
+++ b/pkg/intl/lib/generate_localized.dart
@@ -107,7 +107,7 @@ void generateIndividualMessageFile(String locale,
a.originalMessage.name.compareTo(b.originalMessage.name));
for (var translation in usableTranslations) {
result
- .write(" ")
+ ..write(" ")
..write(translation.originalMessage.toCodeForLocale(locale))
..write("\n\n");
}
« no previous file with comments | « pkg/intl/lib/extract_messages.dart ('k') | pkg/intl/test/message_extraction/foo_messages_de_DE.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698