photo/frontend — pull request #1060 by pixelistik (2013-01-08 09:31:12+00:00)
Title: 978 plural was were

Introduce a generic function to select either singular or plural form of a word.

Selection is based on a count number. It simply returns the singular form when number == 1, plural in any other case.

Use this for photo upload success message. Fixes #978