mirror of
https://github.com/UnickSoft/graphonline.git
synced 2026-02-16 10:40:57 +00:00
Added use of locale in Vertices Degree algorithm
This commit is contained in:
@@ -27,7 +27,7 @@ VerticesDegree.prototype.getId = function()
|
||||
// @return message for user.
|
||||
VerticesDegree.prototype.getMessage = function(local)
|
||||
{
|
||||
return (local == "ru" ? "Максимальная степень вершин графа равна " : "The maximum degree of a graph is ") + this.maxDegree;
|
||||
return g_maximumDegreeOfGraph + " " + this.maxDegree;
|
||||
}
|
||||
|
||||
VerticesDegree.prototype.result = function(resultCallback)
|
||||
|
||||
Reference in New Issue
Block a user