about summary refs log tree commit diff
path: root/app/javascript/locales/locale-data/oc.js
blob: d4adc42ebb6b018251ac5393ec813ee960c587f1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
/*eslint eqeqeq: "off"*/
/*eslint no-nested-ternary: "off"*/
/*eslint quotes: "off"*/

export default [{
  locale: "oc",
  pluralRuleFunction: function (e, a) {
    return a ? 1 == e ? "one" : "other" : e >= 0 && e < 2 ? "one" : "other";
  },
  fields: {
    year: {
      displayName: "an",
      relative: {
        0: "ongan",
        1: "l'an que ven",
        "-1": "l'an passat",
      },
      relativeTime: {
        future: {
          one: "d’aquí {0} an",
          other: "d’aquí {0} ans",
        },
        past: {
          one: "fa {0} an",
          other: "fa {0} ans",
        },
      },
    },
    month: {
      displayName: "mes",
      relative: {
        0: "aqueste mes",
        1: "lo mes que ven",
        "-1": "lo mes passat",
      },
      relativeTime: {
        future: {
          one: "d’aquí {0} mes",
          other: "d’aquí {0} meses",
        },
        past: {
          one: "fa {0} mes",
          other: "fa {0} meses",
        },
      },
    },
    day: {
      displayName: "jorn",
      relative: {
        0: "uèi",
        1: "deman",
        "-1": "ièr",
      },
      relativeTime: {
        future: {
          one: "d’aquí {0} jorn",
          other: "d’aquí {0} jorns",
        },
        past: {
          one: "fa {0} jorn",
          other: "fa {0} jorns",
        },
      },
    },
    hour: {
      displayName: "ora",
      relativeTime: {
        future: {
          one: "d’aquí {0} ora",
          other: "d’aquí {0} oras",
        },
        past: {
          one: "fa {0} ora",
          other: "fa {0} oras",
        },
      },
    },
    minute: {
      displayName: "minuta",
      relativeTime: {
        future: {
          one: "d’aquí {0} minuta",
          other: "d’aquí {0} minutas",
        },
        past: {
          one: "fa {0} minuta",
          other: "fa {0} minutas",
        },
      },
    },
    second: {
      displayName: "segonda",
      relative: {
        0: "ara",
      },
      relativeTime: {
        future: {
          one: "d’aquí {0} segonda",
          other: "d’aquí {0} segondas",
        },
        past: {
          one: "fa {0} segonda",
          other: "fa {0} segondas",
        },
      },
    },
  },
}];