Added translation for algorithm names.

This commit is contained in:
Unick Soft
2020-06-21 10:59:46 +02:00
parent 41229208f5
commit abb41c3852
24 changed files with 170 additions and 17 deletions

View File

@@ -16,7 +16,7 @@ FindHamiltonianLoop.prototype = Object.create(BaseAlgorithmEx.prototype);
FindHamiltonianLoop.prototype.getName = function(local)
{
return local == "ru" ? "Найти Гамильтонов цикл" : "Find Hamiltonian cycle";
return g_HamiltoianCycleName; //local == "ru" ? "Найти Гамильтонов цикл" : "Find Hamiltonian cycle";
}
FindHamiltonianLoop.prototype.getId = function()