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

Unified Diff: pkg/intl/lib/src/intl_message.dart

Issue 23060025: Simplify the generated code for a message. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 4 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/message_lookup_by_library.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/intl/lib/src/intl_message.dart
diff --git a/pkg/intl/lib/src/intl_message.dart b/pkg/intl/lib/src/intl_message.dart
index 886c82d0e858cd10de922857a36d6984277c207e..ad88395a9ad6e72f7c70ea3bb4ee80d3929779a8 100644
--- a/pkg/intl/lib/src/intl_message.dart
+++ b/pkg/intl/lib/src/intl_message.dart
@@ -350,9 +350,9 @@ class MainMessage extends ComplexMessage {
var out = new StringBuffer()
..write('static $name(')
..write(arguments.join(", "))
- ..write(') => Intl.$dartMessageName("')
+ ..write(') => "')
..write(translations[locale])
- ..write('");');
+ ..write('";');
return out.toString();
}
« no previous file with comments | « pkg/intl/lib/message_lookup_by_library.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698