2017-05-07 14:39:37 +00:00
|
|
|
|
/*eslint eqeqeq: "off"*/
|
|
|
|
|
/*eslint no-nested-ternary: "off"*/
|
2017-06-06 01:56:36 +00:00
|
|
|
|
/*eslint quotes: "off"*/
|
2017-05-07 14:39:37 +00:00
|
|
|
|
|
2023-05-10 10:59:29 +00:00
|
|
|
|
const rules = [{
|
2017-05-07 14:39:37 +00:00
|
|
|
|
locale: "oc",
|
2017-05-10 12:44:48 +00:00
|
|
|
|
pluralRuleFunction: function (e, a) {
|
|
|
|
|
return a ? 1 == e ? "one" : "other" : e >= 0 && e < 2 ? "one" : "other";
|
2017-05-07 14:39:37 +00:00
|
|
|
|
},
|
|
|
|
|
fields: {
|
|
|
|
|
year: {
|
|
|
|
|
displayName: "an",
|
|
|
|
|
relative: {
|
|
|
|
|
0: "ongan",
|
|
|
|
|
1: "l'an que ven",
|
2017-05-20 15:31:47 +00:00
|
|
|
|
"-1": "l'an passat",
|
2017-05-07 14:39:37 +00:00
|
|
|
|
},
|
|
|
|
|
relativeTime: {
|
|
|
|
|
future: {
|
2018-12-01 16:39:13 +00:00
|
|
|
|
one: "d’aquí {0} an",
|
|
|
|
|
other: "d’aquí {0} ans",
|
2017-05-07 14:39:37 +00:00
|
|
|
|
},
|
|
|
|
|
past: {
|
|
|
|
|
one: "fa {0} an",
|
2017-05-20 15:31:47 +00:00
|
|
|
|
other: "fa {0} ans",
|
|
|
|
|
},
|
|
|
|
|
},
|
2017-05-07 14:39:37 +00:00
|
|
|
|
},
|
|
|
|
|
month: {
|
|
|
|
|
displayName: "mes",
|
|
|
|
|
relative: {
|
|
|
|
|
0: "aqueste mes",
|
|
|
|
|
1: "lo mes que ven",
|
2017-05-20 15:31:47 +00:00
|
|
|
|
"-1": "lo mes passat",
|
2017-05-07 14:39:37 +00:00
|
|
|
|
},
|
|
|
|
|
relativeTime: {
|
|
|
|
|
future: {
|
2018-12-01 16:39:13 +00:00
|
|
|
|
one: "d’aquí {0} mes",
|
|
|
|
|
other: "d’aquí {0} meses",
|
2017-05-07 14:39:37 +00:00
|
|
|
|
},
|
|
|
|
|
past: {
|
|
|
|
|
one: "fa {0} mes",
|
2017-05-20 15:31:47 +00:00
|
|
|
|
other: "fa {0} meses",
|
|
|
|
|
},
|
|
|
|
|
},
|
2017-05-07 14:39:37 +00:00
|
|
|
|
},
|
|
|
|
|
day: {
|
|
|
|
|
displayName: "jorn",
|
|
|
|
|
relative: {
|
|
|
|
|
0: "uèi",
|
|
|
|
|
1: "deman",
|
2017-05-20 15:31:47 +00:00
|
|
|
|
"-1": "ièr",
|
2017-05-07 14:39:37 +00:00
|
|
|
|
},
|
|
|
|
|
relativeTime: {
|
|
|
|
|
future: {
|
2018-12-01 16:39:13 +00:00
|
|
|
|
one: "d’aquí {0} jorn",
|
|
|
|
|
other: "d’aquí {0} jorns",
|
2017-05-07 14:39:37 +00:00
|
|
|
|
},
|
|
|
|
|
past: {
|
|
|
|
|
one: "fa {0} jorn",
|
2017-05-20 15:31:47 +00:00
|
|
|
|
other: "fa {0} jorns",
|
|
|
|
|
},
|
|
|
|
|
},
|
2017-05-07 14:39:37 +00:00
|
|
|
|
},
|
|
|
|
|
hour: {
|
|
|
|
|
displayName: "ora",
|
|
|
|
|
relativeTime: {
|
|
|
|
|
future: {
|
2018-12-01 16:39:13 +00:00
|
|
|
|
one: "d’aquí {0} ora",
|
|
|
|
|
other: "d’aquí {0} oras",
|
2017-05-07 14:39:37 +00:00
|
|
|
|
},
|
|
|
|
|
past: {
|
|
|
|
|
one: "fa {0} ora",
|
2017-05-20 15:31:47 +00:00
|
|
|
|
other: "fa {0} oras",
|
|
|
|
|
},
|
|
|
|
|
},
|
2017-05-07 14:39:37 +00:00
|
|
|
|
},
|
|
|
|
|
minute: {
|
|
|
|
|
displayName: "minuta",
|
|
|
|
|
relativeTime: {
|
|
|
|
|
future: {
|
2018-12-01 16:39:13 +00:00
|
|
|
|
one: "d’aquí {0} minuta",
|
|
|
|
|
other: "d’aquí {0} minutas",
|
2017-05-07 14:39:37 +00:00
|
|
|
|
},
|
|
|
|
|
past: {
|
|
|
|
|
one: "fa {0} minuta",
|
2017-05-20 15:31:47 +00:00
|
|
|
|
other: "fa {0} minutas",
|
|
|
|
|
},
|
|
|
|
|
},
|
2017-05-07 14:39:37 +00:00
|
|
|
|
},
|
|
|
|
|
second: {
|
|
|
|
|
displayName: "segonda",
|
|
|
|
|
relative: {
|
2017-05-20 15:31:47 +00:00
|
|
|
|
0: "ara",
|
2017-05-07 14:39:37 +00:00
|
|
|
|
},
|
|
|
|
|
relativeTime: {
|
|
|
|
|
future: {
|
2018-12-01 16:39:13 +00:00
|
|
|
|
one: "d’aquí {0} segonda",
|
|
|
|
|
other: "d’aquí {0} segondas",
|
2017-05-07 14:39:37 +00:00
|
|
|
|
},
|
|
|
|
|
past: {
|
|
|
|
|
one: "fa {0} segonda",
|
2017-05-20 15:31:47 +00:00
|
|
|
|
other: "fa {0} segondas",
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
}];
|
2023-05-10 10:59:29 +00:00
|
|
|
|
|
|
|
|
|
export default rules;
|