mirror of
https://github.com/zulip/zulip.git
synced 2025-10-23 16:14:02 +00:00
Use block translation tag where appropriate.
This commit is contained in:
@@ -3,38 +3,48 @@
|
||||
<div id="loading_more_messages_indicator"></div>
|
||||
<div id="page_loading_indicator"></div>
|
||||
<div id="first_run_message" class="empty_feed_notice">
|
||||
<h4>{{ _('Welcome to') }} {{product_name}}</h4>
|
||||
<p>{% trans %}See, the thing about it is... there aren't any messages
|
||||
<h4>{% trans %}Welcome to {{product_name}}.{% endtrans %}</h4>
|
||||
{% trans %}
|
||||
<p>See, the thing about it is... there aren't any messages
|
||||
here for you right now. I'm sure someone will eventually send
|
||||
you one.{% endtrans %}</p>
|
||||
you one.</p>
|
||||
|
||||
<p>{{ _('Or') }}, <strong>{{ _('take matters into your own hands') }}</strong>,
|
||||
{{ _('and') }} <a href="#" class="empty_feed_compose_stream">
|
||||
{{ _('compose a new stream message') }}</a>.</p>
|
||||
<p>Or, <strong>take matters into your own hands</strong>,
|
||||
and <a href="#" class="empty_feed_compose_stream">
|
||||
compose a new stream message</a>.</p>
|
||||
{% endtrans %}
|
||||
</div>
|
||||
<div id="empty_narrow_message" class="empty_feed_notice">
|
||||
<h4>{{ _("Nothing's been sent here yet!") }}</h4>
|
||||
|
||||
<p>{{ _('Why not') }} <a href="#" class="empty_feed_compose_stream">
|
||||
{{ _('start the conversation') }}</a>?</p>
|
||||
{% trans %}
|
||||
<p>Why not <a href="#" class="empty_feed_compose_stream">
|
||||
start the conversation</a>?</p>
|
||||
{% endtrans %}
|
||||
</div>
|
||||
<div id="empty_narrow_all_private_message" class="empty_feed_notice">
|
||||
<h4>{{ _('You have no private messages yet!') }}</h4>
|
||||
|
||||
<p>{{ _('Why not') }} <a href="#" class="empty_feed_compose_private">
|
||||
{{ _('start the conversation') }}</a>?</p>
|
||||
{% trans %}
|
||||
<p>Why not <a href="#" class="empty_feed_compose_private">
|
||||
start the conversation</a>?</p>
|
||||
{% endtrans %}
|
||||
</div>
|
||||
<div id="empty_narrow_private_message" class="empty_feed_notice">
|
||||
<h4>{{ _('You have no private messages with this person yet!') }}</h4>
|
||||
|
||||
<p>{{ _('Why not') }} <a href="#" class="empty_feed_compose_private">
|
||||
{{ _('start the conversation') }}</a>?</p>
|
||||
{% trans %}
|
||||
<p>Why not <a href="#" class="empty_feed_compose_private">
|
||||
start the conversation</a>?</p>
|
||||
{% endtrans %}
|
||||
</div>
|
||||
<div id="empty_narrow_multi_private_message" class="empty_feed_notice">
|
||||
<h4>{{ _('You have no private messages with these people yet!') }}</h4>
|
||||
|
||||
<p>{{ _('Why not') }} <a href="#" class="empty_feed_compose_private">
|
||||
{{ _('start the conversation') }}</a>?</p>
|
||||
{% trans %}
|
||||
<p>Why not <a href="#" class="empty_feed_compose_private">
|
||||
start the conversation</a>?</p>
|
||||
{% endtrans %}
|
||||
</div>
|
||||
<div id="silent_user" class="empty_feed_notice">
|
||||
<h4>{{ _("You haven't received any messages sent by this user yet!") }}</h4>
|
||||
@@ -46,7 +56,7 @@
|
||||
<h4>{{ _("You aren't subscribed to this stream and nobody has talked about that yet!") }}</h4>
|
||||
<div class="sub_button_row">
|
||||
<button class="btn empty_feed_sub_unsub btn-default" type="button" name="subscription">
|
||||
Subscribe
|
||||
{{ _('Subscribe') }}
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
|
@@ -51,7 +51,7 @@ var page_params = {{ page_params }};
|
||||
{% block content %}
|
||||
<div id="css-loading">
|
||||
<h3>{{ _('Loading') }}...</h3>
|
||||
<p>{{ _('If this message does not go away, please wait a couple seconds and') }} <a href="javascript:location.reload(true)">{{ _('reload') }}</a> {{ _('the page') }}.</p>
|
||||
<p>{% trans %}If this message does not go away, please wait a couple seconds and <a href="javascript:location.reload(true)">reload</a> the page.{% endtrans %}</p>
|
||||
</div>
|
||||
|
||||
<div id="top-screen" class="screen"></div>
|
||||
|
@@ -2,7 +2,7 @@
|
||||
aria-labelledby="invite-user-label" aria-hidden="true">
|
||||
<div class="modal-header">
|
||||
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
|
||||
<h3 id="invite-user-label">{{ _('Invite users to') }} {{product_name}}</h3>
|
||||
<h3 id="invite-user-label">{% trans %}Invite users to {{product_name}}{% endtrans %}</h3>
|
||||
</div>
|
||||
<form id="invite_user_form" class="form-horizontal"
|
||||
action="/json/invite_users" method="POST">{{ csrf_input }}
|
||||
|
@@ -33,7 +33,7 @@
|
||||
</div>
|
||||
<div id="share-the-love-contents">
|
||||
<div id="tell-a-friend-success" class="alert alert-success">
|
||||
<strong>{{ _('Thanks!') }}</strong> {{ _('A hand-crafted, artisanal invite is on the way') }}.
|
||||
{% trans %}<strong>Thanks!</strong> A hand-crafted, artisanal invite is on the way.{% endtrans %}
|
||||
</div>
|
||||
<div class="still-have-invites" id="encouraging-invite-message">
|
||||
<p>
|
||||
@@ -58,6 +58,7 @@
|
||||
</div>
|
||||
<div class="invite-count-area">
|
||||
<span id="invite-hearts"></span>
|
||||
{# This translation should be handled through i18next because we control this text using JavaScript. #}
|
||||
<small class="pull-right"><span class="invite-count">0</span> {{ _('invite') }}<span class="invite-count-is-plural">s</span> {{ _('remaining') }}</small>
|
||||
</div>
|
||||
</div>
|
||||
|
@@ -15,9 +15,11 @@
|
||||
<span class="tagline os-tagline">
|
||||
{{ _('Zulip has been released as open source software!') }}
|
||||
</span>
|
||||
{% trans %}
|
||||
<span class="footnote os-footnote">
|
||||
{{ _('Read the') }} <a href="https://blogs.dropbox.com/tech/2015/09/open-sourcing-zulip-a-dropbox-hack-week-project" target="_blank">{{ _('announcement') }}</a> {{ _('or go to') }} <a href="https://www.zulip.org" target="_blank">{{ _('the Zulip open source project website') }}</a>.
|
||||
Read the <a href="https://blogs.dropbox.com/tech/2015/09/open-sourcing-zulip-a-dropbox-hack-week-project" target="_blank">announcement</a> or go to <a href="https://www.zulip.org" target="_blank">the Zulip open source project website</a>.
|
||||
</span>
|
||||
{% endtrans %}
|
||||
</div>
|
||||
</div>
|
||||
{% endif %}
|
||||
|
@@ -16,10 +16,12 @@ Form is validated both client-side using jquery-validate (see signup.js) and ser
|
||||
<div class="center-container">
|
||||
<div class="center-block">
|
||||
<div class="pitch">
|
||||
{% trans %}
|
||||
<h1>You're almost there.</h1>
|
||||
<p>
|
||||
We just need you to do one last thing.
|
||||
</p>
|
||||
{% endtrans %}
|
||||
</div>
|
||||
|
||||
<form method="post" class="form-horizontal" id="registration" action="{{ url('zerver.views.accounts_register') }}">
|
||||
@@ -93,6 +95,7 @@ Form is validated both client-side using jquery-validate (see signup.js) and ser
|
||||
<div class="m-v-20">
|
||||
<div class="help-box">
|
||||
<div id="org_type_blob_1" class="blob display-none">
|
||||
{% trans %}
|
||||
Create a corporate organization if your users will
|
||||
be members of the same company, where the privacy
|
||||
expectation is that the company's organization
|
||||
@@ -101,8 +104,10 @@ Form is validated both client-side using jquery-validate (see signup.js) and ser
|
||||
allow organization administrators to take control of
|
||||
accounts or access private message history for other
|
||||
users are only available to corporate organizations.
|
||||
{% endtrans %}
|
||||
</div>
|
||||
<div id="org_type_blob_2" class="blob">
|
||||
{% trans %}
|
||||
Create a community organization for an open source
|
||||
project, social group, or other community where the
|
||||
privacy expectation is that you and other
|
||||
@@ -112,6 +117,7 @@ Form is validated both client-side using jquery-validate (see signup.js) and ser
|
||||
control of accounts or access private message
|
||||
history for other users are disabled in community
|
||||
organizations.
|
||||
{% endtrans %}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -125,7 +131,7 @@ Form is validated both client-side using jquery-validate (see signup.js) and ser
|
||||
value="{% if form.password.value() %}{{ form.password.value() }}{% endif %}"
|
||||
maxlength="100" />
|
||||
{% if full_name %}
|
||||
<span class="help-inline">{{ _('This is used for mobile applications and other tools that require a password') }}.</span>
|
||||
<span class="help-inline">{{ _('This is used for mobile applications and other tools that require a password.') }}</span>
|
||||
{% endif %}
|
||||
{% if form.password.errors %}
|
||||
{% for error in form.password.errors %}
|
||||
@@ -157,7 +163,7 @@ Form is validated both client-side using jquery-validate (see signup.js) and ser
|
||||
<input id="id_terms" class="required" type="checkbox" name="terms"
|
||||
{% if form.terms.value() %}checked="checked"{% endif %} />
|
||||
<label for="id_terms" class="inline-block">
|
||||
{{ _('I agree to the') }} <a href="{{ server_uri }}/terms" target="_blank">{{ _('Terms of Service') }}</a>.
|
||||
{% trans %}I agree to the <a href="{{ server_uri }}/terms" target="_blank">Terms of Service</a>.{% endtrans %}
|
||||
</label>
|
||||
{% if form.terms.errors %}
|
||||
{% for error in form.terms.errors %}
|
||||
|
@@ -10,7 +10,7 @@
|
||||
<div class="password-reset">
|
||||
<!-- TODO: Ask about meta viewport 1:1 scaling -->
|
||||
<div class="pitch">
|
||||
<h3>{{ _('Reset your password') }}.</h3>
|
||||
<h3>{{ _('Reset your password.') }}</h3>
|
||||
</div>
|
||||
|
||||
{% if validlink %}
|
||||
@@ -69,7 +69,7 @@
|
||||
autofocus('#id_new_password1');
|
||||
</script>
|
||||
{% else %}
|
||||
<p>{{ _('Sorry, the link you provided is invalid or has already been used') }}.</p>
|
||||
<p>{{ _('Sorry, the link you provided is invalid or has already been used.') }}</p>
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
|
@@ -1,6 +1,6 @@
|
||||
{% extends "zerver/portico_signup.html" %}
|
||||
{% block portico_content %}
|
||||
<h1 style="margin-top: 20px">{{ _("We've reset your password!") }}</h1>
|
||||
<p>{{ _('Please') }} <a href="{{ url('django.contrib.auth.views.login') }}">{{ _('log in') }}</a>.</p>
|
||||
<p>{% trans login_url=url('django.contrib.auth.views.login') %}Please <a href="{{ login_url }}">log in</a>.{% endtrans %}</p>
|
||||
|
||||
{% endblock %}
|
||||
|
@@ -1,6 +1,8 @@
|
||||
{% extends "zerver/portico_signup.html" %}
|
||||
{% block portico_content %}
|
||||
<h1 style="margin-top: 20px">{{ _('We just sent you a password reset!') }}</h1>
|
||||
<h1>{{ _('Check your email to finish the process') }}.</h1>
|
||||
<p>({{ _("Or don't, but then why did you fill out this form?") }})</p>
|
||||
{% trans %}
|
||||
<h1 style="margin-top: 20px">We just sent you a password reset!</h1>
|
||||
<h1>Check your email to finish the process.</h1>
|
||||
<p>(Or don't, but then why did you fill out this form?)</p>
|
||||
{% endtrans %}
|
||||
{% endblock %}
|
||||
|
@@ -70,22 +70,24 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="operator"><span class="operator_value">keyword</span></td>
|
||||
<td class="definition">{{ _('Search for') }} <span class="operator_value">{{ _('keyword') }}</span> {{ _('in the topic or message content') }}</td>
|
||||
<td class="definition">{% trans %}Search for <span class="operator_value"> keyword </span> in the topic or message content {% endtrans %}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="operator">-topic:<span class="operator_value">topic</span></td>
|
||||
<td class="definition">{{ _('Exclude messages with topic') }} <span class="operator_value">topic</span></td>
|
||||
<td class="definition">{% trans %}Exclude messages with topic <span class="operator_value">topic</span>{% endtrans %}</td>
|
||||
</tr>
|
||||
</table>
|
||||
<p>{{ _('You can use any combination of these search operators in a single query') }}. {{ _('For example') }}:</p>
|
||||
{% trans %}
|
||||
<p>You can use any combination of these search operators in a single query. For example:</p>
|
||||
|
||||
<p> <span class="operator">stream:<span class="operator_value">streamname</span>
|
||||
sender:<span class="operator_value">user@example.com</span>
|
||||
<span class="operator_value">keyword</span></span></p>
|
||||
|
||||
<p>{{ _('would search for messages sent by') }} <span class="operator_value">user@example.com</span> {{ _('to stream') }}
|
||||
<p>would search for messages sent by <span class="operator_value">user@example.com</span> to stream
|
||||
<span class="operator_value">streamname</span>
|
||||
{{ _('containing the keyword') }} <span class="operator_value">keyword</span>.</p>
|
||||
containing the keyword <span class="operator_value">keyword</span>.</p>
|
||||
{% endtrans %}
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<button class="btn btn-primary" data-dismiss="modal" aria-hidden="true">{{ _('Close') }}</button>
|
||||
|
@@ -1,7 +1,9 @@
|
||||
<p>({{ _("Welcome! We think you'll like it here") }}.)</p>
|
||||
<p>({{ _("Welcome! We think you'll like it here.") }})</p>
|
||||
<hr/>
|
||||
|
||||
<div class="pitch">
|
||||
<p>{{ _("Your organization has been migrated from zulip.com to zulipchat.com! New service, same great conversation. We just need you to do one last thing.") }}</p>
|
||||
<h3>{{ _("Accept the Zulip terms of service") }}</h3>
|
||||
{% trans %}
|
||||
<p>Your organization has been migrated from zulip.com to zulipchat.com! New service, same great conversation. We just need you to do one last thing.</p>
|
||||
<h3>Accept the Zulip terms of service</h3>
|
||||
{% endtrans %}
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user