Moves localized string to javascript, in the prompt to discard a draft review

Review Request #6346 — Created Sept. 20, 2014 and submitted — Latest diff uploaded

Information

Review Board
master
70e20e5...

Reviewers

Making the last few changes on code that fixed an issue, where there was no prompt after pressing the Discard Review button on draft reviews.

This moves embedded localized strings to javascript from of HTML.

Tested Visually (in both Chrome and Firefox)

Both tested with and without clicking 'ok' on the draft review under a comment or issue.

. Clicking the Discard Review button, then clicking cancel closes the prompt.
. Clicking the Discard Review button, then clicking discard exits the review and gets you back to the review request.