Skip to content

Commit 9375243

Browse files
committed
Language: Fix language terms in about.html.twig
1 parent c9d5605 commit 9375243

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

src/CoreBundle/Resources/views/Course/about.html.twig

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
{% if not 'course_about_teacher_name_hide'|api_get_configuration_value %}
99
<div class="course-short mt-2">
1010
<ul>
11-
<li class="author">{{ "Professors"|trans }}:</li>
11+
<li class="author">{{ "Teachers"|trans }}:</li>
1212
{% for teacher in teachers %}
1313
<li>{{ teacher.complete_name }}{% if not loop.last %} |{% endif %}</li>
1414
{% endfor %}
@@ -46,7 +46,7 @@
4646
<a href="https://www.facebook.com/sharer/sharer.php?u={{ url }}" target="_blank" class="facebook">
4747
<em class="fab fa-facebook-square"></em> Facebook
4848
</a>
49-
<a href="https://twitter.com/home?{{ {'status': course.title ~ ' ' ~ url }|url_encode }}" target="_blank" class="twitter">
49+
<a href="https://x.com/home?{{ {'status': course.title ~ ' ' ~ url }|url_encode }}" target="_blank" class="twitter">
5050
<em class="fab fa-twitter"></em> Twitter
5151
</a>
5252
<a href="https://www.linkedin.com/shareArticle?{{ {'mini': 'true', 'url': url , 'title': course.title }|url_encode }}" target="_blank" class="linkedin">
@@ -92,16 +92,16 @@
9292
{% if not is_granted('IS_AUTHENTICATED') %}
9393
{% if 'allow_registration'|api_get_setting != 'false' %}
9494
<a href="{{ base_url ~ '/main/auth/registration.php?c=' ~ course.code }}" class="btn btn--success w-full py-2 mt-2 text-white bg-green-600 rounded hover:bg-green-700">
95-
<i class="fa fa-pencil" aria-hidden="true"></i> {{ 'Sign Up'|trans }}
95+
<i class="fa fa-pencil" aria-hidden="true"></i> {{ 'Sign up'|trans }}
9696
</a>
9797
{% endif %}
9898
{% elseif subscription %}
99-
<a href="{{ base_url }}/course/{{ course.id }}/home?sid=0" class="btn btn--success w-full py-2 mt-2 text-white bg-green-600 rounded hover:bg-green-700">{{ 'Course Homepage'|trans }}</a>
99+
<a href="{{ base_url }}/course/{{ course.id }}/home?sid=0" class="btn btn--success w-full py-2 mt-2 text-white bg-green-600 rounded hover:bg-green-700">{{ 'Course homepage'|trans }}</a>
100100
{% elseif allow_subscribe %}
101101
<a href="{{ base_url }}/main/auth/registration.php?c={{ course.code }}" class="btn btn--success w-full py-2 mt-2 text-white bg-green-600 rounded hover:bg-green-700">{{ 'Subscribe'|trans }}</a>
102102
{% else %}
103103
<button class="btn btn--success w-full py-2 mt-2 text-white bg-gray-400 rounded" title="{{ 'Subscription is not allowed for this course'|trans }}" disabled>
104-
{{ 'Subscription Not Available'|trans }}
104+
{{ 'Subscription not allowed'|trans }}
105105
</button>
106106
{% endif %}
107107
</div>
@@ -114,7 +114,7 @@
114114
{{ is_premium.iso_code }} {{ is_premium.price }}
115115
</div>
116116
<div class="buy-box mt-2">
117-
<a href="{{ base_url }}/plugin/BuyCourses/src/process.php?i={{ is_premium.product_id }}&t={{ is_premium.product_type }}" class="btn btn--primary w-full py-2 mt-2 text-white bg-blue-600 rounded hover:bg-blue-700">{{ 'Buy Now'|trans }}</a>
117+
<a href="{{ base_url }}/plugin/BuyCourses/src/process.php?i={{ is_premium.product_id }}&t={{ is_premium.product_type }}" class="btn btn--primary w-full py-2 mt-2 text-white bg-blue-600 rounded hover:bg-blue-700">{{ 'Buy now'|trans }}</a>
118118
</div>
119119
</div>
120120
{% endif %}
@@ -152,14 +152,14 @@
152152
$('.course-information').readmore({
153153
speed: 100,
154154
lessLink: '<a class="hide-content" href="#">{{ 'Set invisible' | trans }}</a>',
155-
moreLink: '<a class="read-more" href="#">{{ 'Read more' | trans }}</a>',
155+
moreLink: '<a class="read-more" href="#">{{ 'Read more...' | trans }}</a>',
156156
collapsedHeight: 730,
157157
heightMargin: 100
158158
});
159159
$('.open-more').readmore({
160160
speed: 100,
161161
lessLink: '<a class="hide-content" href="#">{{ 'Set invisible' | trans }}</a>',
162-
moreLink: '<a class="read-more" href="#">{{ 'Read more' | trans }}</a>',
162+
moreLink: '<a class="read-more" href="#">{{ 'Read more...' | trans }}</a>',
163163
collapsedHeight: 90,
164164
heightMargin: 20
165165
});

0 commit comments

Comments
 (0)