Translate "Reply to (username)..." in textarea

This commit is contained in:
basst85 2014-01-15 12:45:06 +01:00
parent 219d41acb3
commit d637b5e48b

View File

@ -90,7 +90,7 @@ function postToElem( post, kind ) {
replyTo += "@" + mentions[i] + " "; replyTo += "@" + mentions[i] + " ";
} }
} }
elem.find(".post-area-new textarea").attr("placeholder","Reply to " + replyTo + "..."); elem.find(".post-area-new textarea").attr("placeholder", polyglot.t("reply_to", { fullname: replyTo })+ "...");
elem.find(".post-area-new textarea").attr("data-reply-to",replyTo); elem.find(".post-area-new textarea").attr("data-reply-to",replyTo);
postData.attr("data-reply-to",replyTo); postData.attr("data-reply-to",replyTo);