Sha256: c72c20e733d8a96657393242d6ae2e523d85cfd63ac4b1fa0b669b2ff686c101

Contents?: true

Size: 1.01 KB

Versions: 16

Compression:

Stored size: 1.01 KB

Contents

/*! 
 * numeral.js language configuration
 * language : spanish Spain
 * 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-ES.js
dune-dashboard-1.1.4 vendor/assets/components/numeral/languages/es-ES.js
dune-dashboard-1.1.3 vendor/assets/components/numeral/languages/es-ES.js
dune-dashboard-1.1.2 vendor/assets/components/numeral/languages/es-ES.js
dune-dashboard-1.1.1 vendor/assets/components/numeral/languages/es-ES.js
dune-dashboard-1.1.0 vendor/assets/components/numeral/languages/es-ES.js
dune-dashboard-1.0.9 vendor/assets/components/numeral/languages/es-ES.js
dune-dashboard-1.0.8 vendor/assets/components/numeral/languages/es-ES.js
dune-dashboard-1.0.7 vendor/assets/components/numeral/languages/es-ES.js
dune-dashboard-1.0.6 vendor/assets/components/numeral/languages/es-ES.js
dune-dashboard-1.0.5 vendor/assets/components/numeral/languages/es-ES.js
dune-dashboard-1.0.4 vendor/assets/components/numeral/languages/es-ES.js
dune-dashboard-1.0.3 vendor/assets/components/numeral/languages/es-ES.js
dune-dashboard-1.0.2 vendor/assets/components/numeral/languages/es-ES.js
dune-dashboard-1.0.1 vendor/assets/components/numeral/languages/es-ES.js
dune-dashboard-1.0.0 vendor/assets/components/numeral/languages/es-ES.js