|
@@ -12,22 +12,22 @@ module.exports = {
|
|
{
|
|
{
|
|
'lc':'lat',
|
|
'lc':'lat',
|
|
'label':'Latin (Carl Gebhardt)',
|
|
'label':'Latin (Carl Gebhardt)',
|
|
- 'db':'0-LAT-ethicadb.json'
|
|
|
|
|
|
+ 'db':'spinoza-ethica-lat-gebhardt.json'
|
|
},
|
|
},
|
|
{
|
|
{
|
|
'lc':'fr',
|
|
'lc':'fr',
|
|
'label':'Français (Traduction par Charles Appuhn)',
|
|
'label':'Français (Traduction par Charles Appuhn)',
|
|
- 'db':'2-Appuhn-FR-ethicadb.json'
|
|
|
|
|
|
+ 'db':'spinoza-ethica-fr-appuhn.json'
|
|
},
|
|
},
|
|
{
|
|
{
|
|
'lc':'bra',
|
|
'lc':'bra',
|
|
'label':'Brazilian (Tradução Roberto Brandão)',
|
|
'label':'Brazilian (Tradução Roberto Brandão)',
|
|
- 'db':'ethica-bresilen.json'
|
|
|
|
|
|
+ 'db':'spinoza-ethica-bra-brandao.json'
|
|
},
|
|
},
|
|
{
|
|
{
|
|
'lc':'en',
|
|
'lc':'en',
|
|
'label':'English (Translated by R. H. M. Elwes)',
|
|
'label':'English (Translated by R. H. M. Elwes)',
|
|
- 'db':'3-Elwes-EN-ethicadb.json'
|
|
|
|
|
|
+ 'db':'spinoza-ethica-en-elwes.json'
|
|
}
|
|
}
|
|
],
|
|
],
|
|
data:[],
|
|
data:[],
|
|
@@ -116,6 +116,8 @@ module.exports = {
|
|
// if links exist on text
|
|
// if links exist on text
|
|
if(links_match){
|
|
if(links_match){
|
|
for(link of links_match){
|
|
for(link of links_match){
|
|
|
|
+ // for(i in links_match){
|
|
|
|
+ // link = links_match[i];
|
|
// console.log(link);
|
|
// console.log(link);
|
|
// get the target id
|
|
// get the target id
|
|
tid = link.match(/\((.+)\)/)[1];
|
|
tid = link.match(/\((.+)\)/)[1];
|
|
@@ -131,7 +133,7 @@ module.exports = {
|
|
this.data_strct[tid].from.push(id);
|
|
this.data_strct[tid].from.push(id);
|
|
}else{
|
|
}else{
|
|
// if targets does not exists, the db has an issue, warn about that
|
|
// if targets does not exists, the db has an issue, warn about that
|
|
- console.log('!! warning : '+tid+' target id does not exists');
|
|
|
|
|
|
+ console.log(`!! warning : ${tid} target id does not exists`);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|