Add `trimmed` to all multilines `blocktrans` tags

pr/4577
Manuel Kaufmann 2018-08-06 17:06:29 -03:00
parent ae9a6d3c5a
commit 9e37ecab66
24 changed files with 70 additions and 70 deletions

View File

@ -17,7 +17,7 @@ Gold Projects
<h3> {% trans "Existing Projects" %} </h3> <h3> {% trans "Existing Projects" %} </h3>
<p> <p>
{% blocktrans count projects=gold_user.num_supported_projects %} {% blocktrans trimmed count projects=gold_user.num_supported_projects %}
You can adopt one project with your subscription. You can adopt one project with your subscription.
{% plural %} {% plural %}
You can adopt {{ projects }} projects with your subscription. You can adopt {{ projects }} projects with your subscription.

View File

@ -9,7 +9,7 @@
<h2>Cancel Gold Subscription</h2> <h2>Cancel Gold Subscription</h2>
<p> <p>
{% blocktrans %} {% blocktrans trimmed %}
Are you sure you want to cancel your subscription? Are you sure you want to cancel your subscription?
{% endblocktrans %} {% endblocktrans %}
</p> </p>

View File

@ -31,7 +31,7 @@ $(document).ready(function () {
<h2>{% trans "Gold Subscription" %}</h2> <h2>{% trans "Gold Subscription" %}</h2>
<p> <p>
{% blocktrans %} {% blocktrans trimmed %}
Thanks for supporting Read the Docs! It really means a lot to us. Thanks for supporting Read the Docs! It really means a lot to us.
{% endblocktrans %} {% endblocktrans %}
</p> </p>
@ -56,7 +56,7 @@ $(document).ready(function () {
<h3>{% trans "Projects" %}</h3> <h3>{% trans "Projects" %}</h3>
<p class="subscription-projects"> <p class="subscription-projects">
{% blocktrans count projects=golduser.num_supported_projects %} {% blocktrans trimmed count projects=golduser.num_supported_projects %}
You can adopt one project with your subscription. You can adopt one project with your subscription.
{% plural %} {% plural %}
You can adopt {{ projects }} projects with your subscription. You can adopt {{ projects }} projects with your subscription.

View File

@ -37,20 +37,20 @@ $(document).ready(function () {
<h2>Read the Docs Gold</h2> <h2>Read the Docs Gold</h2>
<p> <p>
{% blocktrans %} {% blocktrans trimmed %}
Supporting Read the Docs lets us work more on features that people love. Supporting Read the Docs lets us work more on features that people love.
Your money will go directly to maintenance and development of the Your money will go directly to maintenance and development of the
product. product.
{% endblocktrans %} {% endblocktrans %}
</p> </p>
<p> <p>
{% blocktrans %} {% blocktrans trimmed %}
If you are an individual, If you are an individual,
feel free to give whatever feels right for the value you get out of Read the Docs. feel free to give whatever feels right for the value you get out of Read the Docs.
{% endblocktrans %} {% endblocktrans %}
</p> </p>
<p> <p>
{% blocktrans %} {% blocktrans trimmed %}
If you are a company using Read the Docs, If you are a company using Read the Docs,
please consider getting a <a href="https://readthedocs.com/services/#open-source-support">commercial support contract</a>. please consider getting a <a href="https://readthedocs.com/services/#open-source-support">commercial support contract</a>.
This will help us cover our costs, This will help us cover our costs,
@ -63,7 +63,7 @@ $(document).ready(function () {
<p>{% trans 'Becoming a Gold Member also makes Read the Docs ad-free for as long as you are logged-in.' %}</p> <p>{% trans 'Becoming a Gold Member also makes Read the Docs ad-free for as long as you are logged-in.' %}</p>
<p> <p>
{% blocktrans %} {% blocktrans trimmed %}
You can also make one-time donations on our <a href="https://readthedocs.org/sustainability/">sustainability</a> page. You can also make one-time donations on our <a href="https://readthedocs.org/sustainability/">sustainability</a> page.
{% endblocktrans %} {% endblocktrans %}
</p> </p>
@ -71,7 +71,7 @@ $(document).ready(function () {
{% if domains.count %} {% if domains.count %}
<h3>Domains</h2> <h3>Domains</h2>
<p> <p>
{% blocktrans %} {% blocktrans trimmed %}
We ask that folks who use custom Domains give Read the Docs $5 per domain they are using. We ask that folks who use custom Domains give Read the Docs $5 per domain they are using.
This is optional, but it really does help us maintain the site going forward. This is optional, but it really does help us maintain the site going forward.
{% endblocktrans %} {% endblocktrans %}

View File

@ -11,7 +11,7 @@
<h1>{% trans "Sign In" %}</h1> <h1>{% trans "Sign In" %}</h1>
<p><small>{% blocktrans %}If you have not created an account yet, then please <p><small>{% blocktrans trimmed %}If you have not created an account yet, then please
<a href="{{ signup_url }}">sign up</a> first.{% endblocktrans %}</small></p> <a href="{{ signup_url }}">sign up</a> first.{% endblocktrans %}</small></p>
<form class="login" method="POST" action="{% url "account_login" %}"> <form class="login" method="POST" action="{% url "account_login" %}">
@ -24,7 +24,7 @@
{% url 'account_reset_password' as password_reset_url %} {% url 'account_reset_password' as password_reset_url %}
<p> <p>
<small>{% blocktrans %}If you forgot your password, <a href="{{ password_reset_url }}">reset it.</a>{% endblocktrans %}</small> <small>{% blocktrans trimmed %}If you forgot your password, <a href="{{ password_reset_url }}">reset it.</a>{% endblocktrans %}</small>
</p> </p>
</form> </form>

View File

@ -72,7 +72,7 @@ $(document).ready(function () {
</ul> </ul>
<div class="build-id"> <div class="build-id">
{% blocktrans with build_id=build.pk %} {% blocktrans trimmed with build_id=build.pk %}
Build #{{ build_id }} Build #{{ build_id }}
{% endblocktrans %} {% endblocktrans %}
</div> </div>
@ -118,7 +118,7 @@ $(document).ready(function () {
<div class="build-ideas"> <div class="build-ideas">
<p> <p>
{% url 'wipe_version' build.version.project.slug build.version.slug as wipe_url %} {% url 'wipe_version' build.version.project.slug build.version.slug as wipe_url %}
{% blocktrans %} {% blocktrans trimmed %}
Having trouble with your build environment? Having trouble with your build environment?
Try <a href="{{ wipe_url }}">resetting it</a>. Try <a href="{{ wipe_url }}">resetting it</a>.
{% endblocktrans %} {% endblocktrans %}
@ -128,7 +128,7 @@ $(document).ready(function () {
<div class="build-ideas"> <div class="build-ideas">
<p> <p>
{% url 'projects_advanced' build.version.project.slug as advanced_url %} {% url 'projects_advanced' build.version.project.slug as advanced_url %}
{% blocktrans %} {% blocktrans trimmed %}
Don't want <em>setup.py install</em> called? Don't want <em>setup.py install</em> called?
Change the <strong>Install Project</strong> setting in your <a href="{{ advanced_url }}">advanced settings</a>. Change the <strong>Install Project</strong> setting in your <a href="{{ advanced_url }}">advanced settings</a>.
{% endblocktrans %} {% endblocktrans %}

View File

@ -28,7 +28,7 @@
{% if project.skip %} {% if project.skip %}
<p class="build-failure"> <p class="build-failure">
{% blocktrans %} {% blocktrans trimmed %}
Your project is currently disabled for abuse of the system. Your project is currently disabled for abuse of the system.
Please make sure it isn't using unreasonable amounts of resources or triggering lots of builds in a short amount of time. Please make sure it isn't using unreasonable amounts of resources or triggering lots of builds in a short amount of time.
Please <a href="https://github.com/rtfd/readthedocs.org/issues">file a ticket</a> to get your project re-enabled. Please <a href="https://github.com/rtfd/readthedocs.org/issues">file a ticket</a> to get your project re-enabled.

View File

@ -79,7 +79,7 @@
{% if request.user|is_admin:project %} {% if request.user|is_admin:project %}
{% url 'projects_edit' project.slug as edit_url %} {% url 'projects_edit' project.slug as edit_url %}
{% blocktrans %} {% blocktrans trimmed %}
Add some in your <a href="{{ edit_url }}">project settings</a>. Add some in your <a href="{{ edit_url }}">project settings</a>.
{% endblocktrans %} {% endblocktrans %}
{% endif %} {% endif %}

View File

@ -44,7 +44,7 @@
<section> <section>
<h2>{% trans "Technical documentation lives here" %}</h2> <h2>{% trans "Technical documentation lives here" %}</h2>
<p class="lead"> <p class="lead">
{% blocktrans %} {% blocktrans trimmed %}
Read the Docs simplifies software documentation by automating building, Read the Docs simplifies software documentation by automating building,
versioning, and hosting of your docs for you. versioning, and hosting of your docs for you.
{% endblocktrans %} {% endblocktrans %}
@ -57,7 +57,7 @@
<h3>Free docs hosting</h3> <h3>Free docs hosting</h3>
<p> <p>
{% with projects_count_intcomma=projects_count|intcomma %} {% with projects_count_intcomma=projects_count|intcomma %}
{% blocktrans %} {% blocktrans trimmed %}
We will host your documentation for free forever. We will host your documentation for free forever.
There are no tricks. We help {{ projects_count_intcomma }} open source projects There are no tricks. We help {{ projects_count_intcomma }} open source projects
share their docs. share their docs.
@ -68,7 +68,7 @@
<div class="feature"> <div class="feature">
<h3>Webhooks</h3> <h3>Webhooks</h3>
<p> <p>
{% blocktrans %} {% blocktrans trimmed %}
Whenever you push code to your favorite version control system, Whenever you push code to your favorite version control system,
whether that is Git, Mercurial, Bazaar, or Subversion, we will whether that is Git, Mercurial, Bazaar, or Subversion, we will
automatically build your docs so your code and documentation are automatically build your docs so your code and documentation are
@ -83,7 +83,7 @@
<div class="feature"> <div class="feature">
<h3>Multiple formats</h3> <h3>Multiple formats</h3>
<p> <p>
{% blocktrans %} {% blocktrans trimmed %}
Of course we build and host your docs for the web, but they are Of course we build and host your docs for the web, but they are
also vieweable as PDFs, as single page HTML, and for eReaders. also vieweable as PDFs, as single page HTML, and for eReaders.
No additional configuration is required. No additional configuration is required.
@ -93,7 +93,7 @@
<div class="feature"> <div class="feature">
<h3>Multiple versions</h3> <h3>Multiple versions</h3>
<p> <p>
{% blocktrans %} {% blocktrans trimmed %}
We can host and build multiple versions of your docs so having a We can host and build multiple versions of your docs so having a
1.0 version of your docs and a 2.0 version of your docs is as easy 1.0 version of your docs and a 2.0 version of your docs is as easy
as having a separate branch or tag in your version control system. as having a separate branch or tag in your version control system.
@ -139,7 +139,7 @@
{% url "donate" as sponsors_url %} {% url "donate" as sponsors_url %}
{% url "gold_detail" as gold_detail %} {% url "gold_detail" as gold_detail %}
{% blocktrans %} {% blocktrans trimmed %}
Read the Docs is a huge resource that millions of developers rely on Read the Docs is a huge resource that millions of developers rely on
for software documentation. It would not be possible without the for software documentation. It would not be possible without the
support of our support of our
@ -150,7 +150,7 @@
</p> </p>
<p> <p>
{% blocktrans %} {% blocktrans trimmed %}
Read the Docs is <strong>community supported</strong>. Read the Docs is <strong>community supported</strong>.
It depends on users like you to contribute to development, support, and operations. It depends on users like you to contribute to development, support, and operations.
You can learn more about how to <a href="https://docs.readthedocs.io/en/latest/contribute.html">contribute</a> in our docs. You can learn more about how to <a href="https://docs.readthedocs.io/en/latest/contribute.html">contribute</a> in our docs.
@ -160,7 +160,7 @@
</p> </p>
<p> <p>
{% blocktrans %} {% blocktrans trimmed %}
Hosting for the project is graciously provided by <a href="http://www.rackspace.com/cloud/">Rackspace</a>. Hosting for the project is graciously provided by <a href="http://www.rackspace.com/cloud/">Rackspace</a>.
{% endblocktrans %} {% endblocktrans %}
</p> </p>

View File

@ -6,7 +6,7 @@
<h3>{% trans 'Send Email' %}</h3> <h3>{% trans 'Send Email' %}</h3>
<p> <p>
{% blocktrans %} {% blocktrans trimmed %}
An email message will be sent to the following email addresses: An email message will be sent to the following email addresses:
{% endblocktrans %} {% endblocktrans %}
</p> </p>
@ -18,7 +18,7 @@
{% with extra_recipients=recipients|slice:"20:" %} {% with extra_recipients=recipients|slice:"20:" %}
{% if extra_recipients|length > 0 %} {% if extra_recipients|length > 0 %}
<li> <li>
{% blocktrans count counter=extra_recipients|length %} {% blocktrans trimmed count counter=extra_recipients|length %}
And 1 other recipient. And 1 other recipient.
{% plural %} {% plural %}
And {{ counter }} other recipients... And {{ counter }} other recipients...
@ -29,7 +29,7 @@
</ul> </ul>
<p> <p>
{% blocktrans %} {% blocktrans trimmed %}
Specify the email content you wish to send: Specify the email content you wish to send:
{% endblocktrans %} {% endblocktrans %}
</p> </p>

View File

@ -12,14 +12,14 @@
{% if request.user.gold.exists or request.user.goldonce.exists %} {% if request.user.gold.exists or request.user.goldonce.exists %}
<p> <p>
{% blocktrans %} {% blocktrans trimmed %}
Since you are a Gold Member or Supporter, you are <strong>ad-free</strong> for as long as you are logged-in. Since you are a Gold Member or Supporter, you are <strong>ad-free</strong> for as long as you are logged-in.
Thank you for supporting Read the Docs. Thank you for supporting Read the Docs.
{% endblocktrans%} {% endblocktrans%}
</p> </p>
{% else %} {% else %}
<p> <p>
{% blocktrans %} {% blocktrans trimmed %}
Read the Docs is an open source project. Read the Docs is an open source project.
In order to maintain service, we rely on both the In order to maintain service, we rely on both the
support of our users, and from sponsor support. support of our users, and from sponsor support.
@ -27,7 +27,7 @@
</p> </p>
<p> <p>
{% blocktrans %} {% blocktrans trimmed %}
For more details on advertising on Read the Docs For more details on advertising on Read the Docs
including the privacy protections we have in place for users including the privacy protections we have in place for users
and community advertising we run on behalf of the open source community, and community advertising we run on behalf of the open source community,
@ -38,7 +38,7 @@
<p> <p>
{% url "gold_detail" as gold_detail %} {% url "gold_detail" as gold_detail %}
{% url "donate" as donate_url %} {% url "donate" as donate_url %}
{% blocktrans %} {% blocktrans trimmed %}
You can <strong>go ad-free</strong> by becoming a <a href="{{ gold_detail }}">Gold Member</a> or <a href="{{ donate_url }}">Supporter</a> of Read the Docs</a>. You can <strong>go ad-free</strong> by becoming a <a href="{{ gold_detail }}">Gold Member</a> or <a href="{{ donate_url }}">Supporter</a> of Read the Docs</a>.
{% endblocktrans %} {% endblocktrans %}
</p> </p>

View File

@ -5,7 +5,7 @@
<h3>{% trans "Project Details" %}</h3> <h3>{% trans "Project Details" %}</h3>
<p class="info"> <p class="info">
{% blocktrans %} {% blocktrans trimmed %}
To import a project, To import a project,
start by entering a few details about your repository. start by entering a few details about your repository.
More advanced project options can be configured More advanced project options can be configured

View File

@ -5,7 +5,7 @@
<h3>{% trans "Project Extra Details" %}</h3> <h3>{% trans "Project Extra Details" %}</h3>
<p class="info"> <p class="info">
{% blocktrans %} {% blocktrans trimmed %}
Here are a few more project options that you may need to configure. Here are a few more project options that you may need to configure.
{% endblocktrans %} {% endblocktrans %}
</p> </p>

View File

@ -4,7 +4,7 @@
{% block integration_details %} {% block integration_details %}
<p> <p>
{% blocktrans %} {% blocktrans trimmed %}
The following parameters are configured for this integration: The following parameters are configured for this integration:
{% endblocktrans %} {% endblocktrans %}
</p> </p>

View File

@ -10,7 +10,7 @@
{% block project-integrations-active %}active{% endblock %} {% block project-integrations-active %}active{% endblock %}
{% block project_edit_content_header %} {% block project_edit_content_header %}
{% blocktrans with type=integration.get_integration_type_display %} {% blocktrans trimmed with type=integration.get_integration_type_display %}
Integration - {{ type }} Integration - {{ type }}
{% endblocktrans %} {% endblocktrans %}
{% endblock %} {% endblock %}
@ -18,7 +18,7 @@
{% block project_edit_content %} {% block project_edit_content %}
{% if integration.has_sync and integration.can_sync %} {% if integration.has_sync and integration.can_sync %}
<p> <p>
{% blocktrans %} {% blocktrans trimmed %}
This webhook was configured when this project was imported. If this This webhook was configured when this project was imported. If this
integration is not functioning correctly, try resyncing the webhook: integration is not functioning correctly, try resyncing the webhook:
{% endblocktrans %} {% endblocktrans %}
@ -39,7 +39,7 @@
{% endcomment %} {% endcomment %}
{% if integration.has_sync and not integration.can_sync %} {% if integration.has_sync and not integration.can_sync %}
<p> <p>
{% blocktrans %} {% blocktrans trimmed %}
This integration was created automatically from an existing webhook This integration was created automatically from an existing webhook
configured on your repository. To make any changes to this webhook, configured on your repository. To make any changes to this webhook,
you'll need to update the configuration there. You can use the you'll need to update the configuration there. You can use the
@ -48,7 +48,7 @@
</p> </p>
{% else %} {% else %}
<p> <p>
{% blocktrans %} {% blocktrans trimmed %}
To manually configure this webhook with your provider, use the To manually configure this webhook with your provider, use the
following address: following address:
{% endblocktrans %} {% endblocktrans %}
@ -63,7 +63,7 @@
{% block integration_details %}{% endblock %} {% block integration_details %}{% endblock %}
<p> <p>
{% blocktrans %} {% blocktrans trimmed %}
For more information on manually configuring a webhook, refer to For more information on manually configuring a webhook, refer to
<a href="https://docs.readthedocs.io/en/latest/webhooks.html"> <a href="https://docs.readthedocs.io/en/latest/webhooks.html">
our webhook documentation our webhook documentation
@ -80,7 +80,7 @@
<li class="module-item"> <li class="module-item">
<span class="status status-{% if exchange.failed %}fail{% else %}pass{% endif %}">{{ exchange.status_code }}</span> <span class="status status-{% if exchange.failed %}fail{% else %}pass{% endif %}">{{ exchange.status_code }}</span>
<a href="{% url 'projects_integrations_exchanges_detail' project_slug=project.slug integration_pk=integration.pk exchange_pk=exchange.pk %}"> <a href="{% url 'projects_integrations_exchanges_detail' project_slug=project.slug integration_pk=integration.pk exchange_pk=exchange.pk %}">
{% blocktrans with date=exchange.date|timesince %} {% blocktrans trimmed with date=exchange.date|timesince %}
{{ date }} ago {{ date }} ago
{% endblocktrans %} {% endblocktrans %}
</a> </a>

View File

@ -8,7 +8,7 @@
{% if not onboard.build %} {% if not onboard.build %}
<h2>{% trans "Start building your documentation" %}</h2> <h2>{% trans "Start building your documentation" %}</h2>
<p> <p>
{% blocktrans %} {% blocktrans trimmed %}
This project has not been built yet. This project has not been built yet.
Try building the latest version now, Try building the latest version now,
or if you would like to build a specific version, or if you would like to build a specific version,
@ -30,7 +30,7 @@
<form method="get" action="{{ project.get_docs_url }}"> <form method="get" action="{{ project.get_docs_url }}">
<p> <p>
{% blocktrans %} {% blocktrans trimmed %}
Your documentation has been built. Your documentation has been built.
Ensure your documentation is kept up to date with every commit to Ensure your documentation is kept up to date with every commit to
your repository, by your repository, by
@ -46,7 +46,7 @@
<form method="get" action="{% url "builds_detail" project_slug=project.slug build_pk=onboard.build.pk %}"> <form method="get" action="{% url "builds_detail" project_slug=project.slug build_pk=onboard.build.pk %}">
<p> <p>
{% blocktrans %} {% blocktrans trimmed %}
There was a problem building your documentation, There was a problem building your documentation,
you can see what went wrong in the build output. you can see what went wrong in the build output.
If you need more help, check out some of the If you need more help, check out some of the
@ -62,7 +62,7 @@
<h2>{% trans "Your documentation is building" %}</h2> <h2>{% trans "Your documentation is building" %}</h2>
<p> <p>
{% blocktrans %} {% blocktrans trimmed %}
You'll be able to view your documentation in a minute or two, You'll be able to view your documentation in a minute or two,
once your project is done building. once your project is done building.
{% endblocktrans %} {% endblocktrans %}

View File

@ -7,7 +7,7 @@
{% with getting_started_url="http://docs.readthedocs.io/en/latest/getting_started.html" %} {% with getting_started_url="http://docs.readthedocs.io/en/latest/getting_started.html" %}
<form method="get" action="{% url "projects_import" %}"> <form method="get" action="{% url "projects_import" %}">
<p> <p>
{% blocktrans %} {% blocktrans trimmed %}
You don't have any projects yet, but you can start building documentation by importing one. You don't have any projects yet, but you can start building documentation by importing one.
Not sure how to start documenting your project? Not sure how to start documenting your project?
Check out the <a href="{{ getting_started_url }}">Getting Started Guide</a> to learn how. Check out the <a href="{{ getting_started_url }}">Getting Started Guide</a> to learn how.
@ -16,7 +16,7 @@
<p> <p>
{% url "projects_import_demo" as import_demo_url %} {% url "projects_import_demo" as import_demo_url %}
{% blocktrans %} {% blocktrans trimmed %}
Want to try a demo? <a href="{{ import_demo_url }}">Import our own demo project</a>. Want to try a demo? <a href="{{ import_demo_url }}">Import our own demo project</a>.
{% endblocktrans %} {% endblocktrans %}
</p> </p>

View File

@ -13,7 +13,7 @@
{% block project_edit_content %} {% block project_edit_content %}
<p> <p>
{% blocktrans %} {% blocktrans trimmed %}
Read the Docs is an open source project. Read the Docs is an open source project.
In order to maintain service, we rely on both the In order to maintain service, we rely on both the
support of our users, and from sponsor support. support of our users, and from sponsor support.
@ -21,7 +21,7 @@
</p> </p>
<p> <p>
{% blocktrans %} {% blocktrans trimmed %}
We will periodically run advertisements on built documentation pages for We will periodically run advertisements on built documentation pages for
sponsors, however we have strict guidelines on advertisements: sponsors, however we have strict guidelines on advertisements:
{% endblocktrans %} {% endblocktrans %}
@ -29,17 +29,17 @@
<ul class="project-ads-guidelines"> <ul class="project-ads-guidelines">
<li> <li>
{% blocktrans %} {% blocktrans trimmed %}
We don't give sponsors access to user information We don't give sponsors access to user information
{% endblocktrans %} {% endblocktrans %}
</li> </li>
<li> <li>
{% blocktrans %} {% blocktrans trimmed %}
We only report the number of impressions and number of ad clicks We only report the number of impressions and number of ad clicks
{% endblocktrans %} {% endblocktrans %}
</li> </li>
<li> <li>
{% blocktrans %} {% blocktrans trimmed %}
We only allow and image and text, no Javascript besides our existing We only allow and image and text, no Javascript besides our existing
tracking tracking
{% endblocktrans %} {% endblocktrans %}
@ -47,7 +47,7 @@
</ul> </ul>
<p> <p>
{% blocktrans %} {% blocktrans trimmed %}
For more details on advertising on Read the Docs For more details on advertising on Read the Docs
including the privacy protections we have in place for users including the privacy protections we have in place for users
and community advertising we run on behalf of the open source community, and community advertising we run on behalf of the open source community,
@ -58,7 +58,7 @@
<h4>{% trans "Opting out" %}</h4> <h4>{% trans "Opting out" %}</h4>
<p> <p>
{% blocktrans %} {% blocktrans trimmed %}
If you do not wish to support Read the Docs with use of this ad space, If you do not wish to support Read the Docs with use of this ad space,
we ask that you help support Read the Docs in one of following ways: we ask that you help support Read the Docs in one of following ways:
{% endblocktrans %} {% endblocktrans %}
@ -66,7 +66,7 @@
<ul class="module-list project-ads-support"> <ul class="module-list project-ads-support">
<li class="module-item"> <li class="module-item">
{% blocktrans %} {% blocktrans trimmed %}
If you have an open source project, and can contribute financially, If you have an open source project, and can contribute financially,
consider a gold subscription. Gold subscribers can disable ads for consider a gold subscription. Gold subscribers can disable ads for
projects they author. projects they author.
@ -78,7 +78,7 @@
</li> </li>
<li class="module-item"> <li class="module-item">
{% blocktrans %} {% blocktrans trimmed %}
If your project is an open source project, you most certainly also If your project is an open source project, you most certainly also
lack funding. If you can't contribute financially to Read the Docs, lack funding. If you can't contribute financially to Read the Docs,
consider donating your time. We can always use help with support consider donating your time. We can always use help with support
@ -91,7 +91,7 @@
</li> </li>
<li class="module-item"> <li class="module-item">
{% blocktrans %} {% blocktrans trimmed %}
If you are part of a company that uses Read the Docs to host If you are part of a company that uses Read the Docs to host
documentation for a commercial product, we offer paid plans that documentation for a commercial product, we offer paid plans that
offer email support, additional build resources, and features like offer email support, additional build resources, and features like
@ -107,7 +107,7 @@
<h4>{% trans "Still can't help?" %}</h4> <h4>{% trans "Still can't help?" %}</h4>
<p> <p>
{% blocktrans %} {% blocktrans trimmed %}
If you can't contribute your support for your open source project, but If you can't contribute your support for your open source project, but
are conflicted by allowing support through advertising, we still would are conflicted by allowing support through advertising, we still would
like to give you the option to disable showing promotions inside your like to give you the option to disable showing promotions inside your
@ -117,7 +117,7 @@
</p> </p>
<p> <p>
{% blocktrans %} {% blocktrans trimmed %}
If you are a company hosting commercial documentation on our community If you are a company hosting commercial documentation on our community
site, but can't offer support for Read the Docs, we do not allow site, but can't offer support for Read the Docs, we do not allow
removing sponsor advertisements on your documentation. This goes removing sponsor advertisements on your documentation. This goes

View File

@ -74,7 +74,7 @@
{% else %} {% else %}
<span class="right quiet"> <span class="right quiet">
<span class="build-count"> <span class="build-count">
{% blocktrans count counter=builds %} {% blocktrans trimmed count counter=builds %}
1 build 1 build
{% plural %} {% plural %}
{{ builds }} builds {{ builds }} builds
@ -134,7 +134,7 @@
<h3>{% trans "Connect your Accounts" %}</h3> <h3>{% trans "Connect your Accounts" %}</h3>
<p> <p>
{% blocktrans %} {% blocktrans trimmed %}
Have a GitHub account? Connect your account and import your existing projects automatically. Have a GitHub account? Connect your account and import your existing projects automatically.
{% endblocktrans %} {% endblocktrans %}
</p> </p>
@ -152,7 +152,7 @@
<div class="module info info-docs"> <div class="module info info-docs">
<h3>{% trans "Learn More" %}</h3> <h3>{% trans "Learn More" %}</h3>
<p> <p>
{% blocktrans with rtd_docs_url="http://docs.readthedocs.io/en/latest/index.html" %} {% blocktrans trimmed with rtd_docs_url="http://docs.readthedocs.io/en/latest/index.html" %}
Check out the <a href="{{ rtd_docs_url }}">documentation for Read the Docs</a>. Check out the <a href="{{ rtd_docs_url }}">documentation for Read the Docs</a>.
It contains lots of information about how to get the most out of RTD. It contains lots of information about how to get the most out of RTD.
{% endblocktrans %} {% endblocktrans %}

View File

@ -81,7 +81,7 @@
<li class="module-item"> <li class="module-item">
{% if has_connected_accounts %} {% if has_connected_accounts %}
<p> <p>
{% blocktrans with binding='data-bind="click: sync_projects"' trimmed %} {% blocktrans trimmed with binding='data-bind="click: sync_projects"' %}
No remote repositories found, No remote repositories found,
try <a href="#" {{ binding }}>refreshing your accounts</a>. try <a href="#" {{ binding }}>refreshing your accounts</a>.
{% endblocktrans %} {% endblocktrans %}

View File

@ -8,7 +8,7 @@
<h2>{% trans 'Security at Read the Docs' %}</h2> <h2>{% trans 'Security at Read the Docs' %}</h2>
{% blocktrans %} {% blocktrans trimmed %}
For more details on security at Read the Docs or to report a security issue, please see our <a href="https://docs.readthedocs.io/en/latest/security.html">security policy</a>. For more details on security at Read the Docs or to report a security issue, please see our <a href="https://docs.readthedocs.io/en/latest/security.html">security policy</a>.
{% endblocktrans %} {% endblocktrans %}

View File

@ -13,7 +13,7 @@
<div class="module connected-services"> <div class="module connected-services">
<div class="module-wrapper"> <div class="module-wrapper">
<p> <p>
{% blocktrans %} {% blocktrans trimmed %}
The following services are currently connected to your account: The following services are currently connected to your account:
{% endblocktrans %} {% endblocktrans %}
</p> </p>
@ -47,7 +47,7 @@
{% if base_account.provider == 'bitbucket' %} {% if base_account.provider == 'bitbucket' %}
<p class="help error"> <p class="help error">
{% blocktrans %} {% blocktrans trimmed %}
The API version this connection uses is no longer The API version this connection uses is no longer
supported, please reconnect your Bitbucket account. supported, please reconnect your Bitbucket account.
{% endblocktrans %} {% endblocktrans %}

View File

@ -11,7 +11,7 @@
class="socialaccount-provider {{ provider.id }} {{ brand.id }} button" class="socialaccount-provider {{ provider.id }} {{ brand.id }} button"
href="{% provider_login_url provider.id openid=brand.openid_url process=process next=next %}" href="{% provider_login_url provider.id openid=brand.openid_url process=process next=next %}"
> >
{% blocktrans with brand_name=brand.name verbiage=verbiage|default:'Connect to' %} {% blocktrans trimmed with brand_name=brand.name verbiage=verbiage|default:'Connect to' %}
{{ verbiage }} {{ brand_name }} {{ verbiage }} {{ brand_name }}
{% endblocktrans %} {% endblocktrans %}
</a> </a>
@ -24,7 +24,7 @@
class="socialaccount-provider {{ provider.id }} button" class="socialaccount-provider {{ provider.id }} button"
href="{% provider_login_url provider.id process=process scope=scope auth_params=auth_params next=next %}" href="{% provider_login_url provider.id process=process scope=scope auth_params=auth_params next=next %}"
> >
{% blocktrans with provider_name=provider.name verbiage=verbiage|default:'Connect to' %} {% blocktrans trimmed with provider_name=provider.name verbiage=verbiage|default:'Connect to' %}
{{ verbiage }} {{ provider_name }} {{ verbiage }} {{ provider_name }}
{% endblocktrans %} {% endblocktrans %}
</a> </a>

View File

@ -13,19 +13,19 @@
{% block content %} {% block content %}
<h3> <h3>
{% blocktrans with slug=version.slug %} {% blocktrans trimmed with slug=version.slug %}
Remove build environment for <em>{{ slug }}</em> version. Remove build environment for <em>{{ slug }}</em> version.
{% endblocktrans %} {% endblocktrans %}
</h3> </h3>
{% if deleted %} {% if deleted %}
<p> <p>
{% blocktrans %} {% blocktrans trimmed %}
Your project environment has been wiped. Your project environment has been wiped.
{% endblocktrans %} {% endblocktrans %}
</p> </p>
{% else %} {% else %}
{% blocktrans %} {% blocktrans trimmed %}
Having trouble getting your documentation build to complete? By clicking on the button below you'll clean out your build checkouts and environment, but not your generated documentation. Having trouble getting your documentation build to complete? By clicking on the button below you'll clean out your build checkouts and environment, but not your generated documentation.
{% endblocktrans %} {% endblocktrans %}