nl.ts 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178
  1. import type { DefaultTheme, LocaleSpecificConfig } from 'vitepress'
  2. export const nlConfig: LocaleSpecificConfig<DefaultTheme.Config> = {
  3. themeConfig: {
  4. editLink: {
  5. pattern: 'https://github.com/tresjs/tres/edit/main/docs/:path',
  6. text: 'Stel wijzigingen op deze pagina voor',
  7. },
  8. sidebar: [
  9. {
  10. text: 'Gids',
  11. items: [
  12. // This shows `/guide/index.md` page.
  13. { text: 'Introductie', link: '/nl/guide/' },
  14. { text: 'Aan de slag', link: '/nl/guide/getting-started' },
  15. { text: 'Je eerste scene', link: '/nl/guide/your-first-scene' },
  16. { text: 'Nuxt', link: '/nl/guide/nuxt' },
  17. { text: 'Problemen oplossen', link: '/nl/guide/troubleshooting' },
  18. { text: 'Migreren vanaf v1', link: '/nl/guide/migration-guide' },
  19. ],
  20. },
  21. {
  22. text: 'API',
  23. items: [
  24. { text: 'TresCanvas', link: '/nl/api/tres-canvas' },
  25. {
  26. text: 'Instanties, argumenten en props',
  27. link: '/nl/api/instances-arguments-and-props',
  28. },
  29. {
  30. text: 'Composables',
  31. link: '/nl/api/composables',
  32. },
  33. {
  34. text: 'Events',
  35. link: '/nl/api/events',
  36. },
  37. ],
  38. },
  39. {
  40. text: 'Geavanceerd',
  41. items: [
  42. { text: 'Uitbreiden', link: '/nl/advanced/extending' },
  43. { text: 'Primitive', link: '/nl/advanced/primitive' },
  44. {
  45. text: 'Waarschuwingen',
  46. link: '/nl/advanced/caveats',
  47. },
  48. ],
  49. },
  50. {
  51. text: 'Foutopsporing',
  52. items: [
  53. { text: 'Ontwikkelingstools', link: '/nl/debug/devtools' },
  54. ],
  55. },
  56. {
  57. text: 'Kookboek 🍳🧑‍🍳',
  58. link: '/nl/cookbook/',
  59. items: [
  60. { text: 'Orbit Controls', link: '/nl/cookbook/orbit-controls' },
  61. { text: 'Basis Animaties', link: '/nl/cookbook/basic-animations' },
  62. { text: 'Groepen', link: '/nl/cookbook/groups' },
  63. { text: 'Textures laden', link: '/nl/cookbook/load-textures' },
  64. { text: 'Modellen laden', link: '/nl/cookbook/load-models' },
  65. { text: 'Text laden', link: '/nl/cookbook/text-3d' },
  66. { text: 'Lichten en Schaduwen', link: '/nl/cookbook/lights-shadows' },
  67. { text: 'Shaders', link: '/nl/cookbook/shaders' },
  68. ],
  69. },
  70. {
  71. text: 'Richtlijnen',
  72. collapsed: true,
  73. items: [
  74. { text: 'v-log', link: '/nl/directives/v-log' },
  75. { text: 'v-light-helper', link: '/nl/directives/v-light-helper' },
  76. { text: 'v-distance-to', link: '/nl/directives/v-distance-to' },
  77. ],
  78. },
  79. {
  80. text: 'Ecosysteem',
  81. items: [
  82. {
  83. text: 'Cientos 💛',
  84. link: 'https://cientos.tresjs.org/',
  85. },
  86. {
  87. text: 'Nuxt module',
  88. link: 'https://github.com/Tresjs/nuxt',
  89. },
  90. {
  91. text: 'TresLeches 🍰',
  92. link: 'https://tresleches.tresjs.org/',
  93. },
  94. {
  95. text: 'Nabewerking',
  96. link: 'https://post-processing.tresjs.org/',
  97. },
  98. ],
  99. },
  100. ],
  101. nav: [
  102. { text: 'Guide', link: '/nl/guide/' },
  103. { text: 'API', link: '/nl/api/tres-canvas' },
  104. /* { text: 'API', link: '/nl/api/' },
  105. { text: 'Config', link: '/nl/config/' }, */
  106. { text: 'Resources', items: [
  107. { text: 'Team', link: '/nl/team' },
  108. { text: 'Releases', link: 'https://github.com/Tresjs/tres/releases' },
  109. {
  110. text: 'Speelplaats',
  111. link: 'https://play.tresjs.org/',
  112. },
  113. {
  114. text: 'Github',
  115. link: 'https://github.com/Tresjs/tres/',
  116. },
  117. {
  118. text: 'Problemen',
  119. link: 'https://github.com/Tresjs/tres/issues',
  120. },
  121. {
  122. text: 'Ecosysteem',
  123. items: [
  124. {
  125. text: 'Cientos 💛',
  126. link: 'https://cientos.tresjs.org/',
  127. },
  128. {
  129. text: 'Nuxt module',
  130. link: 'https://github.com/Tresjs/nuxt',
  131. },
  132. {
  133. text: 'TresLeches 🍰',
  134. link: 'https://tresleches.tresjs.org/',
  135. },
  136. {
  137. text: 'Nabewerking',
  138. link: 'https://post-processing.tresjs.org/',
  139. },
  140. ],
  141. },
  142. ] },
  143. ],
  144. search: {
  145. provider: 'local',
  146. options: {
  147. locales: {
  148. nl: {
  149. translations: {
  150. button: {
  151. buttonText: 'Zoeken',
  152. buttonAriaLabel: 'Zoeken',
  153. },
  154. modal: {
  155. displayDetails: 'Gedetailleerde lijst bekijken',
  156. resetButtonTitle: 'Zoeken resetten',
  157. backButtonTitle: 'Zoeken sluiten',
  158. noResultsText: 'Geen resultaten voor',
  159. footer: {
  160. selectText: 'Selecteren',
  161. selectKeyAriaLabel: 'enter',
  162. navigateText: 'Navigeren naar',
  163. navigateUpKeyAriaLabel: 'Pijl omhoog',
  164. navigateDownKeyAriaLabel: 'Pijl omlaag',
  165. closeText: 'Sluiten',
  166. closeKeyAriaLabel: 'escape',
  167. },
  168. },
  169. },
  170. },
  171. },
  172. },
  173. },
  174. },
  175. }