Skip to content

Commit

Permalink
fix: i18 added
Browse files Browse the repository at this point in the history
  • Loading branch information
Waishnav committed Aug 23, 2024
1 parent 75955b6 commit e13f38b
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/simple_discussion/forum_threads/index.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<% end %>
</select>
<%= form_tag("/forum/threads/search", method: "get", id: "search-box", class: "form-inline") do %>
<%= text_field_tag :query, params[:query], placeholder: "Search for Forum Threads", autocomplete: "off", class: "form-control form-input" %>
<%= text_field_tag :query, params[:query], placeholder: t('topic_search_input_placeholder'), autocomplete: "off", class: "form-control form-input" %>
<button class="btn primary-button" type="submit" name="button" value="Submit">Search</button>
<% end %>
</div>
Expand Down
1 change: 1 addition & 0 deletions config/locales/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,3 +60,4 @@ en:
unmark_as_solution: "Unmark as Solution"
mark_as_solution: "Mark as Solution"
report_post: "Report Post"
topic_search_input_placeholder: "Search for Forum Threads"
1 change: 1 addition & 0 deletions config/locales/es.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,3 +59,4 @@ es:
unmark_as_solution: "Desmarcar como solución"
mark_as_solution: "Marcar como solución"
report_post: "Reportar publicación"
topic_search_input_placeholder: "Buscar hilos de foros"
1 change: 1 addition & 0 deletions config/locales/fr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,3 +61,4 @@ fr:
unmark_as_solution: "Démarquer comme solution"
mark_as_solution: "Marquer comme solution"
report_post: "Signaler le post"
topic_search_input_placeholder: "Rechercher des fils de discussion dans les forums"

0 comments on commit e13f38b

Please sign in to comment.