Commit ba23d48a by Waheed Ahmed

Update field name and help text.

ECOM-7758
parent 34eba539
......@@ -196,7 +196,7 @@ class CustomCourseForm(CourseForm):
class CourseSearchForm(forms.Form):
""" Course Type ahead Search Form. """
course = forms.ModelChoiceField(
label=_('Find Course By Title'),
label=_('Find Course'),
queryset=Course.objects.all(),
widget=autocomplete.ModelSelect2(
url='publisher:api:course-autocomplete',
......
......@@ -617,7 +617,7 @@ msgid "Syllabus"
msgstr ""
#: apps/publisher/forms.py
msgid "Find Course By Title"
msgid "Find Course"
msgstr ""
#: apps/publisher/forms.py
......@@ -1438,14 +1438,19 @@ msgid ""
msgstr ""
#: templates/publisher/add_courserun_form.html
msgid "FIND COURSE BY TITLE"
msgid "FIND COURSE"
msgstr ""
#: templates/publisher/add_courserun_form.html
msgid ""
"Enter the name of the course for which you want to create a course run."
msgstr ""
#: templates/publisher/add_courserun_form.html
#, python-format
msgid ""
"\n"
" Find the course that you are creating a run for by typing in the title. If you don't find a match, please check that the name is correct or %(link_start)s%(new_course_url)s%(link_middle)screate a new course%(link_end)s.\n"
" Cannot find your course? Make sure the course name is correct, or %(link_start)s%(new_course_url)s%(link_middle)screate a new course%(link_end)s.\n"
" "
msgstr ""
......
......@@ -743,8 +743,8 @@ msgid "Syllabus"
msgstr "Sýlläßüs Ⱡ'σяєм ιρѕυм ∂#"
#: apps/publisher/forms.py
msgid "Find Course By Title"
msgstr "Fïnd Çöürsé Bý Tïtlé Ⱡ'σяєм ιρѕυм ∂σłσя ѕιт αмєт, #"
msgid "Find Course"
msgstr "Fïnd Çöürsé Ⱡ'σяєм ιρѕυм ∂σłσя #"
#: apps/publisher/forms.py
msgid "Course Start Date"
......@@ -1659,19 +1659,26 @@ msgstr ""
" Ⱡ'σяєм ιρѕυм ∂σłσя ѕιт αмєт, ¢σηѕє¢тєтυя α∂ιριѕι¢ιηg єłιт, ѕє∂ ∂σ єιυѕмσ∂ тємρσя ιη¢ι∂ι∂υηт υт łαвσяє єт ∂σłσяє мαgηα αłιqυα. υт єηιм α∂ мιηιм νєηιαм, qυιѕ ησѕтяυ∂ єχєя¢ιтαтιση υłłαм¢σ łαвσяιѕ ηιѕι υт αłιqυιρ єχ єα ¢σммσ∂σ ¢σηѕєqυαт. ∂υιѕ αυтє#"
#: templates/publisher/add_courserun_form.html
msgid "FIND COURSE BY TITLE"
msgstr "FÌND ÇÖÛRSÉ BÝ TÌTLÉ Ⱡ'σяєм ιρѕυм ∂σłσя ѕιт αмєт, #"
msgid "FIND COURSE"
msgstr "FÌND ÇÖÛRSÉ Ⱡ'σяєм ιρѕυм ∂σłσя #"
#: templates/publisher/add_courserun_form.html
msgid ""
"Enter the name of the course for which you want to create a course run."
msgstr ""
"Éntér thé nämé öf thé çöürsé för whïçh ýöü wänt tö çréäté ä çöürsé rün. "
"Ⱡ'σяєм ιρѕυм ∂σłσя ѕιт αмєт, ¢σηѕє¢тєтυя#"
#: templates/publisher/add_courserun_form.html
#, python-format
msgid ""
"\n"
" Find the course that you are creating a run for by typing in the title. If you don't find a match, please check that the name is correct or %(link_start)s%(new_course_url)s%(link_middle)screate a new course%(link_end)s.\n"
" Cannot find your course? Make sure the course name is correct, or %(link_start)s%(new_course_url)s%(link_middle)screate a new course%(link_end)s.\n"
" "
msgstr ""
"\n"
" Fïnd thé çöürsé thät ýöü äré çréätïng ä rün för ßý týpïng ïn thé tïtlé. Ìf ýöü dön't fïnd ä mätçh, pléäsé çhéçk thät thé nämé ïs çörréçt ör %(link_start)s%(new_course_url)s%(link_middle)sçréäté ä néw çöürsé%(link_end)s.\n"
" Ⱡ'σяєм ιρѕυм ∂σłσя ѕιт αмєт, ¢σηѕє¢тєтυя α∂ιριѕι¢ιηg єłιт, ѕє∂ ∂σ єιυѕмσ∂ тємρσя ιη¢ι∂ι∂υηт υт łαвσяє єт ∂σłσяє мαgηα αłιqυα. υт єηιм α∂ мιηιм νєηιαм, qυιѕ ησѕтяυ∂ єχєя¢ιтαтιση υłłαм¢σ łαвσяιѕ ηιѕι υт αłιqυιρ єχ єα ¢σммσ∂σ ¢σηѕєqυαт. ∂υιѕ αυтє#"
" Çännöt fïnd ýöür çöürsé? Mäké süré thé çöürsé nämé ïs çörréçt, ör %(link_start)s%(new_course_url)s%(link_middle)sçréäté ä néw çöürsé%(link_end)s.\n"
" Ⱡ'σяєм ιρѕυм ∂σłσя ѕιт αмєт, ¢σηѕє¢тєтυя α∂ιριѕι¢ιηg єłιт, ѕє∂ ∂σ єιυѕмσ∂ тємρσя ιη¢ι∂ι∂υηт υт łαвσяє єт ∂σłσяє мαgηα αłιqυα. υт єηιм α∂ мιηιм νєηιαм, qυιѕ ησѕтяυ∂ єχєя¢ιтαтιση υłłαм¢σ łαвσяιѕ ηιѕι υт αłιqυιρ єχ єα ¢σммσ∂σ ¢σηѕєqυαт. ∂υιѕ αυтє ιяυяє ∂σłσя ιη яєρяєнєη∂єяιт ιη νσłυρтαтє νєłιт єѕѕє ¢ιłłυм ∂σłσяє єυ ƒυgιαт ηυłłα ραяιαтυя. єχ¢єρтєυя ѕιηт σ¢¢αє¢αт ¢υρι∂αтαт ησ#"
#: templates/publisher/add_courserun_form.html
#: templates/publisher/course_run/edit_run_form.html
......
......@@ -31,13 +31,16 @@
<div class="course-information">
<fieldset class="form-group grid-container grid-manual">
{% if from_dashboard %}
<div class="field-title">{% trans "FIND COURSE BY TITLE" %}</div>
<div class="field-title">{% trans "FIND COURSE" %}</div>
<div class="row">
<div class="col col-6 help-text">
<p>
{% trans "Enter the name of the course for which you want to create a course run." %}
</p>
<p class="margin-top20">
{% url 'publisher:publisher_courses_new' as new_course_url %}
{% blocktrans with link_start='<a href="' link_middle='">' link_end='</a>' %}
Find the course that you are creating a run for by typing in the title. If you don't find a match, please check that the name is correct or {{ link_start }}{{ new_course_url }}{{ link_middle }}create a new course{{ link_end }}.
Cannot find your course? Make sure the course name is correct, or {{ link_start }}{{ new_course_url }}{{ link_middle }}create a new course{{ link_end }}.
{% endblocktrans%}
</p>
</div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment