From d7946fe5b8795eb54d1d584f207728cf328297de Mon Sep 17 00:00:00 2001 From: Yves <ybachimont@esperanto.org> Date: Mon, 4 Nov 2019 19:53:31 +0000 Subject: [PATCH] =?UTF-8?q?Fichier=20en=20esp=C3=A9ranto=20pour=20les=20no?= =?UTF-8?q?mbres=20ordinaux=20et=20avec=20exposants?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- www/js/vendor/numeral.eo.js | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 www/js/vendor/numeral.eo.js diff --git a/www/js/vendor/numeral.eo.js b/www/js/vendor/numeral.eo.js new file mode 100644 index 000000000..5ccd37e71 --- /dev/null +++ b/www/js/vendor/numeral.eo.js @@ -0,0 +1,29 @@ +//! numeral.js locale configuration +//! locale : esperanto (eo) +//! author : Vivakvo: https://github.com/vivakvo + +(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' ? factory(require('../numeral')) : + typeof define === 'function' && define.amd ? define(['numeral'], factory) : + factory(global.numeral) +}(this, function (numeral) { 'use strict'; + + numeral.language('eo', { + "delimiters": { + "thousands": " ", + "decimal": "," + }, + "abbreviations": { + "thousand": "x10^3", + "million": "x10^6", + "billion": "x10^9", + "trillion": "x10^12" + }, + "ordinal": function (number) { + return (number === 1) ? 'a' : 'a'; + }, + "currency": { + "symbol": "X" + } + }); +})); -- GitLab