Merge branch 'staging' into broadcast
commit
96892bff48
@ -0,0 +1,27 @@
|
||||
var EN = require("../www/common/translations/messages.json");
|
||||
|
||||
var simpleTags = [
|
||||
'<br>',
|
||||
'<br />',
|
||||
];
|
||||
|
||||
['a', 'b', 'em', 'p', 'i'].forEach(function (tag) {
|
||||
simpleTags.push('<' + tag + '>');
|
||||
simpleTags.push('</' + tag + '>');
|
||||
});
|
||||
|
||||
Object.keys(EN).forEach(function (k) {
|
||||
var s = EN[k];
|
||||
if (typeof(s) !== 'string') { return; }
|
||||
var usesHTML;
|
||||
|
||||
s.replace(/<.*?>/g, function (html) {
|
||||
if (simpleTags.indexOf(html) !== -1) { return; }
|
||||
usesHTML = true;
|
||||
console.log("{%s}", html);
|
||||
});
|
||||
|
||||
if (usesHTML) {
|
||||
console.log("[%s] %s\n", k, s);
|
||||
}
|
||||
});
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue