Fix internationalization in streams page buttons/labels.

This commit is contained in:
Tim Abbott
2017-01-16 17:25:52 -08:00
parent abd4767b50
commit 450ce61e6c
3 changed files with 8 additions and 8 deletions

View File

@@ -98,7 +98,7 @@ casper.then(function () {
"Rome is visible again");
});
casper.waitForSelector('#stream_creation_form', function () {
casper.test.assertTextExists('Add New Stream', 'New stream creation panel');
casper.test.assertTextExists('Create stream', 'New stream creation panel');
casper.fill('form#stream_creation_form', {stream_name: 'Waseemio', stream_description: 'Oimeesaw'});
casper.click('input[value="Scotland"] ~ span');
casper.click('input[value="cordelia@zulip.com"] ~ span');

View File

@@ -2,7 +2,7 @@
<div class="flex">
<div class="subscriptions-container">
<div class="subscriptions-header">
Subscriptions
{{t 'Subscriptions' }}
<div class="exit">
<span class="exit-sign">&times;</span>
</div>
@@ -14,7 +14,7 @@
placeholder="{{t 'Filter streams' }}" value="" autocomplete="off" />
{{#if can_create_streams}}
<input type="submit" class=""
id="create_stream_button" value="{{t '+' }}" />
id="create_stream_button" value="+" />
{{/if}}
<div class="float-clear"></div>
</form>
@@ -28,11 +28,11 @@
</div>
<div class="right">
<div class="display-type">
<div id="add_new_stream_title" class="stream-info-title">Add New Stream</div>
<div id="stream_settings_title" class="stream-info-title">Stream settings</div>
<div id="add_new_stream_title" class="stream-info-title">{{t 'Create stream' }}</div>
<div id="stream_settings_title" class="stream-info-title">{{t 'Stream settings' }}</div>
</div>
<div class="nothing-selected">
Nothing selected.
{{t 'Nothing selected.' }}
</div>
<div class="settings">
{{#each subscriptions}}

View File

@@ -27,8 +27,8 @@ the **Filter streams** input.
to ask an administrator for help creating each particular stream.
4. After clicking the plus (<i class="icon-vector-plus"></i>) icon, at
right side of the [Subscriptions](/#subscriptions) page, labeled **Add New
Stream**, will now display options for creating a stream.
right side of the [Subscriptions](/#subscriptions) page, labeled
**Create stream**, will now display options for creating a stream.
5. Enter the title of your stream in the **Stream name** input.
If you designate your stream as public, the **Stream name** will be