From aeb50aa30708c04cd816172753ea4972815b207c Mon Sep 17 00:00:00 2001 From: Bryan Berry Date: Wed, 17 Feb 2010 11:01:27 +0000 Subject: make lesson generic --- (limited to 'js/ui.kFooter.js') diff --git a/js/ui.kFooter.js b/js/ui.kFooter.js index 02d7937..d25f6bd 100755 --- a/js/ui.kFooter.js +++ b/js/ui.kFooter.js @@ -157,11 +157,17 @@ stopTimer : function(){ this._setData('timerRunning', false); }, - _ : function(val, loc){ - return $.i18n.call($.ui.kFooter, val, loc); + _ : function(val, loc){ + if($.i18n){ + return $.i18n.call($.ui.kFooter, val, loc); + } + return val; }, _n : function(val, loc){ - return $._n(val, loc); + if ($.i18n){ + return $._n(val, loc); + } + return val; }, _init : function(){ -- cgit v0.9.1