From 8a4596f0549280ca98d202f9ef8109564bc040ee Mon Sep 17 00:00:00 2001 From: Tiago Teixeira Date: Wed, 8 Jul 2020 15:43:03 +0100 Subject: [PATCH] Add translation for Portuguese (#250) [ci-skip] --- lib/locales/pt.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 lib/locales/pt.yml diff --git a/lib/locales/pt.yml b/lib/locales/pt.yml new file mode 100644 index 000000000..033aa1750 --- /dev/null +++ b/lib/locales/pt.yml @@ -0,0 +1,22 @@ +# :one_other pluralization (see https://github.com/ddnexus/pagy/blob/master/lib/locales/utils/p11n.rb) + +pt: + pagy: + + item_name: + one: "item" + other: "itens" + + nav: + prev: "‹ Anterior" + next: "Próximo ›" + gap: "…" + + info: + no_items: "Sem resultados" + single_page: "Mostrando %{count} %{item_name}" + multiple_pages: "Mostrando %{item_name} %{from}-%{to} de um total de %{count}" + + combo_nav_js: "Página %{page_input} de %{pages}" + + items_selector_js: "Mostrar %{items_input} %{item_name} por página"