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

Unified Diff: editor/tools/plugins/com.google.dart.engine.services/src/com/google/dart/engine/services/correction/CorrectionProposal.java

Issue 250823006: Translate parts of engine.services project. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Move to pkg/analysis_services/ Created 6 years, 8 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: editor/tools/plugins/com.google.dart.engine.services/src/com/google/dart/engine/services/correction/CorrectionProposal.java
diff --git a/editor/tools/plugins/com.google.dart.engine.services/src/com/google/dart/engine/services/correction/CorrectionProposal.java b/editor/tools/plugins/com.google.dart.engine.services/src/com/google/dart/engine/services/correction/CorrectionProposal.java
index f4a1c62b08d22f134ceac09e248eb75c2de3bc0c..2f0df56fefad7a09ba70df31b772ae805ba7058e 100644
--- a/editor/tools/plugins/com.google.dart.engine.services/src/com/google/dart/engine/services/correction/CorrectionProposal.java
+++ b/editor/tools/plugins/com.google.dart.engine.services/src/com/google/dart/engine/services/correction/CorrectionProposal.java
@@ -23,7 +23,7 @@ public class CorrectionProposal {
public CorrectionProposal(CorrectionKind kind, Object... arguments) {
this.kind = kind;
- this.name = String.format(kind.getName(), arguments);
+ this.name = String.format(kind.getMessage(), arguments);
}
/**

Powered by Google App Engine
This is Rietveld 408576698