Sha256: 59f7d4f053e7326cbef1a52def082821d85b0557cd0df842cbe5cdc9516074a5

Contents?: true

Size: 924 Bytes

Versions: 5

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

5 entries across 5 versions & 2 rubygems

Version Path
trestle-0.8.3 vendor/assets/bower_components/trestle/flatpickr/dist/l10n/cat.js
trestle-0.8.2 vendor/assets/bower_components/trestle/flatpickr/dist/l10n/cat.js
trestle-0.8.0 vendor/assets/bower_components/trestle/flatpickr/dist/l10n/cat.js
flatpickr-2.6.3.0 vendor/assets/javascripts/flatpickr/l10n/cat.js
flatpickr-2.6.2.0 vendor/assets/javascripts/flatpickr/l10n/cat.js