Sha256: c2ce608af9482446c00d25911cd77367963c888c7285f6a38e3212bcca5cd2a2

Contents?: true

Size: 924 Bytes

Versions: 12

Compression:

Stored size: 924 Bytes

Contents

/* Catalan locals for flatpickr */
var flatpickr = flatpickr || { l10ns: {} };
flatpickr.l10ns.cat = {};

flatpickr.l10ns.cat.weekdays = {
	shorthand: ["Dg", "Dl", "Dt", "Dc", "Dj", "Dv", "Ds"],
	longhand: ["Diumenge", "Dilluns", "Dimarts", "Dimecres", "Dijous", "Divendres", "Dissabte"]
};

flatpickr.l10ns.cat.months = {
	shorthand: ["Gen", "Febr", "Març", "Abr", "Maig", "Juny", "Jul", "Ag", "Set", "Oct", "Nov", "Des"],
	longhand: ["Gener", "Febrer", "Març", "Abril", "Maig", "Juny", "Juliol", "Agost", "Setembre", "Octubre", "Novembre", "Desembre"]
};

flatpickr.l10ns.cat.ordinal = function (nth) {
	var s = nth % 100;
	if (s > 3 && s < 21) return "è";
	switch (s % 10) {
		case 1:
			return "r";
		case 2:
			return "n";
		case 3:
			return "r";
		case 4:
			return "t";
		default:
			return "è";
	}
};

flatpickr.l10ns.cat.firstDayOfWeek = 1;

if (typeof module !== "undefined") module.exports = flatpickr.l10ns;

Version data entries

12 entries across 12 versions & 2 rubygems

Version Path
trestle-0.8.13 vendor/assets/bower_components/trestle/flatpickr/dist/l10n/cat.js
trestle-0.8.12 vendor/assets/bower_components/trestle/flatpickr/dist/l10n/cat.js
trestle-0.8.11 vendor/assets/bower_components/trestle/flatpickr/dist/l10n/cat.js
trestle-0.8.10 vendor/assets/bower_components/trestle/flatpickr/dist/l10n/cat.js
trestle-0.8.9 vendor/assets/bower_components/trestle/flatpickr/dist/l10n/cat.js
trestle-0.8.8 vendor/assets/bower_components/trestle/flatpickr/dist/l10n/cat.js
trestle-0.8.7 vendor/assets/bower_components/trestle/flatpickr/dist/l10n/cat.js
flatpickr-3.0.7.0 vendor/assets/javascripts/flatpickr/l10n/cat.js
flatpickr-3.0.0.0 vendor/assets/javascripts/flatpickr/l10n/cat.js
trestle-0.8.6 vendor/assets/bower_components/trestle/flatpickr/dist/l10n/cat.js
trestle-0.8.5 vendor/assets/bower_components/trestle/flatpickr/dist/l10n/cat.js
trestle-0.8.4 vendor/assets/bower_components/trestle/flatpickr/dist/l10n/cat.js