Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changed 'Submit' text on buttons with something more meaningful #3749

Merged
merged 5 commits into from Mar 9, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion readthedocs/templates/core/project_details.html
Expand Up @@ -66,7 +66,7 @@ <h3>{% trans "Build a version" %}</h3>
<option value="{{ version.slug }}">{{ version.slug }}</option>
{% endfor %}
</select>
<input type="submit" value="{% trans "Build" %}">
<input type="submit" value="{% trans "Build version" %}">
</form>
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion readthedocs/templates/projects/domain_list.html
Expand Up @@ -35,7 +35,7 @@ <h3> {% trans "Add new Domain" %} </h3>
<form method="post" action="{% url 'projects_domains_create' project.slug %}">{% csrf_token %}
{{ form.as_p }}
<p>
<input style="display: inline;" type="submit" value="{% trans "Submit" %}">
<input style="display: inline;" type="submit" value="{% trans "Add" %}">
</p>
</form>
{% endblock %}
Expand Down
2 changes: 1 addition & 1 deletion readthedocs/templates/projects/integration_list.html
Expand Up @@ -35,7 +35,7 @@
{% empty %}
<li class="module-item">
<p class="quiet">
{% trans 'No integrations are currently configured' %}
{% trans 'No integrations are currently configured.' %}
</p>
</li>
{% endfor %}
Expand Down
2 changes: 1 addition & 1 deletion readthedocs/templates/projects/project_advanced.html
Expand Up @@ -15,7 +15,7 @@
<form method="post" action=".">{% csrf_token %}
{{ form.as_p }}
<p>
<input style="display: inline;" type="submit" value="{% trans "Submit" %}">
<input style="display: inline;" type="submit" value="{% trans "Save" %}">
</p>
</form>
{% endblock %}
6 changes: 3 additions & 3 deletions readthedocs/templates/projects/project_edit.html
Expand Up @@ -19,10 +19,10 @@
</p>
{{ form.as_p }}
<p>
<input style="display: inline;" type="submit" value="{% trans "Submit" %}">
{% comment %}Translators: The 'or' here is in between 'Submit' and 'delete'.{% endcomment %}
<input style="display: inline;" type="submit" value="{% trans "Save" %}">
{% comment %}Translators: The 'or' here is in between 'Save' and 'Delete project'.{% endcomment %}
{% trans "or" %}
<a href="{% url "projects_delete" project.slug %}">{% trans "delete" %}</a>
<a href="{% url "projects_delete" project.slug %}">{% trans "Delete project" %}</a>
</p>
</form>
{% endblock %}
4 changes: 2 additions & 2 deletions readthedocs/templates/projects/project_notifications.html
Expand Up @@ -66,7 +66,7 @@ <h3>{% trans "New Email Notifications" %}</h3>
<form method="post" action=".">{% csrf_token %}
{{ email_form }}
<p>
<input style="display: inline;" type="submit" value="{% trans "Submit" %}">
<input style="display: inline;" type="submit" value="{% trans "Add" %}">
</p>
</form>

Expand All @@ -77,7 +77,7 @@ <h3>{% trans "New Webhook Notifications" %}</h3>
<form method="post" action=".">{% csrf_token %}
{{ webhook_form }}
<p>
<input style="display: inline;" type="submit" value="{% trans "Submit" %}">
<input style="display: inline;" type="submit" value="{% trans "Add" %}">
</p>
</form>
{% endblock %}
2 changes: 1 addition & 1 deletion readthedocs/templates/projects/project_redirects.html
Expand Up @@ -106,7 +106,7 @@ <h3>{% trans "Redirects" %}</h3>
{{ form.as_p }}
<div id="dynamic-redirect" class="empty"></div>
<p>
<input style="display: inline;" type="submit" value="{% trans "Submit" %}">
<input style="display: inline;" type="submit" value="{% trans "Add" %}">
</p>
</form>
{% endblock %}
2 changes: 1 addition & 1 deletion readthedocs/templates/projects/project_translations.html
Expand Up @@ -33,7 +33,7 @@ <h3> {% trans "Existing Translations" %} </h3>
<form method="post" action=".">{% csrf_token %}
{{ form.as_p }}
<p>
<input style="display: inline;" type="submit" value="{% trans "Submit" %}">
<input style="display: inline;" type="submit" value="{% trans "Add" %}">
</p>
</form>
{% endblock %}
Expand Down
2 changes: 1 addition & 1 deletion readthedocs/templates/projects/project_users.html
Expand Up @@ -48,7 +48,7 @@ <h3>{% trans "Add Maintainer" %}</h3>
<form method="post" action=".">{% csrf_token %}
{{ form.as_p }}
<p>
<input style="display: inline;" type="submit" value="{% trans "Submit" %}">
<input style="display: inline;" type="submit" value="{% trans "Add" %}">
</p>
</form>
{% endblock %}
2 changes: 1 addition & 1 deletion readthedocs/templates/projects/project_versions.html
Expand Up @@ -49,7 +49,7 @@ <h3>{{ field.label}}</h3>
{% endfor %}

<p>
<input style="display: inline;" type="submit" value="{% trans "Submit" %}">
<input style="display: inline;" type="submit" value="{% trans "Save" %}">
</p>
</form>
{% endblock %}