Sha256: 13949affef7b075c0d1cbb1917fb7bbf17bf766ffd886b572254ee9e4d610dde

Contents?: true

Size: 977 Bytes

Versions: 16

Compression:

Stored size: 977 Bytes

Contents

/*! 
 * numeral.js language configuration
 * language : spanish
 * author : Hernan Garcia : https://github.com/hgarcia
 */
(function () {
    var language = {
        delimiters: {
            thousands: '.',
            decimal: ','
        },
        abbreviations: {
            thousand: 'k',
            million: 'mm',
            billion: 'b',
            trillion: 't'
        },
        ordinal: function (number) {
            var b = number % 10;
            return (b === 1 || b === 3) ? 'er' :
                (b === 2) ? 'do' :
                (b === 7 || b === 0) ? 'mo' : 
		(b === 8) ? 'vo' :
		(b === 9) ? 'no' : 'to';
        },
        currency: {
            symbol: '$'
        }
    };

    // Node
    if (typeof module !== 'undefined' && module.exports) {
        module.exports = language;
    }
    // Browser
    if (typeof window !== 'undefined' && this.numeral && this.numeral.language) {
        this.numeral.language('es', language);
    }
}());

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
dune-dashboard-1.1.5 vendor/assets/components/numeral/languages/es.js
dune-dashboard-1.1.4 vendor/assets/components/numeral/languages/es.js
dune-dashboard-1.1.3 vendor/assets/components/numeral/languages/es.js
dune-dashboard-1.1.2 vendor/assets/components/numeral/languages/es.js
dune-dashboard-1.1.1 vendor/assets/components/numeral/languages/es.js
dune-dashboard-1.1.0 vendor/assets/components/numeral/languages/es.js
dune-dashboard-1.0.9 vendor/assets/components/numeral/languages/es.js
dune-dashboard-1.0.8 vendor/assets/components/numeral/languages/es.js
dune-dashboard-1.0.7 vendor/assets/components/numeral/languages/es.js
dune-dashboard-1.0.6 vendor/assets/components/numeral/languages/es.js
dune-dashboard-1.0.5 vendor/assets/components/numeral/languages/es.js
dune-dashboard-1.0.4 vendor/assets/components/numeral/languages/es.js
dune-dashboard-1.0.3 vendor/assets/components/numeral/languages/es.js
dune-dashboard-1.0.2 vendor/assets/components/numeral/languages/es.js
dune-dashboard-1.0.1 vendor/assets/components/numeral/languages/es.js
dune-dashboard-1.0.0 vendor/assets/components/numeral/languages/es.js