localizing submit message text in javascript using resource loader

follow-up patch to https://gerrit.wikimedia.org/r/#/c/67037/

bug 49162

Change-Id: I586646d6101e0f71dab2e60ed9ee08966fbd428a
This commit is contained in:
Wikinaut 2013-06-05 02:37:12 +02:00
parent ad55b3419a
commit d5804f1134

View file

@ -30,7 +30,7 @@ $(".ajaxpoll-answer-name label")
$this.find(".ajaxpoll-hover-vote").addClass("ajaxpoll-checkevent");
$this.find("input").prop("checked","checked");
$( "#ajaxpoll-ajax-"+poll )
.text( mw.message( 'ajaxpoll-submitting' ) )
.text( mw.message( 'ajaxpoll-submitting' ).text() )
.css("display","inline-block");
if (useAjax){
sajax_do_call(