diff --git a/index.html b/index.html index cfcd08a..492074d 100644 --- a/index.html +++ b/index.html @@ -1377,7 +1377,7 @@ newText.setAttribute("data-id" , warning_number); newText.setAttribute("data-text" , text); console.log("doc_name is : " + name) - if (name == 'bmbf-dmp'){ + if (dmpLanguage[name] == "de" ){ newText.innerHTML = '<-- Bitte achten Sie auf den vorhergehenden Satz. ' + text + ''; }else { newText.innerHTML = '<-- Please pay attention to the sentence before. ' + text + ''; @@ -2864,11 +2864,11 @@