From da34b94a342a2e9de83bb2c9bb581971dfc53680 Mon Sep 17 00:00:00 2001 From: Yasuaki Goto Date: Thu, 5 Jul 2018 22:59:52 +0900 Subject: [PATCH] fix typo (#61) fix for typo in initializer_example.rb --- lib/pagy/extras/initializer_example.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/pagy/extras/initializer_example.rb b/lib/pagy/extras/initializer_example.rb index 8c4790eb6..88aeb5365 100644 --- a/lib/pagy/extras/initializer_example.rb +++ b/lib/pagy/extras/initializer_example.rb @@ -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)