app/views/good_job/jobs/index.html.erb in good_job-3.14.2 vs app/views/good_job/jobs/index.html.erb in good_job-3.15.0
- old
+ new
@@ -1,15 +1,15 @@
-<%= render 'good_job/shared/filter', title: "Jobs", filter: @filter %>
+<%= render 'good_job/shared/filter', title: t("good_job.shared.navbar.jobs"), filter: @filter %>
<%= render 'good_job/shared/chart', chart_data: GoodJob::ScheduledByQueueChart.new(@filter).data %>
<div data-live-poll-region="jobs-table">
<%= render 'good_job/jobs/table', jobs: @filter.records, filter: @filter %>
<% if @filter.records.present? %>
- <nav aria-label="Job pagination" class="mt-3">
+ <nav aria-label="<%= t ".job_pagination" %>" class="mt-3">
<ul class="pagination">
<li class="page-item">
<%= link_to(@filter.to_params(after_scheduled_at: (@filter.last.scheduled_at || @filter.last.created_at), after_id: @filter.last.id), class: "page-link") do %>
- Older jobs <span aria-hidden="true">»</span>
+ <%= t ".older_jobs" %> <span aria-hidden="true">»</span>
<% end %>
</li>
</ul>
</nav>
<% end %>