[%# This Source Code Form is subject to the terms of the Mozilla Public # License, v. 2.0. If a copy of the MPL was not distributed with this # file, You can obtain one at http://mozilla.org/MPL/2.0/. # # This Source Code Form is "Incompatible With Secondary Licenses", as # defined by the Mozilla Public License, v. 2.0. #%] [% RETURN UNLESS bug.defined; RETURN UNLESS user.can_edit_comments(); # Expose strings used in JavaScript js_BUGZILLA.string.InlineCommentEditor = { cancel => 'Cancel', cancel_tooltip => 'Discard the changes', edit => 'Edit', edited => 'Edited', fetch_error => 'Raw comment could not be loaded. Please try again later.', hide_revision => 'Hide This Revision', loading => 'Loading…', preview => 'Preview', preview_error = 'Preview could not be loaded. Please try again later.', revision_count => [ '%d revision', '%d revisions' ], save => 'Update Comment', save_error => 'Updated comment could not be saved.', save_tooltip => 'Save the changes', saving => 'Saving…', toolbar => 'Comment Editor Toolbar', }; %]