闭社主体 forked from https://github.com/tootsuite/mastodon
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

107 lines
2.1 KiB

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