Skip to content

v1.1.0

Latest
Compare
Choose a tag to compare
@musterknabe musterknabe released this 16 Jun 17:27
· 8 commits to master since this release

Added syntax for translations where count is greater than X.

var messages = {
    'files': {
        0: 'No files',
        1: '{n} file',
        n: '{n} files',
        gt99: '99+ files'
    }
}

t('files', 100) // returns '99+ files'