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. |
var value = this.data_[id]; |
expect(typeof value != 'undefined', 'Could not find value for ' + id); |
return value; |