app/models/lalala/page.rb in lalala-4.1.0.dev.324 vs app/models/lalala/page.rb in lalala-4.1.0.dev.332

- old
+ new

@@ -249,9 +249,10 @@ # update translated attributes begin _locale = I18n.locale I18n.available_locales.each do |locale| + next if Rails.application.config.lalala.i18n.excluded_locales.try(:include?, locale) I18n.locale = locale translated_attrs.each do |attr| next if prev_page.send(attr).present? next if next_page.send(attr).blank?