Skip to content

Commit

Permalink
Merge branch 'dev'
Browse files Browse the repository at this point in the history
  • Loading branch information
ddnexus committed Nov 8, 2018
2 parents ab08b16 + f32c6df commit c8afa37
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 1 deletion.
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# CHANGELOG

## Version 0.22.0

### Changes

- Added Norvegian locale

### Commits

- [59064c2](http://github.com/ddnexus/pagy/commit/59064c2): Added Norwegian locale (#100)

## Version 0.21.0

### Changes
Expand Down
20 changes: 20 additions & 0 deletions lib/locales/nb.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
nb:
pagy:
nav:
prev: "‹ Forrige"
next: "Neste ›"
gap: "…"
info:
single_page:
zero: "Ingen %{item_name} funnet"
one: "Viser <b>1</b> %{item_name}"
other: "Viser <b>alle %{count}</b> %{item_name}"
multiple_pages: "Viser %{item_name} <b>%{from}-%{to}</b> av totalt <b>%{count}</b>"
item_name:
zero: "resultater"
one: "resultat"
other: "resultater"
compact: "Side %{page_input} av %{pages}"
items:
one: "Vis %{items_input} resultat per side"
other: "Vis %{items_input} resultater per side"
2 changes: 1 addition & 1 deletion lib/pagy.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

require 'pathname'

class Pagy ; VERSION = '0.21.0'
class Pagy ; VERSION = '0.22.0'

class OutOfRangeError < StandardError; attr_reader :pagy; def initialize(pagy) @pagy = pagy end; end

Expand Down

0 comments on commit c8afa37

Please sign in to comment.