Sha256: 0d583027799c01d5a7118c93c5c1bb59470c17c79ce1050c350dfdb29e330f9e
Contents?: true
Size: 540 Bytes
Versions: 25
Compression:
Stored size: 540 Bytes
Contents
require "pagy/extras/trim" require "pagy/extras/countless" # 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 extra_locales = [ {locale: "en"}, {locale: "es"}, {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")} ] Pagy::I18n.send(:build, *extra_locales)
Version data entries
25 entries across 25 versions & 1 rubygems