14 lines
292 B
JavaScript
14 lines
292 B
JavaScript
// Generated by CoffeeScript 1.10.0
|
|
(function() {
|
|
window.translatePage = function(lang) {
|
|
return $("[trspan]").each(function() {
|
|
return this.text(translate(this.attr('trspan')));
|
|
});
|
|
};
|
|
|
|
$(document).ready(function() {
|
|
return translatePage(lang);
|
|
});
|
|
|
|
}).call(this);
|