From 03d5ed714fb2d256edf4f6fbe373165fa87fffc9 Mon Sep 17 00:00:00 2001 From: Daniel Date: Fri, 26 Jul 2024 13:45:18 +0200 Subject: [PATCH] feat: translate config.ts --- .vitepress/config.ts | 305 +++++++++++++++++++++++-------------------- 1 file changed, 163 insertions(+), 142 deletions(-) diff --git a/.vitepress/config.ts b/.vitepress/config.ts index fb9c28b083..a799d917e7 100644 --- a/.vitepress/config.ts +++ b/.vitepress/config.ts @@ -8,22 +8,22 @@ import { headerPlugin } from './headerMdPlugin' const nav: ThemeConfig['nav'] = [ { - text: 'Docs', + text: 'Dokumentacja', activeMatch: `^/(guide|style-guide|cookbook|examples)/`, items: [ - { text: 'Guide', link: '/guide/introduction' }, - { text: 'Tutorial', link: '/tutorial/' }, - { text: 'Examples', link: '/examples/' }, - { text: 'Quick Start', link: '/guide/quick-start' }, + { text: 'Poradnik', link: '/guide/introduction' }, + { text: 'Samouczek', link: '/tutorial/' }, + { text: 'Przykłady', link: '/examples/' }, + { text: 'Szybki start', link: '/guide/quick-start' }, // { text: 'Style Guide', link: '/style-guide/' }, - { text: 'Glossary', link: '/glossary/' }, - { text: 'Error Reference', link: '/error-reference/' }, + { text: 'Słownik', link: '/glossary/' }, + { text: 'Referencja błędów', link: '/error-reference/' }, { - text: 'Vue 2 Docs', + text: 'Dokumentacja Vue 2', link: 'https://v2.vuejs.org' }, { - text: 'Migration from Vue 2', + text: 'Migracja z Vue 2', link: 'https://v3-migration.vuejs.org/' } ] @@ -34,37 +34,43 @@ const nav: ThemeConfig['nav'] = [ link: '/api/' }, { - text: 'Playground', + text: 'Plac zabaw', link: 'https://play.vuejs.org' }, { - text: 'Ecosystem', + text: 'Ekosystem', activeMatch: `^/ecosystem/`, items: [ { - text: 'Resources', + text: 'Materiały', items: [ - { text: 'Partners', link: '/partners/' }, - { text: 'Themes', link: '/ecosystem/themes' }, - { text: 'UI Components', link: 'https://ui-libs.vercel.app/' }, + { text: 'Partnerzy', link: '/partners/' }, + { text: 'Motywy', link: '/ecosystem/themes' }, + { text: 'Komponenty UI', link: 'https://ui-libs.vercel.app/' }, { - text: 'Certification', + text: 'Certyfikacja', link: 'https://certificates.dev/vuejs/?ref=vuejs-nav' }, - { text: 'Jobs', link: 'https://vuejobs.com/?ref=vuejs' }, - { text: 'T-Shirt Shop', link: 'https://vue.threadless.com/' } + { text: 'Oferty pracy', link: 'https://vuejobs.com/?ref=vuejs' }, + { + text: 'Skelp z koszulkami', + link: 'https://vue.threadless.com/' + } ] }, { - text: 'Official Libraries', + text: 'Oficjalne biblioteki', items: [ { text: 'Vue Router', link: 'https://router.vuejs.org/' }, { text: 'Pinia', link: 'https://pinia.vuejs.org/' }, - { text: 'Tooling Guide', link: '/guide/scaling-up/tooling.html' } + { + text: 'Przewodnik po narzędziach', + link: '/guide/scaling-up/tooling.html' + } ] }, { - text: 'Video Courses', + text: 'Kursy wideo', items: [ { text: 'Vue Mastery', @@ -77,55 +83,55 @@ const nav: ThemeConfig['nav'] = [ ] }, { - text: 'Help', + text: 'Pomoc', items: [ { - text: 'Discord Chat', + text: 'Czat na Discord', link: 'https://discord.com/invite/HBherRA' }, { - text: 'GitHub Discussions', + text: 'Dyskusje na GitHub', link: 'https://github.com/vuejs/core/discussions' }, - { text: 'DEV Community', link: 'https://dev.to/t/vue' } + { text: 'Społeczność DEV', link: 'https://dev.to/t/vue' } ] }, { - text: 'News', + text: 'Aktualności', items: [ { text: 'Blog', link: 'https://blog.vuejs.org/' }, { text: 'Twitter', link: 'https://twitter.com/vuejs' }, - { text: 'Events', link: 'https://events.vuejs.org/' }, - { text: 'Newsletters', link: '/ecosystem/newsletters' } + { text: 'Wydarzenia', link: 'https://events.vuejs.org/' }, + { text: 'Biuletyny', link: '/ecosystem/newsletters' } ] } ] }, { - text: 'About', + text: 'Informacje', activeMatch: `^/about/`, items: [ { text: 'FAQ', link: '/about/faq' }, - { text: 'Team', link: '/about/team' }, - { text: 'Releases', link: '/about/releases' }, + { text: 'Zespół', link: '/about/team' }, + { text: 'Nowe wydania', link: '/about/releases' }, { - text: 'Community Guide', + text: 'Przewodnik dla społeczności', link: '/about/community-guide' }, - { text: 'Code of Conduct', link: '/about/coc' }, - { text: 'Privacy Policy', link: '/about/privacy' }, + { text: 'Kodeks postępowania', link: '/about/coc' }, + { text: 'Polityka prywatności', link: '/about/privacy' }, { - text: 'The Documentary', + text: 'Film dokumentalny', link: 'https://www.youtube.com/watch?v=OrxmtDw4pVI' } ] }, { - text: 'Sponsor', + text: 'Sponsorzy', link: '/sponsor/' }, { - text: 'Partners', + text: 'Partnerzy', link: '/partners/', activeMatch: `^/partners/` } @@ -134,101 +140,107 @@ const nav: ThemeConfig['nav'] = [ export const sidebar: ThemeConfig['sidebar'] = { '/guide/': [ { - text: 'Getting Started', + text: 'Pierwsze kroki', items: [ - { text: 'Introduction', link: '/guide/introduction' }, + { text: 'Wprowadzenie', link: '/guide/introduction' }, { - text: 'Quick Start', + text: 'Szybki start', link: '/guide/quick-start' } ] }, { - text: 'Essentials', + text: 'Podstawy', items: [ { - text: 'Creating an Application', + text: 'Tworzenie aplikacji', link: '/guide/essentials/application' }, { - text: 'Template Syntax', + text: 'Składnia template', link: '/guide/essentials/template-syntax' }, { - text: 'Reactivity Fundamentals', + text: 'Podstawy reaktywności', link: '/guide/essentials/reactivity-fundamentals' }, { - text: 'Computed Properties', + text: 'Właściwości computed', link: '/guide/essentials/computed' }, { - text: 'Class and Style Bindings', + text: 'Wiązania klas i stylów', link: '/guide/essentials/class-and-style' }, { - text: 'Conditional Rendering', + text: 'Renderowanie warunkowe', link: '/guide/essentials/conditional' }, - { text: 'List Rendering', link: '/guide/essentials/list' }, + { text: 'Renderowanie listy', link: '/guide/essentials/list' }, { - text: 'Event Handling', + text: 'Obsługa zdarzeń', link: '/guide/essentials/event-handling' }, - { text: 'Form Input Bindings', link: '/guide/essentials/forms' }, { - text: 'Lifecycle Hooks', + text: 'Wiązanie elemtów wejściowych formularza', + link: '/guide/essentials/forms' + }, + { + text: 'Cykle życia', link: '/guide/essentials/lifecycle' }, - { text: 'Watchers', link: '/guide/essentials/watchers' }, + { text: 'Obserwatorzy', link: '/guide/essentials/watchers' }, { text: 'Template Refs', link: '/guide/essentials/template-refs' }, { - text: 'Components Basics', + text: 'Podstawy komponentów', link: '/guide/essentials/component-basics' } ] }, { - text: 'Components In-Depth', + text: 'Szczegółowe informacje o komponentach', items: [ { - text: 'Registration', + text: 'Rejestracja', link: '/guide/components/registration' }, - { text: 'Props', link: '/guide/components/props' }, - { text: 'Events', link: '/guide/components/events' }, - { text: 'Component v-model', link: '/guide/components/v-model' }, + { text: 'Rekwizyty', link: '/guide/components/props' }, + { text: 'Zdarzenia', link: '/guide/components/events' }, + { + text: 'Użycie v-model w komponencie', + link: '/guide/components/v-model' + }, { - text: 'Fallthrough Attributes', + text: 'Atrybuty Przepadające', link: '/guide/components/attrs' }, - { text: 'Slots', link: '/guide/components/slots' }, + { text: 'Sloty', link: '/guide/components/slots' }, { text: 'Provide / inject', link: '/guide/components/provide-inject' }, { - text: 'Async Components', + text: 'Komponenty asynchroniczne', link: '/guide/components/async' } ] }, { - text: 'Reusability', + text: 'Reużywalność', items: [ { - text: 'Composables', + text: 'Kompozyty', link: '/guide/reusability/composables' }, { - text: 'Custom Directives', + text: 'Własne dyrektywy', link: '/guide/reusability/custom-directives' }, - { text: 'Plugins', link: '/guide/reusability/plugins' } + { text: 'Pluginy', link: '/guide/reusability/plugins' } ] }, { - text: 'Built-in Components', + text: 'Wbudowane komponenty', items: [ { text: 'Transition', link: '/guide/built-ins/transition' }, { @@ -241,39 +253,42 @@ export const sidebar: ThemeConfig['sidebar'] = { ] }, { - text: 'Scaling Up', + text: 'Skalowalnie w góre', items: [ - { text: 'Single-File Components', link: '/guide/scaling-up/sfc' }, - { text: 'Tooling', link: '/guide/scaling-up/tooling' }, + { + text: 'Komponenty jednoplikowe (SFC)', + link: '/guide/scaling-up/sfc' + }, + { text: 'Narzędzia', link: '/guide/scaling-up/tooling' }, { text: 'Routing', link: '/guide/scaling-up/routing' }, { - text: 'State Management', + text: 'Zarządzanie stanem', link: '/guide/scaling-up/state-management' }, - { text: 'Testing', link: '/guide/scaling-up/testing' }, + { text: 'Testowanie', link: '/guide/scaling-up/testing' }, { - text: 'Server-Side Rendering (SSR)', + text: 'Renderowanie po stronie serwera (SSR)', link: '/guide/scaling-up/ssr' } ] }, { - text: 'Best Practices', + text: 'Dobre praktyki', items: [ { - text: 'Production Deployment', + text: 'Wdrożenie produkcyjne', link: '/guide/best-practices/production-deployment' }, { - text: 'Performance', + text: 'Wydajność', link: '/guide/best-practices/performance' }, { - text: 'Accessibility', + text: 'Dostępność', link: '/guide/best-practices/accessibility' }, { - text: 'Security', + text: 'Bezpieczeństwo', link: '/guide/best-practices/security' } ] @@ -281,22 +296,22 @@ export const sidebar: ThemeConfig['sidebar'] = { { text: 'TypeScript', items: [ - { text: 'Overview', link: '/guide/typescript/overview' }, + { text: 'Omówienie', link: '/guide/typescript/overview' }, { - text: 'TS with Composition API', + text: 'TS z Composition API', link: '/guide/typescript/composition-api' }, { - text: 'TS with Options API', + text: 'TS z Options API', link: '/guide/typescript/options-api' } ] }, { - text: 'Extra Topics', + text: 'Dodatkowe tematy', items: [ { - text: 'Ways of Using Vue', + text: 'Sposoby używania Vue', link: '/guide/extras/ways-of-using-vue' }, { @@ -304,23 +319,23 @@ export const sidebar: ThemeConfig['sidebar'] = { link: '/guide/extras/composition-api-faq' }, { - text: 'Reactivity in Depth', + text: 'Reaktywność w szczegółach', link: '/guide/extras/reactivity-in-depth' }, { - text: 'Rendering Mechanism', + text: 'Mechanizm renderowania', link: '/guide/extras/rendering-mechanism' }, { - text: 'Render Functions & JSX', + text: 'Funckja render i JSX', link: '/guide/extras/render-function' }, { - text: 'Vue and Web Components', + text: 'Vue i komponenty web', link: '/guide/extras/web-components' }, { - text: 'Animation Techniques', + text: 'Techniki animowania', link: '/guide/extras/animation' } // { @@ -336,11 +351,11 @@ export const sidebar: ThemeConfig['sidebar'] = { ], '/api/': [ { - text: 'Global API', + text: 'Globalny interfejs API', items: [ - { text: 'Application', link: '/api/application' }, + { text: 'Aplikacja', link: '/api/application' }, { - text: 'General', + text: 'Informacje ogólne', link: '/api/general' } ] @@ -350,23 +365,23 @@ export const sidebar: ThemeConfig['sidebar'] = { items: [ { text: 'setup()', link: '/api/composition-api-setup' }, { - text: 'Reactivity: Core', + text: 'Reaktywność: pojęcia podstawowe', link: '/api/reactivity-core' }, { - text: 'Reactivity: Utilities', + text: 'Reaktywność: narzędzia', link: '/api/reactivity-utilities' }, { - text: 'Reactivity: Advanced', + text: 'Reaktywność: pojęcia zaawansowane', link: '/api/reactivity-advanced' }, { - text: 'Lifecycle Hooks', + text: 'Haki cyklu życia', link: '/api/composition-api-lifecycle' }, { - text: 'Dependency Injection', + text: 'Wstrzykiwanie zależności', link: '/api/composition-api-dependency-injection' } ] @@ -374,116 +389,122 @@ export const sidebar: ThemeConfig['sidebar'] = { { text: 'Options API', items: [ - { text: 'Options: State', link: '/api/options-state' }, - { text: 'Options: Rendering', link: '/api/options-rendering' }, + { text: 'Options: stan', link: '/api/options-state' }, + { text: 'Options: renderowanie', link: '/api/options-rendering' }, { - text: 'Options: Lifecycle', + text: 'Options: cykle życia', link: '/api/options-lifecycle' }, { - text: 'Options: Composition', + text: 'Options: Kompozycja', link: '/api/options-composition' }, - { text: 'Options: Misc', link: '/api/options-misc' }, + { text: 'Options: różne', link: '/api/options-misc' }, { - text: 'Component Instance', + text: 'Instancja komponentu', link: '/api/component-instance' } ] }, { - text: 'Built-ins', + text: 'Wbudowane', items: [ - { text: 'Directives', link: '/api/built-in-directives' }, - { text: 'Components', link: '/api/built-in-components' }, + { text: 'Dyrektywy', link: '/api/built-in-directives' }, + { text: 'Komponenty', link: '/api/built-in-components' }, { - text: 'Special Elements', + text: 'Specjalne elementy', link: '/api/built-in-special-elements' }, { - text: 'Special Attributes', + text: 'Specjalne atrybuty', link: '/api/built-in-special-attributes' } ] }, { - text: 'Single-File Component', + text: 'Komponenty jednoplikowe (SFC)', items: [ - { text: 'Syntax Specification', link: '/api/sfc-spec' }, + { text: 'Specyfikacja składni', link: '/api/sfc-spec' }, { text: '