diff --git a/scripts/find-html-translations.js b/scripts/find-html-translations.js
index 6e3999ad9..dabdbac4b 100644
--- a/scripts/find-html-translations.js
+++ b/scripts/find-html-translations.js
@@ -7,11 +7,18 @@ var simpleTags = [
'',
'',
- // XXX
+ // FIXME
"",
'',
'
',
+ // FIXME register_notes
+ '',
+ '',
+ '',
+ '',
+ '',
];
['a', 'b', 'em', 'p', 'i'].forEach(function (tag) {
@@ -19,12 +26,11 @@ var simpleTags = [
simpleTags.push('' + tag + '>');
});
-var PENDING_ENGLISH_KEYS = [];
-
-var KNOWN_ISSUES = [ // XXX
+// these keys are known to be problematic
+var KNOWN_ISSUES = [ // FIXME
//'newVersion',
- 'fm_info_anonymous',
- 'register_notes',
+ //'fm_info_anonymous',
+ //'register_notes',
];
var processLang = function (map, lang, primary) {
@@ -37,7 +43,7 @@ var processLang = function (map, lang, primary) {
Object.keys(map).forEach(function (k) {
if (!EN[k]) { return; }
- if (KNOWN_ISSUES.indexOf(k) !== -1) { return; } // XXX
+ if (KNOWN_ISSUES.indexOf(k) !== -1) { return; }
var s = map[k];
if (typeof(s) !== 'string') { return; }
@@ -53,17 +59,9 @@ var processLang = function (map, lang, primary) {
});
if (usesHTML) {
- if (primary) {
- PENDING_ENGLISH_KEYS.push(k);
- } else {
- // XXX ignore HTML in translations if they are also present in English
- //if (PENDING_ENGLISH_KEYS.indexOf(k) !== -1) { return; }
- }
- if (true || !primary) {
- announce();
- console.log("%s", s);
- console.log("[%s]\n", k);
- }
+ announce();
+ console.log("%s", s);
+ console.log("[%s]\n", k);
}
});
};