Merge branch 'master' into sidebar
* master: show license not copyright SPR-794 use proper translation mechanism for JS SPR-798 added type ints for other plugins SPR-797 fix ID uniqueness
This commit is contained in:
commit
eaccab8168
17 changed files with 31 additions and 137 deletions
28
script.js
28
script.js
|
@ -1,34 +1,6 @@
|
|||
var $_LANG = {};
|
||||
|
||||
/* DOKUWIKI:include js/base/helper.js */
|
||||
/* DOKUWIKI:include js/base/spc.js */
|
||||
|
||||
( function( $, spc, lang ) {
|
||||
|
||||
var setLang = function(){
|
||||
try{
|
||||
if(lang==="de"){
|
||||
/* DOKUWIKI:include lang/de/lang.js */
|
||||
} else if(lang==="en"){
|
||||
/* DOKUWIKI:include lang/en/lang.js */
|
||||
} else{
|
||||
/* default */
|
||||
/* DOKUWIKI:include lang/de/lang.js */
|
||||
}
|
||||
|
||||
$_LANG = $lang;
|
||||
|
||||
}catch(err){
|
||||
}
|
||||
};
|
||||
|
||||
$(function(){
|
||||
setLang();
|
||||
});
|
||||
|
||||
|
||||
} )( jQuery, spc, wikiLang );
|
||||
|
||||
/* DOKUWIKI:include js/plugins/do_tasks.js */
|
||||
|
||||
/* DOKUWIKI:include js/sidebar-menu.js */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue