lib/avo/base_resource.rb in avo-2.37.0 vs lib/avo/base_resource.rb in avo-2.37.1

- old
+ new

@@ -261,11 +261,11 @@ default = class_name_without_resource.to_s.gsub('::', ' ').underscore.humanize return @name if @name.present? if translation_key && ::Avo::App.translation_enabled - t(translation_key, count: 1, default: default).capitalize + t(translation_key, count: 1, default: default).humanize else default end end @@ -275,10 +275,10 @@ def plural_name default = name.pluralize if translation_key && ::Avo::App.translation_enabled - t(translation_key, count: 2, default: default).capitalize + t(translation_key, count: 2, default: default).humanize else default end end