Index: trunk/extensions/MetavidWiki/skins/mv_search.js |
— | — | @@ -268,7 +268,7 @@ |
269 | 269 | $j('#mv_close_clip_'+mvd_id).fadeIn('fast'); |
270 | 270 | }); |
271 | 271 | |
272 | | - $j('#mvr_'+mvd_id).css('display', 'block').html(global_loading_txt); |
| 272 | + $j('#mvr_'+mvd_id).css('display', 'block').html( getMsg('loading_txt') ); |
273 | 273 | //grab search terms: |
274 | 274 | var terms=''; |
275 | 275 | $j('.mv_hl_text').each(function(){ |
Index: trunk/extensions/MetavidWiki/skins/mv_common.js |
— | — | @@ -1,5 +1,4 @@ |
2 | | -/*@@TODO should be set by mediaWiki so it uses wfMsg */ |
3 | | -var global_loading_txt = 'loading<blink>...</blink>'; |
| 2 | +/*@@TODO should be set by mediaWiki so it uses wfMsg */ |
4 | 3 | |
5 | 4 | /* |
6 | 5 | * adds adjustment hooks |
Index: trunk/extensions/MetavidWiki/skins/mv_stream.js |
— | — | @@ -492,7 +492,7 @@ |
493 | 493 | /*function mv_adjust_disp(titleKey, mvd_id){ |
494 | 494 | sajax_request_type='GET'; |
495 | 495 | sajax_do_call( "mv_adjust_disp", [titleKey, mvd_id], f ); |
496 | | - $j('#mv_fcontent_'+mvd_id).html(global_loading_txt); |
| 496 | + $j('#mv_fcontent_'+mvd_id).html( getMsg('loading_txt') ); |
497 | 497 | //hanndle the response: |
498 | 498 | function f( request ) { |
499 | 499 | result= request.responseText; |
Index: trunk/extensions/MetavidWiki/skins/mv_embed/mv_embed.js |
— | — | @@ -620,7 +620,7 @@ |
621 | 621 | start:function(e, ui){ |
622 | 622 | var id = (embedObj.pc!=null)?embedObj.pc.pp.id:embedObj.id; |
623 | 623 | embedObj.userSlide=true; |
624 | | - js_log("started dragging set userSlide"+embedObj.userSlide) |
| 624 | + js_log("started dragging set userSlide" + embedObj.userSlide) |
625 | 625 | var options = ui.options; |
626 | 626 | //remove "play button" |
627 | 627 | $j('#big_play_link_'+id).fadeOut('fast'); |
— | — | @@ -634,7 +634,7 @@ |
635 | 635 | / |
636 | 636 | ($j('#mv_seeker_'+embedObj.id).width()-14)); |
637 | 637 | |
638 | | - embedObj.jump_time = seconds2ntp(parseInt(embedObj.getDuration()*perc)+ embedObj.start_time_sec); |
| 638 | + embedObj.jump_time = seconds2ntp( parseInt( embedObj.getDuration() * perc ) + embedObj.start_time_sec); |
639 | 639 | //js_log('perc:' + perc + ' * ' + embedObj.getDuration() + ' jt:'+ this.jump_time); |
640 | 640 | embedObj.setStatus( getMsg('seek_to')+' '+embedObj.jump_time ); |
641 | 641 | //update the thumbnail / frame |