Commit 5423efcf authored by c24b's avatar c24b

Lang support for getTips

parent 5c451e27
......@@ -1012,8 +1012,7 @@ function getTips(){
active_lang = $("a#lang").data("lang")
param='';
text = {"en":
"<center><b>Graph Explorer</b></center>"+
text = {"en":"<center><b>Graph Explorer</b></center>"+
"<ul><b>Basic Interactions:</b>"+
"<li>With the <b>mouse selector</b>, click on a node to select/unselect and get its contextual information. Associated terms, neighbours and the first 5 documents will appears in this window.</li>"+
"<li>In case of node selection(simple or multiple), the button <button class='delete'>Delete</button> remove selected terms from map list.</li>"+
......@@ -1070,9 +1069,9 @@ function getTips(){
"<a style='float: right;' class='btn-xs' href='#' id='edgesButton'></a>"+
"<li>To see the edges, click on the edges button. </li>"+
"</ul>",
};
}
$("#tab-container").hide();
$("#tab-container-top").hide();
return text;
console.log("loading getTips in", active_lang)
return text[active_lang];
}
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