Add 18n support to the editor.

This commit is contained in:
Paulo Gustavo Veiga
2012-07-01 17:21:02 -03:00
parent cd46647602
commit 2757a5ddb4
16 changed files with 878 additions and 333 deletions

View File

@@ -193,12 +193,12 @@ mindplot.MainTopic = new Class({
var result = "";
if ($defined(targetTopic)) {
if (targetTopic.getType() == mindplot.model.INodeModel.CENTRAL_TOPIC_TYPE) {
result = "Main Topic";
result = $msg('MAIN_TOPIC');
} else {
result = "Sub Topic";
result = $msg('SUB_TOPIC');
}
} else {
result = "Isolated Topic";
result = $msg('ISOLATED_TOPIC');;
}
return result;
},