hugoWebsite/node_modules/date-fns/locale/lb/_lib/localize/index.js

133 lines
3.3 KiB
JavaScript

"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = void 0;
var _index = _interopRequireDefault(require("../../../_lib/buildLocalizeFn/index.js"));
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
var eraValues = {
narrow: ['v.Chr.', 'n.Chr.'],
abbreviated: ['v.Chr.', 'n.Chr.'],
wide: ['viru Christus', 'no Christus']
};
var quarterValues = {
narrow: ['1', '2', '3', '4'],
abbreviated: ['Q1', 'Q2', 'Q3', 'Q4'],
wide: ['1. Quartal', '2. Quartal', '3. Quartal', '4. Quartal']
};
var monthValues = {
narrow: ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'],
abbreviated: ['Jan', 'Feb', 'Mäe', 'Abr', 'Mee', 'Jun', 'Jul', 'Aug', 'Sep', 'Okt', 'Nov', 'Dez'],
wide: ['Januar', 'Februar', 'Mäerz', 'Abrëll', 'Mee', 'Juni', 'Juli', 'August', 'September', 'Oktober', 'November', 'Dezember']
};
var dayValues = {
narrow: ['S', 'M', 'D', 'M', 'D', 'F', 'S'],
short: ['So', 'Mé', 'Dë', 'Më', 'Do', 'Fr', 'Sa'],
abbreviated: ['So.', 'Mé.', 'Dë.', 'Më.', 'Do.', 'Fr.', 'Sa.'],
wide: ['Sonndeg', 'Méindeg', 'Dënschdeg', 'Mëttwoch', 'Donneschdeg', 'Freideg', 'Samschdeg']
};
var dayPeriodValues = {
narrow: {
am: 'mo.',
pm: 'nomë.',
midnight: 'Mëtternuecht',
noon: 'Mëtteg',
morning: 'Moien',
afternoon: 'Nomëtteg',
evening: 'Owend',
night: 'Nuecht'
},
abbreviated: {
am: 'moies',
pm: 'nomëttes',
midnight: 'Mëtternuecht',
noon: 'Mëtteg',
morning: 'Moien',
afternoon: 'Nomëtteg',
evening: 'Owend',
night: 'Nuecht'
},
wide: {
am: 'moies',
pm: 'nomëttes',
midnight: 'Mëtternuecht',
noon: 'Mëtteg',
morning: 'Moien',
afternoon: 'Nomëtteg',
evening: 'Owend',
night: 'Nuecht'
}
};
var formattingDayPeriodValues = {
narrow: {
am: 'mo.',
pm: 'nom.',
midnight: 'Mëtternuecht',
noon: 'mëttes',
morning: 'moies',
afternoon: 'nomëttes',
evening: 'owes',
night: 'nuets'
},
abbreviated: {
am: 'moies',
pm: 'nomëttes',
midnight: 'Mëtternuecht',
noon: 'mëttes',
morning: 'moies',
afternoon: 'nomëttes',
evening: 'owes',
night: 'nuets'
},
wide: {
am: 'moies',
pm: 'nomëttes',
midnight: 'Mëtternuecht',
noon: 'mëttes',
morning: 'moies',
afternoon: 'nomëttes',
evening: 'owes',
night: 'nuets'
}
};
var ordinalNumber = function ordinalNumber(dirtyNumber, _options) {
var number = Number(dirtyNumber);
return number + '.';
};
var localize = {
ordinalNumber: ordinalNumber,
era: (0, _index.default)({
values: eraValues,
defaultWidth: 'wide'
}),
quarter: (0, _index.default)({
values: quarterValues,
defaultWidth: 'wide',
argumentCallback: function argumentCallback(quarter) {
return quarter - 1;
}
}),
month: (0, _index.default)({
values: monthValues,
defaultWidth: 'wide'
}),
day: (0, _index.default)({
values: dayValues,
defaultWidth: 'wide'
}),
dayPeriod: (0, _index.default)({
values: dayPeriodValues,
defaultWidth: 'wide',
formattingValues: formattingDayPeriodValues,
defaultFormattingWidth: 'wide'
})
};
var _default = localize;
exports.default = _default;
module.exports = exports.default;