Sha256: b367349fca4ea57ae44bbc0f73031c723d6b87046a030fab449d41dde6cad5a3
Contents?: true
Size: 465 Bytes
Versions: 67
Compression:
Stored size: 465 Bytes
Contents
require "pagy/extras/trim" # For locales without native pagy i18n support def pagy_locale_path(file_name) Avo::Engine.root.join("lib", "generators", "avo", "templates", "locales", "pagy", file_name) end Pagy::I18n.load( { locale: 'en' }, { locale: 'fr' }, { locale: 'nb' }, { locale: 'pt-BR' }, { locale: 'pt' }, { locale: 'tr' }, { locale: 'nn', filepath: pagy_locale_path("nn.yml") }, { locale: 'ro', filepath: pagy_locale_path("ro.yml") }, )
Version data entries
67 entries across 67 versions & 1 rubygems