Index: chrome/browser/resources/shared/js/load_time_data.js |
=================================================================== |
--- chrome/browser/resources/shared/js/load_time_data.js (revision 137495) |
+++ chrome/browser/resources/shared/js/load_time_data.js (working copy) |
@@ -42,6 +42,9 @@ |
*/ |
getValue: function(id) { |
expect(this.data_, 'No data. Did you remember to include strings.js?'); |
+ // If your value is not found here, inspect the contents of this.data_. |
+ // If you find none of your values there, then make sure that |
+ // GetLocalizedValues() in your handler class (in C++) is called. |
Evan Stade
2012/05/18 21:08:26
this comment is inaccurate, GetLocalizedValues() d
Finnur
2012/05/18 22:02:04
Having gone through the exercise of trying to figu
Evan Stade
2012/05/18 22:14:23
not obvious where to go in the C++ code? You added
Finnur
2012/05/18 22:27:01
I added GetLocalizedValues() but overlooked the fa
|
var value = this.data_[id]; |
expect(typeof value != 'undefined', 'Could not find value for ' + id); |
return value; |