Skip to content

Commit

Permalink
fix typo (#61)
Browse files Browse the repository at this point in the history
fix for typo in initializer_example.rb
  • Loading branch information
ya-s-u authored and ddnexus committed Jul 5, 2018
1 parent cdab354 commit da34b94
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/pagy/extras/initializer_example.rb
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,8 @@
# Use only for single language apps that don't need dynamic translation between multiple languages
# See https://ddnexus.github.io/pagy/api/frontend#i18n
# Notice: Do not use the following 2 lines if you use the i18n extra below
# Pagy::Frontend::I18N.load(file:'path/to/dictionary.yml', language:'en') # load a custom file
# Pagy::Frontend::I18N[:plural] = -> (count) {(['zero', 'one'][count] || 'other') # default
# Pagy::Frontend::I18N.load(file:'path/to/dictionary.yml', language:'en') # load a custom file
# Pagy::Frontend::I18N[:plural] = -> (count) {(['zero', 'one'][count] || 'other')} # default

# I18n: Use the `I18n` gem instead of the pagy implementation
# (slower but allows dynamic translation between multiple languages)
Expand Down

0 comments on commit da34b94

Please sign in to comment.