Project

General

Profile

Feature #263

Correct pluralization "medium" <-> "media"

Added by Jochen Schalanda about 9 years ago. Updated about 8 years ago.

Status:
Closed
Priority:
Low
Category:
Rails
Target version:
Difficulty:
Triaged:
No
Bugzilla link:
Pull request:
Team Backlog:
Fixed in Releases:
Found in Releases:

Description

This is kind of a non-issue but I think it should be corrected on the long run.

Foreman uses the terminus (Installation) Media as singular and Medias as plural, which is wrong. The correct singular is "Medium" and plural is "Media".

ActiveSupport::Inflector supports this irregular pluralization out-of-the-box:

# script/console
Loading development environment (Rails 2.3.5)
>> "medium".pluralize
=> "media" 

Associated revisions

Revision db59a916 (diff)
Added by Jochen Schalanda over 8 years ago

Fixes #263 - Refactored Foreman to use correct singular and pluralization of medium/media

History

#1 Updated by Jochen Schalanda about 9 years ago

Proposed patch to correct the spelling of medium and media throughout Foreman.

#2 Updated by Ohad Levy over 8 years ago

  • Assignee set to Jochen Schalanda

Hi,

From some reason, I missed this one, any chance you want to reapply the patch on the latest HEAD?

thanks...

#3 Updated by Ohad Levy over 8 years ago

  • Category set to Rails

#5 Updated by Jochen Schalanda over 8 years ago

  • Status changed from New to Ready For Testing
  • % Done changed from 0 to 100

#6 Updated by Jochen Schalanda about 8 years ago

  • Status changed from Ready For Testing to Closed

#7 Updated by Ohad Levy about 8 years ago

  • Target version set to 0.2

Also available in: Atom PDF