Skip to content

Commit

Permalink
Fix for missing require in config/pagy.rb and fix for pt-br translati…
Browse files Browse the repository at this point in the history
…on typos (#134)
  • Loading branch information
rafaeelaudibert authored and ddnexus committed Mar 6, 2019
1 parent 77d39e8 commit 835e8d2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions lib/config/pagy.rb
Expand Up @@ -76,6 +76,7 @@

# Overflow extra: Allow for easy handling of overflowing pages
# See https://ddnexus.github.io/pagy/extras/overflow
# require 'pagy/extras/overflow'
# Pagy::VARS[:overflow] = :last_page # default (other options: :empty_page and :exception)

# Trim extra: Remove the page=1 param from links
Expand Down
4 changes: 2 additions & 2 deletions lib/locales/pt-br.yml
Expand Up @@ -9,12 +9,12 @@ pt-br:
zero: "Sem resultados"
one: "Mostrando 1 %{item_name}"
other: "Mostrando %{count} %{item_name}"
multiple_pages: "Mostrando %{item_name} %{from}-%{to} no total de %{count}"
multiple_pages: "Mostrando %{item_name} %{from}-%{to} do total de %{count}"
item_name:
zero: "itens"
one: "item"
other: "itens"
compact: "Página %{page_input} de %{pages}"
items:
one: "Mostrar %{items_input} iten por página"
one: "Mostrar %{items_input} item por página"
other: "Mostrar %{items_input} itens por página"

0 comments on commit 835e8d2

Please sign in to comment.