mirror of
https://github.com/UnickSoft/graphonline.git
synced 2026-10-23 16:44:09 +00:00
Added use of locale inColoring algorithm
This commit is contained in:
1 parent
56ab95df40
commit
0a294c1720
12 files changed
+37
-1
No files matched your search
@@ -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