Closed clochix closed 8 years ago
Pluralization does not work at the moment.
Polyglot wants a smart_count
parameter with a length attribute to manage pluralization, and actually it's an number which is passed. This behavior is fixed in the current version of polyglot (https://github.com/airbnb/polyglot.js/blob/master/lib/polyglot.js#L200)
I don't know what to do here. The proper way would be to use the last version of polyglot, but actually the dependency is not managed with npm :-/
Thanks for your fix @0gust1, it works fine now, @goofy-bz will be happy ☺
Confirmed. /me hats off for 0gust1
Thanks, it was not a tremendous contribution, but I was glad to help a little :)
See https://forum.cozy.io/t/cozy-photos-does-not-manage-items-singular-plural-instantly/425 When uploading photos to an album, we should update the counter singular / plural. Thanks @goofy-bz for noticing.