Skip to content

Commit ad27f21

Browse files
authored
Merge pull request #4518 from italia/projecteditmissingtrans
templates: mark missing string for translation on project edit
2 parents c33248c + 5ba70f7 commit ad27f21

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

readthedocs/templates/projects/project_edit.html

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,12 @@
1515
{% block project_edit_content %}
1616
<form method="post" action=".">{% csrf_token %}
1717
<p class="empty">
18-
You can change how your project is built in your <a href="../advanced/">Advanced Settings</a>.
18+
{% blocktrans with advanced_url="../advanced" %}You can change how your project is built in your <a href="{{ advanced_url}}">Advanced Settings</a>.{% endblocktrans %}
1919
</p>
2020
{{ form.as_p }}
2121
<p>
2222
<input style="display: inline;" type="submit" value="{% trans "Save" %}">
23-
{% comment %}Translators: The 'or' here is in between 'Save' and 'Delete project'.{% endcomment %}
24-
{% trans "or" %}
23+
{% trans "or" context "The 'or' is in between 'Save' and 'Delete project'" %}
2524
<a href="{% url "projects_delete" project.slug %}">{% trans "Delete project" %}</a>
2625
</p>
2726
</form>

0 commit comments

Comments
 (0)