Sha256: 71963e87f34a33da519b9e0320f3d0767697ba0ca38a2696e17849ccf9d774eb
Contents?: true
Size: 558 Bytes
Versions: 42
Compression:
Stored size: 558 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: "ja"}, {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
42 entries across 42 versions & 1 rubygems