mirror of https://github.com/zulip/zulip.git
i18n: Tag missing strings for translation.
This commit is contained in:
parent
bf27ed2b1b
commit
184bd8304e
|
@ -94,10 +94,10 @@ def get_chart_data(request: HttpRequest, user_profile: UserProfile, chart_name:
|
|||
elif chart_name == 'messages_sent_by_message_type':
|
||||
stat = COUNT_STATS['messages_sent:message_type:day']
|
||||
tables = [RealmCount, UserCount]
|
||||
subgroup_to_label = {'public_stream': 'Public streams',
|
||||
'private_stream': 'Private streams',
|
||||
'private_message': 'Private messages',
|
||||
'huddle_message': 'Group private messages'}
|
||||
subgroup_to_label = {'public_stream': _('Public streams'),
|
||||
'private_stream': _('Private streams'),
|
||||
'private_message': _('Private messages'),
|
||||
'huddle_message': _('Group private messages')}
|
||||
labels_sort_function = lambda data: sort_by_totals(data['realm'])
|
||||
include_empty_subgroups = True
|
||||
elif chart_name == 'messages_sent_by_client':
|
||||
|
|
|
@ -34,7 +34,7 @@
|
|||
</div>
|
||||
<div class="nothing-selected">
|
||||
{{#if can_create_streams}}
|
||||
<button type="button" class="create_stream_button button small rounded">Create Stream</button>
|
||||
<button type="button" class="create_stream_button button small rounded">{{t 'Create stream' }}</button>
|
||||
<span>{{t 'First time? Read our <a href="/help/create-a-stream" target="_blank">guidelines</a> for creating and naming streams.' }}</span>
|
||||
{{/if}}
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue