TNL-46
I've changed Studio to catch JavaScript errors when rendering xblocks, log the error, but to then continue as normal. This means that the user is still able to interact with the xblock to delete, duplicate etc. This seems reasonable as the xblock is only rendered as a WYSIWYG representation so if it isn't fully interactive that shouldn't be a big problem.
STUD-1856
Display "IS VISIBLE TO" when released and published
Reword staff lock prompt and notifications
Change "View Published Version" to "View Live Version"
Change "Unit Tree Location" to "Unit Location in Course"
Switch live content warning based on unpublished changes
Reword discard changes confirmation prompt
Reword unit location tip
Add "Edit the name" popup text for sections and subsections
Fix popup text for section and subsection titles
Add popup text for new section, subsection, and unit buttons
Reword popup for View Live button and add tests
Reword notification when removing staff lock
Update MessageView when has_changes changed
Change "Published" to "Published (not yet released)"
Change "Unpublished (Staff only)" to "Visible to Staff Only"
Fix bok_choy test by changing course separator.
Change format of the modal title to '[Subsection/Section Name] Settings'.
Improve bok_choy test stability.
Studio: correcting modal window size name for outline settings editor
Specify full date in bok_choy tests.
Refactor bok_choy tests.
Remove .modal-editor from basic-modal.underscore
Set classes in modal window dynamically.
Studio: revising outline edit modal tip content and overall size
Rename isEditable to isEditableOnCourseOutline.
Interpolate display name.
Use graded instead of format as flag.
Studio: revising outline settings edit modal size
Fix selectors in bok_choy tests.
* syncing up unit publishing state UI with stateful names/styles
* revising outline item status message display logic to show release status
* fixing publishState value typo in outline UI template
* refining and syncing incontext editor styling
* maintaining visual alignment of collapsed/expanded sections in outline UI
* simplifying page-level action styles on outline UI
1. Current code uses type name as the display names for XBlock buttons, so the name of these five buttons can't be localized. This fix contains code that adds a 'display_name' field for the buttons, and makes their names localizable.
2. The display names of components in advanced, html and problem types can be localized now.