Skip to content

Translate LayoutFooter and LayoutHeader #160

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 18 additions & 18 deletions content/community/nav.yml
Original file line number Diff line number Diff line change
@@ -1,42 +1,42 @@
- title: Community Resources
- title: Recursos de la comunidad
items:
- id: support
title: Support
title: Soporte
- id: courses
title: Courses
title: Cursos
- id: examples
title: Examples
title: Ejemplos
- id: meetups
title: Meetups
- id: conferences
title: Conferences
title: Conferencias
- id: articles
title: Articles
title: Artículos
- id: podcasts
title: Podcasts
- id: videos
title: Videos
- id: external-resources
title: External Resources
- title: Tools
title: Recursos Externos
- title: Herramientas
items:
- id: debugging-tools
title: Debugging
title: Depuración
- id: component-workbenches
title: Component Workbenches
title: Herramientas de Trabajo para Component
- id: jsx-integrations
title: JSX Integrations
title: Integraciones de JSX
- id: starter-kits
title: Starter Kits
title: Kits de Inicio
- id: routing
title: Routing
title: Enrutamiento
- id: model-management
title: Model Management
title: Gestión de Modelos
- id: data-fetching
title: Data Fetching
title: Obteniendo Datos
- id: testing
title: Testing
title: Pruebas
- id: ui-components
title: UI Components
title: Componentes de UI
- id: misc
title: Miscellaneous
title: Miscelánea
132 changes: 66 additions & 66 deletions content/docs/nav.yml
Original file line number Diff line number Diff line change
@@ -1,85 +1,85 @@
- title: Installation
- title: Instalación
items:
- id: getting-started
title: Getting Started
title: Empezando
- id: add-react-to-a-website
title: Add React to a Website
title: Agregando React a un Sitio Web
- id: create-a-new-react-app
title: Create a New React App
title: Creando una Aplicación con React
- id: cdn-links
title: CDN Links
- title: Main Concepts
title: Links de CDN
- title: Conceptos Principales
isOrdered: true
items:
- id: hello-world
title: Hello World
title: Hola Mundo
- id: introducing-jsx
title: Introducing JSX
title: Introduciendo JSX
- id: rendering-elements
title: Rendering Elements
title: Elementos Renderizados
- id: components-and-props
title: Components and Props
title: Componentes y Props
- id: state-and-lifecycle
title: State and Lifecycle
title: Estado y Ciclo de Vida
- id: handling-events
title: Handling Events
title: Manejo de eventos
- id: conditional-rendering
title: Conditional Rendering
title: Renderizado Condicional
- id: lists-and-keys
title: Lists and Keys
title: Listas y Keys
- id: forms
title: Forms
title: Formularios
- id: lifting-state-up
title: Lifting State Up
title: Elevando el Estado
- id: composition-vs-inheritance
title: Composition vs Inheritance
title: Composición vs Herencia
- id: thinking-in-react
title: Thinking In React
- title: Advanced Guides
title: Pensando En React
- title: Guías avanzadas
items:
- id: accessibility
title: Accessibility
title: Accesibilidad
- id: code-splitting
title: Code-Splitting
- id: context
title: Context
title: Contexto
- id: error-boundaries
title: Error Boundaries
title: Limítes de Errores
- id: forwarding-refs
title: Forwarding Refs
- id: fragments
title: Fragments
title: Fragmentos
- id: higher-order-components
title: Higher-Order Components
title: Componentes de Orden Superior
- id: integrating-with-other-libraries
title: Integrating with Other Libraries
title: Integración con otras Bibliotecas
- id: jsx-in-depth
title: JSX In Depth
title: Profundizando en JSX
- id: optimizing-performance
title: Optimizing Performance
title: Optimizando el Rendimiento
- id: portals
title: Portals
title: Portales
- id: react-without-es6
title: React Without ES6
title: React sin ES6
- id: react-without-jsx
title: React Without JSX
title: React sin JSX
- id: reconciliation
title: Reconciliation
title: Composición
- id: refs-and-the-dom
title: Refs and the DOM
title: Referencias y el DOM
- id: render-props
title: Render Props
title: Renderizando Props
- id: static-type-checking
title: Static Type Checking
- id: strict-mode
title: Strict Mode
title: Modo estricto
- id: typechecking-with-proptypes
title: Typechecking With PropTypes
title: Comprobación de Tipos con PropTypes
- id: uncontrolled-components
title: Uncontrolled Components
title: Componentes no Controlados
- id: web-components
title: Web Components
- title: API Reference
title: Componentes Web
- title: Referencia de API
items:
- id: react-api
title: React
Expand All @@ -91,63 +91,63 @@
- id: react-dom-server
title: ReactDOMServer
- id: dom-elements
title: DOM Elements
title: Elementos del DOM
- id: events
title: SyntheticEvent
- id: test-utils
title: Test Utilities
title: Utilidades para Pruebas
- id: shallow-renderer
title: Shallow Renderer
title: Renderizado Superficial
- id: test-renderer
title: Test Renderer
title: Renderizador de Prueba
- id: javascript-environment-requirements
title: JS Environment Requirements
title: Requerimientos del Entorno de JavaScript
- id: glossary
title: Glossary
- title: Hooks (New)
title: Glosario
- title: Hooks (Nuevo)
isOrdered: true
items:
- id: hooks-intro
title: Introducing Hooks
title: Introduciendo Hooks
- id: hooks-overview
title: Hooks at a Glance
title: Hooks a Simple Vista
- id: hooks-state
title: Using the State Hook
title: Usando el Hook de Estado
- id: hooks-effect
title: Using the Effect Hook
title: Usando el Hook de Efecto
- id: hooks-rules
title: Rules of Hooks
title: Reglas de Hooks
- id: hooks-custom
title: Building Your Own Hooks
title: Construyendo tus Propios Hooks
- id: hooks-reference
title: Hooks API Reference
title: Referencia de API de Hooks
- id: hooks-faq
title: Hooks FAQ
- title: Contributing
title: Preguntas Frecuentes sobre Hooks
- title: Contribuyendo
items:
- id: how-to-contribute
title: How to Contribute
title: ¿Cómo contribuir?
- id: codebase-overview
title: Codebase Overview
title: Visión General de Código Base
- id: implementation-notes
title: Implementation Notes
title: Notas de Implementación
- id: design-principles
title: Design Principles
- title: FAQ
title: Principios de diseño
- title: Preguntas Frecuentes
items:
- id: faq-ajax
title: AJAX y APIs
- id: faq-build
title: Babel, JSX, and Build Steps
title: Babel, JSX, y Build Steps
- id: faq-functions
title: Passing Functions to Components
title: Pasando Funciones a Componentes
- id: faq-state
title: Component State
title: Estado del Componente
- id: faq-styling
title: Styling and CSS
title: Estilos y CSS
- id: faq-structure
title: File Structure
title: Estructura de archivos
- id: faq-versioning
title: Versioning Policy
title: Política de Versiones
- id: faq-internals
title: Virtual DOM and Internals
title: DOM Virtual y Detalles de Implementación
18 changes: 8 additions & 10 deletions src/components/LayoutFooter/Footer.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ const Footer = ({layoutHasSidebar = false}: {layoutHasSidebar: boolean}) => (
},
}}>
<FooterNav layoutHasSidebar={layoutHasSidebar}>
<MetaTitle onDark={true}>Docs</MetaTitle>
<MetaTitle onDark={true}>Documentación</MetaTitle>
{sectionListDocs.map(section => {
const defaultItem = section.items[0];
return (
Expand All @@ -73,7 +73,7 @@ const Footer = ({layoutHasSidebar = false}: {layoutHasSidebar: boolean}) => (
})}
</FooterNav>
<FooterNav layoutHasSidebar={layoutHasSidebar}>
<MetaTitle onDark={true}>Channels</MetaTitle>
<MetaTitle onDark={true}>Canales</MetaTitle>
<ExternalFooterLink
href="https://github.com/facebook/react"
target="_blank"
Expand All @@ -90,19 +90,19 @@ const Footer = ({layoutHasSidebar = false}: {layoutHasSidebar: boolean}) => (
href="https://discuss.reactjs.org"
target="_blank"
rel="noopener">
Discussion Forum
Foro de Discusión
</ExternalFooterLink>
<ExternalFooterLink
href="https://discord.gg/0ZcbPKXt5bZjGY5n"
target="_blank"
rel="noopener">
Reactiflux Chat
Chat de Reactiflux
</ExternalFooterLink>
<ExternalFooterLink
href="https://dev.to/t/react"
target="_blank"
rel="noopener">
DEV Community
Comunidad DEV
</ExternalFooterLink>
<ExternalFooterLink
href="https://www.facebook.com/react"
Expand All @@ -118,7 +118,7 @@ const Footer = ({layoutHasSidebar = false}: {layoutHasSidebar: boolean}) => (
</ExternalFooterLink>
</FooterNav>
<FooterNav layoutHasSidebar={layoutHasSidebar}>
<MetaTitle onDark={true}>Community</MetaTitle>
<MetaTitle onDark={true}>Comunidad</MetaTitle>
{sectionListCommunity.map(section => (
<FooterLink
to={`/community/${section.items[0].id}.html`}
Expand All @@ -128,12 +128,10 @@ const Footer = ({layoutHasSidebar = false}: {layoutHasSidebar: boolean}) => (
))}
</FooterNav>
<FooterNav layoutHasSidebar={layoutHasSidebar}>
<MetaTitle onDark={true}>More</MetaTitle>
<MetaTitle onDark={true}>Más</MetaTitle>
<FooterLink to="/tutorial/tutorial.html">Tutorial</FooterLink>
<FooterLink to="/blog/">Blog</FooterLink>
<FooterLink to="/acknowledgements.html">
Acknowledgements
</FooterLink>
<FooterLink to="/acknowledgements.html">Agradecimientos</FooterLink>
<ExternalFooterLink
href="https://facebook.github.io/react-native/"
target="_blank"
Expand Down
2 changes: 1 addition & 1 deletion src/components/LayoutHeader/DocSearch.js
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ class DocSearch extends Component<{}, State> {
}}
id="algolia-doc-search"
type="search"
placeholder="Search docs"
placeholder="Buscar en la Documentación"
aria-label="Search docs"
/>
</form>
Expand Down
4 changes: 2 additions & 2 deletions src/components/LayoutHeader/Header.js
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ const Header = ({location}: {location: Location}) => (
}}>
<HeaderLink
isActive={location.pathname.includes('/docs/')}
title="Docs"
title="Documentación"
to="/docs/getting-started.html"
/>
<HeaderLink
Expand All @@ -125,7 +125,7 @@ const Header = ({location}: {location: Location}) => (
/>
<HeaderLink
isActive={location.pathname.includes('/community/')}
title="Community"
title="Comunidad"
to="/community/support.html"
/>
<HeaderLink
Expand Down