Skip to content

Commit ae3a7d1

Browse files
committed
change button names and add translation
1 parent 23d9524 commit ae3a7d1

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

frontend/templates/frontend/course/dropdown_topic.html

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,22 +6,22 @@
66
<div class="float-right text-right">
77
<div class="dropdown show">
88
<button class="btn btn-primary dropdown-toggle" type="button" id="dropdownMenuButton" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
9-
{% trans "Actions" %}
9+
{% trans "Add Content" %}
1010
</button>
1111
<div class="dropdown-menu dropdown-menu-right" aria-labelledby="dropdownMenuLink">
1212
{% if user.is_authenticated %}
1313
<a class="dropdown-item"
1414
href="{% url 'frontend:content-add' course_id=course.id topic_id=topic_replace.id type='Image' %}">{% fa5_icon 'camera' 'fas' %}
15-
add image</a>
15+
{% trans "image" %}</a>
1616
<a class="dropdown-item"
1717
href="{% url 'frontend:content-add' course_id=course.id topic_id=topic_replace.id type='YouTubeVideo' %}">{% fa5_icon 'video' 'fas' %}
18-
add youtube video</a>
18+
{% trans "youtube video" %}</a>
1919
<a class="dropdown-item"
2020
href="">{% fa5_icon 'file-pdf' 'fas' %}
21-
add pdf file</a>
21+
{% trans "pdf file" %}</a>
2222
<a class="dropdown-item"
2323
href="">{% fa5_icon 'file' 'fas' %}
24-
add markdown file</a>
24+
{% trans "markdown file" %}</a>
2525
{% endif %}
2626

2727
</div>

0 commit comments

Comments
 (0)