Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/js/ui.kFooter.js
diff options
context:
space:
mode:
authorBryan Berry <bryan@olenepal.org>2010-02-17 11:01:27 (GMT)
committer Bryan Berry <bryan@olenepal.org>2010-02-17 11:01:27 (GMT)
commitaeb50aa30708c04cd816172753ea4972815b207c (patch)
tree9a09d26474ed8cf4282f5524938f4c5517616c01 /js/ui.kFooter.js
parent0aa48d0503c69c9ebc1d2bb209bfbec10e8bed64 (diff)
make lesson generic
Diffstat (limited to 'js/ui.kFooter.js')
-rwxr-xr-xjs/ui.kFooter.js12
1 files changed, 9 insertions, 3 deletions
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(){