From eb3a1202cdb35f6edaee206134b61364225381ea Mon Sep 17 00:00:00 2001 From: Nancy Zitle Date: Fri, 15 Feb 2019 23:38:15 -0600 Subject: [PATCH 1/6] Translate the Menu Footer and some submenus --- content/community/nav.yml | 4 +- content/docs/nav.yml | 88 +++++++++++++-------------- src/components/LayoutFooter/Footer.js | 16 ++--- 3 files changed, 54 insertions(+), 54 deletions(-) diff --git a/content/community/nav.yml b/content/community/nav.yml index 0f59b80a0..143ada946 100644 --- a/content/community/nav.yml +++ b/content/community/nav.yml @@ -1,4 +1,4 @@ -- title: Community Resources +- title: Recursos de la comunidad items: - id: support title: Support @@ -18,7 +18,7 @@ title: Videos - id: external-resources title: External Resources -- title: Tools +- title: Herramientas items: - id: debugging-tools title: Debugging diff --git a/content/docs/nav.yml b/content/docs/nav.yml index d35b7f015..bb2a64b61 100644 --- a/content/docs/nav.yml +++ b/content/docs/nav.yml @@ -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: API de Referencia items: - id: react-api title: React @@ -91,20 +91,20 @@ - 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 de Prueba - id: shallow-renderer - title: Shallow Renderer + title: Renderizador Superficial - id: test-renderer title: Test Renderer - id: javascript-environment-requirements title: JS Environment Requirements - id: glossary title: Glossary -- title: Hooks (New) +- title: Hooks (Nuevo) isOrdered: true items: - id: hooks-intro @@ -123,7 +123,7 @@ title: Hooks API Reference - id: hooks-faq title: Hooks FAQ -- title: Contributing +- title: Contribuyendo items: - id: how-to-contribute title: How to Contribute @@ -133,7 +133,7 @@ title: Implementation Notes - id: design-principles title: Design Principles -- title: FAQ +- title: Preguntas más Frecuentes items: - id: faq-ajax title: AJAX y APIs diff --git a/src/components/LayoutFooter/Footer.js b/src/components/LayoutFooter/Footer.js index bca76aac6..239d64321 100644 --- a/src/components/LayoutFooter/Footer.js +++ b/src/components/LayoutFooter/Footer.js @@ -60,7 +60,7 @@ const Footer = ({layoutHasSidebar = false}: {layoutHasSidebar: boolean}) => ( }, }}> - Docs + Documentación {sectionListDocs.map(section => { const defaultItem = section.items[0]; return ( @@ -73,7 +73,7 @@ const Footer = ({layoutHasSidebar = false}: {layoutHasSidebar: boolean}) => ( })} - Channels + Canales ( href="https://discuss.reactjs.org" target="_blank" rel="noopener"> - Discussion Forum + Foro de Discusión - Reactiflux Chat + Chat de Reactiflux - DEV Community + Comunidad DEV ( - Community + Comunidad {sectionListCommunity.map(section => ( ( ))} - More + Más Tutorial Blog - Acknowledgements + Agradecimientos Date: Sat, 16 Feb 2019 11:09:20 -0600 Subject: [PATCH 2/6] Translate layout Footer and Header --- content/community/nav.yml | 32 +++++++-------- content/docs/nav.yml | 52 ++++++++++++------------ src/components/LayoutHeader/DocSearch.js | 2 +- src/components/LayoutHeader/Header.js | 4 +- 4 files changed, 45 insertions(+), 45 deletions(-) diff --git a/content/community/nav.yml b/content/community/nav.yml index 143ada946..65b086ec6 100644 --- a/content/community/nav.yml +++ b/content/community/nav.yml @@ -1,42 +1,42 @@ - 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: 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 diff --git a/content/docs/nav.yml b/content/docs/nav.yml index bb2a64b61..35bbfc10a 100644 --- a/content/docs/nav.yml +++ b/content/docs/nav.yml @@ -79,7 +79,7 @@ title: Componentes no Controlados - id: web-components title: Componentes Web -- title: API de Referencia +- title: Referencia de API items: - id: react-api title: React @@ -95,59 +95,59 @@ - id: events title: SyntheticEvent - id: test-utils - title: Utilidades de Prueba + title: Utilidades para Pruebas - id: shallow-renderer - title: Renderizador Superficial + 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: 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: 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: Preguntas más Frecuentes + 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 diff --git a/src/components/LayoutHeader/DocSearch.js b/src/components/LayoutHeader/DocSearch.js index b31505917..22a5535ce 100644 --- a/src/components/LayoutHeader/DocSearch.js +++ b/src/components/LayoutHeader/DocSearch.js @@ -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" /> diff --git a/src/components/LayoutHeader/Header.js b/src/components/LayoutHeader/Header.js index 55743a7c1..7f1cf6f80 100644 --- a/src/components/LayoutHeader/Header.js +++ b/src/components/LayoutHeader/Header.js @@ -115,7 +115,7 @@ const Header = ({location}: {location: Location}) => ( }}> ( /> Date: Sat, 16 Feb 2019 11:13:44 -0600 Subject: [PATCH 3/6] Run yarn check-all --- content/docs/reference-events.md | 6 +++--- src/components/LayoutFooter/Footer.js | 4 +--- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/content/docs/reference-events.md b/content/docs/reference-events.md index 51df0e259..7d77c62c1 100644 --- a/content/docs/reference-events.md +++ b/content/docs/reference-events.md @@ -65,7 +65,7 @@ function onClick(event) { <<<<<<< HEAD > Si desea acceder a las propiedades del evento de forma asíncrona, debe llamar a `event.persist()` en el evento, lo que eliminará el evento sintético del grupo y permitirá que el código de usuario retenga las referencias al evento. -## Eventos Soportados +## Eventos Soportados {#eventos-soportados} React normaliza los eventos para que tengan propiedades consistentes en diferentes navegadores. @@ -90,9 +90,9 @@ Los controladores de eventos a continuación se activan por un evento en la fase * * * -## Referencia +## Referencia {#referencia} -### Eventos del Portapapeles +### Eventos del Portapapeles {#eventos-del-portapapeles} ======= > If you want to access the event properties in an asynchronous way, you should call `event.persist()` on the event, which will remove the synthetic event from the pool and allow references to the event to be retained by user code. diff --git a/src/components/LayoutFooter/Footer.js b/src/components/LayoutFooter/Footer.js index 239d64321..617e62e23 100644 --- a/src/components/LayoutFooter/Footer.js +++ b/src/components/LayoutFooter/Footer.js @@ -131,9 +131,7 @@ const Footer = ({layoutHasSidebar = false}: {layoutHasSidebar: boolean}) => ( Más Tutorial Blog - - Agradecimientos - + Agradecimientos Date: Sun, 17 Feb 2019 00:27:35 -0500 Subject: [PATCH 4/6] Update nav.yml --- content/community/nav.yml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/content/community/nav.yml b/content/community/nav.yml index 65b086ec6..0a5555199 100644 --- a/content/community/nav.yml +++ b/content/community/nav.yml @@ -1,13 +1,13 @@ - title: Recursos de la comunidad items: - id: support - title: Soporte + title: Asistencia - id: courses title: Cursos - id: examples title: Ejemplos - id: meetups - title: Meetups + title: Encuentros - id: conferences title: Conferencias - id: articles @@ -17,26 +17,26 @@ - id: videos title: Videos - id: external-resources - title: Recursos Externos + title: Recursos externos - title: Herramientas items: - id: debugging-tools title: Depuración - id: component-workbenches - title: Herramientas de Trabajo para Component + title: Herramientas de trabajo para componentes - id: jsx-integrations title: Integraciones de JSX - id: starter-kits - title: Kits de Inicio + title: Kits de inicio - id: routing title: Enrutamiento - id: model-management - title: Gestión de Modelos + title: Gestión de modelos - id: data-fetching - title: Obteniendo Datos + title: Obtención de datos - id: testing title: Pruebas - id: ui-components - title: Componentes de UI + title: Componentes de IU - id: misc title: Miscelánea From 522a09fbb12cf41734f86c89bd73362538cf0abb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rainer=20Mart=C3=ADnez=20Fraga?= Date: Sun, 17 Feb 2019 00:29:01 -0500 Subject: [PATCH 5/6] Update DocSearch.js --- src/components/LayoutHeader/DocSearch.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/LayoutHeader/DocSearch.js b/src/components/LayoutHeader/DocSearch.js index 22a5535ce..ede3c2c13 100644 --- a/src/components/LayoutHeader/DocSearch.js +++ b/src/components/LayoutHeader/DocSearch.js @@ -104,7 +104,7 @@ class DocSearch extends Component<{}, State> { }} id="algolia-doc-search" type="search" - placeholder="Buscar en la Documentación" + placeholder="Buscar en la documentación" aria-label="Search docs" /> From 9e511fdb3e39e6d3a9b7c47835feedb51b38db22 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rainer=20Mart=C3=ADnez=20Fraga?= Date: Sun, 17 Feb 2019 00:32:48 -0500 Subject: [PATCH 6/6] Update Footer.js --- src/components/LayoutFooter/Footer.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/LayoutFooter/Footer.js b/src/components/LayoutFooter/Footer.js index 3b078c84c..d58bf5333 100644 --- a/src/components/LayoutFooter/Footer.js +++ b/src/components/LayoutFooter/Footer.js @@ -90,7 +90,7 @@ const Footer = ({layoutHasSidebar = false}: {layoutHasSidebar: boolean}) => ( href="https://discuss.reactjs.org" target="_blank" rel="noopener"> - Foro de Discusión + Foro de discusión