mirror of
https://github.com/UnickSoft/graphonline.git
synced 2026-04-09 17:26:24 +00:00
Added use of locale inColoring algorithm
This commit is contained in:
@@ -30,7 +30,7 @@ Coloring.prototype.getId = function()
|
||||
// @return message for user.
|
||||
Coloring.prototype.getMessage = function(local)
|
||||
{
|
||||
return (local == "ru" ? "Найденное количество цветов " : "Color number is ") + this.connectedComponentNumber;
|
||||
return g_colorNumber + " " + this.connectedComponentNumber;
|
||||
}
|
||||
|
||||
Coloring.prototype.result = function(resultCallback)
|
||||
|
||||
Reference in New Issue
Block a user