de.ts 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176
  1. import type { DefaultTheme, LocaleSpecificConfig } from 'vitepress'
  2. export const deConfig: LocaleSpecificConfig<DefaultTheme.Config> = {
  3. themeConfig: {
  4. editLink: {
  5. pattern: 'https://github.com/tresjs/tres/edit/main/packages/docs/:path',
  6. text: 'Änderungen an dieser Seite vorschlagen',
  7. },
  8. sidebar: [
  9. {
  10. text: 'Anleitung',
  11. items: [
  12. // Dies zeigt die Seite `/guide/index.md`.
  13. { text: 'Einführung', link: '/de/guide/' },
  14. { text: 'Loslegen', link: '/de/guide/getting-started' },
  15. { text: 'Deine erste Szene', link: '/de/guide/your-first-scene' },
  16. { text: 'Nuxt', link: '/de/guide/nuxt' },
  17. { text: 'Fehlerbehebung', link: '/de/guide/troubleshooting' },
  18. { text: 'Migration von v1', link: '/de/guide/migration-guide' },
  19. ],
  20. },
  21. {
  22. text: 'API',
  23. items: [
  24. { text: 'TresCanvas', link: '/de/api/tres-canvas' },
  25. {
  26. text: 'Instanzen, Argumente und Props',
  27. link: '/de/api/instances-arguments-and-props',
  28. },
  29. {
  30. text: 'Composables',
  31. link: '/de/api/composables',
  32. },
  33. {
  34. text: 'Events',
  35. link: '/de/api/events',
  36. },
  37. ],
  38. },
  39. {
  40. text: 'Fortgeschritten',
  41. items: [
  42. { text: 'Erweitern', link: '/de/advanced/extending' },
  43. { text: 'Primitive', link: '/de/advanced/primitive' },
  44. {
  45. text: 'Warnhinweise',
  46. link: '/de/advanced/caveats',
  47. },
  48. ],
  49. },
  50. {
  51. text: 'Debugging',
  52. items: [
  53. { text: 'Entwicklungstools', link: '/de/debug/devtools' },
  54. ],
  55. },
  56. {
  57. text: 'Kochbuch 🍳🧑‍🍳',
  58. link: '/de/cookbook/',
  59. items: [
  60. { text: 'Orbit-Controls', link: '/de/cookbook/orbit-controls' },
  61. { text: 'Einfache Animationen', link: '/de/cookbook/basic-animations' },
  62. { text: 'Gruppen', link: '/de/cookbook/groups' },
  63. { text: 'Texturen laden', link: '/de/cookbook/load-textures' },
  64. { text: 'Modelle laden', link: '/de/cookbook/load-models' },
  65. { text: 'Text laden', link: '/de/cookbook/text-3d' },
  66. { text: 'Lichter und Schatten', link: '/de/cookbook/lights-shadows' },
  67. { text: 'Shaders', link: '/de/cookbook/shaders' },
  68. ],
  69. },
  70. {
  71. text: 'Direktiven',
  72. collapsed: true,
  73. items: [
  74. { text: 'v-log', link: '/de/directives/v-log' },
  75. { text: 'v-light-helper', link: '/de/directives/v-light-helper' },
  76. { text: 'v-always-look-at', link: '/de/directives/v-always-look-at' },
  77. { text: 'v-distance-to', link: '/de/directives/v-distance-to' },
  78. ],
  79. },
  80. {
  81. text: 'Ökosystem',
  82. items: [
  83. {
  84. text: 'Cientos 💛',
  85. link: 'https://cientos.tresjs.org/',
  86. },
  87. {
  88. text: 'Nuxt-Modul',
  89. link: 'https://github.com/Tresjs/nuxt',
  90. },
  91. {
  92. text: 'TresLeches 🍰',
  93. link: 'https://tresleches.tresjs.org/',
  94. },
  95. {
  96. text: 'Nachbearbeitung (Demnächst)',
  97. },
  98. ],
  99. },
  100. ],
  101. nav: [
  102. { text: 'Anleitung', link: '/de/guide/' },
  103. { text: 'API', link: '/de/api/tres-canvas' },
  104. /* { text: 'API', link: '/de/api/' },
  105. { text: 'Konfiguration', link: '/de/config/' }, */
  106. {
  107. text: 'Ressourcen',
  108. items: [
  109. { text: 'Team', link: '/de/team' },
  110. { text: 'Versionen', link: 'https://github.com/Tresjs/tres/releases' },
  111. {
  112. text: 'Spielplatz',
  113. link: 'https://playground.tresjs.org/',
  114. },
  115. {
  116. text: 'Github',
  117. link: 'https://github.com/Tresjs/tres/',
  118. },
  119. {
  120. text: 'Probleme',
  121. link: 'https://github.com/Tresjs/tres/issues',
  122. },
  123. {
  124. text: 'Ökosystem',
  125. items: [
  126. {
  127. text: 'Cientos 💛',
  128. link: 'https://cientos.tresjs.org/',
  129. },
  130. {
  131. text: 'Nuxt-Modul',
  132. link: 'https://github.com/Tresjs/nuxt',
  133. },
  134. {
  135. text: 'TresLeches 🍰',
  136. link: 'https://tresleches.tresjs.org/',
  137. },
  138. ],
  139. },
  140. ],
  141. },
  142. ],
  143. search: {
  144. provider: 'local',
  145. options: {
  146. locales: {
  147. de: {
  148. translations: {
  149. button: {
  150. buttonText: 'Suchen',
  151. buttonAriaLabel: 'Suchen',
  152. },
  153. modal: {
  154. displayDetails: 'Detaillierte Liste anzeigen',
  155. resetButtonTitle: 'Suche zurücksetzen',
  156. backButtonTitle: 'Suche schließen',
  157. noResultsText: 'Keine Ergebnisse für',
  158. footer: {
  159. selectText: 'zur Auswahl',
  160. selectKeyAriaLabel: 'enter',
  161. navigateText: 'zum Navigieren',
  162. navigateUpKeyAriaLabel: 'Pfeil nach oben',
  163. navigateDownKeyAriaLabel: 'Pfeil nach unten',
  164. closeText: 'zum Schließen',
  165. closeKeyAriaLabel: 'escape',
  166. },
  167. },
  168. },
  169. },
  170. },
  171. },
  172. },
  173. },
  174. }