diff --git a/decidim-proposals/app/views/decidim/proposals/proposals/index.html.erb b/decidim-proposals/app/views/decidim/proposals/proposals/index.html.erb index a27868ca28f1f..efdaa7df6cf4b 100644 --- a/decidim-proposals/app/views/decidim/proposals/proposals/index.html.erb +++ b/decidim-proposals/app/views/decidim/proposals/proposals/index.html.erb @@ -1,6 +1,9 @@ <% add_decidim_meta_tags( description: translated_attribute(current_participatory_space.short_description), - title: "#{component_name} - Page #{@proposals.current_page} of #{@proposals.total_pages}", + title: t("decidim.proposals.pagination.page_title", + component_name: component_name, + current_page: @proposals.current_page, + total_pages: @proposals.total_pages ), url: proposals_url, resource: current_component) %> diff --git a/decidim-proposals/config/locales/en.yml b/decidim-proposals/config/locales/en.yml index f14526d43c719..186d54ea42a55 100644 --- a/decidim-proposals/config/locales/en.yml +++ b/decidim-proposals/config/locales/en.yml @@ -895,6 +895,8 @@ en: title: Status new: limit_reached: You cannot create new proposals since you have exceeded the limit. + pagination: + page_title: "%{component_name} - Page %{current_page} of %{total_pages}" participatory_text_proposal: alternative_title: There are no participatory texts at the moment buttons: