Added use of locale in Modern Graph Style algorithm

This commit is contained in:
serd2011
2021-09-19 18:58:33 +03:00
parent 164a2818f0
commit 92dd7751e3
12 changed files with 25 additions and 1 deletions

View File

@@ -30,7 +30,7 @@ ModernGraphStyle.prototype.getId = function()
// @return message for user.
ModernGraphStyle.prototype.getMessage = function(local)
{
return (local == "ru" ? "Готово" : "Done");
return g_done;
}
ModernGraphStyle.prototype.result = function(resultCallback)