diff options
author | Paul Arthur <paul.arthur@flowerysong.com> | 2012-04-12 15:28:49 -0400 |
---|---|---|
committer | Paul Arthur <paul.arthur@flowerysong.com> | 2012-04-12 15:33:36 -0400 |
commit | 50e4c54558b4e93091882344876e24ff0575a6e0 (patch) | |
tree | a602f065067ac1402b6f7192399cf302c0b6ea47 /song.php | |
parent | 1c2de3015039e229357a8dd724eaddf3d7a56efb (diff) | |
download | ampache-50e4c54558b4e93091882344876e24ff0575a6e0.tar.gz ampache-50e4c54558b4e93091882344876e24ff0575a6e0.tar.bz2 ampache-50e4c54558b4e93091882344876e24ff0575a6e0.zip |
Fix pluralisation issue in Recently Played
Previously we would say things like "1 seconds" and "1 hours". Using
the magic of ngettext and sprintf we can get rid of the static
concatenation order and become theoretically more translatable as well
as more correct in English.
Also changed the logic a bit, since the old looping method was
unfriendly to my brain.
Diffstat (limited to 'song.php')
0 files changed, 0 insertions, 0 deletions