includes/clientside/static/l10n.js
changeset 780 f65e35566b63
parent 588 20484deb89cd
child 1196 704ba4b9819b
--- a/includes/clientside/static/l10n.js	Sun Dec 21 16:41:03 2008 -0500
+++ b/includes/clientside/static/l10n.js	Sun Dec 21 16:54:04 2008 -0500
@@ -74,14 +74,15 @@
   
 }
 
-var $lang = {
-  get: function(t) { return t; },
-  placeholder: true
-};
-
 var language_onload = function()
 {
   $lang = new Language(ENANO_LANG_ID);
 }
 
-addOnloadHook(language_onload);
+var $lang = {
+  get: function(t, s) {
+    language_onload();
+    return $lang.get(t, s);
+  },
+  placeholder: true
+};