Skip to content

Commit

Permalink
Merge pull request #525 from commercekitchen/materials_coming_soon_es
Browse files Browse the repository at this point in the history
Translate no courses message to Spanish
  • Loading branch information
tmichaelreis authored Aug 22, 2021
2 parents b4d8e5e + a519a1f commit 1b1585b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/courses/index.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@
<% elsif params[:search].present? %>
<p>No courses match your search. <%= link_to "View all courses", courses_path %></p>
<% else %>
<p>Course materials coming soon.<p>
<p><%= t('course_page.materials_coming_soon') %><p>
<% end %>
1 change: 1 addition & 0 deletions config/locales/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -245,6 +245,7 @@ en:
start_lesson: "Start"
lesson: "Activity"
start_lesson_instructions: "Click on a lesson below to begin."
materials_coming_soon: "Course materials coming soon."
lesson_page:
percent_complete: "% Complete"
skip_to_next_lesson: "Skip to next Activity >>"
Expand Down
1 change: 1 addition & 0 deletions config/locales/es.yml
Original file line number Diff line number Diff line change
Expand Up @@ -247,6 +247,7 @@ es:
start_lesson: "Empezar"
lesson: "Actividad"
start_lesson_instructions: "Da click en una actividad debajo para empezar."
materials_coming_soon: "Próximamente los materiales del curso."
lesson_page:
percent_complete: "% Avance"
skip_to_next_lesson: "Pasar a la siguiente actividad >>"
Expand Down

0 comments on commit 1b1585b

Please sign in to comment.