lib/locales/utils/i18n.rb in pagy-4.1.0 vs lib/locales/utils/i18n.rb in pagy-4.2.0
- old
+ new
@@ -1,6 +1,5 @@
# See https://ddnexus.github.io/pagy/api/frontend#i18n
-# encoding: utf-8
# frozen_string_literal: true
# this file returns the I18n hash used as default alternative to the i18n gem
Hash.new{|h,_| h.first[1]}.tap do |i18n_hash| # first loaded locale used as default