We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents fc81adb + 537ada7 commit 78bd10dCopy full SHA for 78bd10d
HTMLCS.js
@@ -84,13 +84,15 @@ _global.HTMLCS = new function()
84
var translations = _global.translation[this.lang];
85
86
if (!translations) {
87
- throw new Error ('Missing translations for language ' + this.lang);
+ console.error('Missing translations for language ' + this.lang);
88
+ return '';
89
}
90
91
var translation = translations[text];
92
93
if (!translation) {
- throw new Error('Translation for "' + text + '" does not exist in current language ' + this.lang);
94
+ console.error('Translation for "' + text + '" does not exist in current language ' + this.lang);
95
96
97
98
return translation;
0 commit comments