Permalink
Browse files

added descriptions to slowparse error i18n bundles.

  • Loading branch information...
1 parent 045f73a commit aa491e0291c92b1779dec950dcc9dd0aac9961c4 @toolness committed Dec 5, 2012
Showing with 8 additions and 2 deletions.
  1. +4 −1 js/slowparse-errors/nls/base.js
  2. +4 −1 js/slowparse-errors/nls/forbidjs.js
@@ -2,5 +2,8 @@ define([
'../html-to-i18n-bundle',
'text!slowparse/spec/errors.base.html'
], function(htmlToI18nBundle, base) {
- return {root: htmlToI18nBundle(base)};
+ return {
+ description: '<a href="http://mozilla.github.com/slowparse/spec/">Slowparse errors</a> shown when the user makes basic mistakes like forgetting to close a tag.',
+ root: htmlToI18nBundle(base)
+ };
});
@@ -2,5 +2,8 @@ define([
'../html-to-i18n-bundle',
'text!slowparse/spec/errors.forbidjs.html'
], function(htmlToI18nBundle, forbidjs) {
- return {root: htmlToI18nBundle(forbidjs)};
+ return {
+ description: '<a href="http://mozilla.github.com/slowparse/spec/">Slowparse errors</a> shown when the user tries to use JavaScript but it\'s not allowed.',
+ root: htmlToI18nBundle(forbidjs)
+ };
});

0 comments on commit aa491e0

Please sign in to comment.