subs: Fix capitalization in stream privacy modal.

This commit is contained in:
Tim Abbott 2017-02-25 18:33:21 -08:00
parent bd03bb76fd
commit 5a204d7c84
2 changed files with 4 additions and 4 deletions

View File

@ -872,7 +872,7 @@ function render(template_name, args) {
var button = $(html).find("#change-stream-privacy-button");
assert(button.hasClass("btn-primary"));
assert.equal(button.text().trim(), "Make Stream Public");
assert.equal(button.text().trim(), "Make stream public");
}());

View File

@ -1,7 +1,7 @@
<div id="stream_privacy_modal" class="modal" tabindex="-1" role="dialog" aria-labelledby="stream_privacy_modal_label" aria-hidden="true">
<div class="modal-header">
<button type="button" class="close close-privacy-modal" aria-hidden="true">×</button>
<h3 id="stream_privacy_modal_label">{{t "Change Stream Privacy" }} <span class="email"></span></h3>
<h3 id="stream_privacy_modal_label">{{t "Change stream privacy" }} <span class="email"></span></h3>
</div>
<div class="modal-body">
{{#if is_private}}
@ -24,9 +24,9 @@
<button class="btn{{#if is_private}} btn-primary{{else}} btn-danger{{/if}}" id="change-stream-privacy-button"
tabindex="-1" data-stream-id="{{stream_id}}">
{{#if is_private}}
{{t "Make Stream Public"}}
{{t "Make stream public"}}
{{else}}
{{t "Make Stream Private"}}
{{t "Make stream invite-only"}}
{{/if}}
</button>
</div>