Model plural label fix: Count must be 'other' to apply :other key with every locale.  #1517

Merged
merged 1 commit into from Feb 13, 2013
Jump to file or symbol
Failed to load files and symbols.
+1 −1
Split
@@ -60,7 +60,7 @@ def object_label
end
register_instance_option :label_plural do
- (@label_plural ||= {})[::I18n.locale] ||= abstract_model.model.model_name.human(:count => 2, :default => label.pluralize)
+ (@label_plural ||= {})[::I18n.locale] ||= abstract_model.model.model_name.human(:count => 'other', :default => label.pluralize)
end
def pluralize(count)