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:
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(){