logo

mastofe

My custom branche(s) on git.pleroma.social/pleroma/mastofe git clone https://hacktivis.me/git/mastofe.git

oc.js (2202B)


  1. /*eslint eqeqeq: "off"*/
  2. /*eslint no-nested-ternary: "off"*/
  3. /*eslint quotes: "off"*/
  4. export default [{
  5. locale: "oc",
  6. pluralRuleFunction: function (e, a) {
  7. return a ? 1 == e ? "one" : "other" : e >= 0 && e < 2 ? "one" : "other";
  8. },
  9. fields: {
  10. year: {
  11. displayName: "an",
  12. relative: {
  13. 0: "ongan",
  14. 1: "l'an que ven",
  15. "-1": "l'an passat",
  16. },
  17. relativeTime: {
  18. future: {
  19. one: "dins {0} an",
  20. other: "dins {0} ans",
  21. },
  22. past: {
  23. one: "fa {0} an",
  24. other: "fa {0} ans",
  25. },
  26. },
  27. },
  28. month: {
  29. displayName: "mes",
  30. relative: {
  31. 0: "aqueste mes",
  32. 1: "lo mes que ven",
  33. "-1": "lo mes passat",
  34. },
  35. relativeTime: {
  36. future: {
  37. one: "dins {0} mes",
  38. other: "dins {0} meses",
  39. },
  40. past: {
  41. one: "fa {0} mes",
  42. other: "fa {0} meses",
  43. },
  44. },
  45. },
  46. day: {
  47. displayName: "jorn",
  48. relative: {
  49. 0: "uèi",
  50. 1: "deman",
  51. "-1": "ièr",
  52. },
  53. relativeTime: {
  54. future: {
  55. one: "dins {0} jorn",
  56. other: "dins {0} jorns",
  57. },
  58. past: {
  59. one: "fa {0} jorn",
  60. other: "fa {0} jorns",
  61. },
  62. },
  63. },
  64. hour: {
  65. displayName: "ora",
  66. relativeTime: {
  67. future: {
  68. one: "dins {0} ora",
  69. other: "dins {0} oras",
  70. },
  71. past: {
  72. one: "fa {0} ora",
  73. other: "fa {0} oras",
  74. },
  75. },
  76. },
  77. minute: {
  78. displayName: "minuta",
  79. relativeTime: {
  80. future: {
  81. one: "dins {0} minuta",
  82. other: "dins {0} minutas",
  83. },
  84. past: {
  85. one: "fa {0} minuta",
  86. other: "fa {0} minutas",
  87. },
  88. },
  89. },
  90. second: {
  91. displayName: "segonda",
  92. relative: {
  93. 0: "ara",
  94. },
  95. relativeTime: {
  96. future: {
  97. one: "dins {0} segonda",
  98. other: "dins {0} segondas",
  99. },
  100. past: {
  101. one: "fa {0} segonda",
  102. other: "fa {0} segondas",
  103. },
  104. },
  105. },
  106. },
  107. }];