Advance on components/game.js
[vchess.git] / public / javascripts / utils / misc.js
index 4ad0766..3643fa7 100644 (file)
@@ -41,3 +41,7 @@ function doClick(elemId)
 {
        document.getElementById(elemId).click(); //or ".checked = true"
 }
+
+function translate(msg) {
+       return translations[msg];
+}