Commit 97bed1e3 authored by Sylvain Coulange's avatar Sylvain Coulange
Browse files

correction bug language

parent 0199cd9d
......@@ -263,7 +263,7 @@ function dicoAddPopBtnAjouter() {
if (trans.length > 0) {
validEntry(mot, trans);
} else {
window.alert(langJson['alert_addAtLeastOneTrans']);
window.alert(langJson['alert_addAtLeastOneTrans'][thisPageLang]);
}
}
......@@ -311,7 +311,7 @@ function bugMark() {
var thisMotId = bugs[i].parentNode.id;
console.log(thisMotId);
var infoMot = dicoTok[thisMotId][dicoId[thisMotId]];
newMark.title = langJson['ti_bugMark'] + ' /' + infoMot[2] + '/: ' + infoMot[3];
newMark.title = langJson['ti_bugMark'][thisPageLang] + ' /' + infoMot[2] + '/: ' + infoMot[3];
bugs[i].parentNode.insertBefore(newMark,bugs[i].nextSibling);
};
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment