fr.ts 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179
  1. import type { DefaultTheme, LocaleSpecificConfig } from 'vitepress'
  2. export const frConfig: LocaleSpecificConfig<DefaultTheme.Config> = {
  3. themeConfig: {
  4. editLink: {
  5. pattern: 'https://github.com/tresjs/tres/edit/main/docs/:path',
  6. text: 'Suggérer un changement à cette page.',
  7. },
  8. sidebar: [
  9. {
  10. text: 'Guide',
  11. items: [
  12. // This shows `/guide/index.md` page.
  13. { text: 'Introduction', link: '/fr/guide/' },
  14. { text: 'Commencer', link: '/fr/guide/getting-started' },
  15. { text: 'Votre première scene', link: '/fr/guide/your-first-scene' },
  16. { text: 'Nuxt', link: '/fr/guide/nuxt' },
  17. { text: 'Résolution de problèmes', link: '/fr/guide/troubleshooting' },
  18. { text: 'Migration depuis la v1', link: '/fr/guide/migration-guide' },
  19. ],
  20. },
  21. {
  22. text: 'API',
  23. items: [
  24. { text: 'TresCanvas', link: '/fr/api/tres-canvas' },
  25. {
  26. text: 'Instances, arguments et props',
  27. link: '/fr/api/instances-arguments-and-props',
  28. },
  29. {
  30. text: 'Composables',
  31. link: '/fr/api/composables',
  32. },
  33. {
  34. text: 'Évenements',
  35. link: '/fr/api/events',
  36. },
  37. ],
  38. },
  39. {
  40. text: 'Avancé',
  41. items: [
  42. { text: 'Étendre', link: '/fr/advanced/extending' },
  43. { text: 'primitive', link: '/fr/advanced/primitive' },
  44. {
  45. text: 'Mise en garde',
  46. link: '/fr/advanced/caveats',
  47. },
  48. ],
  49. },
  50. {
  51. text: 'Debug',
  52. items: [
  53. { text: 'Outils de développement', link: '/fr/debug/devtools' },
  54. ],
  55. },
  56. {
  57. text: 'Cookbook',
  58. link: '/fr/cookbook/',
  59. collapsed: true,
  60. items: [
  61. { text: 'Controles des orbites', link: '/fr/cookbook/orbit-controls' },
  62. { text: 'Animations de base', link: '/fr/cookbook/basic-animations' },
  63. { text: 'Groupes', link: '/fr/cookbook/groups' },
  64. { text: 'Charger des textures', link: '/fr/cookbook/load-textures' },
  65. { text: 'Charger des modèles', link: '/fr/cookbook/load-models' },
  66. { text: 'Charger du texte', link: '/fr/cookbook/text-3d' },
  67. { text: 'Éclairages et ombres', link: '/fr/cookbook/lights-shadows' },
  68. { text: 'Shaders', link: '/fr/cookbook/shaders' },
  69. ],
  70. },
  71. {
  72. text: 'Directives',
  73. collapsed: true,
  74. items: [
  75. { text: 'v-log', link: '/fr/directives/v-log' },
  76. { text: 'v-light-helper', link: '/fr/directives/v-light-helper' },
  77. { text: 'v-distance-to', link: '/fr/directives/v-distance-to' },
  78. ],
  79. },
  80. {
  81. text: 'Ecosystème',
  82. items: [
  83. {
  84. text: 'Cientos 💛',
  85. link: 'https://cientos.tresjs.org/',
  86. },
  87. {
  88. text: 'Module Nuxt',
  89. link: 'https://github.com/Tresjs/nuxt',
  90. },
  91. {
  92. text: 'TresLeches 🍰',
  93. link: 'https://tresleches.tresjs.org/',
  94. },
  95. {
  96. text: 'Post-processing',
  97. link: 'https://post-processing.tresjs.org/',
  98. },
  99. ],
  100. },
  101. ],
  102. nav: [
  103. { text: 'Guide', link: '/fr/guide/' },
  104. { text: 'API', link: '/fr/api/tres-canvas' },
  105. /* { text: 'API', link: '/api/' },
  106. { text: 'Config', link: '/config/' }, */
  107. { text: 'Resources', items: [
  108. { text: 'Équipe', link: '/fr/team.md' },
  109. { text: 'Versions', link: 'https://github.com/Tresjs/tres/releases' },
  110. {
  111. text: 'Playground',
  112. link: 'https://play.tresjs.org/',
  113. },
  114. {
  115. text: 'Github',
  116. link: 'https://github.com/Tresjs/tres/',
  117. },
  118. {
  119. text: 'Problèmes',
  120. link: 'https://github.com/Tresjs/tres/issues',
  121. },
  122. {
  123. text: 'Ecosystème',
  124. items: [
  125. {
  126. text: 'Cientos 💛',
  127. link: 'https://cientos.tresjs.org/',
  128. },
  129. {
  130. text: 'Module Nuxt',
  131. link: 'https://github.com/Tresjs/nuxt',
  132. },
  133. {
  134. text: 'TresLeches 🍰',
  135. link: 'https://tresleches.tresjs.org/',
  136. },
  137. {
  138. text: 'Post-processing',
  139. link: 'https://post-processing.tresjs.org/',
  140. },
  141. ],
  142. },
  143. ] },
  144. ],
  145. search: {
  146. provider: 'local',
  147. options: {
  148. locales: {
  149. fr: {
  150. translations: {
  151. button: {
  152. buttonText: 'Chercher',
  153. buttonAriaLabel: 'Chercher',
  154. },
  155. modal: {
  156. displayDetails: 'Afficher la liste détaillée',
  157. resetButtonTitle: 'Réinitialiser la recherche',
  158. backButtonTitle: 'Fermer la recherche',
  159. noResultsText: 'Aucun résultat pour',
  160. footer: {
  161. selectText: 'Pour selectionner',
  162. selectKeyAriaLabel: 'entrer',
  163. navigateText: 'Pour naviguer',
  164. navigateUpKeyAriaLabel: 'Flèche du haut',
  165. navigateDownKeyAriaLabel: 'Flèche du bas',
  166. closeText: 'Pour fermer',
  167. closeKeyAriaLabel: 'quitter',
  168. },
  169. },
  170. },
  171. },
  172. },
  173. },
  174. },
  175. },
  176. }