Sha256: e39b3871ca45f80eb0e8b94ba55ee7030ab97e53c187c48c645aac4e8653ea40
Contents?: true
Size: 283 Bytes
Versions: 5
Compression:
Stored size: 283 Bytes
Contents
# See the Pagy documentation: https://ddnexus.github.io/pagy/extras/i18n class Pagy # Use ::I18n gem module Frontend ::I18n.load_path << Pagy.root.join('locales', 'pagy.yml') # Override the built-in pagy_t def pagy_t(*args) I18n.t(*args) end end end
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
pagy-0.10.1 | lib/pagy/extras/i18n.rb |
pagy-0.10.0 | lib/pagy/extras/i18n.rb |
pagy-0.9.2 | lib/pagy/extras/i18n.rb |
pagy-0.9.1 | lib/pagy/extras/i18n.rb |
pagy-0.9.0 | lib/pagy/extras/i18n.rb |